diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..783acd69 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + groups: + github-action-deps: + applies-to: "version-updates" + patterns: ["*"] diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 32632067..8c5b13ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,24 +10,35 @@ jobs: runs-on: windows-latest steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x + - name: Restore dependencies run: dotnet restore src + - name: Build Project run: dotnet build -c Release --no-restore src - name: Build Packages run: dotnet pack src/ImGui.NET -c Release --no-restore --no-build + - name: List Packages run: ls -l bin\Release\ImGui.NET\ + - name: Validate Generated Code + if: false # startsWith(github.ref, 'refs/tags/') + shell: bash + run: | + echo "Running CodeGenerator" + bin/Release/CodeGenerator/net8.0/CodeGenerator.exe "src/ImGui.NET/Generated" + git status -s | findstr . && echo "ERROR: CodeGenerator is not executed, please execute it." && exit 1 || exit 0 + - name: Publish to nuget.org if: startsWith(github.ref, 'refs/tags/') run: dotnet nuget push bin\Release\ImGui.NET\*.nupkg -s https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_KEY}} diff --git a/README.md b/README.md index c7190f8a..79d4441a 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,13 @@ This is a .NET wrapper for the immediate mode GUI library, Dear ImGui (https://github.com/ocornut/imgui). ImGui.NET lets you build graphical interfaces using a simple immediate-mode style. ImGui.NET is a .NET Standard library, and can be used on all major .NET runtimes and operating systems. -Included is a basic sample program that shows how to use the library, and renders the UI using [Veldrid](https://github.com/mellinoe/veldrid), a portable graphics library for .NET. By itself, Dear ImGui does not care what technology you use for rendering; it simply outputs textured triangles. Example renderers also exist for MonoGame and OpenTK (OpenGL). +Included is a basic sample program that shows how to use the library, and renders the UI using [Veldrid](https://github.com/veldrid/veldrid), a portable graphics library for .NET. By itself, Dear ImGui does not care what technology you use for rendering; it simply outputs textured triangles. Example renderers also exist for MonoGame and OpenTK (OpenGL). -This wrapper is built on top of [cimgui](https://github.com/Extrawurst/cimgui), which exposes a plain C API for Dear ImGui. If you are using Windows, OSX, or a mainline Linux distribution, then the ImGui.NET NuGet package comes bundled with a pre-built native library. If you are using another operating system, then you may need to build the native library yourself; see the cimgui repo for build instructions. +This wrapper is built on top of [cimgui](https://github.com/cimgui/cimgui), which exposes a plain C API for Dear ImGui. If you are using Windows, OSX, or a mainline Linux distribution, then the ImGui.NET NuGet package comes bundled with a pre-built native library. If you are using another operating system, then you may need to build the native library yourself; see the cimgui repo for build instructions. [![NuGet](https://img.shields.io/nuget/v/ImGui.NET.svg)](https://www.nuget.org/packages/ImGui.NET) -[![Join the chat at https://gitter.im/ImGui-NET/Lobby](https://badges.gitter.im/ImGui-NET/Lobby.svg)](https://gitter.im/ImGui-NET/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +___As of February 2023, I (@mellinoe) am no longer able to publicly share updates to ImGui.NET and related libraries. A big thanks to @zaafar who continues to actively maintain the library and keep it up to date with new versions of native Dear ImGui. Feel free to join the [Discord server](https://discord.gg/s5EvvWJ) for more information about the current status of development.___ # Building @@ -16,13 +16,13 @@ ImGui.NET can be built in Visual Studio or on the command line. The .NET Core SD # Usage -ImGui.NET currently provides a raw wrapper around the ImGui native API, and also provides a very thin safe, managed API for convenience. It is currently very much like using the native library, which is very simple, flexible, and robust. The easiest way to figure out how to use the library is to read the documentation of imgui itself, mostly in the imgui.cpp, and imgui.h files, as well as the exported functions in cimgui.h. Looking at the [sample program code](https://github.com/mellinoe/ImGui.NET/tree/master/src) will also give some indication about basic usage. +ImGui.NET currently provides a raw wrapper around the ImGui native API, and also provides a very thin safe, managed API for convenience. It is currently very much like using the native library, which is very simple, flexible, and robust. The easiest way to figure out how to use the library is to read the documentation of imgui itself, mostly in the imgui.cpp, and imgui.h files, as well as the exported functions in cimgui.h. Looking at the [sample program code](https://github.com/ImGuiNET/ImGui.NET/tree/master/src) will also give some indication about basic usage. # Debugging native code ImGui.NET is a wrapper over native code. By default, this native code is packaged and released in an optimized form, making debugging difficult. To obtain a debuggable version of the native code, follow these steps: -1. Clone the [ImGui.NET-nativebuild](https://github.com/mellinoe/ImGui.NET-nativebuild) repo, at the tag matching the version of ImGui.NET you are using. +1. Clone the [ImGui.NET-nativebuild](https://github.com/ImGuiNET/ImGui.NET-nativebuild) repo, at the tag matching the version of ImGui.NET you are using. 2. In the ImGui.NET-nativebuild repo, run `build.cmd debug` or `build.sh debug` (depending on your platform). 3. Copy the produced binaries (cimgui.dll, libcimgui.so, or libcimgui.dylib) into your application. 4. Run the program under a native debugger, or enable mixed-mode debugging in Visual Studio. diff --git a/deps/cimgui/linux-x64/cimgui.so b/deps/cimgui/linux-x64/cimgui.so index c23f7ac7..8832cb77 100644 Binary files a/deps/cimgui/linux-x64/cimgui.so and b/deps/cimgui/linux-x64/cimgui.so differ diff --git a/deps/cimgui/osx/cimgui.dylib b/deps/cimgui/osx/cimgui.dylib index b7586011..bf82e7b3 100644 Binary files a/deps/cimgui/osx/cimgui.dylib and b/deps/cimgui/osx/cimgui.dylib differ diff --git a/deps/cimgui/win-arm64/cimgui.dll b/deps/cimgui/win-arm64/cimgui.dll new file mode 100644 index 00000000..bd36c84d Binary files /dev/null and b/deps/cimgui/win-arm64/cimgui.dll differ diff --git a/deps/cimgui/win-x64/cimgui.dll b/deps/cimgui/win-x64/cimgui.dll index fe4e752f..7c3c1b80 100644 Binary files a/deps/cimgui/win-x64/cimgui.dll and b/deps/cimgui/win-x64/cimgui.dll differ diff --git a/deps/cimgui/win-x86/cimgui.dll b/deps/cimgui/win-x86/cimgui.dll index ba9f8894..2456eb7f 100644 Binary files a/deps/cimgui/win-x86/cimgui.dll and b/deps/cimgui/win-x86/cimgui.dll differ diff --git a/download-native-deps.ps1 b/download-native-deps.ps1 index 879d1b2b..d37236f1 100755 --- a/download-native-deps.ps1 +++ b/download-native-deps.ps1 @@ -18,6 +18,7 @@ New-Item -ItemType Directory -Force -Path $PSScriptRoot\deps\cimgui\linux-x64 | New-Item -ItemType Directory -Force -Path $PSScriptRoot\deps\cimgui\osx | Out-Null New-Item -ItemType Directory -Force -Path $PSScriptRoot\deps\cimgui\win-x86 | Out-Null New-Item -ItemType Directory -Force -Path $PSScriptRoot\deps\cimgui\win-x64 | Out-Null +New-Item -ItemType Directory -Force -Path $PSScriptRoot\deps\cimgui\win-arm64 | Out-Null [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 @@ -46,6 +47,18 @@ if( -not $? ) Write-Host "- cimgui.dll (x64)" +$client.DownloadFile( + "$repository/releases/download/$tag/cimgui.win-arm64.dll", + "$PSScriptRoot/deps/cimgui/win-arm64/$configuration/cimgui.dll") +if( -not $? ) +{ + $msg = $Error[0].Exception.Message + Write-Error "Couldn't download arm64 cimgui.dll. This most likely indicates the Windows native build failed." + exit +} + +Write-Host "- cimgui.dll (arm64)" + $client.DownloadFile( "$repository/releases/download/$tag/cimgui.so", "$PSScriptRoot/deps/cimgui/linux-x64/cimgui.so") diff --git a/download-native-deps.sh b/download-native-deps.sh index 16a63e57..38dd1322 100755 --- a/download-native-deps.sh +++ b/download-native-deps.sh @@ -20,6 +20,10 @@ echo -n "Downloading windows x64 cimgui: " curl -sfLo "$SCRIPT_ROOT/deps/cimgui/win-x64/cimgui.dll" "https://github.com/mellinoe/imgui.net-nativebuild/releases/download/$TAG/cimgui.win-x64.dll" echo "" +echo -n "Downloading windows arm64 cimgui: " +curl -sfLo "$SCRIPT_ROOT/deps/cimgui/win-arm64/cimgui.dll" "https://github.com/mellinoe/imgui.net-nativebuild/releases/download/$TAG/cimgui.win-arm64.dll" +echo "" + echo -n "Downloading linux x64 cimgui: " curl -sfLo "$SCRIPT_ROOT/deps/cimgui/linux-x64/cimgui.so" "https://github.com/mellinoe/imgui.net-nativebuild/releases/download/$TAG/cimgui.so" echo "" diff --git a/src/CodeGenerator/CSharpCodeWriter.cs b/src/CodeGenerator/CSharpCodeWriter.cs index 045b33c7..c7709639 100644 --- a/src/CodeGenerator/CSharpCodeWriter.cs +++ b/src/CodeGenerator/CSharpCodeWriter.cs @@ -47,6 +47,16 @@ private void WriteIndented(string text) _sw.WriteLine(text); } + public void WriteRaw(string text) + { + _sw.WriteLine(text); + } + + public void IndentManually() + { + _indentLevel += 4; + } + public void Dispose() { _sw.Dispose(); diff --git a/src/CodeGenerator/CodeGenerator.csproj b/src/CodeGenerator/CodeGenerator.csproj index 6c2760d7..422fcc00 100644 --- a/src/CodeGenerator/CodeGenerator.csproj +++ b/src/CodeGenerator/CodeGenerator.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 @@ -24,6 +24,6 @@ - + diff --git a/src/CodeGenerator/ImguiDefinitions.cs b/src/CodeGenerator/ImguiDefinitions.cs index 0fa2a5a0..23edaee5 100644 --- a/src/CodeGenerator/ImguiDefinitions.cs +++ b/src/CodeGenerator/ImguiDefinitions.cs @@ -280,14 +280,30 @@ public string SanitizeNames(string text) private string SanitizeMemberName(string memberName) { string ret = memberName; - foreach (string name in Names) + bool altSubstitution = false; + + // Try alternate substitution first + foreach (KeyValuePair substitutionPair in TypeInfo.AlternateEnumPrefixSubstitutions) + { + if (memberName.StartsWith(substitutionPair.Key)) + { + ret = ret.Replace(substitutionPair.Key, substitutionPair.Value); + altSubstitution = true; + break; + } + } + + if (!altSubstitution) { - if (memberName.StartsWith(name)) + foreach (string name in Names) { - ret = memberName.Substring(name.Length); - if (ret.StartsWith("_")) + if (memberName.StartsWith(name)) { - ret = ret.Substring(1); + ret = memberName.Substring(name.Length); + if (ret.StartsWith("_")) + { + ret = ret.Substring(1); + } } } } @@ -297,7 +313,7 @@ private string SanitizeMemberName(string memberName) ret = ret.Substring(0, ret.Length - 1); } - if (Char.IsDigit(ret.First())) + if (char.IsDigit(ret.First())) ret = "_" + ret; return ret; diff --git a/src/CodeGenerator/Program.cs b/src/CodeGenerator/Program.cs index 9b87e786..8597a718 100644 --- a/src/CodeGenerator/Program.cs +++ b/src/CodeGenerator/Program.cs @@ -373,6 +373,12 @@ static void Main(string[] args) } if (exportedName.Contains("~")) { continue; } if (overload.Parameters.Any(tr => tr.Type.Contains('('))) { continue; } // TODO: Parse function pointer parameters. + + if ((overload.FriendlyName == "GetID" || overload.FriendlyName == "PushID") && overload.Parameters.Length > 1) + { + // skip ImGui.Get/PushID(start, end) overloads as they would overlap with existing + continue; + } bool hasVaList = false; for (int i = 0; i < overload.Parameters.Length; i++) @@ -448,9 +454,22 @@ private static void EmitOverload( string selfName, string classPrefix) { - if (overload.Parameters.Where(tr => tr.Name.EndsWith("_begin") || tr.Name.EndsWith("_end")) - .Any(tr => !defaultValues.ContainsKey(tr.Name))) + var rangeParams = overload.Parameters.Where(tr => + tr.Name.EndsWith("_begin") || + tr.Name.EndsWith("_end")).ToArray(); + if (rangeParams.Any(tr => tr.Type != "char*")) { + // only string supported for start/end. ImFont.IsGlyphRangeUnused is uint + return; + } + if (rangeParams.Any(tr => tr.Name.EndsWith("_end") && defaultValues.ContainsKey(tr.Name))) + { + // we want overloads: + // (something, text_start, text_end (deleted), after=default) + // (something, text_start, text_end (deleted), after) + + // we dont need (as it would be duplicate) + // (something, text_start, text_end=default (deleted)) return; } @@ -463,7 +482,7 @@ private static void EmitOverload( safeRet = GetSafeType(overload.ReturnType); } - List invocationArgs = new List(); + List<(string MarshalledType, string CorrectedIdentifier)> invocationArgs = new(); MarshalledParameter[] marshalledParameters = new MarshalledParameter[overload.Parameters.Length]; List preCallLines = new List(); List postCallLines = new List(); @@ -514,9 +533,20 @@ private static void EmitOverload( } else { + if (tr.Name.EndsWith("_end")) + { + var startParamName = overload.Parameters[i-1].Name; + var startNativeParamName = $"native_{startParamName}"; + marshalledParameters[i] = new MarshalledParameter(nativeTypeName, false, $"{startNativeParamName}+{startParamName}_byteCount", false); + continue; + } + + var checkForNull = !hasDefault && !tr.Name.EndsWith("_begin"); + // for string _begin the pointer passed must be non-null, so we'll set up an empty string if needed + preCallLines.Add($"byte* {nativeArgName};"); preCallLines.Add($"int {correctedIdentifier}_byteCount = 0;"); - if (!hasDefault) + if (checkForNull) { preCallLines.Add($"if ({textToEncode} != null)"); preCallLines.Add("{"); @@ -534,7 +564,7 @@ private static void EmitOverload( preCallLines.Add($" int {nativeArgName}_offset = Util.GetUtf8({textToEncode}, {nativeArgName}, {correctedIdentifier}_byteCount);"); preCallLines.Add($" {nativeArgName}[{nativeArgName}_offset] = 0;"); - if (!hasDefault) + if (checkForNull) { preCallLines.Add("}"); preCallLines.Add($"else {{ {nativeArgName} = null; }}"); @@ -576,12 +606,8 @@ private static void EmitOverload( preCallLines.Add($"for (int i = 0; i < {correctedIdentifier}.Length; i++)"); preCallLines.Add("{"); preCallLines.Add($" string s = {correctedIdentifier}[i];"); - preCallLines.Add($" fixed (char* sPtr = s)"); - preCallLines.Add(" {"); - preCallLines.Add($" offset += Encoding.UTF8.GetBytes(sPtr, s.Length, {nativeArgName}_data + offset, {correctedIdentifier}_byteCounts[i]);"); - preCallLines.Add($" {nativeArgName}_data[offset] = 0;"); - preCallLines.Add($" offset += 1;"); - preCallLines.Add(" }"); + preCallLines.Add($" offset += Util.GetUtf8(s, {nativeArgName}_data + offset, {correctedIdentifier}_byteCounts[i]);"); + preCallLines.Add($" {nativeArgName}_data[offset++] = 0;"); preCallLines.Add("}"); preCallLines.Add($"byte** {nativeArgName} = stackalloc byte*[{correctedIdentifier}.Length];"); @@ -647,21 +673,54 @@ private static void EmitOverload( if (!marshalledParameters[i].HasDefaultValue) { - invocationArgs.Add($"{marshalledParameters[i].MarshalledType} {correctedIdentifier}"); + invocationArgs.Add((marshalledParameters[i].MarshalledType, correctedIdentifier)); } } - string invocationList = string.Join(", ", invocationArgs); + string invocationList = string.Join(", ", invocationArgs.Select(a => $"{a.MarshalledType} {a.CorrectedIdentifier}")); string friendlyName = overload.FriendlyName; string staticPortion = selfName == null ? "static " : string.Empty; + + // When .NET Standard 2.1 is available, we can use ReadOnlySpan instead of string, so generate additional overloads for methods containing string parameters. + if (invocationArgs.Count > 0 && invocationArgs.Any(a => a is { MarshalledType: "string" })) + { + string readOnlySpanInvocationList = string.Join(", ", invocationArgs.Select(a => $"{(a.MarshalledType == "string" ? "ReadOnlySpan" : a.MarshalledType)} {a.CorrectedIdentifier}")); + + writer.WriteRaw("#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER"); + WriteMethod(writer, overload, selfName, classPrefix, staticPortion, overrideRet, safeRet, friendlyName, readOnlySpanInvocationList, preCallLines, marshalledParameters, selfIndex, pOutIndex, nativeRet, postCallLines, isWrappedType); + writer.WriteRaw("#endif"); + } + + WriteMethod(writer, overload, selfName, classPrefix, staticPortion, overrideRet, safeRet, friendlyName, invocationList, preCallLines, marshalledParameters, selfIndex, pOutIndex, nativeRet, postCallLines, isWrappedType); + } + + private static void WriteMethod( + CSharpCodeWriter writer, + OverloadDefinition overload, + string selfName, + string classPrefix, + string staticPortion, + string overrideRet, + string safeRet, + string friendlyName, + string invocationList, + List preCallLines, + MarshalledParameter[] marshalledParameters, + int selfIndex, + int pOutIndex, + string nativeRet, + List postCallLines, + bool isWrappedType) + { writer.PushBlock($"public {staticPortion}{overrideRet ?? safeRet} {friendlyName}({invocationList})"); + foreach (string line in preCallLines) { writer.WriteLine(line); } - List nativeInvocationArgs = new List(); + List nativeInvocationArgs = new(); for (int i = 0; i < marshalledParameters.Length; i++) { @@ -733,7 +792,7 @@ private static void EmitOverload( if (overrideRet != null) writer.WriteLine("return __retval;"); - + for (int i = 0; i < marshalledParameters.Length; i++) { MarshalledParameter mp = marshalledParameters[i]; @@ -885,4 +944,4 @@ public MarshalledParameter(string marshalledType, bool isPinned, string varName, public bool HasDefaultValue { get; } public string PinTarget { get; internal set; } } -} \ No newline at end of file +} diff --git a/src/CodeGenerator/TypeInfo.cs b/src/CodeGenerator/TypeInfo.cs index b3a37d72..4b9d91a5 100644 --- a/src/CodeGenerator/TypeInfo.cs +++ b/src/CodeGenerator/TypeInfo.cs @@ -56,6 +56,7 @@ public class TypeInfo { "ImPlotGetter", "IntPtr" }, { "ImPlotTransform", "IntPtr" }, { "ImGuiKeyChord", "ImGuiKey" }, + { "ImGuiSelectionUserData", "long" }, }; public static readonly List WellKnownEnums = new List() @@ -67,7 +68,12 @@ public class TypeInfo { { "ImGuiKey", "ImGuiMod" }, }; - + + public static readonly Dictionary AlternateEnumPrefixSubstitutions = new Dictionary() + { + { "ImGuiMod_", "Mod" }, + }; + public static readonly Dictionary WellKnownFieldReplacements = new Dictionary() { { "bool", "bool" }, // Force bool to remain as bool in type-safe wrappers. @@ -153,7 +159,6 @@ public class TypeInfo { "igInputText", "igInputTextMultiline", - "igCalcTextSize", "igInputTextWithHint" }; } diff --git a/src/CodeGenerator/definitions/cimgui/definitions.json b/src/CodeGenerator/definitions/cimgui/definitions.json index fe194b81..9f26515e 100644 --- a/src/CodeGenerator/definitions/cimgui/definitions.json +++ b/src/CodeGenerator/definitions/cimgui/definitions.json @@ -1,36132 +1,39570 @@ -{ - "ImBitArray_ClearAllBits": [ - { - "args": "(ImBitArray* self)", - "argsT": [ - { - "name": "self", - "type": "ImBitArray*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImBitArray_ClearAllBits", - "defaults": {}, - "funcname": "ClearAllBits", - "location": "imgui_internal:582", - "ov_cimguiname": "ImBitArray_ClearAllBits", - "ret": "void", - "signature": "()", - "stname": "ImBitArray", - "templated": true - } - ], - "ImBitArray_ClearBit": [ - { - "args": "(ImBitArray* self,int n)", - "argsT": [ - { - "name": "self", - "type": "ImBitArray*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(int n)", - "call_args": "(n)", - "cimguiname": "ImBitArray_ClearBit", - "defaults": {}, - "funcname": "ClearBit", - "location": "imgui_internal:586", - "ov_cimguiname": "ImBitArray_ClearBit", - "ret": "void", - "signature": "(int)", - "stname": "ImBitArray", - "templated": true - } - ], - "ImBitArray_ImBitArray": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImBitArray_ImBitArray", - "constructor": true, - "defaults": {}, - "funcname": "ImBitArray", - "location": "imgui_internal:581", - "ov_cimguiname": "ImBitArray_ImBitArray", - "signature": "()", - "stname": "ImBitArray", - "templated": true - } - ], - "ImBitArray_SetAllBits": [ - { - "args": "(ImBitArray* self)", - "argsT": [ - { - "name": "self", - "type": "ImBitArray*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImBitArray_SetAllBits", - "defaults": {}, - "funcname": "SetAllBits", - "location": "imgui_internal:583", - "ov_cimguiname": "ImBitArray_SetAllBits", - "ret": "void", - "signature": "()", - "stname": "ImBitArray", - "templated": true - } - ], - "ImBitArray_SetBit": [ - { - "args": "(ImBitArray* self,int n)", - "argsT": [ - { - "name": "self", - "type": "ImBitArray*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(int n)", - "call_args": "(n)", - "cimguiname": "ImBitArray_SetBit", - "defaults": {}, - "funcname": "SetBit", - "location": "imgui_internal:585", - "ov_cimguiname": "ImBitArray_SetBit", - "ret": "void", - "signature": "(int)", - "stname": "ImBitArray", - "templated": true - } - ], - "ImBitArray_SetBitRange": [ - { - "args": "(ImBitArray* self,int n,int n2)", - "argsT": [ - { - "name": "self", - "type": "ImBitArray*" - }, - { - "name": "n", - "type": "int" - }, - { - "name": "n2", - "type": "int" - } - ], - "argsoriginal": "(int n,int n2)", - "call_args": "(n,n2)", - "cimguiname": "ImBitArray_SetBitRange", - "defaults": {}, - "funcname": "SetBitRange", - "location": "imgui_internal:587", - "ov_cimguiname": "ImBitArray_SetBitRange", - "ret": "void", - "signature": "(int,int)", - "stname": "ImBitArray", - "templated": true - } - ], - "ImBitArray_TestBit": [ - { - "args": "(ImBitArray* self,int n)", - "argsT": [ - { - "name": "self", - "type": "ImBitArray*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(int n)", - "call_args": "(n)", - "cimguiname": "ImBitArray_TestBit", - "defaults": {}, - "funcname": "TestBit", - "location": "imgui_internal:584", - "ov_cimguiname": "ImBitArray_TestBit", - "ret": "bool", - "signature": "(int)const", - "stname": "ImBitArray", - "templated": true - } - ], - "ImBitArray_destroy": [ - { - "args": "(ImBitArray* self)", - "argsT": [ - { - "name": "self", - "type": "ImBitArray*" - } - ], - "call_args": "(self)", - "cimguiname": "ImBitArray_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImBitArray_destroy", - "ret": "void", - "signature": "(ImBitArray*)", - "stname": "ImBitArray", - "templated": true - } - ], - "ImBitVector_Clear": [ - { - "args": "(ImBitVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImBitVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImBitVector_Clear", - "defaults": {}, - "funcname": "Clear", - "location": "imgui_internal:597", - "ov_cimguiname": "ImBitVector_Clear", - "ret": "void", - "signature": "()", - "stname": "ImBitVector" - } - ], - "ImBitVector_ClearBit": [ - { - "args": "(ImBitVector* self,int n)", - "argsT": [ - { - "name": "self", - "type": "ImBitVector*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(int n)", - "call_args": "(n)", - "cimguiname": "ImBitVector_ClearBit", - "defaults": {}, - "funcname": "ClearBit", - "location": "imgui_internal:600", - "ov_cimguiname": "ImBitVector_ClearBit", - "ret": "void", - "signature": "(int)", - "stname": "ImBitVector" - } - ], - "ImBitVector_Create": [ - { - "args": "(ImBitVector* self,int sz)", - "argsT": [ - { - "name": "self", - "type": "ImBitVector*" - }, - { - "name": "sz", - "type": "int" - } - ], - "argsoriginal": "(int sz)", - "call_args": "(sz)", - "cimguiname": "ImBitVector_Create", - "defaults": {}, - "funcname": "Create", - "location": "imgui_internal:596", - "ov_cimguiname": "ImBitVector_Create", - "ret": "void", - "signature": "(int)", - "stname": "ImBitVector" - } - ], - "ImBitVector_SetBit": [ - { - "args": "(ImBitVector* self,int n)", - "argsT": [ - { - "name": "self", - "type": "ImBitVector*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(int n)", - "call_args": "(n)", - "cimguiname": "ImBitVector_SetBit", - "defaults": {}, - "funcname": "SetBit", - "location": "imgui_internal:599", - "ov_cimguiname": "ImBitVector_SetBit", - "ret": "void", - "signature": "(int)", - "stname": "ImBitVector" - } - ], - "ImBitVector_TestBit": [ - { - "args": "(ImBitVector* self,int n)", - "argsT": [ - { - "name": "self", - "type": "ImBitVector*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(int n)", - "call_args": "(n)", - "cimguiname": "ImBitVector_TestBit", - "defaults": {}, - "funcname": "TestBit", - "location": "imgui_internal:598", - "ov_cimguiname": "ImBitVector_TestBit", - "ret": "bool", - "signature": "(int)const", - "stname": "ImBitVector" - } - ], - "ImChunkStream_alloc_chunk": [ - { - "args": "(ImChunkStream* self,size_t sz)", - "argsT": [ - { - "name": "self", - "type": "ImChunkStream*" - }, - { - "name": "sz", - "type": "size_t" - } - ], - "argsoriginal": "(size_t sz)", - "call_args": "(sz)", - "cimguiname": "ImChunkStream_alloc_chunk", - "defaults": {}, - "funcname": "alloc_chunk", - "location": "imgui_internal:703", - "ov_cimguiname": "ImChunkStream_alloc_chunk", - "ret": "T*", - "signature": "(size_t)", - "stname": "ImChunkStream", - "templated": true - } - ], - "ImChunkStream_begin": [ - { - "args": "(ImChunkStream* self)", - "argsT": [ - { - "name": "self", - "type": "ImChunkStream*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImChunkStream_begin", - "defaults": {}, - "funcname": "begin", - "location": "imgui_internal:704", - "ov_cimguiname": "ImChunkStream_begin", - "ret": "T*", - "signature": "()", - "stname": "ImChunkStream", - "templated": true - } - ], - "ImChunkStream_chunk_size": [ - { - "args": "(ImChunkStream* self,const T* p)", - "argsT": [ - { - "name": "self", - "type": "ImChunkStream*" - }, - { - "name": "p", - "type": "const T*" - } - ], - "argsoriginal": "(const T* p)", - "call_args": "(p)", - "cimguiname": "ImChunkStream_chunk_size", - "defaults": {}, - "funcname": "chunk_size", - "location": "imgui_internal:706", - "ov_cimguiname": "ImChunkStream_chunk_size", - "ret": "int", - "signature": "(const T*)", - "stname": "ImChunkStream", - "templated": true - } - ], - "ImChunkStream_clear": [ - { - "args": "(ImChunkStream* self)", - "argsT": [ - { - "name": "self", - "type": "ImChunkStream*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImChunkStream_clear", - "defaults": {}, - "funcname": "clear", - "location": "imgui_internal:700", - "ov_cimguiname": "ImChunkStream_clear", - "ret": "void", - "signature": "()", - "stname": "ImChunkStream", - "templated": true - } - ], - "ImChunkStream_empty": [ - { - "args": "(ImChunkStream* self)", - "argsT": [ - { - "name": "self", - "type": "ImChunkStream*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImChunkStream_empty", - "defaults": {}, - "funcname": "empty", - "location": "imgui_internal:701", - "ov_cimguiname": "ImChunkStream_empty", - "ret": "bool", - "signature": "()const", - "stname": "ImChunkStream", - "templated": true - } - ], - "ImChunkStream_end": [ - { - "args": "(ImChunkStream* self)", - "argsT": [ - { - "name": "self", - "type": "ImChunkStream*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImChunkStream_end", - "defaults": {}, - "funcname": "end", - "location": "imgui_internal:707", - "ov_cimguiname": "ImChunkStream_end", - "ret": "T*", - "signature": "()", - "stname": "ImChunkStream", - "templated": true - } - ], - "ImChunkStream_next_chunk": [ - { - "args": "(ImChunkStream* self,T* p)", - "argsT": [ - { - "name": "self", - "type": "ImChunkStream*" - }, - { - "name": "p", - "type": "T*" - } - ], - "argsoriginal": "(T* p)", - "call_args": "(p)", - "cimguiname": "ImChunkStream_next_chunk", - "defaults": {}, - "funcname": "next_chunk", - "location": "imgui_internal:705", - "ov_cimguiname": "ImChunkStream_next_chunk", - "ret": "T*", - "signature": "(T*)", - "stname": "ImChunkStream", - "templated": true - } - ], - "ImChunkStream_offset_from_ptr": [ - { - "args": "(ImChunkStream* self,const T* p)", - "argsT": [ - { - "name": "self", - "type": "ImChunkStream*" - }, - { - "name": "p", - "type": "const T*" - } - ], - "argsoriginal": "(const T* p)", - "call_args": "(p)", - "cimguiname": "ImChunkStream_offset_from_ptr", - "defaults": {}, - "funcname": "offset_from_ptr", - "location": "imgui_internal:708", - "ov_cimguiname": "ImChunkStream_offset_from_ptr", - "ret": "int", - "signature": "(const T*)", - "stname": "ImChunkStream", - "templated": true - } - ], - "ImChunkStream_ptr_from_offset": [ - { - "args": "(ImChunkStream* self,int off)", - "argsT": [ - { - "name": "self", - "type": "ImChunkStream*" - }, - { - "name": "off", - "type": "int" - } - ], - "argsoriginal": "(int off)", - "call_args": "(off)", - "cimguiname": "ImChunkStream_ptr_from_offset", - "defaults": {}, - "funcname": "ptr_from_offset", - "location": "imgui_internal:709", - "ov_cimguiname": "ImChunkStream_ptr_from_offset", - "ret": "T*", - "signature": "(int)", - "stname": "ImChunkStream", - "templated": true - } - ], - "ImChunkStream_size": [ - { - "args": "(ImChunkStream* self)", - "argsT": [ - { - "name": "self", - "type": "ImChunkStream*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImChunkStream_size", - "defaults": {}, - "funcname": "size", - "location": "imgui_internal:702", - "ov_cimguiname": "ImChunkStream_size", - "ret": "int", - "signature": "()const", - "stname": "ImChunkStream", - "templated": true - } - ], - "ImChunkStream_swap": [ - { - "args": "(ImChunkStream* self,ImChunkStream_T * rhs)", - "argsT": [ - { - "name": "self", - "type": "ImChunkStream*" - }, - { - "name": "rhs", - "reftoptr": true, - "type": "ImChunkStream_T *" - } - ], - "argsoriginal": "(ImChunkStream& rhs)", - "call_args": "(*rhs)", - "cimguiname": "ImChunkStream_swap", - "defaults": {}, - "funcname": "swap", - "location": "imgui_internal:710", - "ov_cimguiname": "ImChunkStream_swap", - "ret": "void", - "signature": "(ImChunkStream_T *)", - "stname": "ImChunkStream", - "templated": true - } - ], - "ImColor_HSV": [ - { - "args": "(ImColor *pOut,float h,float s,float v,float a)", - "argsT": [ - { - "name": "pOut", - "type": "ImColor*" - }, - { - "name": "h", - "type": "float" - }, - { - "name": "s", - "type": "float" - }, - { - "name": "v", - "type": "float" - }, - { - "name": "a", - "type": "float" - } - ], - "argsoriginal": "(float h,float s,float v,float a=1.0f)", - "call_args": "(h,s,v,a)", - "cimguiname": "ImColor_HSV", - "defaults": { - "a": "1.0f" - }, - "funcname": "HSV", - "is_static_function": true, - "location": "imgui:2472", - "nonUDT": 1, - "ov_cimguiname": "ImColor_HSV", - "ret": "void", - "signature": "(float,float,float,float)", - "stname": "ImColor" - } - ], - "ImColor_ImColor": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImColor_ImColor", - "constructor": true, - "defaults": {}, - "funcname": "ImColor", - "location": "imgui:2462", - "ov_cimguiname": "ImColor_ImColor_Nil", - "signature": "()", - "stname": "ImColor" - }, - { - "args": "(float r,float g,float b,float a)", - "argsT": [ - { - "name": "r", - "type": "float" - }, - { - "name": "g", - "type": "float" - }, - { - "name": "b", - "type": "float" - }, - { - "name": "a", - "type": "float" - } - ], - "argsoriginal": "(float r,float g,float b,float a=1.0f)", - "call_args": "(r,g,b,a)", - "cimguiname": "ImColor_ImColor", - "constructor": true, - "defaults": { - "a": "1.0f" - }, - "funcname": "ImColor", - "location": "imgui:2463", - "ov_cimguiname": "ImColor_ImColor_Float", - "signature": "(float,float,float,float)", - "stname": "ImColor" - }, - { - "args": "(const ImVec4 col)", - "argsT": [ - { - "name": "col", - "type": "const ImVec4" - } - ], - "argsoriginal": "(const ImVec4& col)", - "call_args": "(col)", - "cimguiname": "ImColor_ImColor", - "constructor": true, - "defaults": {}, - "funcname": "ImColor", - "location": "imgui:2464", - "ov_cimguiname": "ImColor_ImColor_Vec4", - "signature": "(const ImVec4)", - "stname": "ImColor" - }, - { - "args": "(int r,int g,int b,int a)", - "argsT": [ - { - "name": "r", - "type": "int" - }, - { - "name": "g", - "type": "int" - }, - { - "name": "b", - "type": "int" - }, - { - "name": "a", - "type": "int" - } - ], - "argsoriginal": "(int r,int g,int b,int a=255)", - "call_args": "(r,g,b,a)", - "cimguiname": "ImColor_ImColor", - "constructor": true, - "defaults": { - "a": "255" - }, - "funcname": "ImColor", - "location": "imgui:2465", - "ov_cimguiname": "ImColor_ImColor_Int", - "signature": "(int,int,int,int)", - "stname": "ImColor" - }, - { - "args": "(ImU32 rgba)", - "argsT": [ - { - "name": "rgba", - "type": "ImU32" - } - ], - "argsoriginal": "(ImU32 rgba)", - "call_args": "(rgba)", - "cimguiname": "ImColor_ImColor", - "constructor": true, - "defaults": {}, - "funcname": "ImColor", - "location": "imgui:2466", - "ov_cimguiname": "ImColor_ImColor_U32", - "signature": "(ImU32)", - "stname": "ImColor" - } - ], - "ImColor_SetHSV": [ - { - "args": "(ImColor* self,float h,float s,float v,float a)", - "argsT": [ - { - "name": "self", - "type": "ImColor*" - }, - { - "name": "h", - "type": "float" - }, - { - "name": "s", - "type": "float" - }, - { - "name": "v", - "type": "float" - }, - { - "name": "a", - "type": "float" - } - ], - "argsoriginal": "(float h,float s,float v,float a=1.0f)", - "call_args": "(h,s,v,a)", - "cimguiname": "ImColor_SetHSV", - "defaults": { - "a": "1.0f" - }, - "funcname": "SetHSV", - "location": "imgui:2471", - "ov_cimguiname": "ImColor_SetHSV", - "ret": "void", - "signature": "(float,float,float,float)", - "stname": "ImColor" - } - ], - "ImColor_destroy": [ - { - "args": "(ImColor* self)", - "argsT": [ - { - "name": "self", - "type": "ImColor*" - } - ], - "call_args": "(self)", - "cimguiname": "ImColor_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImColor_destroy", - "ret": "void", - "signature": "(ImColor*)", - "stname": "ImColor" - } - ], - "ImDrawCmd_GetTexID": [ - { - "args": "(ImDrawCmd* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawCmd*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawCmd_GetTexID", - "defaults": {}, - "funcname": "GetTexID", - "location": "imgui:2520", - "ov_cimguiname": "ImDrawCmd_GetTexID", - "ret": "ImTextureID", - "signature": "()const", - "stname": "ImDrawCmd" - } - ], - "ImDrawCmd_ImDrawCmd": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawCmd_ImDrawCmd", - "constructor": true, - "defaults": {}, - "funcname": "ImDrawCmd", - "location": "imgui:2517", - "ov_cimguiname": "ImDrawCmd_ImDrawCmd", - "signature": "()", - "stname": "ImDrawCmd" - } - ], - "ImDrawCmd_destroy": [ - { - "args": "(ImDrawCmd* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawCmd*" - } - ], - "call_args": "(self)", - "cimguiname": "ImDrawCmd_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImDrawCmd_destroy", - "ret": "void", - "signature": "(ImDrawCmd*)", - "stname": "ImDrawCmd" - } - ], - "ImDrawDataBuilder_Clear": [ - { - "args": "(ImDrawDataBuilder* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawDataBuilder*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawDataBuilder_Clear", - "defaults": {}, - "funcname": "Clear", - "location": "imgui_internal:786", - "ov_cimguiname": "ImDrawDataBuilder_Clear", - "ret": "void", - "signature": "()", - "stname": "ImDrawDataBuilder" - } - ], - "ImDrawDataBuilder_ClearFreeMemory": [ - { - "args": "(ImDrawDataBuilder* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawDataBuilder*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawDataBuilder_ClearFreeMemory", - "defaults": {}, - "funcname": "ClearFreeMemory", - "location": "imgui_internal:787", - "ov_cimguiname": "ImDrawDataBuilder_ClearFreeMemory", - "ret": "void", - "signature": "()", - "stname": "ImDrawDataBuilder" - } - ], - "ImDrawDataBuilder_FlattenIntoSingleLayer": [ - { - "args": "(ImDrawDataBuilder* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawDataBuilder*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawDataBuilder_FlattenIntoSingleLayer", - "defaults": {}, - "funcname": "FlattenIntoSingleLayer", - "location": "imgui_internal:789", - "ov_cimguiname": "ImDrawDataBuilder_FlattenIntoSingleLayer", - "ret": "void", - "signature": "()", - "stname": "ImDrawDataBuilder" - } - ], - "ImDrawDataBuilder_GetDrawListCount": [ - { - "args": "(ImDrawDataBuilder* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawDataBuilder*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawDataBuilder_GetDrawListCount", - "defaults": {}, - "funcname": "GetDrawListCount", - "location": "imgui_internal:788", - "ov_cimguiname": "ImDrawDataBuilder_GetDrawListCount", - "ret": "int", - "signature": "()const", - "stname": "ImDrawDataBuilder" - } - ], - "ImDrawData_Clear": [ - { - "args": "(ImDrawData* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawData*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawData_Clear", - "defaults": {}, - "funcname": "Clear", - "location": "imgui:2754", - "ov_cimguiname": "ImDrawData_Clear", - "ret": "void", - "signature": "()", - "stname": "ImDrawData" - } - ], - "ImDrawData_DeIndexAllBuffers": [ - { - "args": "(ImDrawData* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawData*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawData_DeIndexAllBuffers", - "defaults": {}, - "funcname": "DeIndexAllBuffers", - "location": "imgui:2755", - "ov_cimguiname": "ImDrawData_DeIndexAllBuffers", - "ret": "void", - "signature": "()", - "stname": "ImDrawData" - } - ], - "ImDrawData_ImDrawData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawData_ImDrawData", - "constructor": true, - "defaults": {}, - "funcname": "ImDrawData", - "location": "imgui:2753", - "ov_cimguiname": "ImDrawData_ImDrawData", - "signature": "()", - "stname": "ImDrawData" - } - ], - "ImDrawData_ScaleClipRects": [ - { - "args": "(ImDrawData* self,const ImVec2 fb_scale)", - "argsT": [ - { - "name": "self", - "type": "ImDrawData*" - }, - { - "name": "fb_scale", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& fb_scale)", - "call_args": "(fb_scale)", - "cimguiname": "ImDrawData_ScaleClipRects", - "defaults": {}, - "funcname": "ScaleClipRects", - "location": "imgui:2756", - "ov_cimguiname": "ImDrawData_ScaleClipRects", - "ret": "void", - "signature": "(const ImVec2)", - "stname": "ImDrawData" - } - ], - "ImDrawData_destroy": [ - { - "args": "(ImDrawData* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImDrawData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImDrawData_destroy", - "ret": "void", - "signature": "(ImDrawData*)", - "stname": "ImDrawData" - } - ], - "ImDrawListSharedData_ImDrawListSharedData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawListSharedData_ImDrawListSharedData", - "constructor": true, - "defaults": {}, - "funcname": "ImDrawListSharedData", - "location": "imgui_internal:778", - "ov_cimguiname": "ImDrawListSharedData_ImDrawListSharedData", - "signature": "()", - "stname": "ImDrawListSharedData" - } - ], - "ImDrawListSharedData_SetCircleTessellationMaxError": [ - { - "args": "(ImDrawListSharedData* self,float max_error)", - "argsT": [ - { - "name": "self", - "type": "ImDrawListSharedData*" - }, - { - "name": "max_error", - "type": "float" - } - ], - "argsoriginal": "(float max_error)", - "call_args": "(max_error)", - "cimguiname": "ImDrawListSharedData_SetCircleTessellationMaxError", - "defaults": {}, - "funcname": "SetCircleTessellationMaxError", - "location": "imgui_internal:779", - "ov_cimguiname": "ImDrawListSharedData_SetCircleTessellationMaxError", - "ret": "void", - "signature": "(float)", - "stname": "ImDrawListSharedData" - } - ], - "ImDrawListSharedData_destroy": [ - { - "args": "(ImDrawListSharedData* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawListSharedData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImDrawListSharedData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImDrawListSharedData_destroy", - "ret": "void", - "signature": "(ImDrawListSharedData*)", - "stname": "ImDrawListSharedData" - } - ], - "ImDrawListSplitter_Clear": [ - { - "args": "(ImDrawListSplitter* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawListSplitter*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawListSplitter_Clear", - "defaults": {}, - "funcname": "Clear", - "location": "imgui:2565", - "ov_cimguiname": "ImDrawListSplitter_Clear", - "ret": "void", - "signature": "()", - "stname": "ImDrawListSplitter" - } - ], - "ImDrawListSplitter_ClearFreeMemory": [ - { - "args": "(ImDrawListSplitter* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawListSplitter*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawListSplitter_ClearFreeMemory", - "defaults": {}, - "funcname": "ClearFreeMemory", - "location": "imgui:2566", - "ov_cimguiname": "ImDrawListSplitter_ClearFreeMemory", - "ret": "void", - "signature": "()", - "stname": "ImDrawListSplitter" - } - ], - "ImDrawListSplitter_ImDrawListSplitter": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawListSplitter_ImDrawListSplitter", - "constructor": true, - "defaults": {}, - "funcname": "ImDrawListSplitter", - "location": "imgui:2563", - "ov_cimguiname": "ImDrawListSplitter_ImDrawListSplitter", - "signature": "()", - "stname": "ImDrawListSplitter" - } - ], - "ImDrawListSplitter_Merge": [ - { - "args": "(ImDrawListSplitter* self,ImDrawList* draw_list)", - "argsT": [ - { - "name": "self", - "type": "ImDrawListSplitter*" - }, - { - "name": "draw_list", - "type": "ImDrawList*" - } - ], - "argsoriginal": "(ImDrawList* draw_list)", - "call_args": "(draw_list)", - "cimguiname": "ImDrawListSplitter_Merge", - "defaults": {}, - "funcname": "Merge", - "location": "imgui:2568", - "ov_cimguiname": "ImDrawListSplitter_Merge", - "ret": "void", - "signature": "(ImDrawList*)", - "stname": "ImDrawListSplitter" - } - ], - "ImDrawListSplitter_SetCurrentChannel": [ - { - "args": "(ImDrawListSplitter* self,ImDrawList* draw_list,int channel_idx)", - "argsT": [ - { - "name": "self", - "type": "ImDrawListSplitter*" - }, - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "channel_idx", - "type": "int" - } - ], - "argsoriginal": "(ImDrawList* draw_list,int channel_idx)", - "call_args": "(draw_list,channel_idx)", - "cimguiname": "ImDrawListSplitter_SetCurrentChannel", - "defaults": {}, - "funcname": "SetCurrentChannel", - "location": "imgui:2569", - "ov_cimguiname": "ImDrawListSplitter_SetCurrentChannel", - "ret": "void", - "signature": "(ImDrawList*,int)", - "stname": "ImDrawListSplitter" - } - ], - "ImDrawListSplitter_Split": [ - { - "args": "(ImDrawListSplitter* self,ImDrawList* draw_list,int count)", - "argsT": [ - { - "name": "self", - "type": "ImDrawListSplitter*" - }, - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "count", - "type": "int" - } - ], - "argsoriginal": "(ImDrawList* draw_list,int count)", - "call_args": "(draw_list,count)", - "cimguiname": "ImDrawListSplitter_Split", - "defaults": {}, - "funcname": "Split", - "location": "imgui:2567", - "ov_cimguiname": "ImDrawListSplitter_Split", - "ret": "void", - "signature": "(ImDrawList*,int)", - "stname": "ImDrawListSplitter" - } - ], - "ImDrawListSplitter_destroy": [ - { - "args": "(ImDrawListSplitter* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawListSplitter*" - } - ], - "call_args": "(self)", - "cimguiname": "ImDrawListSplitter_destroy", - "defaults": {}, - "destructor": true, - "location": "imgui:2564", - "ov_cimguiname": "ImDrawListSplitter_destroy", - "realdestructor": true, - "ret": "void", - "signature": "(ImDrawListSplitter*)", - "stname": "ImDrawListSplitter" - } - ], - "ImDrawList_AddBezierCubic": [ - { - "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col,float thickness,int num_segments)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "p1", - "type": "const ImVec2" - }, - { - "name": "p2", - "type": "const ImVec2" - }, - { - "name": "p3", - "type": "const ImVec2" - }, - { - "name": "p4", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "thickness", - "type": "float" - }, - { - "name": "num_segments", - "type": "int" - } - ], - "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,ImU32 col,float thickness,int num_segments=0)", - "call_args": "(p1,p2,p3,p4,col,thickness,num_segments)", - "cimguiname": "ImDrawList_AddBezierCubic", - "defaults": { - "num_segments": "0" - }, - "funcname": "AddBezierCubic", - "location": "imgui:2668", - "ov_cimguiname": "ImDrawList_AddBezierCubic", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddBezierQuadratic": [ - { - "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,ImU32 col,float thickness,int num_segments)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "p1", - "type": "const ImVec2" - }, - { - "name": "p2", - "type": "const ImVec2" - }, - { - "name": "p3", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "thickness", - "type": "float" - }, - { - "name": "num_segments", - "type": "int" - } - ], - "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,ImU32 col,float thickness,int num_segments=0)", - "call_args": "(p1,p2,p3,col,thickness,num_segments)", - "cimguiname": "ImDrawList_AddBezierQuadratic", - "defaults": { - "num_segments": "0" - }, - "funcname": "AddBezierQuadratic", - "location": "imgui:2669", - "ov_cimguiname": "ImDrawList_AddBezierQuadratic", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddCallback": [ - { - "args": "(ImDrawList* self,ImDrawCallback callback,void* callback_data)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "callback", - "type": "ImDrawCallback" - }, - { - "name": "callback_data", - "type": "void*" - } - ], - "argsoriginal": "(ImDrawCallback callback,void* callback_data)", - "call_args": "(callback,callback_data)", - "cimguiname": "ImDrawList_AddCallback", - "defaults": {}, - "funcname": "AddCallback", - "location": "imgui:2693", - "ov_cimguiname": "ImDrawList_AddCallback", - "ret": "void", - "signature": "(ImDrawCallback,void*)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddCircle": [ - { - "args": "(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments,float thickness)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "center", - "type": "const ImVec2" - }, - { - "name": "radius", - "type": "float" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "num_segments", - "type": "int" - }, - { - "name": "thickness", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2& center,float radius,ImU32 col,int num_segments=0,float thickness=1.0f)", - "call_args": "(center,radius,col,num_segments,thickness)", - "cimguiname": "ImDrawList_AddCircle", - "defaults": { - "num_segments": "0", - "thickness": "1.0f" - }, - "funcname": "AddCircle", - "location": "imgui:2660", - "ov_cimguiname": "ImDrawList_AddCircle", - "ret": "void", - "signature": "(const ImVec2,float,ImU32,int,float)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddCircleFilled": [ - { - "args": "(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "center", - "type": "const ImVec2" - }, - { - "name": "radius", - "type": "float" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "num_segments", - "type": "int" - } - ], - "argsoriginal": "(const ImVec2& center,float radius,ImU32 col,int num_segments=0)", - "call_args": "(center,radius,col,num_segments)", - "cimguiname": "ImDrawList_AddCircleFilled", - "defaults": { - "num_segments": "0" - }, - "funcname": "AddCircleFilled", - "location": "imgui:2661", - "ov_cimguiname": "ImDrawList_AddCircleFilled", - "ret": "void", - "signature": "(const ImVec2,float,ImU32,int)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddConvexPolyFilled": [ - { - "args": "(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "points", - "type": "const ImVec2*" - }, - { - "name": "num_points", - "type": "int" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(const ImVec2* points,int num_points,ImU32 col)", - "call_args": "(points,num_points,col)", - "cimguiname": "ImDrawList_AddConvexPolyFilled", - "defaults": {}, - "funcname": "AddConvexPolyFilled", - "location": "imgui:2667", - "ov_cimguiname": "ImDrawList_AddConvexPolyFilled", - "ret": "void", - "signature": "(const ImVec2*,int,ImU32)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddDrawCmd": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList_AddDrawCmd", - "defaults": {}, - "funcname": "AddDrawCmd", - "location": "imgui:2694", - "ov_cimguiname": "ImDrawList_AddDrawCmd", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddImage": [ - { - "args": "(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p_min,const ImVec2 p_max,const ImVec2 uv_min,const ImVec2 uv_max,ImU32 col)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "user_texture_id", - "type": "ImTextureID" - }, - { - "name": "p_min", - "type": "const ImVec2" - }, - { - "name": "p_max", - "type": "const ImVec2" - }, - { - "name": "uv_min", - "type": "const ImVec2" - }, - { - "name": "uv_max", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& p_min,const ImVec2& p_max,const ImVec2& uv_min=ImVec2(0,0),const ImVec2& uv_max=ImVec2(1,1),ImU32 col=(((ImU32)(255)<<24)|((ImU32)(255)<<16)|((ImU32)(255)<<8)|((ImU32)(255)<<0)))", - "call_args": "(user_texture_id,p_min,p_max,uv_min,uv_max,col)", - "cimguiname": "ImDrawList_AddImage", - "defaults": { - "col": "4294967295", - "uv_max": "ImVec2(1,1)", - "uv_min": "ImVec2(0,0)" - }, - "funcname": "AddImage", - "location": "imgui:2675", - "ov_cimguiname": "ImDrawList_AddImage", - "ret": "void", - "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddImageQuad": [ - { - "args": "(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,const ImVec2 uv1,const ImVec2 uv2,const ImVec2 uv3,const ImVec2 uv4,ImU32 col)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "user_texture_id", - "type": "ImTextureID" - }, - { - "name": "p1", - "type": "const ImVec2" - }, - { - "name": "p2", - "type": "const ImVec2" - }, - { - "name": "p3", - "type": "const ImVec2" - }, - { - "name": "p4", - "type": "const ImVec2" - }, - { - "name": "uv1", - "type": "const ImVec2" - }, - { - "name": "uv2", - "type": "const ImVec2" - }, - { - "name": "uv3", - "type": "const ImVec2" - }, - { - "name": "uv4", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,const ImVec2& uv1=ImVec2(0,0),const ImVec2& uv2=ImVec2(1,0),const ImVec2& uv3=ImVec2(1,1),const ImVec2& uv4=ImVec2(0,1),ImU32 col=(((ImU32)(255)<<24)|((ImU32)(255)<<16)|((ImU32)(255)<<8)|((ImU32)(255)<<0)))", - "call_args": "(user_texture_id,p1,p2,p3,p4,uv1,uv2,uv3,uv4,col)", - "cimguiname": "ImDrawList_AddImageQuad", - "defaults": { - "col": "4294967295", - "uv1": "ImVec2(0,0)", - "uv2": "ImVec2(1,0)", - "uv3": "ImVec2(1,1)", - "uv4": "ImVec2(0,1)" - }, - "funcname": "AddImageQuad", - "location": "imgui:2676", - "ov_cimguiname": "ImDrawList_AddImageQuad", - "ret": "void", - "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddImageRounded": [ - { - "args": "(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p_min,const ImVec2 p_max,const ImVec2 uv_min,const ImVec2 uv_max,ImU32 col,float rounding,ImDrawFlags flags)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "user_texture_id", - "type": "ImTextureID" - }, - { - "name": "p_min", - "type": "const ImVec2" - }, - { - "name": "p_max", - "type": "const ImVec2" - }, - { - "name": "uv_min", - "type": "const ImVec2" - }, - { - "name": "uv_max", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "rounding", - "type": "float" - }, - { - "name": "flags", - "type": "ImDrawFlags" - } - ], - "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& p_min,const ImVec2& p_max,const ImVec2& uv_min,const ImVec2& uv_max,ImU32 col,float rounding,ImDrawFlags flags=0)", - "call_args": "(user_texture_id,p_min,p_max,uv_min,uv_max,col,rounding,flags)", - "cimguiname": "ImDrawList_AddImageRounded", - "defaults": { - "flags": "0" - }, - "funcname": "AddImageRounded", - "location": "imgui:2677", - "ov_cimguiname": "ImDrawList_AddImageRounded", - "ret": "void", - "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,ImDrawFlags)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddLine": [ - { - "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,ImU32 col,float thickness)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "p1", - "type": "const ImVec2" - }, - { - "name": "p2", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "thickness", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,ImU32 col,float thickness=1.0f)", - "call_args": "(p1,p2,col,thickness)", - "cimguiname": "ImDrawList_AddLine", - "defaults": { - "thickness": "1.0f" - }, - "funcname": "AddLine", - "location": "imgui:2652", - "ov_cimguiname": "ImDrawList_AddLine", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,ImU32,float)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddNgon": [ - { - "args": "(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments,float thickness)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "center", - "type": "const ImVec2" - }, - { - "name": "radius", - "type": "float" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "num_segments", - "type": "int" - }, - { - "name": "thickness", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2& center,float radius,ImU32 col,int num_segments,float thickness=1.0f)", - "call_args": "(center,radius,col,num_segments,thickness)", - "cimguiname": "ImDrawList_AddNgon", - "defaults": { - "thickness": "1.0f" - }, - "funcname": "AddNgon", - "location": "imgui:2662", - "ov_cimguiname": "ImDrawList_AddNgon", - "ret": "void", - "signature": "(const ImVec2,float,ImU32,int,float)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddNgonFilled": [ - { - "args": "(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "center", - "type": "const ImVec2" - }, - { - "name": "radius", - "type": "float" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "num_segments", - "type": "int" - } - ], - "argsoriginal": "(const ImVec2& center,float radius,ImU32 col,int num_segments)", - "call_args": "(center,radius,col,num_segments)", - "cimguiname": "ImDrawList_AddNgonFilled", - "defaults": {}, - "funcname": "AddNgonFilled", - "location": "imgui:2663", - "ov_cimguiname": "ImDrawList_AddNgonFilled", - "ret": "void", - "signature": "(const ImVec2,float,ImU32,int)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddPolyline": [ - { - "args": "(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col,ImDrawFlags flags,float thickness)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "points", - "type": "const ImVec2*" - }, - { - "name": "num_points", - "type": "int" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "flags", - "type": "ImDrawFlags" - }, - { - "name": "thickness", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2* points,int num_points,ImU32 col,ImDrawFlags flags,float thickness)", - "call_args": "(points,num_points,col,flags,thickness)", - "cimguiname": "ImDrawList_AddPolyline", - "defaults": {}, - "funcname": "AddPolyline", - "location": "imgui:2666", - "ov_cimguiname": "ImDrawList_AddPolyline", - "ret": "void", - "signature": "(const ImVec2*,int,ImU32,ImDrawFlags,float)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddQuad": [ - { - "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col,float thickness)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "p1", - "type": "const ImVec2" - }, - { - "name": "p2", - "type": "const ImVec2" - }, - { - "name": "p3", - "type": "const ImVec2" - }, - { - "name": "p4", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "thickness", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,ImU32 col,float thickness=1.0f)", - "call_args": "(p1,p2,p3,p4,col,thickness)", - "cimguiname": "ImDrawList_AddQuad", - "defaults": { - "thickness": "1.0f" - }, - "funcname": "AddQuad", - "location": "imgui:2656", - "ov_cimguiname": "ImDrawList_AddQuad", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddQuadFilled": [ - { - "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "p1", - "type": "const ImVec2" - }, - { - "name": "p2", - "type": "const ImVec2" - }, - { - "name": "p3", - "type": "const ImVec2" - }, - { - "name": "p4", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,ImU32 col)", - "call_args": "(p1,p2,p3,p4,col)", - "cimguiname": "ImDrawList_AddQuadFilled", - "defaults": {}, - "funcname": "AddQuadFilled", - "location": "imgui:2657", - "ov_cimguiname": "ImDrawList_AddQuadFilled", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddRect": [ - { - "args": "(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col,float rounding,ImDrawFlags flags,float thickness)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "p_min", - "type": "const ImVec2" - }, - { - "name": "p_max", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "rounding", - "type": "float" - }, - { - "name": "flags", - "type": "ImDrawFlags" - }, - { - "name": "thickness", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2& p_min,const ImVec2& p_max,ImU32 col,float rounding=0.0f,ImDrawFlags flags=0,float thickness=1.0f)", - "call_args": "(p_min,p_max,col,rounding,flags,thickness)", - "cimguiname": "ImDrawList_AddRect", - "defaults": { - "flags": "0", - "rounding": "0.0f", - "thickness": "1.0f" - }, - "funcname": "AddRect", - "location": "imgui:2653", - "ov_cimguiname": "ImDrawList_AddRect", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,ImU32,float,ImDrawFlags,float)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddRectFilled": [ - { - "args": "(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col,float rounding,ImDrawFlags flags)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "p_min", - "type": "const ImVec2" - }, - { - "name": "p_max", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "rounding", - "type": "float" - }, - { - "name": "flags", - "type": "ImDrawFlags" - } - ], - "argsoriginal": "(const ImVec2& p_min,const ImVec2& p_max,ImU32 col,float rounding=0.0f,ImDrawFlags flags=0)", - "call_args": "(p_min,p_max,col,rounding,flags)", - "cimguiname": "ImDrawList_AddRectFilled", - "defaults": { - "flags": "0", - "rounding": "0.0f" - }, - "funcname": "AddRectFilled", - "location": "imgui:2654", - "ov_cimguiname": "ImDrawList_AddRectFilled", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,ImU32,float,ImDrawFlags)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddRectFilledMultiColor": [ - { - "args": "(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "p_min", - "type": "const ImVec2" - }, - { - "name": "p_max", - "type": "const ImVec2" - }, - { - "name": "col_upr_left", - "type": "ImU32" - }, - { - "name": "col_upr_right", - "type": "ImU32" - }, - { - "name": "col_bot_right", - "type": "ImU32" - }, - { - "name": "col_bot_left", - "type": "ImU32" - } - ], - "argsoriginal": "(const ImVec2& p_min,const ImVec2& p_max,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)", - "call_args": "(p_min,p_max,col_upr_left,col_upr_right,col_bot_right,col_bot_left)", - "cimguiname": "ImDrawList_AddRectFilledMultiColor", - "defaults": {}, - "funcname": "AddRectFilledMultiColor", - "location": "imgui:2655", - "ov_cimguiname": "ImDrawList_AddRectFilledMultiColor", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddText": [ - { - "args": "(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "pos", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "text_begin", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - } - ], - "argsoriginal": "(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void*)0))", - "call_args": "(pos,col,text_begin,text_end)", - "cimguiname": "ImDrawList_AddText", - "defaults": { - "text_end": "NULL" - }, - "funcname": "AddText", - "location": "imgui:2664", - "ov_cimguiname": "ImDrawList_AddText_Vec2", - "ret": "void", - "signature": "(const ImVec2,ImU32,const char*,const char*)", - "stname": "ImDrawList" - }, - { - "args": "(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "font", - "type": "const ImFont*" - }, - { - "name": "font_size", - "type": "float" - }, - { - "name": "pos", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "text_begin", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - }, - { - "name": "wrap_width", - "type": "float" - }, - { - "name": "cpu_fine_clip_rect", - "type": "const ImVec4*" - } - ], - "argsoriginal": "(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void*)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void*)0))", - "call_args": "(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)", - "cimguiname": "ImDrawList_AddText", - "defaults": { - "cpu_fine_clip_rect": "NULL", - "text_end": "NULL", - "wrap_width": "0.0f" - }, - "funcname": "AddText", - "location": "imgui:2665", - "ov_cimguiname": "ImDrawList_AddText_FontPtr", - "ret": "void", - "signature": "(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddTriangle": [ - { - "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,ImU32 col,float thickness)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "p1", - "type": "const ImVec2" - }, - { - "name": "p2", - "type": "const ImVec2" - }, - { - "name": "p3", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "thickness", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,ImU32 col,float thickness=1.0f)", - "call_args": "(p1,p2,p3,col,thickness)", - "cimguiname": "ImDrawList_AddTriangle", - "defaults": { - "thickness": "1.0f" - }, - "funcname": "AddTriangle", - "location": "imgui:2658", - "ov_cimguiname": "ImDrawList_AddTriangle", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32,float)", - "stname": "ImDrawList" - } - ], - "ImDrawList_AddTriangleFilled": [ - { - "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,ImU32 col)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "p1", - "type": "const ImVec2" - }, - { - "name": "p2", - "type": "const ImVec2" - }, - { - "name": "p3", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,ImU32 col)", - "call_args": "(p1,p2,p3,col)", - "cimguiname": "ImDrawList_AddTriangleFilled", - "defaults": {}, - "funcname": "AddTriangleFilled", - "location": "imgui:2659", - "ov_cimguiname": "ImDrawList_AddTriangleFilled", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32)", - "stname": "ImDrawList" - } - ], - "ImDrawList_ChannelsMerge": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList_ChannelsMerge", - "defaults": {}, - "funcname": "ChannelsMerge", - "location": "imgui:2704", - "ov_cimguiname": "ImDrawList_ChannelsMerge", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], - "ImDrawList_ChannelsSetCurrent": [ - { - "args": "(ImDrawList* self,int n)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(int n)", - "call_args": "(n)", - "cimguiname": "ImDrawList_ChannelsSetCurrent", - "defaults": {}, - "funcname": "ChannelsSetCurrent", - "location": "imgui:2705", - "ov_cimguiname": "ImDrawList_ChannelsSetCurrent", - "ret": "void", - "signature": "(int)", - "stname": "ImDrawList" - } - ], - "ImDrawList_ChannelsSplit": [ - { - "args": "(ImDrawList* self,int count)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "count", - "type": "int" - } - ], - "argsoriginal": "(int count)", - "call_args": "(count)", - "cimguiname": "ImDrawList_ChannelsSplit", - "defaults": {}, - "funcname": "ChannelsSplit", - "location": "imgui:2703", - "ov_cimguiname": "ImDrawList_ChannelsSplit", - "ret": "void", - "signature": "(int)", - "stname": "ImDrawList" - } - ], - "ImDrawList_CloneOutput": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList_CloneOutput", - "defaults": {}, - "funcname": "CloneOutput", - "location": "imgui:2695", - "ov_cimguiname": "ImDrawList_CloneOutput", - "ret": "ImDrawList*", - "signature": "()const", - "stname": "ImDrawList" - } - ], - "ImDrawList_GetClipRectMax": [ - { - "args": "(ImVec2 *pOut,ImDrawList* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList_GetClipRectMax", - "defaults": {}, - "funcname": "GetClipRectMax", - "location": "imgui:2643", - "nonUDT": 1, - "ov_cimguiname": "ImDrawList_GetClipRectMax", - "ret": "void", - "signature": "()const", - "stname": "ImDrawList" - } - ], - "ImDrawList_GetClipRectMin": [ - { - "args": "(ImVec2 *pOut,ImDrawList* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList_GetClipRectMin", - "defaults": {}, - "funcname": "GetClipRectMin", - "location": "imgui:2642", - "nonUDT": 1, - "ov_cimguiname": "ImDrawList_GetClipRectMin", - "ret": "void", - "signature": "()const", - "stname": "ImDrawList" - } - ], - "ImDrawList_ImDrawList": [ - { - "args": "(ImDrawListSharedData* shared_data)", - "argsT": [ - { - "name": "shared_data", - "type": "ImDrawListSharedData*" - } - ], - "argsoriginal": "(ImDrawListSharedData* shared_data)", - "call_args": "(shared_data)", - "cimguiname": "ImDrawList_ImDrawList", - "constructor": true, - "defaults": {}, - "funcname": "ImDrawList", - "location": "imgui:2634", - "ov_cimguiname": "ImDrawList_ImDrawList", - "signature": "(ImDrawListSharedData*)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PathArcTo": [ - { - "args": "(ImDrawList* self,const ImVec2 center,float radius,float a_min,float a_max,int num_segments)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "center", - "type": "const ImVec2" - }, - { - "name": "radius", - "type": "float" - }, - { - "name": "a_min", - "type": "float" - }, - { - "name": "a_max", - "type": "float" - }, - { - "name": "num_segments", - "type": "int" - } - ], - "argsoriginal": "(const ImVec2& center,float radius,float a_min,float a_max,int num_segments=0)", - "call_args": "(center,radius,a_min,a_max,num_segments)", - "cimguiname": "ImDrawList_PathArcTo", - "defaults": { - "num_segments": "0" - }, - "funcname": "PathArcTo", - "location": "imgui:2686", - "ov_cimguiname": "ImDrawList_PathArcTo", - "ret": "void", - "signature": "(const ImVec2,float,float,float,int)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PathArcToFast": [ - { - "args": "(ImDrawList* self,const ImVec2 center,float radius,int a_min_of_12,int a_max_of_12)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "center", - "type": "const ImVec2" - }, - { - "name": "radius", - "type": "float" - }, - { - "name": "a_min_of_12", - "type": "int" - }, - { - "name": "a_max_of_12", - "type": "int" - } - ], - "argsoriginal": "(const ImVec2& center,float radius,int a_min_of_12,int a_max_of_12)", - "call_args": "(center,radius,a_min_of_12,a_max_of_12)", - "cimguiname": "ImDrawList_PathArcToFast", - "defaults": {}, - "funcname": "PathArcToFast", - "location": "imgui:2687", - "ov_cimguiname": "ImDrawList_PathArcToFast", - "ret": "void", - "signature": "(const ImVec2,float,int,int)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PathBezierCubicCurveTo": [ - { - "args": "(ImDrawList* self,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,int num_segments)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "p2", - "type": "const ImVec2" - }, - { - "name": "p3", - "type": "const ImVec2" - }, - { - "name": "p4", - "type": "const ImVec2" - }, - { - "name": "num_segments", - "type": "int" - } - ], - "argsoriginal": "(const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,int num_segments=0)", - "call_args": "(p2,p3,p4,num_segments)", - "cimguiname": "ImDrawList_PathBezierCubicCurveTo", - "defaults": { - "num_segments": "0" - }, - "funcname": "PathBezierCubicCurveTo", - "location": "imgui:2688", - "ov_cimguiname": "ImDrawList_PathBezierCubicCurveTo", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,int)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PathBezierQuadraticCurveTo": [ - { - "args": "(ImDrawList* self,const ImVec2 p2,const ImVec2 p3,int num_segments)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "p2", - "type": "const ImVec2" - }, - { - "name": "p3", - "type": "const ImVec2" - }, - { - "name": "num_segments", - "type": "int" - } - ], - "argsoriginal": "(const ImVec2& p2,const ImVec2& p3,int num_segments=0)", - "call_args": "(p2,p3,num_segments)", - "cimguiname": "ImDrawList_PathBezierQuadraticCurveTo", - "defaults": { - "num_segments": "0" - }, - "funcname": "PathBezierQuadraticCurveTo", - "location": "imgui:2689", - "ov_cimguiname": "ImDrawList_PathBezierQuadraticCurveTo", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,int)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PathClear": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList_PathClear", - "defaults": {}, - "funcname": "PathClear", - "location": "imgui:2681", - "ov_cimguiname": "ImDrawList_PathClear", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], - "ImDrawList_PathFillConvex": [ - { - "args": "(ImDrawList* self,ImU32 col)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(ImU32 col)", - "call_args": "(col)", - "cimguiname": "ImDrawList_PathFillConvex", - "defaults": {}, - "funcname": "PathFillConvex", - "location": "imgui:2684", - "ov_cimguiname": "ImDrawList_PathFillConvex", - "ret": "void", - "signature": "(ImU32)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PathLineTo": [ - { - "args": "(ImDrawList* self,const ImVec2 pos)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "pos", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& pos)", - "call_args": "(pos)", - "cimguiname": "ImDrawList_PathLineTo", - "defaults": {}, - "funcname": "PathLineTo", - "location": "imgui:2682", - "ov_cimguiname": "ImDrawList_PathLineTo", - "ret": "void", - "signature": "(const ImVec2)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PathLineToMergeDuplicate": [ - { - "args": "(ImDrawList* self,const ImVec2 pos)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "pos", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& pos)", - "call_args": "(pos)", - "cimguiname": "ImDrawList_PathLineToMergeDuplicate", - "defaults": {}, - "funcname": "PathLineToMergeDuplicate", - "location": "imgui:2683", - "ov_cimguiname": "ImDrawList_PathLineToMergeDuplicate", - "ret": "void", - "signature": "(const ImVec2)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PathRect": [ - { - "args": "(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,ImDrawFlags flags)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "rect_min", - "type": "const ImVec2" - }, - { - "name": "rect_max", - "type": "const ImVec2" - }, - { - "name": "rounding", - "type": "float" - }, - { - "name": "flags", - "type": "ImDrawFlags" - } - ], - "argsoriginal": "(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,ImDrawFlags flags=0)", - "call_args": "(rect_min,rect_max,rounding,flags)", - "cimguiname": "ImDrawList_PathRect", - "defaults": { - "flags": "0", - "rounding": "0.0f" - }, - "funcname": "PathRect", - "location": "imgui:2690", - "ov_cimguiname": "ImDrawList_PathRect", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,float,ImDrawFlags)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PathStroke": [ - { - "args": "(ImDrawList* self,ImU32 col,ImDrawFlags flags,float thickness)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "flags", - "type": "ImDrawFlags" - }, - { - "name": "thickness", - "type": "float" - } - ], - "argsoriginal": "(ImU32 col,ImDrawFlags flags=0,float thickness=1.0f)", - "call_args": "(col,flags,thickness)", - "cimguiname": "ImDrawList_PathStroke", - "defaults": { - "flags": "0", - "thickness": "1.0f" - }, - "funcname": "PathStroke", - "location": "imgui:2685", - "ov_cimguiname": "ImDrawList_PathStroke", - "ret": "void", - "signature": "(ImU32,ImDrawFlags,float)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PopClipRect": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList_PopClipRect", - "defaults": {}, - "funcname": "PopClipRect", - "location": "imgui:2639", - "ov_cimguiname": "ImDrawList_PopClipRect", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], - "ImDrawList_PopTextureID": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList_PopTextureID", - "defaults": {}, - "funcname": "PopTextureID", - "location": "imgui:2641", - "ov_cimguiname": "ImDrawList_PopTextureID", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], - "ImDrawList_PrimQuadUV": [ - { - "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "a", - "type": "const ImVec2" - }, - { - "name": "b", - "type": "const ImVec2" - }, - { - "name": "c", - "type": "const ImVec2" - }, - { - "name": "d", - "type": "const ImVec2" - }, - { - "name": "uv_a", - "type": "const ImVec2" - }, - { - "name": "uv_b", - "type": "const ImVec2" - }, - { - "name": "uv_c", - "type": "const ImVec2" - }, - { - "name": "uv_d", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)", - "call_args": "(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)", - "cimguiname": "ImDrawList_PrimQuadUV", - "defaults": {}, - "funcname": "PrimQuadUV", - "location": "imgui:2714", - "ov_cimguiname": "ImDrawList_PrimQuadUV", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PrimRect": [ - { - "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "a", - "type": "const ImVec2" - }, - { - "name": "b", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(const ImVec2& a,const ImVec2& b,ImU32 col)", - "call_args": "(a,b,col)", - "cimguiname": "ImDrawList_PrimRect", - "defaults": {}, - "funcname": "PrimRect", - "location": "imgui:2712", - "ov_cimguiname": "ImDrawList_PrimRect", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,ImU32)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PrimRectUV": [ - { - "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "a", - "type": "const ImVec2" - }, - { - "name": "b", - "type": "const ImVec2" - }, - { - "name": "uv_a", - "type": "const ImVec2" - }, - { - "name": "uv_b", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)", - "call_args": "(a,b,uv_a,uv_b,col)", - "cimguiname": "ImDrawList_PrimRectUV", - "defaults": {}, - "funcname": "PrimRectUV", - "location": "imgui:2713", - "ov_cimguiname": "ImDrawList_PrimRectUV", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PrimReserve": [ - { - "args": "(ImDrawList* self,int idx_count,int vtx_count)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "idx_count", - "type": "int" - }, - { - "name": "vtx_count", - "type": "int" - } - ], - "argsoriginal": "(int idx_count,int vtx_count)", - "call_args": "(idx_count,vtx_count)", - "cimguiname": "ImDrawList_PrimReserve", - "defaults": {}, - "funcname": "PrimReserve", - "location": "imgui:2710", - "ov_cimguiname": "ImDrawList_PrimReserve", - "ret": "void", - "signature": "(int,int)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PrimUnreserve": [ - { - "args": "(ImDrawList* self,int idx_count,int vtx_count)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "idx_count", - "type": "int" - }, - { - "name": "vtx_count", - "type": "int" - } - ], - "argsoriginal": "(int idx_count,int vtx_count)", - "call_args": "(idx_count,vtx_count)", - "cimguiname": "ImDrawList_PrimUnreserve", - "defaults": {}, - "funcname": "PrimUnreserve", - "location": "imgui:2711", - "ov_cimguiname": "ImDrawList_PrimUnreserve", - "ret": "void", - "signature": "(int,int)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PrimVtx": [ - { - "args": "(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "pos", - "type": "const ImVec2" - }, - { - "name": "uv", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(const ImVec2& pos,const ImVec2& uv,ImU32 col)", - "call_args": "(pos,uv,col)", - "cimguiname": "ImDrawList_PrimVtx", - "defaults": {}, - "funcname": "PrimVtx", - "location": "imgui:2717", - "ov_cimguiname": "ImDrawList_PrimVtx", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,ImU32)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PrimWriteIdx": [ - { - "args": "(ImDrawList* self,ImDrawIdx idx)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "idx", - "type": "ImDrawIdx" - } - ], - "argsoriginal": "(ImDrawIdx idx)", - "call_args": "(idx)", - "cimguiname": "ImDrawList_PrimWriteIdx", - "defaults": {}, - "funcname": "PrimWriteIdx", - "location": "imgui:2716", - "ov_cimguiname": "ImDrawList_PrimWriteIdx", - "ret": "void", - "signature": "(ImDrawIdx)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PrimWriteVtx": [ - { - "args": "(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "pos", - "type": "const ImVec2" - }, - { - "name": "uv", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(const ImVec2& pos,const ImVec2& uv,ImU32 col)", - "call_args": "(pos,uv,col)", - "cimguiname": "ImDrawList_PrimWriteVtx", - "defaults": {}, - "funcname": "PrimWriteVtx", - "location": "imgui:2715", - "ov_cimguiname": "ImDrawList_PrimWriteVtx", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,ImU32)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PushClipRect": [ - { - "args": "(ImDrawList* self,const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "clip_rect_min", - "type": "const ImVec2" - }, - { - "name": "clip_rect_max", - "type": "const ImVec2" - }, - { - "name": "intersect_with_current_clip_rect", - "type": "bool" - } - ], - "argsoriginal": "(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect=false)", - "call_args": "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)", - "cimguiname": "ImDrawList_PushClipRect", - "defaults": { - "intersect_with_current_clip_rect": "false" - }, - "funcname": "PushClipRect", - "location": "imgui:2637", - "ov_cimguiname": "ImDrawList_PushClipRect", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,bool)", - "stname": "ImDrawList" - } - ], - "ImDrawList_PushClipRectFullScreen": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList_PushClipRectFullScreen", - "defaults": {}, - "funcname": "PushClipRectFullScreen", - "location": "imgui:2638", - "ov_cimguiname": "ImDrawList_PushClipRectFullScreen", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], - "ImDrawList_PushTextureID": [ - { - "args": "(ImDrawList* self,ImTextureID texture_id)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "texture_id", - "type": "ImTextureID" - } - ], - "argsoriginal": "(ImTextureID texture_id)", - "call_args": "(texture_id)", - "cimguiname": "ImDrawList_PushTextureID", - "defaults": {}, - "funcname": "PushTextureID", - "location": "imgui:2640", - "ov_cimguiname": "ImDrawList_PushTextureID", - "ret": "void", - "signature": "(ImTextureID)", - "stname": "ImDrawList" - } - ], - "ImDrawList__CalcCircleAutoSegmentCount": [ - { - "args": "(ImDrawList* self,float radius)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "radius", - "type": "float" - } - ], - "argsoriginal": "(float radius)", - "call_args": "(radius)", - "cimguiname": "ImDrawList__CalcCircleAutoSegmentCount", - "defaults": {}, - "funcname": "_CalcCircleAutoSegmentCount", - "location": "imgui:2732", - "ov_cimguiname": "ImDrawList__CalcCircleAutoSegmentCount", - "ret": "int", - "signature": "(float)const", - "stname": "ImDrawList" - } - ], - "ImDrawList__ClearFreeMemory": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList__ClearFreeMemory", - "defaults": {}, - "funcname": "_ClearFreeMemory", - "location": "imgui:2726", - "ov_cimguiname": "ImDrawList__ClearFreeMemory", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], - "ImDrawList__OnChangedClipRect": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList__OnChangedClipRect", - "defaults": {}, - "funcname": "_OnChangedClipRect", - "location": "imgui:2729", - "ov_cimguiname": "ImDrawList__OnChangedClipRect", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], - "ImDrawList__OnChangedTextureID": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList__OnChangedTextureID", - "defaults": {}, - "funcname": "_OnChangedTextureID", - "location": "imgui:2730", - "ov_cimguiname": "ImDrawList__OnChangedTextureID", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], - "ImDrawList__OnChangedVtxOffset": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList__OnChangedVtxOffset", - "defaults": {}, - "funcname": "_OnChangedVtxOffset", - "location": "imgui:2731", - "ov_cimguiname": "ImDrawList__OnChangedVtxOffset", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], - "ImDrawList__PathArcToFastEx": [ - { - "args": "(ImDrawList* self,const ImVec2 center,float radius,int a_min_sample,int a_max_sample,int a_step)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "center", - "type": "const ImVec2" - }, - { - "name": "radius", - "type": "float" - }, - { - "name": "a_min_sample", - "type": "int" - }, - { - "name": "a_max_sample", - "type": "int" - }, - { - "name": "a_step", - "type": "int" - } - ], - "argsoriginal": "(const ImVec2& center,float radius,int a_min_sample,int a_max_sample,int a_step)", - "call_args": "(center,radius,a_min_sample,a_max_sample,a_step)", - "cimguiname": "ImDrawList__PathArcToFastEx", - "defaults": {}, - "funcname": "_PathArcToFastEx", - "location": "imgui:2733", - "ov_cimguiname": "ImDrawList__PathArcToFastEx", - "ret": "void", - "signature": "(const ImVec2,float,int,int,int)", - "stname": "ImDrawList" - } - ], - "ImDrawList__PathArcToN": [ - { - "args": "(ImDrawList* self,const ImVec2 center,float radius,float a_min,float a_max,int num_segments)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - }, - { - "name": "center", - "type": "const ImVec2" - }, - { - "name": "radius", - "type": "float" - }, - { - "name": "a_min", - "type": "float" - }, - { - "name": "a_max", - "type": "float" - }, - { - "name": "num_segments", - "type": "int" - } - ], - "argsoriginal": "(const ImVec2& center,float radius,float a_min,float a_max,int num_segments)", - "call_args": "(center,radius,a_min,a_max,num_segments)", - "cimguiname": "ImDrawList__PathArcToN", - "defaults": {}, - "funcname": "_PathArcToN", - "location": "imgui:2734", - "ov_cimguiname": "ImDrawList__PathArcToN", - "ret": "void", - "signature": "(const ImVec2,float,float,float,int)", - "stname": "ImDrawList" - } - ], - "ImDrawList__PopUnusedDrawCmd": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList__PopUnusedDrawCmd", - "defaults": {}, - "funcname": "_PopUnusedDrawCmd", - "location": "imgui:2727", - "ov_cimguiname": "ImDrawList__PopUnusedDrawCmd", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], - "ImDrawList__ResetForNewFrame": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList__ResetForNewFrame", - "defaults": {}, - "funcname": "_ResetForNewFrame", - "location": "imgui:2725", - "ov_cimguiname": "ImDrawList__ResetForNewFrame", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], - "ImDrawList__TryMergeDrawCmds": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList__TryMergeDrawCmds", - "defaults": {}, - "funcname": "_TryMergeDrawCmds", - "location": "imgui:2728", - "ov_cimguiname": "ImDrawList__TryMergeDrawCmds", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], - "ImDrawList_destroy": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "call_args": "(self)", - "cimguiname": "ImDrawList_destroy", - "defaults": {}, - "destructor": true, - "location": "imgui:2636", - "ov_cimguiname": "ImDrawList_destroy", - "realdestructor": true, - "ret": "void", - "signature": "(ImDrawList*)", - "stname": "ImDrawList" - } - ], - "ImFontAtlasCustomRect_ImFontAtlasCustomRect": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlasCustomRect_ImFontAtlasCustomRect", - "constructor": true, - "defaults": {}, - "funcname": "ImFontAtlasCustomRect", - "location": "imgui:2827", - "ov_cimguiname": "ImFontAtlasCustomRect_ImFontAtlasCustomRect", - "signature": "()", - "stname": "ImFontAtlasCustomRect" - } - ], - "ImFontAtlasCustomRect_IsPacked": [ - { - "args": "(ImFontAtlasCustomRect* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlasCustomRect*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlasCustomRect_IsPacked", - "defaults": {}, - "funcname": "IsPacked", - "location": "imgui:2828", - "ov_cimguiname": "ImFontAtlasCustomRect_IsPacked", - "ret": "bool", - "signature": "()const", - "stname": "ImFontAtlasCustomRect" - } - ], - "ImFontAtlasCustomRect_destroy": [ - { - "args": "(ImFontAtlasCustomRect* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlasCustomRect*" - } - ], - "call_args": "(self)", - "cimguiname": "ImFontAtlasCustomRect_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImFontAtlasCustomRect_destroy", - "ret": "void", - "signature": "(ImFontAtlasCustomRect*)", - "stname": "ImFontAtlasCustomRect" - } - ], - "ImFontAtlas_AddCustomRectFontGlyph": [ - { - "args": "(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - }, - { - "name": "font", - "type": "ImFont*" - }, - { - "name": "id", - "type": "ImWchar" - }, - { - "name": "width", - "type": "int" - }, - { - "name": "height", - "type": "int" - }, - { - "name": "advance_x", - "type": "float" - }, - { - "name": "offset", - "type": "const ImVec2" - } - ], - "argsoriginal": "(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))", - "call_args": "(font,id,width,height,advance_x,offset)", - "cimguiname": "ImFontAtlas_AddCustomRectFontGlyph", - "defaults": { - "offset": "ImVec2(0,0)" - }, - "funcname": "AddCustomRectFontGlyph", - "location": "imgui:2912", - "ov_cimguiname": "ImFontAtlas_AddCustomRectFontGlyph", - "ret": "int", - "signature": "(ImFont*,ImWchar,int,int,float,const ImVec2)", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_AddCustomRectRegular": [ - { - "args": "(ImFontAtlas* self,int width,int height)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - }, - { - "name": "width", - "type": "int" - }, - { - "name": "height", - "type": "int" - } - ], - "argsoriginal": "(int width,int height)", - "call_args": "(width,height)", - "cimguiname": "ImFontAtlas_AddCustomRectRegular", - "defaults": {}, - "funcname": "AddCustomRectRegular", - "location": "imgui:2911", - "ov_cimguiname": "ImFontAtlas_AddCustomRectRegular", - "ret": "int", - "signature": "(int,int)", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_AddFont": [ - { - "args": "(ImFontAtlas* self,const ImFontConfig* font_cfg)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - }, - { - "name": "font_cfg", - "type": "const ImFontConfig*" - } - ], - "argsoriginal": "(const ImFontConfig* font_cfg)", - "call_args": "(font_cfg)", - "cimguiname": "ImFontAtlas_AddFont", - "defaults": {}, - "funcname": "AddFont", - "location": "imgui:2861", - "ov_cimguiname": "ImFontAtlas_AddFont", - "ret": "ImFont*", - "signature": "(const ImFontConfig*)", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_AddFontDefault": [ - { - "args": "(ImFontAtlas* self,const ImFontConfig* font_cfg)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - }, - { - "name": "font_cfg", - "type": "const ImFontConfig*" - } - ], - "argsoriginal": "(const ImFontConfig* font_cfg=((void*)0))", - "call_args": "(font_cfg)", - "cimguiname": "ImFontAtlas_AddFontDefault", - "defaults": { - "font_cfg": "NULL" - }, - "funcname": "AddFontDefault", - "location": "imgui:2862", - "ov_cimguiname": "ImFontAtlas_AddFontDefault", - "ret": "ImFont*", - "signature": "(const ImFontConfig*)", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_AddFontFromFileTTF": [ - { - "args": "(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - }, - { - "name": "filename", - "type": "const char*" - }, - { - "name": "size_pixels", - "type": "float" - }, - { - "name": "font_cfg", - "type": "const ImFontConfig*" - }, - { - "name": "glyph_ranges", - "type": "const ImWchar*" - } - ], - "argsoriginal": "(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", - "call_args": "(filename,size_pixels,font_cfg,glyph_ranges)", - "cimguiname": "ImFontAtlas_AddFontFromFileTTF", - "defaults": { - "font_cfg": "NULL", - "glyph_ranges": "NULL" - }, - "funcname": "AddFontFromFileTTF", - "location": "imgui:2863", - "ov_cimguiname": "ImFontAtlas_AddFontFromFileTTF", - "ret": "ImFont*", - "signature": "(const char*,float,const ImFontConfig*,const ImWchar*)", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF": [ - { - "args": "(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - }, - { - "name": "compressed_font_data_base85", - "type": "const char*" - }, - { - "name": "size_pixels", - "type": "float" - }, - { - "name": "font_cfg", - "type": "const ImFontConfig*" - }, - { - "name": "glyph_ranges", - "type": "const ImWchar*" - } - ], - "argsoriginal": "(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", - "call_args": "(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)", - "cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF", - "defaults": { - "font_cfg": "NULL", - "glyph_ranges": "NULL" - }, - "funcname": "AddFontFromMemoryCompressedBase85TTF", - "location": "imgui:2866", - "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF", - "ret": "ImFont*", - "signature": "(const char*,float,const ImFontConfig*,const ImWchar*)", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_AddFontFromMemoryCompressedTTF": [ - { - "args": "(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - }, - { - "name": "compressed_font_data", - "type": "const void*" - }, - { - "name": "compressed_font_size", - "type": "int" - }, - { - "name": "size_pixels", - "type": "float" - }, - { - "name": "font_cfg", - "type": "const ImFontConfig*" - }, - { - "name": "glyph_ranges", - "type": "const ImWchar*" - } - ], - "argsoriginal": "(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", - "call_args": "(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)", - "cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedTTF", - "defaults": { - "font_cfg": "NULL", - "glyph_ranges": "NULL" - }, - "funcname": "AddFontFromMemoryCompressedTTF", - "location": "imgui:2865", - "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedTTF", - "ret": "ImFont*", - "signature": "(const void*,int,float,const ImFontConfig*,const ImWchar*)", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_AddFontFromMemoryTTF": [ - { - "args": "(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - }, - { - "name": "font_data", - "type": "void*" - }, - { - "name": "font_size", - "type": "int" - }, - { - "name": "size_pixels", - "type": "float" - }, - { - "name": "font_cfg", - "type": "const ImFontConfig*" - }, - { - "name": "glyph_ranges", - "type": "const ImWchar*" - } - ], - "argsoriginal": "(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", - "call_args": "(font_data,font_size,size_pixels,font_cfg,glyph_ranges)", - "cimguiname": "ImFontAtlas_AddFontFromMemoryTTF", - "defaults": { - "font_cfg": "NULL", - "glyph_ranges": "NULL" - }, - "funcname": "AddFontFromMemoryTTF", - "location": "imgui:2864", - "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryTTF", - "ret": "ImFont*", - "signature": "(void*,int,float,const ImFontConfig*,const ImWchar*)", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_Build": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_Build", - "defaults": {}, - "funcname": "Build", - "location": "imgui:2877", - "ov_cimguiname": "ImFontAtlas_Build", - "ret": "bool", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_CalcCustomRectUV": [ - { - "args": "(ImFontAtlas* self,const ImFontAtlasCustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - }, - { - "name": "rect", - "type": "const ImFontAtlasCustomRect*" - }, - { - "name": "out_uv_min", - "type": "ImVec2*" - }, - { - "name": "out_uv_max", - "type": "ImVec2*" - } - ], - "argsoriginal": "(const ImFontAtlasCustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)", - "call_args": "(rect,out_uv_min,out_uv_max)", - "cimguiname": "ImFontAtlas_CalcCustomRectUV", - "defaults": {}, - "funcname": "CalcCustomRectUV", - "location": "imgui:2916", - "ov_cimguiname": "ImFontAtlas_CalcCustomRectUV", - "ret": "void", - "signature": "(const ImFontAtlasCustomRect*,ImVec2*,ImVec2*)const", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_Clear": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_Clear", - "defaults": {}, - "funcname": "Clear", - "location": "imgui:2870", - "ov_cimguiname": "ImFontAtlas_Clear", - "ret": "void", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_ClearFonts": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_ClearFonts", - "defaults": {}, - "funcname": "ClearFonts", - "location": "imgui:2869", - "ov_cimguiname": "ImFontAtlas_ClearFonts", - "ret": "void", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_ClearInputData": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_ClearInputData", - "defaults": {}, - "funcname": "ClearInputData", - "location": "imgui:2867", - "ov_cimguiname": "ImFontAtlas_ClearInputData", - "ret": "void", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_ClearTexData": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_ClearTexData", - "defaults": {}, - "funcname": "ClearTexData", - "location": "imgui:2868", - "ov_cimguiname": "ImFontAtlas_ClearTexData", - "ret": "void", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_GetCustomRectByIndex": [ - { - "args": "(ImFontAtlas* self,int index)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - }, - { - "name": "index", - "type": "int" - } - ], - "argsoriginal": "(int index)", - "call_args": "(index)", - "cimguiname": "ImFontAtlas_GetCustomRectByIndex", - "defaults": {}, - "funcname": "GetCustomRectByIndex", - "location": "imgui:2913", - "ov_cimguiname": "ImFontAtlas_GetCustomRectByIndex", - "ret": "ImFontAtlasCustomRect*", - "signature": "(int)", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_GetGlyphRangesChineseFull": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesChineseFull", - "defaults": {}, - "funcname": "GetGlyphRangesChineseFull", - "location": "imgui:2894", - "ov_cimguiname": "ImFontAtlas_GetGlyphRangesChineseFull", - "ret": "const ImWchar*", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon", - "defaults": {}, - "funcname": "GetGlyphRangesChineseSimplifiedCommon", - "location": "imgui:2895", - "ov_cimguiname": "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon", - "ret": "const ImWchar*", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_GetGlyphRangesCyrillic": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesCyrillic", - "defaults": {}, - "funcname": "GetGlyphRangesCyrillic", - "location": "imgui:2896", - "ov_cimguiname": "ImFontAtlas_GetGlyphRangesCyrillic", - "ret": "const ImWchar*", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_GetGlyphRangesDefault": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesDefault", - "defaults": {}, - "funcname": "GetGlyphRangesDefault", - "location": "imgui:2890", - "ov_cimguiname": "ImFontAtlas_GetGlyphRangesDefault", - "ret": "const ImWchar*", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_GetGlyphRangesGreek": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesGreek", - "defaults": {}, - "funcname": "GetGlyphRangesGreek", - "location": "imgui:2891", - "ov_cimguiname": "ImFontAtlas_GetGlyphRangesGreek", - "ret": "const ImWchar*", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_GetGlyphRangesJapanese": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesJapanese", - "defaults": {}, - "funcname": "GetGlyphRangesJapanese", - "location": "imgui:2893", - "ov_cimguiname": "ImFontAtlas_GetGlyphRangesJapanese", - "ret": "const ImWchar*", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_GetGlyphRangesKorean": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesKorean", - "defaults": {}, - "funcname": "GetGlyphRangesKorean", - "location": "imgui:2892", - "ov_cimguiname": "ImFontAtlas_GetGlyphRangesKorean", - "ret": "const ImWchar*", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_GetGlyphRangesThai": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesThai", - "defaults": {}, - "funcname": "GetGlyphRangesThai", - "location": "imgui:2897", - "ov_cimguiname": "ImFontAtlas_GetGlyphRangesThai", - "ret": "const ImWchar*", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_GetGlyphRangesVietnamese": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_GetGlyphRangesVietnamese", - "defaults": {}, - "funcname": "GetGlyphRangesVietnamese", - "location": "imgui:2898", - "ov_cimguiname": "ImFontAtlas_GetGlyphRangesVietnamese", - "ret": "const ImWchar*", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_GetMouseCursorTexData": [ - { - "args": "(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - }, - { - "name": "cursor", - "type": "ImGuiMouseCursor" - }, - { - "name": "out_offset", - "type": "ImVec2*" - }, - { - "name": "out_size", - "type": "ImVec2*" - }, - { - "name": "out_uv_border", - "type": "ImVec2[2]" - }, - { - "name": "out_uv_fill", - "type": "ImVec2[2]" - } - ], - "argsoriginal": "(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])", - "call_args": "(cursor,out_offset,out_size,out_uv_border,out_uv_fill)", - "cimguiname": "ImFontAtlas_GetMouseCursorTexData", - "defaults": {}, - "funcname": "GetMouseCursorTexData", - "location": "imgui:2917", - "ov_cimguiname": "ImFontAtlas_GetMouseCursorTexData", - "ret": "bool", - "signature": "(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_GetTexDataAsAlpha8": [ - { - "args": "(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - }, - { - "name": "out_pixels", - "type": "unsigned char**" - }, - { - "name": "out_width", - "type": "int*" - }, - { - "name": "out_height", - "type": "int*" - }, - { - "name": "out_bytes_per_pixel", - "type": "int*" - } - ], - "argsoriginal": "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void*)0))", - "call_args": "(out_pixels,out_width,out_height,out_bytes_per_pixel)", - "cimguiname": "ImFontAtlas_GetTexDataAsAlpha8", - "defaults": { - "out_bytes_per_pixel": "NULL" - }, - "funcname": "GetTexDataAsAlpha8", - "location": "imgui:2878", - "ov_cimguiname": "ImFontAtlas_GetTexDataAsAlpha8", - "ret": "void", - "signature": "(unsigned char**,int*,int*,int*)", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_GetTexDataAsRGBA32": [ - { - "args": "(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - }, - { - "name": "out_pixels", - "type": "unsigned char**" - }, - { - "name": "out_width", - "type": "int*" - }, - { - "name": "out_height", - "type": "int*" - }, - { - "name": "out_bytes_per_pixel", - "type": "int*" - } - ], - "argsoriginal": "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void*)0))", - "call_args": "(out_pixels,out_width,out_height,out_bytes_per_pixel)", - "cimguiname": "ImFontAtlas_GetTexDataAsRGBA32", - "defaults": { - "out_bytes_per_pixel": "NULL" - }, - "funcname": "GetTexDataAsRGBA32", - "location": "imgui:2879", - "ov_cimguiname": "ImFontAtlas_GetTexDataAsRGBA32", - "ret": "void", - "signature": "(unsigned char**,int*,int*,int*)", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_ImFontAtlas": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_ImFontAtlas", - "constructor": true, - "defaults": {}, - "funcname": "ImFontAtlas", - "location": "imgui:2859", - "ov_cimguiname": "ImFontAtlas_ImFontAtlas", - "signature": "()", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_IsBuilt": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontAtlas_IsBuilt", - "defaults": {}, - "funcname": "IsBuilt", - "location": "imgui:2880", - "ov_cimguiname": "ImFontAtlas_IsBuilt", - "ret": "bool", - "signature": "()const", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_SetTexID": [ - { - "args": "(ImFontAtlas* self,ImTextureID id)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - }, - { - "name": "id", - "type": "ImTextureID" - } - ], - "argsoriginal": "(ImTextureID id)", - "call_args": "(id)", - "cimguiname": "ImFontAtlas_SetTexID", - "defaults": {}, - "funcname": "SetTexID", - "location": "imgui:2881", - "ov_cimguiname": "ImFontAtlas_SetTexID", - "ret": "void", - "signature": "(ImTextureID)", - "stname": "ImFontAtlas" - } - ], - "ImFontAtlas_destroy": [ - { - "args": "(ImFontAtlas* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontAtlas*" - } - ], - "call_args": "(self)", - "cimguiname": "ImFontAtlas_destroy", - "defaults": {}, - "destructor": true, - "location": "imgui:2860", - "ov_cimguiname": "ImFontAtlas_destroy", - "realdestructor": true, - "ret": "void", - "signature": "(ImFontAtlas*)", - "stname": "ImFontAtlas" - } - ], - "ImFontConfig_ImFontConfig": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontConfig_ImFontConfig", - "constructor": true, - "defaults": {}, - "funcname": "ImFontConfig", - "location": "imgui:2787", - "ov_cimguiname": "ImFontConfig_ImFontConfig", - "signature": "()", - "stname": "ImFontConfig" - } - ], - "ImFontConfig_destroy": [ - { - "args": "(ImFontConfig* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontConfig*" - } - ], - "call_args": "(self)", - "cimguiname": "ImFontConfig_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImFontConfig_destroy", - "ret": "void", - "signature": "(ImFontConfig*)", - "stname": "ImFontConfig" - } - ], - "ImFontGlyphRangesBuilder_AddChar": [ - { - "args": "(ImFontGlyphRangesBuilder* self,ImWchar c)", - "argsT": [ - { - "name": "self", - "type": "ImFontGlyphRangesBuilder*" - }, - { - "name": "c", - "type": "ImWchar" - } - ], - "argsoriginal": "(ImWchar c)", - "call_args": "(c)", - "cimguiname": "ImFontGlyphRangesBuilder_AddChar", - "defaults": {}, - "funcname": "AddChar", - "location": "imgui:2812", - "ov_cimguiname": "ImFontGlyphRangesBuilder_AddChar", - "ret": "void", - "signature": "(ImWchar)", - "stname": "ImFontGlyphRangesBuilder" - } - ], - "ImFontGlyphRangesBuilder_AddRanges": [ - { - "args": "(ImFontGlyphRangesBuilder* self,const ImWchar* ranges)", - "argsT": [ - { - "name": "self", - "type": "ImFontGlyphRangesBuilder*" - }, - { - "name": "ranges", - "type": "const ImWchar*" - } - ], - "argsoriginal": "(const ImWchar* ranges)", - "call_args": "(ranges)", - "cimguiname": "ImFontGlyphRangesBuilder_AddRanges", - "defaults": {}, - "funcname": "AddRanges", - "location": "imgui:2814", - "ov_cimguiname": "ImFontGlyphRangesBuilder_AddRanges", - "ret": "void", - "signature": "(const ImWchar*)", - "stname": "ImFontGlyphRangesBuilder" - } - ], - "ImFontGlyphRangesBuilder_AddText": [ - { - "args": "(ImFontGlyphRangesBuilder* self,const char* text,const char* text_end)", - "argsT": [ - { - "name": "self", - "type": "ImFontGlyphRangesBuilder*" - }, - { - "name": "text", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - } - ], - "argsoriginal": "(const char* text,const char* text_end=((void*)0))", - "call_args": "(text,text_end)", - "cimguiname": "ImFontGlyphRangesBuilder_AddText", - "defaults": { - "text_end": "NULL" - }, - "funcname": "AddText", - "location": "imgui:2813", - "ov_cimguiname": "ImFontGlyphRangesBuilder_AddText", - "ret": "void", - "signature": "(const char*,const char*)", - "stname": "ImFontGlyphRangesBuilder" - } - ], - "ImFontGlyphRangesBuilder_BuildRanges": [ - { - "args": "(ImFontGlyphRangesBuilder* self,ImVector_ImWchar* out_ranges)", - "argsT": [ - { - "name": "self", - "type": "ImFontGlyphRangesBuilder*" - }, - { - "name": "out_ranges", - "type": "ImVector_ImWchar*" - } - ], - "argsoriginal": "(ImVector* out_ranges)", - "call_args": "(out_ranges)", - "cimguiname": "ImFontGlyphRangesBuilder_BuildRanges", - "defaults": {}, - "funcname": "BuildRanges", - "location": "imgui:2815", - "ov_cimguiname": "ImFontGlyphRangesBuilder_BuildRanges", - "ret": "void", - "signature": "(ImVector_ImWchar*)", - "stname": "ImFontGlyphRangesBuilder" - } - ], - "ImFontGlyphRangesBuilder_Clear": [ - { - "args": "(ImFontGlyphRangesBuilder* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontGlyphRangesBuilder*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontGlyphRangesBuilder_Clear", - "defaults": {}, - "funcname": "Clear", - "location": "imgui:2809", - "ov_cimguiname": "ImFontGlyphRangesBuilder_Clear", - "ret": "void", - "signature": "()", - "stname": "ImFontGlyphRangesBuilder" - } - ], - "ImFontGlyphRangesBuilder_GetBit": [ - { - "args": "(ImFontGlyphRangesBuilder* self,size_t n)", - "argsT": [ - { - "name": "self", - "type": "ImFontGlyphRangesBuilder*" - }, - { - "name": "n", - "type": "size_t" - } - ], - "argsoriginal": "(size_t n)", - "call_args": "(n)", - "cimguiname": "ImFontGlyphRangesBuilder_GetBit", - "defaults": {}, - "funcname": "GetBit", - "location": "imgui:2810", - "ov_cimguiname": "ImFontGlyphRangesBuilder_GetBit", - "ret": "bool", - "signature": "(size_t)const", - "stname": "ImFontGlyphRangesBuilder" - } - ], - "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder", - "constructor": true, - "defaults": {}, - "funcname": "ImFontGlyphRangesBuilder", - "location": "imgui:2808", - "ov_cimguiname": "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder", - "signature": "()", - "stname": "ImFontGlyphRangesBuilder" - } - ], - "ImFontGlyphRangesBuilder_SetBit": [ - { - "args": "(ImFontGlyphRangesBuilder* self,size_t n)", - "argsT": [ - { - "name": "self", - "type": "ImFontGlyphRangesBuilder*" - }, - { - "name": "n", - "type": "size_t" - } - ], - "argsoriginal": "(size_t n)", - "call_args": "(n)", - "cimguiname": "ImFontGlyphRangesBuilder_SetBit", - "defaults": {}, - "funcname": "SetBit", - "location": "imgui:2811", - "ov_cimguiname": "ImFontGlyphRangesBuilder_SetBit", - "ret": "void", - "signature": "(size_t)", - "stname": "ImFontGlyphRangesBuilder" - } - ], - "ImFontGlyphRangesBuilder_destroy": [ - { - "args": "(ImFontGlyphRangesBuilder* self)", - "argsT": [ - { - "name": "self", - "type": "ImFontGlyphRangesBuilder*" - } - ], - "call_args": "(self)", - "cimguiname": "ImFontGlyphRangesBuilder_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImFontGlyphRangesBuilder_destroy", - "ret": "void", - "signature": "(ImFontGlyphRangesBuilder*)", - "stname": "ImFontGlyphRangesBuilder" - } - ], - "ImFont_AddGlyph": [ - { - "args": "(ImFont* self,const ImFontConfig* src_cfg,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - }, - { - "name": "src_cfg", - "type": "const ImFontConfig*" - }, - { - "name": "c", - "type": "ImWchar" - }, - { - "name": "x0", - "type": "float" - }, - { - "name": "y0", - "type": "float" - }, - { - "name": "x1", - "type": "float" - }, - { - "name": "y1", - "type": "float" - }, - { - "name": "u0", - "type": "float" - }, - { - "name": "v0", - "type": "float" - }, - { - "name": "u1", - "type": "float" - }, - { - "name": "v1", - "type": "float" - }, - { - "name": "advance_x", - "type": "float" - } - ], - "argsoriginal": "(const ImFontConfig* src_cfg,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)", - "call_args": "(src_cfg,c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)", - "cimguiname": "ImFont_AddGlyph", - "defaults": {}, - "funcname": "AddGlyph", - "location": "imgui:3004", - "ov_cimguiname": "ImFont_AddGlyph", - "ret": "void", - "signature": "(const ImFontConfig*,ImWchar,float,float,float,float,float,float,float,float,float)", - "stname": "ImFont" - } - ], - "ImFont_AddRemapChar": [ - { - "args": "(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - }, - { - "name": "dst", - "type": "ImWchar" - }, - { - "name": "src", - "type": "ImWchar" - }, - { - "name": "overwrite_dst", - "type": "bool" - } - ], - "argsoriginal": "(ImWchar dst,ImWchar src,bool overwrite_dst=true)", - "call_args": "(dst,src,overwrite_dst)", - "cimguiname": "ImFont_AddRemapChar", - "defaults": { - "overwrite_dst": "true" - }, - "funcname": "AddRemapChar", - "location": "imgui:3005", - "ov_cimguiname": "ImFont_AddRemapChar", - "ret": "void", - "signature": "(ImWchar,ImWchar,bool)", - "stname": "ImFont" - } - ], - "ImFont_BuildLookupTable": [ - { - "args": "(ImFont* self)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFont_BuildLookupTable", - "defaults": {}, - "funcname": "BuildLookupTable", - "location": "imgui:3001", - "ov_cimguiname": "ImFont_BuildLookupTable", - "ret": "void", - "signature": "()", - "stname": "ImFont" - } - ], - "ImFont_CalcTextSizeA": [ - { - "args": "(ImVec2 *pOut,ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "self", - "type": "ImFont*" - }, - { - "name": "size", - "type": "float" - }, - { - "name": "max_width", - "type": "float" - }, - { - "name": "wrap_width", - "type": "float" - }, - { - "name": "text_begin", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - }, - { - "name": "remaining", - "type": "const char**" - } - ], - "argsoriginal": "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void*)0),const char** remaining=((void*)0))", - "call_args": "(size,max_width,wrap_width,text_begin,text_end,remaining)", - "cimguiname": "ImFont_CalcTextSizeA", - "defaults": { - "remaining": "NULL", - "text_end": "NULL" - }, - "funcname": "CalcTextSizeA", - "location": "imgui:2995", - "nonUDT": 1, - "ov_cimguiname": "ImFont_CalcTextSizeA", - "ret": "void", - "signature": "(float,float,float,const char*,const char*,const char**)const", - "stname": "ImFont" - } - ], - "ImFont_CalcWordWrapPositionA": [ - { - "args": "(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - }, - { - "name": "scale", - "type": "float" - }, - { - "name": "text", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - }, - { - "name": "wrap_width", - "type": "float" - } - ], - "argsoriginal": "(float scale,const char* text,const char* text_end,float wrap_width)", - "call_args": "(scale,text,text_end,wrap_width)", - "cimguiname": "ImFont_CalcWordWrapPositionA", - "defaults": {}, - "funcname": "CalcWordWrapPositionA", - "location": "imgui:2996", - "ov_cimguiname": "ImFont_CalcWordWrapPositionA", - "ret": "const char*", - "signature": "(float,const char*,const char*,float)const", - "stname": "ImFont" - } - ], - "ImFont_ClearOutputData": [ - { - "args": "(ImFont* self)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFont_ClearOutputData", - "defaults": {}, - "funcname": "ClearOutputData", - "location": "imgui:3002", - "ov_cimguiname": "ImFont_ClearOutputData", - "ret": "void", - "signature": "()", - "stname": "ImFont" - } - ], - "ImFont_FindGlyph": [ - { - "args": "(ImFont* self,ImWchar c)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - }, - { - "name": "c", - "type": "ImWchar" - } - ], - "argsoriginal": "(ImWchar c)", - "call_args": "(c)", - "cimguiname": "ImFont_FindGlyph", - "defaults": {}, - "funcname": "FindGlyph", - "location": "imgui:2987", - "ov_cimguiname": "ImFont_FindGlyph", - "ret": "const ImFontGlyph*", - "signature": "(ImWchar)const", - "stname": "ImFont" - } - ], - "ImFont_FindGlyphNoFallback": [ - { - "args": "(ImFont* self,ImWchar c)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - }, - { - "name": "c", - "type": "ImWchar" - } - ], - "argsoriginal": "(ImWchar c)", - "call_args": "(c)", - "cimguiname": "ImFont_FindGlyphNoFallback", - "defaults": {}, - "funcname": "FindGlyphNoFallback", - "location": "imgui:2988", - "ov_cimguiname": "ImFont_FindGlyphNoFallback", - "ret": "const ImFontGlyph*", - "signature": "(ImWchar)const", - "stname": "ImFont" - } - ], - "ImFont_GetCharAdvance": [ - { - "args": "(ImFont* self,ImWchar c)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - }, - { - "name": "c", - "type": "ImWchar" - } - ], - "argsoriginal": "(ImWchar c)", - "call_args": "(c)", - "cimguiname": "ImFont_GetCharAdvance", - "defaults": {}, - "funcname": "GetCharAdvance", - "location": "imgui:2989", - "ov_cimguiname": "ImFont_GetCharAdvance", - "ret": "float", - "signature": "(ImWchar)const", - "stname": "ImFont" - } - ], - "ImFont_GetDebugName": [ - { - "args": "(ImFont* self)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFont_GetDebugName", - "defaults": {}, - "funcname": "GetDebugName", - "location": "imgui:2991", - "ov_cimguiname": "ImFont_GetDebugName", - "ret": "const char*", - "signature": "()const", - "stname": "ImFont" - } - ], - "ImFont_GrowIndex": [ - { - "args": "(ImFont* self,int new_size)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - }, - { - "name": "new_size", - "type": "int" - } - ], - "argsoriginal": "(int new_size)", - "call_args": "(new_size)", - "cimguiname": "ImFont_GrowIndex", - "defaults": {}, - "funcname": "GrowIndex", - "location": "imgui:3003", - "ov_cimguiname": "ImFont_GrowIndex", - "ret": "void", - "signature": "(int)", - "stname": "ImFont" - } - ], - "ImFont_ImFont": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFont_ImFont", - "constructor": true, - "defaults": {}, - "funcname": "ImFont", - "location": "imgui:2985", - "ov_cimguiname": "ImFont_ImFont", - "signature": "()", - "stname": "ImFont" - } - ], - "ImFont_IsGlyphRangeUnused": [ - { - "args": "(ImFont* self,unsigned int c_begin,unsigned int c_last)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - }, - { - "name": "c_begin", - "type": "unsigned int" - }, - { - "name": "c_last", - "type": "unsigned int" - } - ], - "argsoriginal": "(unsigned int c_begin,unsigned int c_last)", - "call_args": "(c_begin,c_last)", - "cimguiname": "ImFont_IsGlyphRangeUnused", - "defaults": {}, - "funcname": "IsGlyphRangeUnused", - "location": "imgui:3007", - "ov_cimguiname": "ImFont_IsGlyphRangeUnused", - "ret": "bool", - "signature": "(unsigned int,unsigned int)", - "stname": "ImFont" - } - ], - "ImFont_IsLoaded": [ - { - "args": "(ImFont* self)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImFont_IsLoaded", - "defaults": {}, - "funcname": "IsLoaded", - "location": "imgui:2990", - "ov_cimguiname": "ImFont_IsLoaded", - "ret": "bool", - "signature": "()const", - "stname": "ImFont" - } - ], - "ImFont_RenderChar": [ - { - "args": "(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,ImWchar c)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - }, - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "size", - "type": "float" - }, - { - "name": "pos", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "c", - "type": "ImWchar" - } - ], - "argsoriginal": "(ImDrawList* draw_list,float size,const ImVec2& pos,ImU32 col,ImWchar c)", - "call_args": "(draw_list,size,pos,col,c)", - "cimguiname": "ImFont_RenderChar", - "defaults": {}, - "funcname": "RenderChar", - "location": "imgui:2997", - "ov_cimguiname": "ImFont_RenderChar", - "ret": "void", - "signature": "(ImDrawList*,float,const ImVec2,ImU32,ImWchar)const", - "stname": "ImFont" - } - ], - "ImFont_RenderText": [ - { - "args": "(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - }, - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "size", - "type": "float" - }, - { - "name": "pos", - "type": "const ImVec2" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "clip_rect", - "type": "const ImVec4" - }, - { - "name": "text_begin", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - }, - { - "name": "wrap_width", - "type": "float" - }, - { - "name": "cpu_fine_clip", - "type": "bool" - } - ], - "argsoriginal": "(ImDrawList* draw_list,float size,const ImVec2& pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)", - "call_args": "(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)", - "cimguiname": "ImFont_RenderText", - "defaults": { - "cpu_fine_clip": "false", - "wrap_width": "0.0f" - }, - "funcname": "RenderText", - "location": "imgui:2998", - "ov_cimguiname": "ImFont_RenderText", - "ret": "void", - "signature": "(ImDrawList*,float,const ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)const", - "stname": "ImFont" - } - ], - "ImFont_SetGlyphVisible": [ - { - "args": "(ImFont* self,ImWchar c,bool visible)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - }, - { - "name": "c", - "type": "ImWchar" - }, - { - "name": "visible", - "type": "bool" - } - ], - "argsoriginal": "(ImWchar c,bool visible)", - "call_args": "(c,visible)", - "cimguiname": "ImFont_SetGlyphVisible", - "defaults": {}, - "funcname": "SetGlyphVisible", - "location": "imgui:3006", - "ov_cimguiname": "ImFont_SetGlyphVisible", - "ret": "void", - "signature": "(ImWchar,bool)", - "stname": "ImFont" - } - ], - "ImFont_destroy": [ - { - "args": "(ImFont* self)", - "argsT": [ - { - "name": "self", - "type": "ImFont*" - } - ], - "call_args": "(self)", - "cimguiname": "ImFont_destroy", - "defaults": {}, - "destructor": true, - "location": "imgui:2986", - "ov_cimguiname": "ImFont_destroy", - "realdestructor": true, - "ret": "void", - "signature": "(ImFont*)", - "stname": "ImFont" - } - ], - "ImGuiComboPreviewData_ImGuiComboPreviewData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiComboPreviewData_ImGuiComboPreviewData", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiComboPreviewData", - "location": "imgui_internal:1018", - "ov_cimguiname": "ImGuiComboPreviewData_ImGuiComboPreviewData", - "signature": "()", - "stname": "ImGuiComboPreviewData" - } - ], - "ImGuiComboPreviewData_destroy": [ - { - "args": "(ImGuiComboPreviewData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiComboPreviewData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiComboPreviewData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiComboPreviewData_destroy", - "ret": "void", - "signature": "(ImGuiComboPreviewData*)", - "stname": "ImGuiComboPreviewData" - } - ], - "ImGuiContextHook_ImGuiContextHook": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiContextHook_ImGuiContextHook", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiContextHook", - "location": "imgui_internal:1897", - "ov_cimguiname": "ImGuiContextHook_ImGuiContextHook", - "signature": "()", - "stname": "ImGuiContextHook" - } - ], - "ImGuiContextHook_destroy": [ - { - "args": "(ImGuiContextHook* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiContextHook*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiContextHook_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiContextHook_destroy", - "ret": "void", - "signature": "(ImGuiContextHook*)", - "stname": "ImGuiContextHook" - } - ], - "ImGuiContext_ImGuiContext": [ - { - "args": "(ImFontAtlas* shared_font_atlas)", - "argsT": [ - { - "name": "shared_font_atlas", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "(ImFontAtlas* shared_font_atlas)", - "call_args": "(shared_font_atlas)", - "cimguiname": "ImGuiContext_ImGuiContext", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiContext", - "location": "imgui_internal:2203", - "ov_cimguiname": "ImGuiContext_ImGuiContext", - "signature": "(ImFontAtlas*)", - "stname": "ImGuiContext" - } - ], - "ImGuiContext_destroy": [ - { - "args": "(ImGuiContext* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiContext*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiContext_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiContext_destroy", - "ret": "void", - "signature": "(ImGuiContext*)", - "stname": "ImGuiContext" - } - ], - "ImGuiDockContext_ImGuiDockContext": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiDockContext_ImGuiDockContext", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiDockContext", - "location": "imgui_internal:1703", - "ov_cimguiname": "ImGuiDockContext_ImGuiDockContext", - "signature": "()", - "stname": "ImGuiDockContext" - } - ], - "ImGuiDockContext_destroy": [ - { - "args": "(ImGuiDockContext* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiDockContext*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiDockContext_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiDockContext_destroy", - "ret": "void", - "signature": "(ImGuiDockContext*)", - "stname": "ImGuiDockContext" - } - ], - "ImGuiDockNode_ImGuiDockNode": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "ImGuiDockNode_ImGuiDockNode", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiDockNode", - "location": "imgui_internal:1660", - "ov_cimguiname": "ImGuiDockNode_ImGuiDockNode", - "signature": "(ImGuiID)", - "stname": "ImGuiDockNode" - } - ], - "ImGuiDockNode_IsCentralNode": [ - { - "args": "(ImGuiDockNode* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiDockNode_IsCentralNode", - "defaults": {}, - "funcname": "IsCentralNode", - "location": "imgui_internal:1665", - "ov_cimguiname": "ImGuiDockNode_IsCentralNode", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiDockNode" - } - ], - "ImGuiDockNode_IsDockSpace": [ - { - "args": "(ImGuiDockNode* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiDockNode_IsDockSpace", - "defaults": {}, - "funcname": "IsDockSpace", - "location": "imgui_internal:1663", - "ov_cimguiname": "ImGuiDockNode_IsDockSpace", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiDockNode" - } - ], - "ImGuiDockNode_IsEmpty": [ - { - "args": "(ImGuiDockNode* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiDockNode_IsEmpty", - "defaults": {}, - "funcname": "IsEmpty", - "location": "imgui_internal:1670", - "ov_cimguiname": "ImGuiDockNode_IsEmpty", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiDockNode" - } - ], - "ImGuiDockNode_IsFloatingNode": [ - { - "args": "(ImGuiDockNode* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiDockNode_IsFloatingNode", - "defaults": {}, - "funcname": "IsFloatingNode", - "location": "imgui_internal:1664", - "ov_cimguiname": "ImGuiDockNode_IsFloatingNode", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiDockNode" - } - ], - "ImGuiDockNode_IsHiddenTabBar": [ - { - "args": "(ImGuiDockNode* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiDockNode_IsHiddenTabBar", - "defaults": {}, - "funcname": "IsHiddenTabBar", - "location": "imgui_internal:1666", - "ov_cimguiname": "ImGuiDockNode_IsHiddenTabBar", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiDockNode" - } - ], - "ImGuiDockNode_IsLeafNode": [ - { - "args": "(ImGuiDockNode* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiDockNode_IsLeafNode", - "defaults": {}, - "funcname": "IsLeafNode", - "location": "imgui_internal:1669", - "ov_cimguiname": "ImGuiDockNode_IsLeafNode", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiDockNode" - } - ], - "ImGuiDockNode_IsNoTabBar": [ - { - "args": "(ImGuiDockNode* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiDockNode_IsNoTabBar", - "defaults": {}, - "funcname": "IsNoTabBar", - "location": "imgui_internal:1667", - "ov_cimguiname": "ImGuiDockNode_IsNoTabBar", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiDockNode" - } - ], - "ImGuiDockNode_IsRootNode": [ - { - "args": "(ImGuiDockNode* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiDockNode_IsRootNode", - "defaults": {}, - "funcname": "IsRootNode", - "location": "imgui_internal:1662", - "ov_cimguiname": "ImGuiDockNode_IsRootNode", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiDockNode" - } - ], - "ImGuiDockNode_IsSplitNode": [ - { - "args": "(ImGuiDockNode* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiDockNode_IsSplitNode", - "defaults": {}, - "funcname": "IsSplitNode", - "location": "imgui_internal:1668", - "ov_cimguiname": "ImGuiDockNode_IsSplitNode", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiDockNode" - } - ], - "ImGuiDockNode_Rect": [ - { - "args": "(ImRect *pOut,ImGuiDockNode* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImRect*" - }, - { - "name": "self", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiDockNode_Rect", - "defaults": {}, - "funcname": "Rect", - "location": "imgui_internal:1671", - "nonUDT": 1, - "ov_cimguiname": "ImGuiDockNode_Rect", - "ret": "void", - "signature": "()const", - "stname": "ImGuiDockNode" - } - ], - "ImGuiDockNode_SetLocalFlags": [ - { - "args": "(ImGuiDockNode* self,ImGuiDockNodeFlags flags)", - "argsT": [ - { - "name": "self", - "type": "ImGuiDockNode*" - }, - { - "name": "flags", - "type": "ImGuiDockNodeFlags" - } - ], - "argsoriginal": "(ImGuiDockNodeFlags flags)", - "call_args": "(flags)", - "cimguiname": "ImGuiDockNode_SetLocalFlags", - "defaults": {}, - "funcname": "SetLocalFlags", - "location": "imgui_internal:1673", - "ov_cimguiname": "ImGuiDockNode_SetLocalFlags", - "ret": "void", - "signature": "(ImGuiDockNodeFlags)", - "stname": "ImGuiDockNode" - } - ], - "ImGuiDockNode_UpdateMergedFlags": [ - { - "args": "(ImGuiDockNode* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiDockNode_UpdateMergedFlags", - "defaults": {}, - "funcname": "UpdateMergedFlags", - "location": "imgui_internal:1674", - "ov_cimguiname": "ImGuiDockNode_UpdateMergedFlags", - "ret": "void", - "signature": "()", - "stname": "ImGuiDockNode" - } - ], - "ImGuiDockNode_destroy": [ - { - "args": "(ImGuiDockNode* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiDockNode*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiDockNode_destroy", - "defaults": {}, - "destructor": true, - "location": "imgui_internal:1661", - "ov_cimguiname": "ImGuiDockNode_destroy", - "realdestructor": true, - "ret": "void", - "signature": "(ImGuiDockNode*)", - "stname": "ImGuiDockNode" - } - ], - "ImGuiIO_AddFocusEvent": [ - { - "args": "(ImGuiIO* self,bool focused)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - }, - { - "name": "focused", - "type": "bool" - } - ], - "argsoriginal": "(bool focused)", - "call_args": "(focused)", - "cimguiname": "ImGuiIO_AddFocusEvent", - "defaults": {}, - "funcname": "AddFocusEvent", - "location": "imgui:2063", - "ov_cimguiname": "ImGuiIO_AddFocusEvent", - "ret": "void", - "signature": "(bool)", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_AddInputCharacter": [ - { - "args": "(ImGuiIO* self,unsigned int c)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - }, - { - "name": "c", - "type": "unsigned int" - } - ], - "argsoriginal": "(unsigned int c)", - "call_args": "(c)", - "cimguiname": "ImGuiIO_AddInputCharacter", - "defaults": {}, - "funcname": "AddInputCharacter", - "location": "imgui:2064", - "ov_cimguiname": "ImGuiIO_AddInputCharacter", - "ret": "void", - "signature": "(unsigned int)", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_AddInputCharacterUTF16": [ - { - "args": "(ImGuiIO* self,ImWchar16 c)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - }, - { - "name": "c", - "type": "ImWchar16" - } - ], - "argsoriginal": "(ImWchar16 c)", - "call_args": "(c)", - "cimguiname": "ImGuiIO_AddInputCharacterUTF16", - "defaults": {}, - "funcname": "AddInputCharacterUTF16", - "location": "imgui:2065", - "ov_cimguiname": "ImGuiIO_AddInputCharacterUTF16", - "ret": "void", - "signature": "(ImWchar16)", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_AddInputCharactersUTF8": [ - { - "args": "(ImGuiIO* self,const char* str)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - }, - { - "name": "str", - "type": "const char*" - } - ], - "argsoriginal": "(const char* str)", - "call_args": "(str)", - "cimguiname": "ImGuiIO_AddInputCharactersUTF8", - "defaults": {}, - "funcname": "AddInputCharactersUTF8", - "location": "imgui:2066", - "ov_cimguiname": "ImGuiIO_AddInputCharactersUTF8", - "ret": "void", - "signature": "(const char*)", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_AddKeyAnalogEvent": [ - { - "args": "(ImGuiIO* self,ImGuiKey key,bool down,float v)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - }, - { - "name": "key", - "type": "ImGuiKey" - }, - { - "name": "down", - "type": "bool" - }, - { - "name": "v", - "type": "float" - } - ], - "argsoriginal": "(ImGuiKey key,bool down,float v)", - "call_args": "(key,down,v)", - "cimguiname": "ImGuiIO_AddKeyAnalogEvent", - "defaults": {}, - "funcname": "AddKeyAnalogEvent", - "location": "imgui:2058", - "ov_cimguiname": "ImGuiIO_AddKeyAnalogEvent", - "ret": "void", - "signature": "(ImGuiKey,bool,float)", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_AddKeyEvent": [ - { - "args": "(ImGuiIO* self,ImGuiKey key,bool down)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - }, - { - "name": "key", - "type": "ImGuiKey" - }, - { - "name": "down", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiKey key,bool down)", - "call_args": "(key,down)", - "cimguiname": "ImGuiIO_AddKeyEvent", - "defaults": {}, - "funcname": "AddKeyEvent", - "location": "imgui:2057", - "ov_cimguiname": "ImGuiIO_AddKeyEvent", - "ret": "void", - "signature": "(ImGuiKey,bool)", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_AddMouseButtonEvent": [ - { - "args": "(ImGuiIO* self,int button,bool down)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - }, - { - "name": "button", - "type": "int" - }, - { - "name": "down", - "type": "bool" - } - ], - "argsoriginal": "(int button,bool down)", - "call_args": "(button,down)", - "cimguiname": "ImGuiIO_AddMouseButtonEvent", - "defaults": {}, - "funcname": "AddMouseButtonEvent", - "location": "imgui:2060", - "ov_cimguiname": "ImGuiIO_AddMouseButtonEvent", - "ret": "void", - "signature": "(int,bool)", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_AddMousePosEvent": [ - { - "args": "(ImGuiIO* self,float x,float y)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ], - "argsoriginal": "(float x,float y)", - "call_args": "(x,y)", - "cimguiname": "ImGuiIO_AddMousePosEvent", - "defaults": {}, - "funcname": "AddMousePosEvent", - "location": "imgui:2059", - "ov_cimguiname": "ImGuiIO_AddMousePosEvent", - "ret": "void", - "signature": "(float,float)", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_AddMouseViewportEvent": [ - { - "args": "(ImGuiIO* self,ImGuiID id)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - }, - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "ImGuiIO_AddMouseViewportEvent", - "defaults": {}, - "funcname": "AddMouseViewportEvent", - "location": "imgui:2062", - "ov_cimguiname": "ImGuiIO_AddMouseViewportEvent", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_AddMouseWheelEvent": [ - { - "args": "(ImGuiIO* self,float wh_x,float wh_y)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - }, - { - "name": "wh_x", - "type": "float" - }, - { - "name": "wh_y", - "type": "float" - } - ], - "argsoriginal": "(float wh_x,float wh_y)", - "call_args": "(wh_x,wh_y)", - "cimguiname": "ImGuiIO_AddMouseWheelEvent", - "defaults": {}, - "funcname": "AddMouseWheelEvent", - "location": "imgui:2061", - "ov_cimguiname": "ImGuiIO_AddMouseWheelEvent", - "ret": "void", - "signature": "(float,float)", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_ClearInputCharacters": [ - { - "args": "(ImGuiIO* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiIO_ClearInputCharacters", - "defaults": {}, - "funcname": "ClearInputCharacters", - "location": "imgui:2070", - "ov_cimguiname": "ImGuiIO_ClearInputCharacters", - "ret": "void", - "signature": "()", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_ClearInputKeys": [ - { - "args": "(ImGuiIO* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiIO_ClearInputKeys", - "defaults": {}, - "funcname": "ClearInputKeys", - "location": "imgui:2071", - "ov_cimguiname": "ImGuiIO_ClearInputKeys", - "ret": "void", - "signature": "()", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_ImGuiIO": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiIO_ImGuiIO", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiIO", - "location": "imgui:2146", - "ov_cimguiname": "ImGuiIO_ImGuiIO", - "signature": "()", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_SetAppAcceptingEvents": [ - { - "args": "(ImGuiIO* self,bool accepting_events)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - }, - { - "name": "accepting_events", - "type": "bool" - } - ], - "argsoriginal": "(bool accepting_events)", - "call_args": "(accepting_events)", - "cimguiname": "ImGuiIO_SetAppAcceptingEvents", - "defaults": {}, - "funcname": "SetAppAcceptingEvents", - "location": "imgui:2069", - "ov_cimguiname": "ImGuiIO_SetAppAcceptingEvents", - "ret": "void", - "signature": "(bool)", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_SetKeyEventNativeData": [ - { - "args": "(ImGuiIO* self,ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - }, - { - "name": "key", - "type": "ImGuiKey" - }, - { - "name": "native_keycode", - "type": "int" - }, - { - "name": "native_scancode", - "type": "int" - }, - { - "name": "native_legacy_index", - "type": "int" - } - ], - "argsoriginal": "(ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index=-1)", - "call_args": "(key,native_keycode,native_scancode,native_legacy_index)", - "cimguiname": "ImGuiIO_SetKeyEventNativeData", - "defaults": { - "native_legacy_index": "-1" - }, - "funcname": "SetKeyEventNativeData", - "location": "imgui:2068", - "ov_cimguiname": "ImGuiIO_SetKeyEventNativeData", - "ret": "void", - "signature": "(ImGuiKey,int,int,int)", - "stname": "ImGuiIO" - } - ], - "ImGuiIO_destroy": [ - { - "args": "(ImGuiIO* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiIO*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiIO_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiIO_destroy", - "ret": "void", - "signature": "(ImGuiIO*)", - "stname": "ImGuiIO" - } - ], - "ImGuiInputEvent_ImGuiInputEvent": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputEvent_ImGuiInputEvent", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiInputEvent", - "location": "imgui_internal:1302", - "ov_cimguiname": "ImGuiInputEvent_ImGuiInputEvent", - "signature": "()", - "stname": "ImGuiInputEvent" - } - ], - "ImGuiInputEvent_destroy": [ - { - "args": "(ImGuiInputEvent* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputEvent*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiInputEvent_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiInputEvent_destroy", - "ret": "void", - "signature": "(ImGuiInputEvent*)", - "stname": "ImGuiInputEvent" - } - ], - "ImGuiInputTextCallbackData_ClearSelection": [ - { - "args": "(ImGuiInputTextCallbackData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextCallbackData*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextCallbackData_ClearSelection", - "defaults": {}, - "funcname": "ClearSelection", - "location": "imgui:2187", - "ov_cimguiname": "ImGuiInputTextCallbackData_ClearSelection", - "ret": "void", - "signature": "()", - "stname": "ImGuiInputTextCallbackData" - } - ], - "ImGuiInputTextCallbackData_DeleteChars": [ - { - "args": "(ImGuiInputTextCallbackData* self,int pos,int bytes_count)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextCallbackData*" - }, - { - "name": "pos", - "type": "int" - }, - { - "name": "bytes_count", - "type": "int" - } - ], - "argsoriginal": "(int pos,int bytes_count)", - "call_args": "(pos,bytes_count)", - "cimguiname": "ImGuiInputTextCallbackData_DeleteChars", - "defaults": {}, - "funcname": "DeleteChars", - "location": "imgui:2184", - "ov_cimguiname": "ImGuiInputTextCallbackData_DeleteChars", - "ret": "void", - "signature": "(int,int)", - "stname": "ImGuiInputTextCallbackData" - } - ], - "ImGuiInputTextCallbackData_HasSelection": [ - { - "args": "(ImGuiInputTextCallbackData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextCallbackData*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextCallbackData_HasSelection", - "defaults": {}, - "funcname": "HasSelection", - "location": "imgui:2188", - "ov_cimguiname": "ImGuiInputTextCallbackData_HasSelection", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiInputTextCallbackData" - } - ], - "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiInputTextCallbackData", - "location": "imgui:2183", - "ov_cimguiname": "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData", - "signature": "()", - "stname": "ImGuiInputTextCallbackData" - } - ], - "ImGuiInputTextCallbackData_InsertChars": [ - { - "args": "(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextCallbackData*" - }, - { - "name": "pos", - "type": "int" - }, - { - "name": "text", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - } - ], - "argsoriginal": "(int pos,const char* text,const char* text_end=((void*)0))", - "call_args": "(pos,text,text_end)", - "cimguiname": "ImGuiInputTextCallbackData_InsertChars", - "defaults": { - "text_end": "NULL" - }, - "funcname": "InsertChars", - "location": "imgui:2185", - "ov_cimguiname": "ImGuiInputTextCallbackData_InsertChars", - "ret": "void", - "signature": "(int,const char*,const char*)", - "stname": "ImGuiInputTextCallbackData" - } - ], - "ImGuiInputTextCallbackData_SelectAll": [ - { - "args": "(ImGuiInputTextCallbackData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextCallbackData*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextCallbackData_SelectAll", - "defaults": {}, - "funcname": "SelectAll", - "location": "imgui:2186", - "ov_cimguiname": "ImGuiInputTextCallbackData_SelectAll", - "ret": "void", - "signature": "()", - "stname": "ImGuiInputTextCallbackData" - } - ], - "ImGuiInputTextCallbackData_destroy": [ - { - "args": "(ImGuiInputTextCallbackData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextCallbackData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiInputTextCallbackData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiInputTextCallbackData_destroy", - "ret": "void", - "signature": "(ImGuiInputTextCallbackData*)", - "stname": "ImGuiInputTextCallbackData" - } - ], - "ImGuiInputTextState_ClearFreeMemory": [ - { - "args": "(ImGuiInputTextState* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextState*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextState_ClearFreeMemory", - "defaults": {}, - "funcname": "ClearFreeMemory", - "location": "imgui_internal:1076", - "ov_cimguiname": "ImGuiInputTextState_ClearFreeMemory", - "ret": "void", - "signature": "()", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiInputTextState_ClearSelection": [ - { - "args": "(ImGuiInputTextState* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextState*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextState_ClearSelection", - "defaults": {}, - "funcname": "ClearSelection", - "location": "imgui_internal:1085", - "ov_cimguiname": "ImGuiInputTextState_ClearSelection", - "ret": "void", - "signature": "()", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiInputTextState_ClearText": [ - { - "args": "(ImGuiInputTextState* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextState*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextState_ClearText", - "defaults": {}, - "funcname": "ClearText", - "location": "imgui_internal:1075", - "ov_cimguiname": "ImGuiInputTextState_ClearText", - "ret": "void", - "signature": "()", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiInputTextState_CursorAnimReset": [ - { - "args": "(ImGuiInputTextState* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextState*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextState_CursorAnimReset", - "defaults": {}, - "funcname": "CursorAnimReset", - "location": "imgui_internal:1082", - "ov_cimguiname": "ImGuiInputTextState_CursorAnimReset", - "ret": "void", - "signature": "()", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiInputTextState_CursorClamp": [ - { - "args": "(ImGuiInputTextState* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextState*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextState_CursorClamp", - "defaults": {}, - "funcname": "CursorClamp", - "location": "imgui_internal:1083", - "ov_cimguiname": "ImGuiInputTextState_CursorClamp", - "ret": "void", - "signature": "()", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiInputTextState_GetCursorPos": [ - { - "args": "(ImGuiInputTextState* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextState*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextState_GetCursorPos", - "defaults": {}, - "funcname": "GetCursorPos", - "location": "imgui_internal:1086", - "ov_cimguiname": "ImGuiInputTextState_GetCursorPos", - "ret": "int", - "signature": "()const", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiInputTextState_GetRedoAvailCount": [ - { - "args": "(ImGuiInputTextState* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextState*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextState_GetRedoAvailCount", - "defaults": {}, - "funcname": "GetRedoAvailCount", - "location": "imgui_internal:1078", - "ov_cimguiname": "ImGuiInputTextState_GetRedoAvailCount", - "ret": "int", - "signature": "()const", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiInputTextState_GetSelectionEnd": [ - { - "args": "(ImGuiInputTextState* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextState*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextState_GetSelectionEnd", - "defaults": {}, - "funcname": "GetSelectionEnd", - "location": "imgui_internal:1088", - "ov_cimguiname": "ImGuiInputTextState_GetSelectionEnd", - "ret": "int", - "signature": "()const", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiInputTextState_GetSelectionStart": [ - { - "args": "(ImGuiInputTextState* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextState*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextState_GetSelectionStart", - "defaults": {}, - "funcname": "GetSelectionStart", - "location": "imgui_internal:1087", - "ov_cimguiname": "ImGuiInputTextState_GetSelectionStart", - "ret": "int", - "signature": "()const", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiInputTextState_GetUndoAvailCount": [ - { - "args": "(ImGuiInputTextState* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextState*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextState_GetUndoAvailCount", - "defaults": {}, - "funcname": "GetUndoAvailCount", - "location": "imgui_internal:1077", - "ov_cimguiname": "ImGuiInputTextState_GetUndoAvailCount", - "ret": "int", - "signature": "()const", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiInputTextState_HasSelection": [ - { - "args": "(ImGuiInputTextState* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextState*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextState_HasSelection", - "defaults": {}, - "funcname": "HasSelection", - "location": "imgui_internal:1084", - "ov_cimguiname": "ImGuiInputTextState_HasSelection", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiInputTextState_ImGuiInputTextState": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextState_ImGuiInputTextState", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiInputTextState", - "location": "imgui_internal:1074", - "ov_cimguiname": "ImGuiInputTextState_ImGuiInputTextState", - "signature": "()", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiInputTextState_OnKeyPressed": [ - { - "args": "(ImGuiInputTextState* self,int key)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextState*" - }, - { - "name": "key", - "type": "int" - } - ], - "argsoriginal": "(int key)", - "call_args": "(key)", - "cimguiname": "ImGuiInputTextState_OnKeyPressed", - "defaults": {}, - "funcname": "OnKeyPressed", - "location": "imgui_internal:1079", - "ov_cimguiname": "ImGuiInputTextState_OnKeyPressed", - "ret": "void", - "signature": "(int)", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiInputTextState_SelectAll": [ - { - "args": "(ImGuiInputTextState* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextState*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiInputTextState_SelectAll", - "defaults": {}, - "funcname": "SelectAll", - "location": "imgui_internal:1089", - "ov_cimguiname": "ImGuiInputTextState_SelectAll", - "ret": "void", - "signature": "()", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiInputTextState_destroy": [ - { - "args": "(ImGuiInputTextState* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiInputTextState*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiInputTextState_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiInputTextState_destroy", - "ret": "void", - "signature": "(ImGuiInputTextState*)", - "stname": "ImGuiInputTextState" - } - ], - "ImGuiKeyOwnerData_ImGuiKeyOwnerData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiKeyOwnerData_ImGuiKeyOwnerData", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiKeyOwnerData", - "location": "imgui_internal:1344", - "ov_cimguiname": "ImGuiKeyOwnerData_ImGuiKeyOwnerData", - "signature": "()", - "stname": "ImGuiKeyOwnerData" - } - ], - "ImGuiKeyOwnerData_destroy": [ - { - "args": "(ImGuiKeyOwnerData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiKeyOwnerData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiKeyOwnerData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiKeyOwnerData_destroy", - "ret": "void", - "signature": "(ImGuiKeyOwnerData*)", - "stname": "ImGuiKeyOwnerData" - } - ], - "ImGuiKeyRoutingData_ImGuiKeyRoutingData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiKeyRoutingData_ImGuiKeyRoutingData", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiKeyRoutingData", - "location": "imgui_internal:1320", - "ov_cimguiname": "ImGuiKeyRoutingData_ImGuiKeyRoutingData", - "signature": "()", - "stname": "ImGuiKeyRoutingData" - } - ], - "ImGuiKeyRoutingData_destroy": [ - { - "args": "(ImGuiKeyRoutingData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiKeyRoutingData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiKeyRoutingData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiKeyRoutingData_destroy", - "ret": "void", - "signature": "(ImGuiKeyRoutingData*)", - "stname": "ImGuiKeyRoutingData" - } - ], - "ImGuiKeyRoutingTable_Clear": [ - { - "args": "(ImGuiKeyRoutingTable* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiKeyRoutingTable*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiKeyRoutingTable_Clear", - "defaults": {}, - "funcname": "Clear", - "location": "imgui_internal:1332", - "ov_cimguiname": "ImGuiKeyRoutingTable_Clear", - "ret": "void", - "signature": "()", - "stname": "ImGuiKeyRoutingTable" - } - ], - "ImGuiKeyRoutingTable_ImGuiKeyRoutingTable": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiKeyRoutingTable_ImGuiKeyRoutingTable", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiKeyRoutingTable", - "location": "imgui_internal:1331", - "ov_cimguiname": "ImGuiKeyRoutingTable_ImGuiKeyRoutingTable", - "signature": "()", - "stname": "ImGuiKeyRoutingTable" - } - ], - "ImGuiKeyRoutingTable_destroy": [ - { - "args": "(ImGuiKeyRoutingTable* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiKeyRoutingTable*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiKeyRoutingTable_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiKeyRoutingTable_destroy", - "ret": "void", - "signature": "(ImGuiKeyRoutingTable*)", - "stname": "ImGuiKeyRoutingTable" - } - ], - "ImGuiLastItemData_ImGuiLastItemData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiLastItemData_ImGuiLastItemData", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiLastItemData", - "location": "imgui_internal:1180", - "ov_cimguiname": "ImGuiLastItemData_ImGuiLastItemData", - "signature": "()", - "stname": "ImGuiLastItemData" - } - ], - "ImGuiLastItemData_destroy": [ - { - "args": "(ImGuiLastItemData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiLastItemData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiLastItemData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiLastItemData_destroy", - "ret": "void", - "signature": "(ImGuiLastItemData*)", - "stname": "ImGuiLastItemData" - } - ], - "ImGuiListClipperData_ImGuiListClipperData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiListClipperData_ImGuiListClipperData", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiListClipperData", - "location": "imgui_internal:1420", - "ov_cimguiname": "ImGuiListClipperData_ImGuiListClipperData", - "signature": "()", - "stname": "ImGuiListClipperData" - } - ], - "ImGuiListClipperData_Reset": [ - { - "args": "(ImGuiListClipperData* self,ImGuiListClipper* clipper)", - "argsT": [ - { - "name": "self", - "type": "ImGuiListClipperData*" - }, - { - "name": "clipper", - "type": "ImGuiListClipper*" - } - ], - "argsoriginal": "(ImGuiListClipper* clipper)", - "call_args": "(clipper)", - "cimguiname": "ImGuiListClipperData_Reset", - "defaults": {}, - "funcname": "Reset", - "location": "imgui_internal:1421", - "ov_cimguiname": "ImGuiListClipperData_Reset", - "ret": "void", - "signature": "(ImGuiListClipper*)", - "stname": "ImGuiListClipperData" - } - ], - "ImGuiListClipperData_destroy": [ - { - "args": "(ImGuiListClipperData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiListClipperData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiListClipperData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiListClipperData_destroy", - "ret": "void", - "signature": "(ImGuiListClipperData*)", - "stname": "ImGuiListClipperData" - } - ], - "ImGuiListClipperRange_FromIndices": [ - { - "args": "(int min,int max)", - "argsT": [ - { - "name": "min", - "type": "int" - }, - { - "name": "max", - "type": "int" - } - ], - "argsoriginal": "(int min,int max)", - "call_args": "(min,max)", - "cimguiname": "ImGuiListClipperRange_FromIndices", - "defaults": {}, - "funcname": "FromIndices", - "is_static_function": true, - "location": "imgui_internal:1407", - "ov_cimguiname": "ImGuiListClipperRange_FromIndices", - "ret": "ImGuiListClipperRange", - "signature": "(int,int)", - "stname": "ImGuiListClipperRange" - } - ], - "ImGuiListClipperRange_FromPositions": [ - { - "args": "(float y1,float y2,int off_min,int off_max)", - "argsT": [ - { - "name": "y1", - "type": "float" - }, - { - "name": "y2", - "type": "float" - }, - { - "name": "off_min", - "type": "int" - }, - { - "name": "off_max", - "type": "int" - } - ], - "argsoriginal": "(float y1,float y2,int off_min,int off_max)", - "call_args": "(y1,y2,off_min,off_max)", - "cimguiname": "ImGuiListClipperRange_FromPositions", - "defaults": {}, - "funcname": "FromPositions", - "is_static_function": true, - "location": "imgui_internal:1408", - "ov_cimguiname": "ImGuiListClipperRange_FromPositions", - "ret": "ImGuiListClipperRange", - "signature": "(float,float,int,int)", - "stname": "ImGuiListClipperRange" - } - ], - "ImGuiListClipper_Begin": [ - { - "args": "(ImGuiListClipper* self,int items_count,float items_height)", - "argsT": [ - { - "name": "self", - "type": "ImGuiListClipper*" - }, - { - "name": "items_count", - "type": "int" - }, - { - "name": "items_height", - "type": "float" - } - ], - "argsoriginal": "(int items_count,float items_height=-1.0f)", - "call_args": "(items_count,items_height)", - "cimguiname": "ImGuiListClipper_Begin", - "defaults": { - "items_height": "-1.0f" - }, - "funcname": "Begin", - "location": "imgui:2420", - "ov_cimguiname": "ImGuiListClipper_Begin", - "ret": "void", - "signature": "(int,float)", - "stname": "ImGuiListClipper" - } - ], - "ImGuiListClipper_End": [ - { - "args": "(ImGuiListClipper* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiListClipper*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiListClipper_End", - "defaults": {}, - "funcname": "End", - "location": "imgui:2421", - "ov_cimguiname": "ImGuiListClipper_End", - "ret": "void", - "signature": "()", - "stname": "ImGuiListClipper" - } - ], - "ImGuiListClipper_ForceDisplayRangeByIndices": [ - { - "args": "(ImGuiListClipper* self,int item_min,int item_max)", - "argsT": [ - { - "name": "self", - "type": "ImGuiListClipper*" - }, - { - "name": "item_min", - "type": "int" - }, - { - "name": "item_max", - "type": "int" - } - ], - "argsoriginal": "(int item_min,int item_max)", - "call_args": "(item_min,item_max)", - "cimguiname": "ImGuiListClipper_ForceDisplayRangeByIndices", - "defaults": {}, - "funcname": "ForceDisplayRangeByIndices", - "location": "imgui:2425", - "ov_cimguiname": "ImGuiListClipper_ForceDisplayRangeByIndices", - "ret": "void", - "signature": "(int,int)", - "stname": "ImGuiListClipper" - } - ], - "ImGuiListClipper_ImGuiListClipper": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiListClipper_ImGuiListClipper", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiListClipper", - "location": "imgui:2418", - "ov_cimguiname": "ImGuiListClipper_ImGuiListClipper", - "signature": "()", - "stname": "ImGuiListClipper" - } - ], - "ImGuiListClipper_Step": [ - { - "args": "(ImGuiListClipper* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiListClipper*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiListClipper_Step", - "defaults": {}, - "funcname": "Step", - "location": "imgui:2422", - "ov_cimguiname": "ImGuiListClipper_Step", - "ret": "bool", - "signature": "()", - "stname": "ImGuiListClipper" - } - ], - "ImGuiListClipper_destroy": [ - { - "args": "(ImGuiListClipper* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiListClipper*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiListClipper_destroy", - "defaults": {}, - "destructor": true, - "location": "imgui:2419", - "ov_cimguiname": "ImGuiListClipper_destroy", - "realdestructor": true, - "ret": "void", - "signature": "(ImGuiListClipper*)", - "stname": "ImGuiListClipper" - } - ], - "ImGuiMenuColumns_CalcNextTotalWidth": [ - { - "args": "(ImGuiMenuColumns* self,bool update_offsets)", - "argsT": [ - { - "name": "self", - "type": "ImGuiMenuColumns*" - }, - { - "name": "update_offsets", - "type": "bool" - } - ], - "argsoriginal": "(bool update_offsets)", - "call_args": "(update_offsets)", - "cimguiname": "ImGuiMenuColumns_CalcNextTotalWidth", - "defaults": {}, - "funcname": "CalcNextTotalWidth", - "location": "imgui_internal:1052", - "ov_cimguiname": "ImGuiMenuColumns_CalcNextTotalWidth", - "ret": "void", - "signature": "(bool)", - "stname": "ImGuiMenuColumns" - } - ], - "ImGuiMenuColumns_DeclColumns": [ - { - "args": "(ImGuiMenuColumns* self,float w_icon,float w_label,float w_shortcut,float w_mark)", - "argsT": [ - { - "name": "self", - "type": "ImGuiMenuColumns*" - }, - { - "name": "w_icon", - "type": "float" - }, - { - "name": "w_label", - "type": "float" - }, - { - "name": "w_shortcut", - "type": "float" - }, - { - "name": "w_mark", - "type": "float" - } - ], - "argsoriginal": "(float w_icon,float w_label,float w_shortcut,float w_mark)", - "call_args": "(w_icon,w_label,w_shortcut,w_mark)", - "cimguiname": "ImGuiMenuColumns_DeclColumns", - "defaults": {}, - "funcname": "DeclColumns", - "location": "imgui_internal:1051", - "ov_cimguiname": "ImGuiMenuColumns_DeclColumns", - "ret": "float", - "signature": "(float,float,float,float)", - "stname": "ImGuiMenuColumns" - } - ], - "ImGuiMenuColumns_ImGuiMenuColumns": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiMenuColumns_ImGuiMenuColumns", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiMenuColumns", - "location": "imgui_internal:1049", - "ov_cimguiname": "ImGuiMenuColumns_ImGuiMenuColumns", - "signature": "()", - "stname": "ImGuiMenuColumns" - } - ], - "ImGuiMenuColumns_Update": [ - { - "args": "(ImGuiMenuColumns* self,float spacing,bool window_reappearing)", - "argsT": [ - { - "name": "self", - "type": "ImGuiMenuColumns*" - }, - { - "name": "spacing", - "type": "float" - }, - { - "name": "window_reappearing", - "type": "bool" - } - ], - "argsoriginal": "(float spacing,bool window_reappearing)", - "call_args": "(spacing,window_reappearing)", - "cimguiname": "ImGuiMenuColumns_Update", - "defaults": {}, - "funcname": "Update", - "location": "imgui_internal:1050", - "ov_cimguiname": "ImGuiMenuColumns_Update", - "ret": "void", - "signature": "(float,bool)", - "stname": "ImGuiMenuColumns" - } - ], - "ImGuiMenuColumns_destroy": [ - { - "args": "(ImGuiMenuColumns* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiMenuColumns*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiMenuColumns_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiMenuColumns_destroy", - "ret": "void", - "signature": "(ImGuiMenuColumns*)", - "stname": "ImGuiMenuColumns" - } - ], - "ImGuiMetricsConfig_ImGuiMetricsConfig": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiMetricsConfig_ImGuiMetricsConfig", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiMetricsConfig", - "location": "imgui_internal:1848", - "ov_cimguiname": "ImGuiMetricsConfig_ImGuiMetricsConfig", - "signature": "()", - "stname": "ImGuiMetricsConfig" - } - ], - "ImGuiMetricsConfig_destroy": [ - { - "args": "(ImGuiMetricsConfig* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiMetricsConfig*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiMetricsConfig_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiMetricsConfig_destroy", - "ret": "void", - "signature": "(ImGuiMetricsConfig*)", - "stname": "ImGuiMetricsConfig" - } - ], - "ImGuiNavItemData_Clear": [ - { - "args": "(ImGuiNavItemData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiNavItemData*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiNavItemData_Clear", - "defaults": {}, - "funcname": "Clear", - "location": "imgui_internal:1497", - "ov_cimguiname": "ImGuiNavItemData_Clear", - "ret": "void", - "signature": "()", - "stname": "ImGuiNavItemData" - } - ], - "ImGuiNavItemData_ImGuiNavItemData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiNavItemData_ImGuiNavItemData", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiNavItemData", - "location": "imgui_internal:1496", - "ov_cimguiname": "ImGuiNavItemData_ImGuiNavItemData", - "signature": "()", - "stname": "ImGuiNavItemData" - } - ], - "ImGuiNavItemData_destroy": [ - { - "args": "(ImGuiNavItemData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiNavItemData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiNavItemData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiNavItemData_destroy", - "ret": "void", - "signature": "(ImGuiNavItemData*)", - "stname": "ImGuiNavItemData" - } - ], - "ImGuiNextItemData_ClearFlags": [ - { - "args": "(ImGuiNextItemData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiNextItemData*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiNextItemData_ClearFlags", - "defaults": {}, - "funcname": "ClearFlags", - "location": "imgui_internal:1167", - "ov_cimguiname": "ImGuiNextItemData_ClearFlags", - "ret": "void", - "signature": "()", - "stname": "ImGuiNextItemData" - } - ], - "ImGuiNextItemData_ImGuiNextItemData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiNextItemData_ImGuiNextItemData", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiNextItemData", - "location": "imgui_internal:1166", - "ov_cimguiname": "ImGuiNextItemData_ImGuiNextItemData", - "signature": "()", - "stname": "ImGuiNextItemData" - } - ], - "ImGuiNextItemData_destroy": [ - { - "args": "(ImGuiNextItemData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiNextItemData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiNextItemData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiNextItemData_destroy", - "ret": "void", - "signature": "(ImGuiNextItemData*)", - "stname": "ImGuiNextItemData" - } - ], - "ImGuiNextWindowData_ClearFlags": [ - { - "args": "(ImGuiNextWindowData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiNextWindowData*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiNextWindowData_ClearFlags", - "defaults": {}, - "funcname": "ClearFlags", - "location": "imgui_internal:1148", - "ov_cimguiname": "ImGuiNextWindowData_ClearFlags", - "ret": "void", - "signature": "()", - "stname": "ImGuiNextWindowData" - } - ], - "ImGuiNextWindowData_ImGuiNextWindowData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiNextWindowData_ImGuiNextWindowData", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiNextWindowData", - "location": "imgui_internal:1147", - "ov_cimguiname": "ImGuiNextWindowData_ImGuiNextWindowData", - "signature": "()", - "stname": "ImGuiNextWindowData" - } - ], - "ImGuiNextWindowData_destroy": [ - { - "args": "(ImGuiNextWindowData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiNextWindowData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiNextWindowData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiNextWindowData_destroy", - "ret": "void", - "signature": "(ImGuiNextWindowData*)", - "stname": "ImGuiNextWindowData" - } - ], - "ImGuiOldColumnData_ImGuiOldColumnData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiOldColumnData_ImGuiOldColumnData", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiOldColumnData", - "location": "imgui_internal:1532", - "ov_cimguiname": "ImGuiOldColumnData_ImGuiOldColumnData", - "signature": "()", - "stname": "ImGuiOldColumnData" - } - ], - "ImGuiOldColumnData_destroy": [ - { - "args": "(ImGuiOldColumnData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiOldColumnData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiOldColumnData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiOldColumnData_destroy", - "ret": "void", - "signature": "(ImGuiOldColumnData*)", - "stname": "ImGuiOldColumnData" - } - ], - "ImGuiOldColumns_ImGuiOldColumns": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiOldColumns_ImGuiOldColumns", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiOldColumns", - "location": "imgui_internal:1553", - "ov_cimguiname": "ImGuiOldColumns_ImGuiOldColumns", - "signature": "()", - "stname": "ImGuiOldColumns" - } - ], - "ImGuiOldColumns_destroy": [ - { - "args": "(ImGuiOldColumns* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiOldColumns*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiOldColumns_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiOldColumns_destroy", - "ret": "void", - "signature": "(ImGuiOldColumns*)", - "stname": "ImGuiOldColumns" - } - ], - "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiOnceUponAFrame", - "location": "imgui:2284", - "ov_cimguiname": "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame", - "signature": "()", - "stname": "ImGuiOnceUponAFrame" - } - ], - "ImGuiOnceUponAFrame_destroy": [ - { - "args": "(ImGuiOnceUponAFrame* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiOnceUponAFrame*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiOnceUponAFrame_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiOnceUponAFrame_destroy", - "ret": "void", - "signature": "(ImGuiOnceUponAFrame*)", - "stname": "ImGuiOnceUponAFrame" - } - ], - "ImGuiPayload_Clear": [ - { - "args": "(ImGuiPayload* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiPayload*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiPayload_Clear", - "defaults": {}, - "funcname": "Clear", - "location": "imgui:2238", - "ov_cimguiname": "ImGuiPayload_Clear", - "ret": "void", - "signature": "()", - "stname": "ImGuiPayload" - } - ], - "ImGuiPayload_ImGuiPayload": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiPayload_ImGuiPayload", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiPayload", - "location": "imgui:2237", - "ov_cimguiname": "ImGuiPayload_ImGuiPayload", - "signature": "()", - "stname": "ImGuiPayload" - } - ], - "ImGuiPayload_IsDataType": [ - { - "args": "(ImGuiPayload* self,const char* type)", - "argsT": [ - { - "name": "self", - "type": "ImGuiPayload*" - }, - { - "name": "type", - "type": "const char*" - } - ], - "argsoriginal": "(const char* type)", - "call_args": "(type)", - "cimguiname": "ImGuiPayload_IsDataType", - "defaults": {}, - "funcname": "IsDataType", - "location": "imgui:2239", - "ov_cimguiname": "ImGuiPayload_IsDataType", - "ret": "bool", - "signature": "(const char*)const", - "stname": "ImGuiPayload" - } - ], - "ImGuiPayload_IsDelivery": [ - { - "args": "(ImGuiPayload* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiPayload*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiPayload_IsDelivery", - "defaults": {}, - "funcname": "IsDelivery", - "location": "imgui:2241", - "ov_cimguiname": "ImGuiPayload_IsDelivery", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiPayload" - } - ], - "ImGuiPayload_IsPreview": [ - { - "args": "(ImGuiPayload* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiPayload*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiPayload_IsPreview", - "defaults": {}, - "funcname": "IsPreview", - "location": "imgui:2240", - "ov_cimguiname": "ImGuiPayload_IsPreview", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiPayload" - } - ], - "ImGuiPayload_destroy": [ - { - "args": "(ImGuiPayload* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiPayload*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiPayload_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiPayload_destroy", - "ret": "void", - "signature": "(ImGuiPayload*)", - "stname": "ImGuiPayload" - } - ], - "ImGuiPlatformIO_ImGuiPlatformIO": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiPlatformIO_ImGuiPlatformIO", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiPlatformIO", - "location": "imgui:3182", - "ov_cimguiname": "ImGuiPlatformIO_ImGuiPlatformIO", - "signature": "()", - "stname": "ImGuiPlatformIO" - } - ], - "ImGuiPlatformIO_destroy": [ - { - "args": "(ImGuiPlatformIO* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiPlatformIO*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiPlatformIO_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiPlatformIO_destroy", - "ret": "void", - "signature": "(ImGuiPlatformIO*)", - "stname": "ImGuiPlatformIO" - } - ], - "ImGuiPlatformImeData_ImGuiPlatformImeData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiPlatformImeData_ImGuiPlatformImeData", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiPlatformImeData", - "location": "imgui:3202", - "ov_cimguiname": "ImGuiPlatformImeData_ImGuiPlatformImeData", - "signature": "()", - "stname": "ImGuiPlatformImeData" - } - ], - "ImGuiPlatformImeData_destroy": [ - { - "args": "(ImGuiPlatformImeData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiPlatformImeData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiPlatformImeData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiPlatformImeData_destroy", - "ret": "void", - "signature": "(ImGuiPlatformImeData*)", - "stname": "ImGuiPlatformImeData" - } - ], - "ImGuiPlatformMonitor_ImGuiPlatformMonitor": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiPlatformMonitor_ImGuiPlatformMonitor", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiPlatformMonitor", - "location": "imgui:3192", - "ov_cimguiname": "ImGuiPlatformMonitor_ImGuiPlatformMonitor", - "signature": "()", - "stname": "ImGuiPlatformMonitor" - } - ], - "ImGuiPlatformMonitor_destroy": [ - { - "args": "(ImGuiPlatformMonitor* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiPlatformMonitor*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiPlatformMonitor_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiPlatformMonitor_destroy", - "ret": "void", - "signature": "(ImGuiPlatformMonitor*)", - "stname": "ImGuiPlatformMonitor" - } - ], - "ImGuiPopupData_ImGuiPopupData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiPopupData_ImGuiPopupData", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiPopupData", - "location": "imgui_internal:1104", - "ov_cimguiname": "ImGuiPopupData_ImGuiPopupData", - "signature": "()", - "stname": "ImGuiPopupData" - } - ], - "ImGuiPopupData_destroy": [ - { - "args": "(ImGuiPopupData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiPopupData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiPopupData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiPopupData_destroy", - "ret": "void", - "signature": "(ImGuiPopupData*)", - "stname": "ImGuiPopupData" - } - ], - "ImGuiPtrOrIndex_ImGuiPtrOrIndex": [ - { - "args": "(void* ptr)", - "argsT": [ - { - "name": "ptr", - "type": "void*" - } - ], - "argsoriginal": "(void* ptr)", - "call_args": "(ptr)", - "cimguiname": "ImGuiPtrOrIndex_ImGuiPtrOrIndex", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiPtrOrIndex", - "location": "imgui_internal:1220", - "ov_cimguiname": "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr", - "signature": "(void*)", - "stname": "ImGuiPtrOrIndex" - }, - { - "args": "(int index)", - "argsT": [ - { - "name": "index", - "type": "int" - } - ], - "argsoriginal": "(int index)", - "call_args": "(index)", - "cimguiname": "ImGuiPtrOrIndex_ImGuiPtrOrIndex", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiPtrOrIndex", - "location": "imgui_internal:1221", - "ov_cimguiname": "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int", - "signature": "(int)", - "stname": "ImGuiPtrOrIndex" - } - ], - "ImGuiPtrOrIndex_destroy": [ - { - "args": "(ImGuiPtrOrIndex* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiPtrOrIndex*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiPtrOrIndex_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiPtrOrIndex_destroy", - "ret": "void", - "signature": "(ImGuiPtrOrIndex*)", - "stname": "ImGuiPtrOrIndex" - } - ], - "ImGuiSettingsHandler_ImGuiSettingsHandler": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiSettingsHandler_ImGuiSettingsHandler", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiSettingsHandler", - "location": "imgui_internal:1788", - "ov_cimguiname": "ImGuiSettingsHandler_ImGuiSettingsHandler", - "signature": "()", - "stname": "ImGuiSettingsHandler" - } - ], - "ImGuiSettingsHandler_destroy": [ - { - "args": "(ImGuiSettingsHandler* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiSettingsHandler*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiSettingsHandler_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiSettingsHandler_destroy", - "ret": "void", - "signature": "(ImGuiSettingsHandler*)", - "stname": "ImGuiSettingsHandler" - } - ], - "ImGuiStackLevelInfo_ImGuiStackLevelInfo": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiStackLevelInfo_ImGuiStackLevelInfo", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiStackLevelInfo", - "location": "imgui_internal:1866", - "ov_cimguiname": "ImGuiStackLevelInfo_ImGuiStackLevelInfo", - "signature": "()", - "stname": "ImGuiStackLevelInfo" - } - ], - "ImGuiStackLevelInfo_destroy": [ - { - "args": "(ImGuiStackLevelInfo* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStackLevelInfo*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiStackLevelInfo_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiStackLevelInfo_destroy", - "ret": "void", - "signature": "(ImGuiStackLevelInfo*)", - "stname": "ImGuiStackLevelInfo" - } - ], - "ImGuiStackSizes_CompareWithCurrentState": [ - { - "args": "(ImGuiStackSizes* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStackSizes*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiStackSizes_CompareWithCurrentState", - "defaults": {}, - "funcname": "CompareWithCurrentState", - "location": "imgui_internal:1197", - "ov_cimguiname": "ImGuiStackSizes_CompareWithCurrentState", - "ret": "void", - "signature": "()", - "stname": "ImGuiStackSizes" - } - ], - "ImGuiStackSizes_ImGuiStackSizes": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiStackSizes_ImGuiStackSizes", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiStackSizes", - "location": "imgui_internal:1195", - "ov_cimguiname": "ImGuiStackSizes_ImGuiStackSizes", - "signature": "()", - "stname": "ImGuiStackSizes" - } - ], - "ImGuiStackSizes_SetToCurrentState": [ - { - "args": "(ImGuiStackSizes* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStackSizes*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiStackSizes_SetToCurrentState", - "defaults": {}, - "funcname": "SetToCurrentState", - "location": "imgui_internal:1196", - "ov_cimguiname": "ImGuiStackSizes_SetToCurrentState", - "ret": "void", - "signature": "()", - "stname": "ImGuiStackSizes" - } - ], - "ImGuiStackSizes_destroy": [ - { - "args": "(ImGuiStackSizes* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStackSizes*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiStackSizes_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiStackSizes_destroy", - "ret": "void", - "signature": "(ImGuiStackSizes*)", - "stname": "ImGuiStackSizes" - } - ], - "ImGuiStackTool_ImGuiStackTool": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiStackTool_ImGuiStackTool", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiStackTool", - "location": "imgui_internal:1879", - "ov_cimguiname": "ImGuiStackTool_ImGuiStackTool", - "signature": "()", - "stname": "ImGuiStackTool" - } - ], - "ImGuiStackTool_destroy": [ - { - "args": "(ImGuiStackTool* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStackTool*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiStackTool_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiStackTool_destroy", - "ret": "void", - "signature": "(ImGuiStackTool*)", - "stname": "ImGuiStackTool" - } - ], - "ImGuiStoragePair_ImGuiStoragePair": [ - { - "args": "(ImGuiID _key,int _val_i)", - "argsT": [ - { - "name": "_key", - "type": "ImGuiID" - }, - { - "name": "_val_i", - "type": "int" - } - ], - "argsoriginal": "(ImGuiID _key,int _val_i)", - "call_args": "(_key,_val_i)", - "cimguiname": "ImGuiStoragePair_ImGuiStoragePair", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiStoragePair", - "location": "imgui:2351", - "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePair_Int", - "signature": "(ImGuiID,int)", - "stname": "ImGuiStoragePair" - }, - { - "args": "(ImGuiID _key,float _val_f)", - "argsT": [ - { - "name": "_key", - "type": "ImGuiID" - }, - { - "name": "_val_f", - "type": "float" - } - ], - "argsoriginal": "(ImGuiID _key,float _val_f)", - "call_args": "(_key,_val_f)", - "cimguiname": "ImGuiStoragePair_ImGuiStoragePair", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiStoragePair", - "location": "imgui:2352", - "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePair_Float", - "signature": "(ImGuiID,float)", - "stname": "ImGuiStoragePair" - }, - { - "args": "(ImGuiID _key,void* _val_p)", - "argsT": [ - { - "name": "_key", - "type": "ImGuiID" - }, - { - "name": "_val_p", - "type": "void*" - } - ], - "argsoriginal": "(ImGuiID _key,void* _val_p)", - "call_args": "(_key,_val_p)", - "cimguiname": "ImGuiStoragePair_ImGuiStoragePair", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiStoragePair", - "location": "imgui:2353", - "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePair_Ptr", - "signature": "(ImGuiID,void*)", - "stname": "ImGuiStoragePair" - } - ], - "ImGuiStoragePair_destroy": [ - { - "args": "(ImGuiStoragePair* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStoragePair*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiStoragePair_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiStoragePair_destroy", - "ret": "void", - "signature": "(ImGuiStoragePair*)", - "stname": "ImGuiStoragePair" - } - ], - "ImGuiStorage_BuildSortByKey": [ - { - "args": "(ImGuiStorage* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiStorage_BuildSortByKey", - "defaults": {}, - "funcname": "BuildSortByKey", - "location": "imgui:2384", - "ov_cimguiname": "ImGuiStorage_BuildSortByKey", - "ret": "void", - "signature": "()", - "stname": "ImGuiStorage" - } - ], - "ImGuiStorage_Clear": [ - { - "args": "(ImGuiStorage* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiStorage_Clear", - "defaults": {}, - "funcname": "Clear", - "location": "imgui:2361", - "ov_cimguiname": "ImGuiStorage_Clear", - "ret": "void", - "signature": "()", - "stname": "ImGuiStorage" - } - ], - "ImGuiStorage_GetBool": [ - { - "args": "(ImGuiStorage* self,ImGuiID key,bool default_val)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - }, - { - "name": "key", - "type": "ImGuiID" - }, - { - "name": "default_val", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiID key,bool default_val=false)", - "call_args": "(key,default_val)", - "cimguiname": "ImGuiStorage_GetBool", - "defaults": { - "default_val": "false" - }, - "funcname": "GetBool", - "location": "imgui:2364", - "ov_cimguiname": "ImGuiStorage_GetBool", - "ret": "bool", - "signature": "(ImGuiID,bool)const", - "stname": "ImGuiStorage" - } - ], - "ImGuiStorage_GetBoolRef": [ - { - "args": "(ImGuiStorage* self,ImGuiID key,bool default_val)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - }, - { - "name": "key", - "type": "ImGuiID" - }, - { - "name": "default_val", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiID key,bool default_val=false)", - "call_args": "(key,default_val)", - "cimguiname": "ImGuiStorage_GetBoolRef", - "defaults": { - "default_val": "false" - }, - "funcname": "GetBoolRef", - "location": "imgui:2376", - "ov_cimguiname": "ImGuiStorage_GetBoolRef", - "ret": "bool*", - "signature": "(ImGuiID,bool)", - "stname": "ImGuiStorage" - } - ], - "ImGuiStorage_GetFloat": [ - { - "args": "(ImGuiStorage* self,ImGuiID key,float default_val)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - }, - { - "name": "key", - "type": "ImGuiID" - }, - { - "name": "default_val", - "type": "float" - } - ], - "argsoriginal": "(ImGuiID key,float default_val=0.0f)", - "call_args": "(key,default_val)", - "cimguiname": "ImGuiStorage_GetFloat", - "defaults": { - "default_val": "0.0f" - }, - "funcname": "GetFloat", - "location": "imgui:2366", - "ov_cimguiname": "ImGuiStorage_GetFloat", - "ret": "float", - "signature": "(ImGuiID,float)const", - "stname": "ImGuiStorage" - } - ], - "ImGuiStorage_GetFloatRef": [ - { - "args": "(ImGuiStorage* self,ImGuiID key,float default_val)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - }, - { - "name": "key", - "type": "ImGuiID" - }, - { - "name": "default_val", - "type": "float" - } - ], - "argsoriginal": "(ImGuiID key,float default_val=0.0f)", - "call_args": "(key,default_val)", - "cimguiname": "ImGuiStorage_GetFloatRef", - "defaults": { - "default_val": "0.0f" - }, - "funcname": "GetFloatRef", - "location": "imgui:2377", - "ov_cimguiname": "ImGuiStorage_GetFloatRef", - "ret": "float*", - "signature": "(ImGuiID,float)", - "stname": "ImGuiStorage" - } - ], - "ImGuiStorage_GetInt": [ - { - "args": "(ImGuiStorage* self,ImGuiID key,int default_val)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - }, - { - "name": "key", - "type": "ImGuiID" - }, - { - "name": "default_val", - "type": "int" - } - ], - "argsoriginal": "(ImGuiID key,int default_val=0)", - "call_args": "(key,default_val)", - "cimguiname": "ImGuiStorage_GetInt", - "defaults": { - "default_val": "0" - }, - "funcname": "GetInt", - "location": "imgui:2362", - "ov_cimguiname": "ImGuiStorage_GetInt", - "ret": "int", - "signature": "(ImGuiID,int)const", - "stname": "ImGuiStorage" - } - ], - "ImGuiStorage_GetIntRef": [ - { - "args": "(ImGuiStorage* self,ImGuiID key,int default_val)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - }, - { - "name": "key", - "type": "ImGuiID" - }, - { - "name": "default_val", - "type": "int" - } - ], - "argsoriginal": "(ImGuiID key,int default_val=0)", - "call_args": "(key,default_val)", - "cimguiname": "ImGuiStorage_GetIntRef", - "defaults": { - "default_val": "0" - }, - "funcname": "GetIntRef", - "location": "imgui:2375", - "ov_cimguiname": "ImGuiStorage_GetIntRef", - "ret": "int*", - "signature": "(ImGuiID,int)", - "stname": "ImGuiStorage" - } - ], - "ImGuiStorage_GetVoidPtr": [ - { - "args": "(ImGuiStorage* self,ImGuiID key)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - }, - { - "name": "key", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID key)", - "call_args": "(key)", - "cimguiname": "ImGuiStorage_GetVoidPtr", - "defaults": {}, - "funcname": "GetVoidPtr", - "location": "imgui:2368", - "ov_cimguiname": "ImGuiStorage_GetVoidPtr", - "ret": "void*", - "signature": "(ImGuiID)const", - "stname": "ImGuiStorage" - } - ], - "ImGuiStorage_GetVoidPtrRef": [ - { - "args": "(ImGuiStorage* self,ImGuiID key,void* default_val)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - }, - { - "name": "key", - "type": "ImGuiID" - }, - { - "name": "default_val", - "type": "void*" - } - ], - "argsoriginal": "(ImGuiID key,void* default_val=((void*)0))", - "call_args": "(key,default_val)", - "cimguiname": "ImGuiStorage_GetVoidPtrRef", - "defaults": { - "default_val": "NULL" - }, - "funcname": "GetVoidPtrRef", - "location": "imgui:2378", - "ov_cimguiname": "ImGuiStorage_GetVoidPtrRef", - "ret": "void**", - "signature": "(ImGuiID,void*)", - "stname": "ImGuiStorage" - } - ], - "ImGuiStorage_SetAllInt": [ - { - "args": "(ImGuiStorage* self,int val)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - }, - { - "name": "val", - "type": "int" - } - ], - "argsoriginal": "(int val)", - "call_args": "(val)", - "cimguiname": "ImGuiStorage_SetAllInt", - "defaults": {}, - "funcname": "SetAllInt", - "location": "imgui:2381", - "ov_cimguiname": "ImGuiStorage_SetAllInt", - "ret": "void", - "signature": "(int)", - "stname": "ImGuiStorage" - } - ], - "ImGuiStorage_SetBool": [ - { - "args": "(ImGuiStorage* self,ImGuiID key,bool val)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - }, - { - "name": "key", - "type": "ImGuiID" - }, - { - "name": "val", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiID key,bool val)", - "call_args": "(key,val)", - "cimguiname": "ImGuiStorage_SetBool", - "defaults": {}, - "funcname": "SetBool", - "location": "imgui:2365", - "ov_cimguiname": "ImGuiStorage_SetBool", - "ret": "void", - "signature": "(ImGuiID,bool)", - "stname": "ImGuiStorage" - } - ], - "ImGuiStorage_SetFloat": [ - { - "args": "(ImGuiStorage* self,ImGuiID key,float val)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - }, - { - "name": "key", - "type": "ImGuiID" - }, - { - "name": "val", - "type": "float" - } - ], - "argsoriginal": "(ImGuiID key,float val)", - "call_args": "(key,val)", - "cimguiname": "ImGuiStorage_SetFloat", - "defaults": {}, - "funcname": "SetFloat", - "location": "imgui:2367", - "ov_cimguiname": "ImGuiStorage_SetFloat", - "ret": "void", - "signature": "(ImGuiID,float)", - "stname": "ImGuiStorage" - } - ], - "ImGuiStorage_SetInt": [ - { - "args": "(ImGuiStorage* self,ImGuiID key,int val)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - }, - { - "name": "key", - "type": "ImGuiID" - }, - { - "name": "val", - "type": "int" - } - ], - "argsoriginal": "(ImGuiID key,int val)", - "call_args": "(key,val)", - "cimguiname": "ImGuiStorage_SetInt", - "defaults": {}, - "funcname": "SetInt", - "location": "imgui:2363", - "ov_cimguiname": "ImGuiStorage_SetInt", - "ret": "void", - "signature": "(ImGuiID,int)", - "stname": "ImGuiStorage" - } - ], - "ImGuiStorage_SetVoidPtr": [ - { - "args": "(ImGuiStorage* self,ImGuiID key,void* val)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStorage*" - }, - { - "name": "key", - "type": "ImGuiID" - }, - { - "name": "val", - "type": "void*" - } - ], - "argsoriginal": "(ImGuiID key,void* val)", - "call_args": "(key,val)", - "cimguiname": "ImGuiStorage_SetVoidPtr", - "defaults": {}, - "funcname": "SetVoidPtr", - "location": "imgui:2369", - "ov_cimguiname": "ImGuiStorage_SetVoidPtr", - "ret": "void", - "signature": "(ImGuiID,void*)", - "stname": "ImGuiStorage" - } - ], - "ImGuiStyleMod_ImGuiStyleMod": [ - { - "args": "(ImGuiStyleVar idx,int v)", - "argsT": [ - { - "name": "idx", - "type": "ImGuiStyleVar" - }, - { - "name": "v", - "type": "int" - } - ], - "argsoriginal": "(ImGuiStyleVar idx,int v)", - "call_args": "(idx,v)", - "cimguiname": "ImGuiStyleMod_ImGuiStyleMod", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiStyleMod", - "location": "imgui_internal:1003", - "ov_cimguiname": "ImGuiStyleMod_ImGuiStyleMod_Int", - "signature": "(ImGuiStyleVar,int)", - "stname": "ImGuiStyleMod" - }, - { - "args": "(ImGuiStyleVar idx,float v)", - "argsT": [ - { - "name": "idx", - "type": "ImGuiStyleVar" - }, - { - "name": "v", - "type": "float" - } - ], - "argsoriginal": "(ImGuiStyleVar idx,float v)", - "call_args": "(idx,v)", - "cimguiname": "ImGuiStyleMod_ImGuiStyleMod", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiStyleMod", - "location": "imgui_internal:1004", - "ov_cimguiname": "ImGuiStyleMod_ImGuiStyleMod_Float", - "signature": "(ImGuiStyleVar,float)", - "stname": "ImGuiStyleMod" - }, - { - "args": "(ImGuiStyleVar idx,ImVec2 v)", - "argsT": [ - { - "name": "idx", - "type": "ImGuiStyleVar" - }, - { - "name": "v", - "type": "ImVec2" - } - ], - "argsoriginal": "(ImGuiStyleVar idx,ImVec2 v)", - "call_args": "(idx,v)", - "cimguiname": "ImGuiStyleMod_ImGuiStyleMod", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiStyleMod", - "location": "imgui_internal:1005", - "ov_cimguiname": "ImGuiStyleMod_ImGuiStyleMod_Vec2", - "signature": "(ImGuiStyleVar,ImVec2)", - "stname": "ImGuiStyleMod" - } - ], - "ImGuiStyleMod_destroy": [ - { - "args": "(ImGuiStyleMod* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStyleMod*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiStyleMod_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiStyleMod_destroy", - "ret": "void", - "signature": "(ImGuiStyleMod*)", - "stname": "ImGuiStyleMod" - } - ], - "ImGuiStyle_ImGuiStyle": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiStyle_ImGuiStyle", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiStyle", - "location": "imgui:1953", - "ov_cimguiname": "ImGuiStyle_ImGuiStyle", - "signature": "()", - "stname": "ImGuiStyle" - } - ], - "ImGuiStyle_ScaleAllSizes": [ - { - "args": "(ImGuiStyle* self,float scale_factor)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStyle*" - }, - { - "name": "scale_factor", - "type": "float" - } - ], - "argsoriginal": "(float scale_factor)", - "call_args": "(scale_factor)", - "cimguiname": "ImGuiStyle_ScaleAllSizes", - "defaults": {}, - "funcname": "ScaleAllSizes", - "location": "imgui:1954", - "ov_cimguiname": "ImGuiStyle_ScaleAllSizes", - "ret": "void", - "signature": "(float)", - "stname": "ImGuiStyle" - } - ], - "ImGuiStyle_destroy": [ - { - "args": "(ImGuiStyle* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiStyle*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiStyle_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiStyle_destroy", - "ret": "void", - "signature": "(ImGuiStyle*)", - "stname": "ImGuiStyle" - } - ], - "ImGuiTabBar_GetTabName": [ - { - "args": "(ImGuiTabBar* self,const ImGuiTabItem* tab)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTabBar*" - }, - { - "name": "tab", - "type": "const ImGuiTabItem*" - } - ], - "argsoriginal": "(const ImGuiTabItem* tab)", - "call_args": "(tab)", - "cimguiname": "ImGuiTabBar_GetTabName", - "defaults": {}, - "funcname": "GetTabName", - "location": "imgui_internal:2647", - "ov_cimguiname": "ImGuiTabBar_GetTabName", - "ret": "const char*", - "signature": "(const ImGuiTabItem*)const", - "stname": "ImGuiTabBar" - } - ], - "ImGuiTabBar_GetTabOrder": [ - { - "args": "(ImGuiTabBar* self,const ImGuiTabItem* tab)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTabBar*" - }, - { - "name": "tab", - "type": "const ImGuiTabItem*" - } - ], - "argsoriginal": "(const ImGuiTabItem* tab)", - "call_args": "(tab)", - "cimguiname": "ImGuiTabBar_GetTabOrder", - "defaults": {}, - "funcname": "GetTabOrder", - "location": "imgui_internal:2646", - "ov_cimguiname": "ImGuiTabBar_GetTabOrder", - "ret": "int", - "signature": "(const ImGuiTabItem*)const", - "stname": "ImGuiTabBar" - } - ], - "ImGuiTabBar_ImGuiTabBar": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTabBar_ImGuiTabBar", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiTabBar", - "location": "imgui_internal:2645", - "ov_cimguiname": "ImGuiTabBar_ImGuiTabBar", - "signature": "()", - "stname": "ImGuiTabBar" - } - ], - "ImGuiTabBar_destroy": [ - { - "args": "(ImGuiTabBar* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTabBar*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiTabBar_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiTabBar_destroy", - "ret": "void", - "signature": "(ImGuiTabBar*)", - "stname": "ImGuiTabBar" - } - ], - "ImGuiTabItem_ImGuiTabItem": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTabItem_ImGuiTabItem", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiTabItem", - "location": "imgui_internal:2607", - "ov_cimguiname": "ImGuiTabItem_ImGuiTabItem", - "signature": "()", - "stname": "ImGuiTabItem" - } - ], - "ImGuiTabItem_destroy": [ - { - "args": "(ImGuiTabItem* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTabItem*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiTabItem_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiTabItem_destroy", - "ret": "void", - "signature": "(ImGuiTabItem*)", - "stname": "ImGuiTabItem" - } - ], - "ImGuiTableColumnSettings_ImGuiTableColumnSettings": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTableColumnSettings_ImGuiTableColumnSettings", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiTableColumnSettings", - "location": "imgui_internal:2893", - "ov_cimguiname": "ImGuiTableColumnSettings_ImGuiTableColumnSettings", - "signature": "()", - "stname": "ImGuiTableColumnSettings" - } - ], - "ImGuiTableColumnSettings_destroy": [ - { - "args": "(ImGuiTableColumnSettings* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTableColumnSettings*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiTableColumnSettings_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiTableColumnSettings_destroy", - "ret": "void", - "signature": "(ImGuiTableColumnSettings*)", - "stname": "ImGuiTableColumnSettings" - } - ], - "ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiTableColumnSortSpecs", - "location": "imgui:2252", - "ov_cimguiname": "ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs", - "signature": "()", - "stname": "ImGuiTableColumnSortSpecs" - } - ], - "ImGuiTableColumnSortSpecs_destroy": [ - { - "args": "(ImGuiTableColumnSortSpecs* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTableColumnSortSpecs*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiTableColumnSortSpecs_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiTableColumnSortSpecs_destroy", - "ret": "void", - "signature": "(ImGuiTableColumnSortSpecs*)", - "stname": "ImGuiTableColumnSortSpecs" - } - ], - "ImGuiTableColumn_ImGuiTableColumn": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTableColumn_ImGuiTableColumn", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiTableColumn", - "location": "imgui_internal:2716", - "ov_cimguiname": "ImGuiTableColumn_ImGuiTableColumn", - "signature": "()", - "stname": "ImGuiTableColumn" - } - ], - "ImGuiTableColumn_destroy": [ - { - "args": "(ImGuiTableColumn* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTableColumn*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiTableColumn_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiTableColumn_destroy", - "ret": "void", - "signature": "(ImGuiTableColumn*)", - "stname": "ImGuiTableColumn" - } - ], - "ImGuiTableInstanceData_ImGuiTableInstanceData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTableInstanceData_ImGuiTableInstanceData", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiTableInstanceData", - "location": "imgui_internal:2743", - "ov_cimguiname": "ImGuiTableInstanceData_ImGuiTableInstanceData", - "signature": "()", - "stname": "ImGuiTableInstanceData" - } - ], - "ImGuiTableInstanceData_destroy": [ - { - "args": "(ImGuiTableInstanceData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTableInstanceData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiTableInstanceData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiTableInstanceData_destroy", - "ret": "void", - "signature": "(ImGuiTableInstanceData*)", - "stname": "ImGuiTableInstanceData" - } - ], - "ImGuiTableSettings_GetColumnSettings": [ - { - "args": "(ImGuiTableSettings* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTableSettings*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTableSettings_GetColumnSettings", - "defaults": {}, - "funcname": "GetColumnSettings", - "location": "imgui_internal:2916", - "ov_cimguiname": "ImGuiTableSettings_GetColumnSettings", - "ret": "ImGuiTableColumnSettings*", - "signature": "()", - "stname": "ImGuiTableSettings" - } - ], - "ImGuiTableSettings_ImGuiTableSettings": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTableSettings_ImGuiTableSettings", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiTableSettings", - "location": "imgui_internal:2915", - "ov_cimguiname": "ImGuiTableSettings_ImGuiTableSettings", - "signature": "()", - "stname": "ImGuiTableSettings" - } - ], - "ImGuiTableSettings_destroy": [ - { - "args": "(ImGuiTableSettings* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTableSettings*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiTableSettings_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiTableSettings_destroy", - "ret": "void", - "signature": "(ImGuiTableSettings*)", - "stname": "ImGuiTableSettings" - } - ], - "ImGuiTableSortSpecs_ImGuiTableSortSpecs": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTableSortSpecs_ImGuiTableSortSpecs", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiTableSortSpecs", - "location": "imgui:2265", - "ov_cimguiname": "ImGuiTableSortSpecs_ImGuiTableSortSpecs", - "signature": "()", - "stname": "ImGuiTableSortSpecs" - } - ], - "ImGuiTableSortSpecs_destroy": [ - { - "args": "(ImGuiTableSortSpecs* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTableSortSpecs*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiTableSortSpecs_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiTableSortSpecs_destroy", - "ret": "void", - "signature": "(ImGuiTableSortSpecs*)", - "stname": "ImGuiTableSortSpecs" - } - ], - "ImGuiTableTempData_ImGuiTableTempData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTableTempData_ImGuiTableTempData", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiTableTempData", - "location": "imgui_internal:2878", - "ov_cimguiname": "ImGuiTableTempData_ImGuiTableTempData", - "signature": "()", - "stname": "ImGuiTableTempData" - } - ], - "ImGuiTableTempData_destroy": [ - { - "args": "(ImGuiTableTempData* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTableTempData*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiTableTempData_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiTableTempData_destroy", - "ret": "void", - "signature": "(ImGuiTableTempData*)", - "stname": "ImGuiTableTempData" - } - ], - "ImGuiTable_ImGuiTable": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTable_ImGuiTable", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiTable", - "location": "imgui_internal:2854", - "ov_cimguiname": "ImGuiTable_ImGuiTable", - "signature": "()", - "stname": "ImGuiTable" - } - ], - "ImGuiTable_destroy": [ - { - "args": "(ImGuiTable* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTable*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiTable_destroy", - "defaults": {}, - "destructor": true, - "location": "imgui_internal:2855", - "ov_cimguiname": "ImGuiTable_destroy", - "realdestructor": true, - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "ImGuiTable" - } - ], - "ImGuiTextBuffer_ImGuiTextBuffer": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTextBuffer_ImGuiTextBuffer", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiTextBuffer", - "location": "imgui:2322", - "ov_cimguiname": "ImGuiTextBuffer_ImGuiTextBuffer", - "signature": "()", - "stname": "ImGuiTextBuffer" - } - ], - "ImGuiTextBuffer_append": [ - { - "args": "(ImGuiTextBuffer* self,const char* str,const char* str_end)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextBuffer*" - }, - { - "name": "str", - "type": "const char*" - }, - { - "name": "str_end", - "type": "const char*" - } - ], - "argsoriginal": "(const char* str,const char* str_end=((void*)0))", - "call_args": "(str,str_end)", - "cimguiname": "ImGuiTextBuffer_append", - "defaults": { - "str_end": "NULL" - }, - "funcname": "append", - "location": "imgui:2331", - "ov_cimguiname": "ImGuiTextBuffer_append", - "ret": "void", - "signature": "(const char*,const char*)", - "stname": "ImGuiTextBuffer" - } - ], - "ImGuiTextBuffer_appendf": [ - { - "args": "(ImGuiTextBuffer* self,const char* fmt,...)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextBuffer*" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const char* fmt,...)", - "call_args": "(fmt,...)", - "cimguiname": "ImGuiTextBuffer_appendf", - "defaults": {}, - "funcname": "appendf", - "isvararg": "...)", - "location": "imgui:2332", - "manual": true, - "ov_cimguiname": "ImGuiTextBuffer_appendf", - "ret": "void", - "signature": "(const char*,...)", - "stname": "ImGuiTextBuffer" - } - ], - "ImGuiTextBuffer_appendfv": [ - { - "args": "(ImGuiTextBuffer* self,const char* fmt,va_list args)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextBuffer*" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const char* fmt,va_list args)", - "call_args": "(fmt,args)", - "cimguiname": "ImGuiTextBuffer_appendfv", - "defaults": {}, - "funcname": "appendfv", - "location": "imgui:2333", - "ov_cimguiname": "ImGuiTextBuffer_appendfv", - "ret": "void", - "signature": "(const char*,va_list)", - "stname": "ImGuiTextBuffer" - } - ], - "ImGuiTextBuffer_begin": [ - { - "args": "(ImGuiTextBuffer* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextBuffer*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTextBuffer_begin", - "defaults": {}, - "funcname": "begin", - "location": "imgui:2324", - "ov_cimguiname": "ImGuiTextBuffer_begin", - "ret": "const char*", - "signature": "()const", - "stname": "ImGuiTextBuffer" - } - ], - "ImGuiTextBuffer_c_str": [ - { - "args": "(ImGuiTextBuffer* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextBuffer*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTextBuffer_c_str", - "defaults": {}, - "funcname": "c_str", - "location": "imgui:2330", - "ov_cimguiname": "ImGuiTextBuffer_c_str", - "ret": "const char*", - "signature": "()const", - "stname": "ImGuiTextBuffer" - } - ], - "ImGuiTextBuffer_clear": [ - { - "args": "(ImGuiTextBuffer* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextBuffer*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTextBuffer_clear", - "defaults": {}, - "funcname": "clear", - "location": "imgui:2328", - "ov_cimguiname": "ImGuiTextBuffer_clear", - "ret": "void", - "signature": "()", - "stname": "ImGuiTextBuffer" - } - ], - "ImGuiTextBuffer_destroy": [ - { - "args": "(ImGuiTextBuffer* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextBuffer*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiTextBuffer_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiTextBuffer_destroy", - "ret": "void", - "signature": "(ImGuiTextBuffer*)", - "stname": "ImGuiTextBuffer" - } - ], - "ImGuiTextBuffer_empty": [ - { - "args": "(ImGuiTextBuffer* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextBuffer*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTextBuffer_empty", - "defaults": {}, - "funcname": "empty", - "location": "imgui:2327", - "ov_cimguiname": "ImGuiTextBuffer_empty", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiTextBuffer" - } - ], - "ImGuiTextBuffer_end": [ - { - "args": "(ImGuiTextBuffer* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextBuffer*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTextBuffer_end", - "defaults": {}, - "funcname": "end", - "location": "imgui:2325", - "ov_cimguiname": "ImGuiTextBuffer_end", - "ret": "const char*", - "signature": "()const", - "stname": "ImGuiTextBuffer" - } - ], - "ImGuiTextBuffer_reserve": [ - { - "args": "(ImGuiTextBuffer* self,int capacity)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextBuffer*" - }, - { - "name": "capacity", - "type": "int" - } - ], - "argsoriginal": "(int capacity)", - "call_args": "(capacity)", - "cimguiname": "ImGuiTextBuffer_reserve", - "defaults": {}, - "funcname": "reserve", - "location": "imgui:2329", - "ov_cimguiname": "ImGuiTextBuffer_reserve", - "ret": "void", - "signature": "(int)", - "stname": "ImGuiTextBuffer" - } - ], - "ImGuiTextBuffer_size": [ - { - "args": "(ImGuiTextBuffer* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextBuffer*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTextBuffer_size", - "defaults": {}, - "funcname": "size", - "location": "imgui:2326", - "ov_cimguiname": "ImGuiTextBuffer_size", - "ret": "int", - "signature": "()const", - "stname": "ImGuiTextBuffer" - } - ], - "ImGuiTextFilter_Build": [ - { - "args": "(ImGuiTextFilter* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextFilter*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTextFilter_Build", - "defaults": {}, - "funcname": "Build", - "location": "imgui:2295", - "ov_cimguiname": "ImGuiTextFilter_Build", - "ret": "void", - "signature": "()", - "stname": "ImGuiTextFilter" - } - ], - "ImGuiTextFilter_Clear": [ - { - "args": "(ImGuiTextFilter* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextFilter*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTextFilter_Clear", - "defaults": {}, - "funcname": "Clear", - "location": "imgui:2296", - "ov_cimguiname": "ImGuiTextFilter_Clear", - "ret": "void", - "signature": "()", - "stname": "ImGuiTextFilter" - } - ], - "ImGuiTextFilter_Draw": [ - { - "args": "(ImGuiTextFilter* self,const char* label,float width)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextFilter*" - }, - { - "name": "label", - "type": "const char*" - }, - { - "name": "width", - "type": "float" - } - ], - "argsoriginal": "(const char* label=\"Filter(inc,-exc)\",float width=0.0f)", - "call_args": "(label,width)", - "cimguiname": "ImGuiTextFilter_Draw", - "defaults": { - "label": "\"Filter(inc,-exc)\"", - "width": "0.0f" - }, - "funcname": "Draw", - "location": "imgui:2293", - "ov_cimguiname": "ImGuiTextFilter_Draw", - "ret": "bool", - "signature": "(const char*,float)", - "stname": "ImGuiTextFilter" - } - ], - "ImGuiTextFilter_ImGuiTextFilter": [ - { - "args": "(const char* default_filter)", - "argsT": [ - { - "name": "default_filter", - "type": "const char*" - } - ], - "argsoriginal": "(const char* default_filter=\"\")", - "call_args": "(default_filter)", - "cimguiname": "ImGuiTextFilter_ImGuiTextFilter", - "constructor": true, - "defaults": { - "default_filter": "\"\"" - }, - "funcname": "ImGuiTextFilter", - "location": "imgui:2292", - "ov_cimguiname": "ImGuiTextFilter_ImGuiTextFilter", - "signature": "(const char*)", - "stname": "ImGuiTextFilter" - } - ], - "ImGuiTextFilter_IsActive": [ - { - "args": "(ImGuiTextFilter* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextFilter*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTextFilter_IsActive", - "defaults": {}, - "funcname": "IsActive", - "location": "imgui:2297", - "ov_cimguiname": "ImGuiTextFilter_IsActive", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiTextFilter" - } - ], - "ImGuiTextFilter_PassFilter": [ - { - "args": "(ImGuiTextFilter* self,const char* text,const char* text_end)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextFilter*" - }, - { - "name": "text", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - } - ], - "argsoriginal": "(const char* text,const char* text_end=((void*)0))", - "call_args": "(text,text_end)", - "cimguiname": "ImGuiTextFilter_PassFilter", - "defaults": { - "text_end": "NULL" - }, - "funcname": "PassFilter", - "location": "imgui:2294", - "ov_cimguiname": "ImGuiTextFilter_PassFilter", - "ret": "bool", - "signature": "(const char*,const char*)const", - "stname": "ImGuiTextFilter" - } - ], - "ImGuiTextFilter_destroy": [ - { - "args": "(ImGuiTextFilter* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextFilter*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiTextFilter_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiTextFilter_destroy", - "ret": "void", - "signature": "(ImGuiTextFilter*)", - "stname": "ImGuiTextFilter" - } - ], - "ImGuiTextIndex_append": [ - { - "args": "(ImGuiTextIndex* self,const char* base,int old_size,int new_size)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextIndex*" - }, - { - "name": "base", - "type": "const char*" - }, - { - "name": "old_size", - "type": "int" - }, - { - "name": "new_size", - "type": "int" - } - ], - "argsoriginal": "(const char* base,int old_size,int new_size)", - "call_args": "(base,old_size,new_size)", - "cimguiname": "ImGuiTextIndex_append", - "defaults": {}, - "funcname": "append", - "location": "imgui_internal:725", - "ov_cimguiname": "ImGuiTextIndex_append", - "ret": "void", - "signature": "(const char*,int,int)", - "stname": "ImGuiTextIndex" - } - ], - "ImGuiTextIndex_clear": [ - { - "args": "(ImGuiTextIndex* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextIndex*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTextIndex_clear", - "defaults": {}, - "funcname": "clear", - "location": "imgui_internal:721", - "ov_cimguiname": "ImGuiTextIndex_clear", - "ret": "void", - "signature": "()", - "stname": "ImGuiTextIndex" - } - ], - "ImGuiTextIndex_get_line_begin": [ - { - "args": "(ImGuiTextIndex* self,const char* base,int n)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextIndex*" - }, - { - "name": "base", - "type": "const char*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(const char* base,int n)", - "call_args": "(base,n)", - "cimguiname": "ImGuiTextIndex_get_line_begin", - "defaults": {}, - "funcname": "get_line_begin", - "location": "imgui_internal:723", - "ov_cimguiname": "ImGuiTextIndex_get_line_begin", - "ret": "const char*", - "signature": "(const char*,int)", - "stname": "ImGuiTextIndex" - } - ], - "ImGuiTextIndex_get_line_end": [ - { - "args": "(ImGuiTextIndex* self,const char* base,int n)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextIndex*" - }, - { - "name": "base", - "type": "const char*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(const char* base,int n)", - "call_args": "(base,n)", - "cimguiname": "ImGuiTextIndex_get_line_end", - "defaults": {}, - "funcname": "get_line_end", - "location": "imgui_internal:724", - "ov_cimguiname": "ImGuiTextIndex_get_line_end", - "ret": "const char*", - "signature": "(const char*,int)", - "stname": "ImGuiTextIndex" - } - ], - "ImGuiTextIndex_size": [ - { - "args": "(ImGuiTextIndex* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextIndex*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTextIndex_size", - "defaults": {}, - "funcname": "size", - "location": "imgui_internal:722", - "ov_cimguiname": "ImGuiTextIndex_size", - "ret": "int", - "signature": "()", - "stname": "ImGuiTextIndex" - } - ], - "ImGuiTextRange_ImGuiTextRange": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTextRange_ImGuiTextRange", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiTextRange", - "location": "imgui:2305", - "ov_cimguiname": "ImGuiTextRange_ImGuiTextRange_Nil", - "signature": "()", - "stname": "ImGuiTextRange" - }, - { - "args": "(const char* _b,const char* _e)", - "argsT": [ - { - "name": "_b", - "type": "const char*" - }, - { - "name": "_e", - "type": "const char*" - } - ], - "argsoriginal": "(const char* _b,const char* _e)", - "call_args": "(_b,_e)", - "cimguiname": "ImGuiTextRange_ImGuiTextRange", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiTextRange", - "location": "imgui:2306", - "ov_cimguiname": "ImGuiTextRange_ImGuiTextRange_Str", - "signature": "(const char*,const char*)", - "stname": "ImGuiTextRange" - } - ], - "ImGuiTextRange_destroy": [ - { - "args": "(ImGuiTextRange* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextRange*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiTextRange_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiTextRange_destroy", - "ret": "void", - "signature": "(ImGuiTextRange*)", - "stname": "ImGuiTextRange" - } - ], - "ImGuiTextRange_empty": [ - { - "args": "(ImGuiTextRange* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextRange*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiTextRange_empty", - "defaults": {}, - "funcname": "empty", - "location": "imgui:2307", - "ov_cimguiname": "ImGuiTextRange_empty", - "ret": "bool", - "signature": "()const", - "stname": "ImGuiTextRange" - } - ], - "ImGuiTextRange_split": [ - { - "args": "(ImGuiTextRange* self,char separator,ImVector_ImGuiTextRange* out)", - "argsT": [ - { - "name": "self", - "type": "ImGuiTextRange*" - }, - { - "name": "separator", - "type": "char" - }, - { - "name": "out", - "type": "ImVector_ImGuiTextRange*" - } - ], - "argsoriginal": "(char separator,ImVector* out)", - "call_args": "(separator,out)", - "cimguiname": "ImGuiTextRange_split", - "defaults": {}, - "funcname": "split", - "location": "imgui:2308", - "ov_cimguiname": "ImGuiTextRange_split", - "ret": "void", - "signature": "(char,ImVector_ImGuiTextRange*)const", - "stname": "ImGuiTextRange" - } - ], - "ImGuiViewportP_CalcWorkRectPos": [ - { - "args": "(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 off_min)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "self", - "type": "ImGuiViewportP*" - }, - { - "name": "off_min", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& off_min)", - "call_args": "(off_min)", - "cimguiname": "ImGuiViewportP_CalcWorkRectPos", - "defaults": {}, - "funcname": "CalcWorkRectPos", - "location": "imgui_internal:1742", - "nonUDT": 1, - "ov_cimguiname": "ImGuiViewportP_CalcWorkRectPos", - "ret": "void", - "signature": "(const ImVec2)const", - "stname": "ImGuiViewportP" - } - ], - "ImGuiViewportP_CalcWorkRectSize": [ - { - "args": "(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 off_min,const ImVec2 off_max)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "self", - "type": "ImGuiViewportP*" - }, - { - "name": "off_min", - "type": "const ImVec2" - }, - { - "name": "off_max", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& off_min,const ImVec2& off_max)", - "call_args": "(off_min,off_max)", - "cimguiname": "ImGuiViewportP_CalcWorkRectSize", - "defaults": {}, - "funcname": "CalcWorkRectSize", - "location": "imgui_internal:1743", - "nonUDT": 1, - "ov_cimguiname": "ImGuiViewportP_CalcWorkRectSize", - "ret": "void", - "signature": "(const ImVec2,const ImVec2)const", - "stname": "ImGuiViewportP" - } - ], - "ImGuiViewportP_ClearRequestFlags": [ - { - "args": "(ImGuiViewportP* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiViewportP*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiViewportP_ClearRequestFlags", - "defaults": {}, - "funcname": "ClearRequestFlags", - "location": "imgui_internal:1739", - "ov_cimguiname": "ImGuiViewportP_ClearRequestFlags", - "ret": "void", - "signature": "()", - "stname": "ImGuiViewportP" - } - ], - "ImGuiViewportP_GetBuildWorkRect": [ - { - "args": "(ImRect *pOut,ImGuiViewportP* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImRect*" - }, - { - "name": "self", - "type": "ImGuiViewportP*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiViewportP_GetBuildWorkRect", - "defaults": {}, - "funcname": "GetBuildWorkRect", - "location": "imgui_internal:1749", - "nonUDT": 1, - "ov_cimguiname": "ImGuiViewportP_GetBuildWorkRect", - "ret": "void", - "signature": "()const", - "stname": "ImGuiViewportP" - } - ], - "ImGuiViewportP_GetMainRect": [ - { - "args": "(ImRect *pOut,ImGuiViewportP* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImRect*" - }, - { - "name": "self", - "type": "ImGuiViewportP*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiViewportP_GetMainRect", - "defaults": {}, - "funcname": "GetMainRect", - "location": "imgui_internal:1747", - "nonUDT": 1, - "ov_cimguiname": "ImGuiViewportP_GetMainRect", - "ret": "void", - "signature": "()const", - "stname": "ImGuiViewportP" - } - ], - "ImGuiViewportP_GetWorkRect": [ - { - "args": "(ImRect *pOut,ImGuiViewportP* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImRect*" - }, - { - "name": "self", - "type": "ImGuiViewportP*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiViewportP_GetWorkRect", - "defaults": {}, - "funcname": "GetWorkRect", - "location": "imgui_internal:1748", - "nonUDT": 1, - "ov_cimguiname": "ImGuiViewportP_GetWorkRect", - "ret": "void", - "signature": "()const", - "stname": "ImGuiViewportP" - } - ], - "ImGuiViewportP_ImGuiViewportP": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiViewportP_ImGuiViewportP", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiViewportP", - "location": "imgui_internal:1737", - "ov_cimguiname": "ImGuiViewportP_ImGuiViewportP", - "signature": "()", - "stname": "ImGuiViewportP" - } - ], - "ImGuiViewportP_UpdateWorkRect": [ - { - "args": "(ImGuiViewportP* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiViewportP*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiViewportP_UpdateWorkRect", - "defaults": {}, - "funcname": "UpdateWorkRect", - "location": "imgui_internal:1744", - "ov_cimguiname": "ImGuiViewportP_UpdateWorkRect", - "ret": "void", - "signature": "()", - "stname": "ImGuiViewportP" - } - ], - "ImGuiViewportP_destroy": [ - { - "args": "(ImGuiViewportP* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiViewportP*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiViewportP_destroy", - "defaults": {}, - "destructor": true, - "location": "imgui_internal:1738", - "ov_cimguiname": "ImGuiViewportP_destroy", - "realdestructor": true, - "ret": "void", - "signature": "(ImGuiViewportP*)", - "stname": "ImGuiViewportP" - } - ], - "ImGuiViewport_GetCenter": [ - { - "args": "(ImVec2 *pOut,ImGuiViewport* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "self", - "type": "ImGuiViewport*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiViewport_GetCenter", - "defaults": {}, - "funcname": "GetCenter", - "location": "imgui:3070", - "nonUDT": 1, - "ov_cimguiname": "ImGuiViewport_GetCenter", - "ret": "void", - "signature": "()const", - "stname": "ImGuiViewport" - } - ], - "ImGuiViewport_GetWorkCenter": [ - { - "args": "(ImVec2 *pOut,ImGuiViewport* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "self", - "type": "ImGuiViewport*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiViewport_GetWorkCenter", - "defaults": {}, - "funcname": "GetWorkCenter", - "location": "imgui:3071", - "nonUDT": 1, - "ov_cimguiname": "ImGuiViewport_GetWorkCenter", - "ret": "void", - "signature": "()const", - "stname": "ImGuiViewport" - } - ], - "ImGuiViewport_ImGuiViewport": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiViewport_ImGuiViewport", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiViewport", - "location": "imgui:3066", - "ov_cimguiname": "ImGuiViewport_ImGuiViewport", - "signature": "()", - "stname": "ImGuiViewport" - } - ], - "ImGuiViewport_destroy": [ - { - "args": "(ImGuiViewport* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiViewport*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiViewport_destroy", - "defaults": {}, - "destructor": true, - "location": "imgui:3067", - "ov_cimguiname": "ImGuiViewport_destroy", - "realdestructor": true, - "ret": "void", - "signature": "(ImGuiViewport*)", - "stname": "ImGuiViewport" - } - ], - "ImGuiWindowClass_ImGuiWindowClass": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiWindowClass_ImGuiWindowClass", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiWindowClass", - "location": "imgui:2219", - "ov_cimguiname": "ImGuiWindowClass_ImGuiWindowClass", - "signature": "()", - "stname": "ImGuiWindowClass" - } - ], - "ImGuiWindowClass_destroy": [ - { - "args": "(ImGuiWindowClass* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiWindowClass*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiWindowClass_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiWindowClass_destroy", - "ret": "void", - "signature": "(ImGuiWindowClass*)", - "stname": "ImGuiWindowClass" - } - ], - "ImGuiWindowSettings_GetName": [ - { - "args": "(ImGuiWindowSettings* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiWindowSettings*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiWindowSettings_GetName", - "defaults": {}, - "funcname": "GetName", - "location": "imgui_internal:1773", - "ov_cimguiname": "ImGuiWindowSettings_GetName", - "ret": "char*", - "signature": "()", - "stname": "ImGuiWindowSettings" - } - ], - "ImGuiWindowSettings_ImGuiWindowSettings": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiWindowSettings_ImGuiWindowSettings", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiWindowSettings", - "location": "imgui_internal:1772", - "ov_cimguiname": "ImGuiWindowSettings_ImGuiWindowSettings", - "signature": "()", - "stname": "ImGuiWindowSettings" - } - ], - "ImGuiWindowSettings_destroy": [ - { - "args": "(ImGuiWindowSettings* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiWindowSettings*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiWindowSettings_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImGuiWindowSettings_destroy", - "ret": "void", - "signature": "(ImGuiWindowSettings*)", - "stname": "ImGuiWindowSettings" - } - ], - "ImGuiWindow_CalcFontSize": [ - { - "args": "(ImGuiWindow* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiWindow_CalcFontSize", - "defaults": {}, - "funcname": "CalcFontSize", - "location": "imgui_internal:2561", - "ov_cimguiname": "ImGuiWindow_CalcFontSize", - "ret": "float", - "signature": "()const", - "stname": "ImGuiWindow" - } - ], - "ImGuiWindow_GetID": [ - { - "args": "(ImGuiWindow* self,const char* str,const char* str_end)", - "argsT": [ - { - "name": "self", - "type": "ImGuiWindow*" - }, - { - "name": "str", - "type": "const char*" - }, - { - "name": "str_end", - "type": "const char*" - } - ], - "argsoriginal": "(const char* str,const char* str_end=((void*)0))", - "call_args": "(str,str_end)", - "cimguiname": "ImGuiWindow_GetID", - "defaults": { - "str_end": "NULL" - }, - "funcname": "GetID", - "location": "imgui_internal:2554", - "ov_cimguiname": "ImGuiWindow_GetID_Str", - "ret": "ImGuiID", - "signature": "(const char*,const char*)", - "stname": "ImGuiWindow" - }, - { - "args": "(ImGuiWindow* self,const void* ptr)", - "argsT": [ - { - "name": "self", - "type": "ImGuiWindow*" - }, - { - "name": "ptr", - "type": "const void*" - } - ], - "argsoriginal": "(const void* ptr)", - "call_args": "(ptr)", - "cimguiname": "ImGuiWindow_GetID", - "defaults": {}, - "funcname": "GetID", - "location": "imgui_internal:2555", - "ov_cimguiname": "ImGuiWindow_GetID_Ptr", - "ret": "ImGuiID", - "signature": "(const void*)", - "stname": "ImGuiWindow" - }, - { - "args": "(ImGuiWindow* self,int n)", - "argsT": [ - { - "name": "self", - "type": "ImGuiWindow*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(int n)", - "call_args": "(n)", - "cimguiname": "ImGuiWindow_GetID", - "defaults": {}, - "funcname": "GetID", - "location": "imgui_internal:2556", - "ov_cimguiname": "ImGuiWindow_GetID_Int", - "ret": "ImGuiID", - "signature": "(int)", - "stname": "ImGuiWindow" - } - ], - "ImGuiWindow_GetIDFromRectangle": [ - { - "args": "(ImGuiWindow* self,const ImRect r_abs)", - "argsT": [ - { - "name": "self", - "type": "ImGuiWindow*" - }, - { - "name": "r_abs", - "type": "const ImRect" - } - ], - "argsoriginal": "(const ImRect& r_abs)", - "call_args": "(r_abs)", - "cimguiname": "ImGuiWindow_GetIDFromRectangle", - "defaults": {}, - "funcname": "GetIDFromRectangle", - "location": "imgui_internal:2557", - "ov_cimguiname": "ImGuiWindow_GetIDFromRectangle", - "ret": "ImGuiID", - "signature": "(const ImRect)", - "stname": "ImGuiWindow" - } - ], - "ImGuiWindow_ImGuiWindow": [ - { - "args": "(ImGuiContext* context,const char* name)", - "argsT": [ - { - "name": "context", - "type": "ImGuiContext*" - }, - { - "name": "name", - "type": "const char*" - } - ], - "argsoriginal": "(ImGuiContext* context,const char* name)", - "call_args": "(context,name)", - "cimguiname": "ImGuiWindow_ImGuiWindow", - "constructor": true, - "defaults": {}, - "funcname": "ImGuiWindow", - "location": "imgui_internal:2550", - "ov_cimguiname": "ImGuiWindow_ImGuiWindow", - "signature": "(ImGuiContext*,const char*)", - "stname": "ImGuiWindow" - } - ], - "ImGuiWindow_MenuBarHeight": [ - { - "args": "(ImGuiWindow* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiWindow_MenuBarHeight", - "defaults": {}, - "funcname": "MenuBarHeight", - "location": "imgui_internal:2564", - "ov_cimguiname": "ImGuiWindow_MenuBarHeight", - "ret": "float", - "signature": "()const", - "stname": "ImGuiWindow" - } - ], - "ImGuiWindow_MenuBarRect": [ - { - "args": "(ImRect *pOut,ImGuiWindow* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImRect*" - }, - { - "name": "self", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiWindow_MenuBarRect", - "defaults": {}, - "funcname": "MenuBarRect", - "location": "imgui_internal:2565", - "nonUDT": 1, - "ov_cimguiname": "ImGuiWindow_MenuBarRect", - "ret": "void", - "signature": "()const", - "stname": "ImGuiWindow" - } - ], - "ImGuiWindow_Rect": [ - { - "args": "(ImRect *pOut,ImGuiWindow* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImRect*" - }, - { - "name": "self", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiWindow_Rect", - "defaults": {}, - "funcname": "Rect", - "location": "imgui_internal:2560", - "nonUDT": 1, - "ov_cimguiname": "ImGuiWindow_Rect", - "ret": "void", - "signature": "()const", - "stname": "ImGuiWindow" - } - ], - "ImGuiWindow_TitleBarHeight": [ - { - "args": "(ImGuiWindow* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiWindow_TitleBarHeight", - "defaults": {}, - "funcname": "TitleBarHeight", - "location": "imgui_internal:2562", - "ov_cimguiname": "ImGuiWindow_TitleBarHeight", - "ret": "float", - "signature": "()const", - "stname": "ImGuiWindow" - } - ], - "ImGuiWindow_TitleBarRect": [ - { - "args": "(ImRect *pOut,ImGuiWindow* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImRect*" - }, - { - "name": "self", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImGuiWindow_TitleBarRect", - "defaults": {}, - "funcname": "TitleBarRect", - "location": "imgui_internal:2563", - "nonUDT": 1, - "ov_cimguiname": "ImGuiWindow_TitleBarRect", - "ret": "void", - "signature": "()const", - "stname": "ImGuiWindow" - } - ], - "ImGuiWindow_destroy": [ - { - "args": "(ImGuiWindow* self)", - "argsT": [ - { - "name": "self", - "type": "ImGuiWindow*" - } - ], - "call_args": "(self)", - "cimguiname": "ImGuiWindow_destroy", - "defaults": {}, - "destructor": true, - "location": "imgui_internal:2552", - "ov_cimguiname": "ImGuiWindow_destroy", - "realdestructor": true, - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "ImGuiWindow" - } - ], - "ImPool_Add": [ - { - "args": "(ImPool* self)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImPool_Add", - "defaults": {}, - "funcname": "Add", - "location": "imgui_internal:674", - "ov_cimguiname": "ImPool_Add", - "ret": "T*", - "signature": "()", - "stname": "ImPool", - "templated": true - } - ], - "ImPool_Clear": [ - { - "args": "(ImPool* self)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImPool_Clear", - "defaults": {}, - "funcname": "Clear", - "location": "imgui_internal:673", - "ov_cimguiname": "ImPool_Clear", - "ret": "void", - "signature": "()", - "stname": "ImPool", - "templated": true - } - ], - "ImPool_Contains": [ - { - "args": "(ImPool* self,const T* p)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - }, - { - "name": "p", - "type": "const T*" - } - ], - "argsoriginal": "(const T* p)", - "call_args": "(p)", - "cimguiname": "ImPool_Contains", - "defaults": {}, - "funcname": "Contains", - "location": "imgui_internal:672", - "ov_cimguiname": "ImPool_Contains", - "ret": "bool", - "signature": "(const T*)const", - "stname": "ImPool", - "templated": true - } - ], - "ImPool_GetAliveCount": [ - { - "args": "(ImPool* self)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImPool_GetAliveCount", - "defaults": {}, - "funcname": "GetAliveCount", - "location": "imgui_internal:681", - "ov_cimguiname": "ImPool_GetAliveCount", - "ret": "int", - "signature": "()const", - "stname": "ImPool", - "templated": true - } - ], - "ImPool_GetBufSize": [ - { - "args": "(ImPool* self)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImPool_GetBufSize", - "defaults": {}, - "funcname": "GetBufSize", - "location": "imgui_internal:682", - "ov_cimguiname": "ImPool_GetBufSize", - "ret": "int", - "signature": "()const", - "stname": "ImPool", - "templated": true - } - ], - "ImPool_GetByIndex": [ - { - "args": "(ImPool* self,ImPoolIdx n)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - }, - { - "name": "n", - "type": "ImPoolIdx" - } - ], - "argsoriginal": "(ImPoolIdx n)", - "call_args": "(n)", - "cimguiname": "ImPool_GetByIndex", - "defaults": {}, - "funcname": "GetByIndex", - "location": "imgui_internal:669", - "ov_cimguiname": "ImPool_GetByIndex", - "ret": "T*", - "signature": "(ImPoolIdx)", - "stname": "ImPool", - "templated": true - } - ], - "ImPool_GetByKey": [ - { - "args": "(ImPool* self,ImGuiID key)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - }, - { - "name": "key", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID key)", - "call_args": "(key)", - "cimguiname": "ImPool_GetByKey", - "defaults": {}, - "funcname": "GetByKey", - "location": "imgui_internal:668", - "ov_cimguiname": "ImPool_GetByKey", - "ret": "T*", - "signature": "(ImGuiID)", - "stname": "ImPool", - "templated": true - } - ], - "ImPool_GetIndex": [ - { - "args": "(ImPool* self,const T* p)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - }, - { - "name": "p", - "type": "const T*" - } - ], - "argsoriginal": "(const T* p)", - "call_args": "(p)", - "cimguiname": "ImPool_GetIndex", - "defaults": {}, - "funcname": "GetIndex", - "location": "imgui_internal:670", - "ov_cimguiname": "ImPool_GetIndex", - "ret": "ImPoolIdx", - "signature": "(const T*)const", - "stname": "ImPool", - "templated": true - } - ], - "ImPool_GetMapSize": [ - { - "args": "(ImPool* self)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImPool_GetMapSize", - "defaults": {}, - "funcname": "GetMapSize", - "location": "imgui_internal:683", - "ov_cimguiname": "ImPool_GetMapSize", - "ret": "int", - "signature": "()const", - "stname": "ImPool", - "templated": true - } - ], - "ImPool_GetOrAddByKey": [ - { - "args": "(ImPool* self,ImGuiID key)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - }, - { - "name": "key", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID key)", - "call_args": "(key)", - "cimguiname": "ImPool_GetOrAddByKey", - "defaults": {}, - "funcname": "GetOrAddByKey", - "location": "imgui_internal:671", - "ov_cimguiname": "ImPool_GetOrAddByKey", - "ret": "T*", - "signature": "(ImGuiID)", - "stname": "ImPool", - "templated": true - } - ], - "ImPool_ImPool": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImPool_ImPool", - "constructor": true, - "defaults": {}, - "funcname": "ImPool", - "location": "imgui_internal:666", - "ov_cimguiname": "ImPool_ImPool", - "signature": "()", - "stname": "ImPool", - "templated": true - } - ], - "ImPool_Remove": [ - { - "args": "(ImPool* self,ImGuiID key,const T* p)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - }, - { - "name": "key", - "type": "ImGuiID" - }, - { - "name": "p", - "type": "const T*" - } - ], - "argsoriginal": "(ImGuiID key,const T* p)", - "call_args": "(key,p)", - "cimguiname": "ImPool_Remove", - "defaults": {}, - "funcname": "Remove", - "location": "imgui_internal:675", - "ov_cimguiname": "ImPool_Remove_TPtr", - "ret": "void", - "signature": "(ImGuiID,const T*)", - "stname": "ImPool", - "templated": true - }, - { - "args": "(ImPool* self,ImGuiID key,ImPoolIdx idx)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - }, - { - "name": "key", - "type": "ImGuiID" - }, - { - "name": "idx", - "type": "ImPoolIdx" - } - ], - "argsoriginal": "(ImGuiID key,ImPoolIdx idx)", - "call_args": "(key,idx)", - "cimguiname": "ImPool_Remove", - "defaults": {}, - "funcname": "Remove", - "location": "imgui_internal:676", - "ov_cimguiname": "ImPool_Remove_PoolIdx", - "ret": "void", - "signature": "(ImGuiID,ImPoolIdx)", - "stname": "ImPool", - "templated": true - } - ], - "ImPool_Reserve": [ - { - "args": "(ImPool* self,int capacity)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - }, - { - "name": "capacity", - "type": "int" - } - ], - "argsoriginal": "(int capacity)", - "call_args": "(capacity)", - "cimguiname": "ImPool_Reserve", - "defaults": {}, - "funcname": "Reserve", - "location": "imgui_internal:677", - "ov_cimguiname": "ImPool_Reserve", - "ret": "void", - "signature": "(int)", - "stname": "ImPool", - "templated": true - } - ], - "ImPool_TryGetMapData": [ - { - "args": "(ImPool* self,ImPoolIdx n)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - }, - { - "name": "n", - "type": "ImPoolIdx" - } - ], - "argsoriginal": "(ImPoolIdx n)", - "call_args": "(n)", - "cimguiname": "ImPool_TryGetMapData", - "defaults": {}, - "funcname": "TryGetMapData", - "location": "imgui_internal:684", - "ov_cimguiname": "ImPool_TryGetMapData", - "ret": "T*", - "signature": "(ImPoolIdx)", - "stname": "ImPool", - "templated": true - } - ], - "ImPool_destroy": [ - { - "args": "(ImPool* self)", - "argsT": [ - { - "name": "self", - "type": "ImPool*" - } - ], - "call_args": "(self)", - "cimguiname": "ImPool_destroy", - "defaults": {}, - "destructor": true, - "location": "imgui_internal:667", - "ov_cimguiname": "ImPool_destroy", - "realdestructor": true, - "ret": "void", - "signature": "(ImPool*)", - "stname": "ImPool", - "templated": true - } - ], - "ImRect_Add": [ - { - "args": "(ImRect* self,const ImVec2 p)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - }, - { - "name": "p", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& p)", - "call_args": "(p)", - "cimguiname": "ImRect_Add", - "defaults": {}, - "funcname": "Add", - "location": "imgui_internal:543", - "ov_cimguiname": "ImRect_Add_Vec2", - "ret": "void", - "signature": "(const ImVec2)", - "stname": "ImRect" - }, - { - "args": "(ImRect* self,const ImRect r)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - }, - { - "name": "r", - "type": "const ImRect" - } - ], - "argsoriginal": "(const ImRect& r)", - "call_args": "(r)", - "cimguiname": "ImRect_Add", - "defaults": {}, - "funcname": "Add", - "location": "imgui_internal:544", - "ov_cimguiname": "ImRect_Add_Rect", - "ret": "void", - "signature": "(const ImRect)", - "stname": "ImRect" - } - ], - "ImRect_ClipWith": [ - { - "args": "(ImRect* self,const ImRect r)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - }, - { - "name": "r", - "type": "const ImRect" - } - ], - "argsoriginal": "(const ImRect& r)", - "call_args": "(r)", - "cimguiname": "ImRect_ClipWith", - "defaults": {}, - "funcname": "ClipWith", - "location": "imgui_internal:550", - "ov_cimguiname": "ImRect_ClipWith", - "ret": "void", - "signature": "(const ImRect)", - "stname": "ImRect" - } - ], - "ImRect_ClipWithFull": [ - { - "args": "(ImRect* self,const ImRect r)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - }, - { - "name": "r", - "type": "const ImRect" - } - ], - "argsoriginal": "(const ImRect& r)", - "call_args": "(r)", - "cimguiname": "ImRect_ClipWithFull", - "defaults": {}, - "funcname": "ClipWithFull", - "location": "imgui_internal:551", - "ov_cimguiname": "ImRect_ClipWithFull", - "ret": "void", - "signature": "(const ImRect)", - "stname": "ImRect" - } - ], - "ImRect_Contains": [ - { - "args": "(ImRect* self,const ImVec2 p)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - }, - { - "name": "p", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& p)", - "call_args": "(p)", - "cimguiname": "ImRect_Contains", - "defaults": {}, - "funcname": "Contains", - "location": "imgui_internal:540", - "ov_cimguiname": "ImRect_Contains_Vec2", - "ret": "bool", - "signature": "(const ImVec2)const", - "stname": "ImRect" - }, - { - "args": "(ImRect* self,const ImRect r)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - }, - { - "name": "r", - "type": "const ImRect" - } - ], - "argsoriginal": "(const ImRect& r)", - "call_args": "(r)", - "cimguiname": "ImRect_Contains", - "defaults": {}, - "funcname": "Contains", - "location": "imgui_internal:541", - "ov_cimguiname": "ImRect_Contains_Rect", - "ret": "bool", - "signature": "(const ImRect)const", - "stname": "ImRect" - } - ], - "ImRect_Expand": [ - { - "args": "(ImRect* self,const float amount)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - }, - { - "name": "amount", - "type": "const float" - } - ], - "argsoriginal": "(const float amount)", - "call_args": "(amount)", - "cimguiname": "ImRect_Expand", - "defaults": {}, - "funcname": "Expand", - "location": "imgui_internal:545", - "ov_cimguiname": "ImRect_Expand_Float", - "ret": "void", - "signature": "(const float)", - "stname": "ImRect" - }, - { - "args": "(ImRect* self,const ImVec2 amount)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - }, - { - "name": "amount", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& amount)", - "call_args": "(amount)", - "cimguiname": "ImRect_Expand", - "defaults": {}, - "funcname": "Expand", - "location": "imgui_internal:546", - "ov_cimguiname": "ImRect_Expand_Vec2", - "ret": "void", - "signature": "(const ImVec2)", - "stname": "ImRect" - } - ], - "ImRect_Floor": [ - { - "args": "(ImRect* self)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImRect_Floor", - "defaults": {}, - "funcname": "Floor", - "location": "imgui_internal:552", - "ov_cimguiname": "ImRect_Floor", - "ret": "void", - "signature": "()", - "stname": "ImRect" - } - ], - "ImRect_GetArea": [ - { - "args": "(ImRect* self)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImRect_GetArea", - "defaults": {}, - "funcname": "GetArea", - "location": "imgui_internal:535", - "ov_cimguiname": "ImRect_GetArea", - "ret": "float", - "signature": "()const", - "stname": "ImRect" - } - ], - "ImRect_GetBL": [ - { - "args": "(ImVec2 *pOut,ImRect* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "self", - "type": "ImRect*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImRect_GetBL", - "defaults": {}, - "funcname": "GetBL", - "location": "imgui_internal:538", - "nonUDT": 1, - "ov_cimguiname": "ImRect_GetBL", - "ret": "void", - "signature": "()const", - "stname": "ImRect" - } - ], - "ImRect_GetBR": [ - { - "args": "(ImVec2 *pOut,ImRect* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "self", - "type": "ImRect*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImRect_GetBR", - "defaults": {}, - "funcname": "GetBR", - "location": "imgui_internal:539", - "nonUDT": 1, - "ov_cimguiname": "ImRect_GetBR", - "ret": "void", - "signature": "()const", - "stname": "ImRect" - } - ], - "ImRect_GetCenter": [ - { - "args": "(ImVec2 *pOut,ImRect* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "self", - "type": "ImRect*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImRect_GetCenter", - "defaults": {}, - "funcname": "GetCenter", - "location": "imgui_internal:531", - "nonUDT": 1, - "ov_cimguiname": "ImRect_GetCenter", - "ret": "void", - "signature": "()const", - "stname": "ImRect" - } - ], - "ImRect_GetHeight": [ - { - "args": "(ImRect* self)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImRect_GetHeight", - "defaults": {}, - "funcname": "GetHeight", - "location": "imgui_internal:534", - "ov_cimguiname": "ImRect_GetHeight", - "ret": "float", - "signature": "()const", - "stname": "ImRect" - } - ], - "ImRect_GetSize": [ - { - "args": "(ImVec2 *pOut,ImRect* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "self", - "type": "ImRect*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImRect_GetSize", - "defaults": {}, - "funcname": "GetSize", - "location": "imgui_internal:532", - "nonUDT": 1, - "ov_cimguiname": "ImRect_GetSize", - "ret": "void", - "signature": "()const", - "stname": "ImRect" - } - ], - "ImRect_GetTL": [ - { - "args": "(ImVec2 *pOut,ImRect* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "self", - "type": "ImRect*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImRect_GetTL", - "defaults": {}, - "funcname": "GetTL", - "location": "imgui_internal:536", - "nonUDT": 1, - "ov_cimguiname": "ImRect_GetTL", - "ret": "void", - "signature": "()const", - "stname": "ImRect" - } - ], - "ImRect_GetTR": [ - { - "args": "(ImVec2 *pOut,ImRect* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "self", - "type": "ImRect*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImRect_GetTR", - "defaults": {}, - "funcname": "GetTR", - "location": "imgui_internal:537", - "nonUDT": 1, - "ov_cimguiname": "ImRect_GetTR", - "ret": "void", - "signature": "()const", - "stname": "ImRect" - } - ], - "ImRect_GetWidth": [ - { - "args": "(ImRect* self)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImRect_GetWidth", - "defaults": {}, - "funcname": "GetWidth", - "location": "imgui_internal:533", - "ov_cimguiname": "ImRect_GetWidth", - "ret": "float", - "signature": "()const", - "stname": "ImRect" - } - ], - "ImRect_ImRect": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImRect_ImRect", - "constructor": true, - "defaults": {}, - "funcname": "ImRect", - "location": "imgui_internal:526", - "ov_cimguiname": "ImRect_ImRect_Nil", - "signature": "()", - "stname": "ImRect" - }, - { - "args": "(const ImVec2 min,const ImVec2 max)", - "argsT": [ - { - "name": "min", - "type": "const ImVec2" - }, - { - "name": "max", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& min,const ImVec2& max)", - "call_args": "(min,max)", - "cimguiname": "ImRect_ImRect", - "constructor": true, - "defaults": {}, - "funcname": "ImRect", - "location": "imgui_internal:527", - "ov_cimguiname": "ImRect_ImRect_Vec2", - "signature": "(const ImVec2,const ImVec2)", - "stname": "ImRect" - }, - { - "args": "(const ImVec4 v)", - "argsT": [ - { - "name": "v", - "type": "const ImVec4" - } - ], - "argsoriginal": "(const ImVec4& v)", - "call_args": "(v)", - "cimguiname": "ImRect_ImRect", - "constructor": true, - "defaults": {}, - "funcname": "ImRect", - "location": "imgui_internal:528", - "ov_cimguiname": "ImRect_ImRect_Vec4", - "signature": "(const ImVec4)", - "stname": "ImRect" - }, - { - "args": "(float x1,float y1,float x2,float y2)", - "argsT": [ - { - "name": "x1", - "type": "float" - }, - { - "name": "y1", - "type": "float" - }, - { - "name": "x2", - "type": "float" - }, - { - "name": "y2", - "type": "float" - } - ], - "argsoriginal": "(float x1,float y1,float x2,float y2)", - "call_args": "(x1,y1,x2,y2)", - "cimguiname": "ImRect_ImRect", - "constructor": true, - "defaults": {}, - "funcname": "ImRect", - "location": "imgui_internal:529", - "ov_cimguiname": "ImRect_ImRect_Float", - "signature": "(float,float,float,float)", - "stname": "ImRect" - } - ], - "ImRect_IsInverted": [ - { - "args": "(ImRect* self)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImRect_IsInverted", - "defaults": {}, - "funcname": "IsInverted", - "location": "imgui_internal:553", - "ov_cimguiname": "ImRect_IsInverted", - "ret": "bool", - "signature": "()const", - "stname": "ImRect" - } - ], - "ImRect_Overlaps": [ - { - "args": "(ImRect* self,const ImRect r)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - }, - { - "name": "r", - "type": "const ImRect" - } - ], - "argsoriginal": "(const ImRect& r)", - "call_args": "(r)", - "cimguiname": "ImRect_Overlaps", - "defaults": {}, - "funcname": "Overlaps", - "location": "imgui_internal:542", - "ov_cimguiname": "ImRect_Overlaps", - "ret": "bool", - "signature": "(const ImRect)const", - "stname": "ImRect" - } - ], - "ImRect_ToVec4": [ - { - "args": "(ImVec4 *pOut,ImRect* self)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec4*" - }, - { - "name": "self", - "type": "ImRect*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImRect_ToVec4", - "defaults": {}, - "funcname": "ToVec4", - "location": "imgui_internal:554", - "nonUDT": 1, - "ov_cimguiname": "ImRect_ToVec4", - "ret": "void", - "signature": "()const", - "stname": "ImRect" - } - ], - "ImRect_Translate": [ - { - "args": "(ImRect* self,const ImVec2 d)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - }, - { - "name": "d", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& d)", - "call_args": "(d)", - "cimguiname": "ImRect_Translate", - "defaults": {}, - "funcname": "Translate", - "location": "imgui_internal:547", - "ov_cimguiname": "ImRect_Translate", - "ret": "void", - "signature": "(const ImVec2)", - "stname": "ImRect" - } - ], - "ImRect_TranslateX": [ - { - "args": "(ImRect* self,float dx)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - }, - { - "name": "dx", - "type": "float" - } - ], - "argsoriginal": "(float dx)", - "call_args": "(dx)", - "cimguiname": "ImRect_TranslateX", - "defaults": {}, - "funcname": "TranslateX", - "location": "imgui_internal:548", - "ov_cimguiname": "ImRect_TranslateX", - "ret": "void", - "signature": "(float)", - "stname": "ImRect" - } - ], - "ImRect_TranslateY": [ - { - "args": "(ImRect* self,float dy)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - }, - { - "name": "dy", - "type": "float" - } - ], - "argsoriginal": "(float dy)", - "call_args": "(dy)", - "cimguiname": "ImRect_TranslateY", - "defaults": {}, - "funcname": "TranslateY", - "location": "imgui_internal:549", - "ov_cimguiname": "ImRect_TranslateY", - "ret": "void", - "signature": "(float)", - "stname": "ImRect" - } - ], - "ImRect_destroy": [ - { - "args": "(ImRect* self)", - "argsT": [ - { - "name": "self", - "type": "ImRect*" - } - ], - "call_args": "(self)", - "cimguiname": "ImRect_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImRect_destroy", - "ret": "void", - "signature": "(ImRect*)", - "stname": "ImRect" - } - ], - "ImSpanAllocator_GetArenaSizeInBytes": [ - { - "args": "(ImSpanAllocator* self)", - "argsT": [ - { - "name": "self", - "type": "ImSpanAllocator*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImSpanAllocator_GetArenaSizeInBytes", - "defaults": {}, - "funcname": "GetArenaSizeInBytes", - "location": "imgui_internal:646", - "ov_cimguiname": "ImSpanAllocator_GetArenaSizeInBytes", - "ret": "int", - "signature": "()", - "stname": "ImSpanAllocator", - "templated": true - } - ], - "ImSpanAllocator_GetSpanPtrBegin": [ - { - "args": "(ImSpanAllocator* self,int n)", - "argsT": [ - { - "name": "self", - "type": "ImSpanAllocator*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(int n)", - "call_args": "(n)", - "cimguiname": "ImSpanAllocator_GetSpanPtrBegin", - "defaults": {}, - "funcname": "GetSpanPtrBegin", - "location": "imgui_internal:648", - "ov_cimguiname": "ImSpanAllocator_GetSpanPtrBegin", - "ret": "void*", - "signature": "(int)", - "stname": "ImSpanAllocator", - "templated": true - } - ], - "ImSpanAllocator_GetSpanPtrEnd": [ - { - "args": "(ImSpanAllocator* self,int n)", - "argsT": [ - { - "name": "self", - "type": "ImSpanAllocator*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(int n)", - "call_args": "(n)", - "cimguiname": "ImSpanAllocator_GetSpanPtrEnd", - "defaults": {}, - "funcname": "GetSpanPtrEnd", - "location": "imgui_internal:649", - "ov_cimguiname": "ImSpanAllocator_GetSpanPtrEnd", - "ret": "void*", - "signature": "(int)", - "stname": "ImSpanAllocator", - "templated": true - } - ], - "ImSpanAllocator_ImSpanAllocator": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImSpanAllocator_ImSpanAllocator", - "constructor": true, - "defaults": {}, - "funcname": "ImSpanAllocator", - "location": "imgui_internal:644", - "ov_cimguiname": "ImSpanAllocator_ImSpanAllocator", - "signature": "()", - "stname": "ImSpanAllocator", - "templated": true - } - ], - "ImSpanAllocator_Reserve": [ - { - "args": "(ImSpanAllocator* self,int n,size_t sz,int a)", - "argsT": [ - { - "name": "self", - "type": "ImSpanAllocator*" - }, - { - "name": "n", - "type": "int" - }, - { - "name": "sz", - "type": "size_t" - }, - { - "name": "a", - "type": "int" - } - ], - "argsoriginal": "(int n,size_t sz,int a=4)", - "call_args": "(n,sz,a)", - "cimguiname": "ImSpanAllocator_Reserve", - "defaults": { - "a": "4" - }, - "funcname": "Reserve", - "location": "imgui_internal:645", - "ov_cimguiname": "ImSpanAllocator_Reserve", - "ret": "void", - "signature": "(int,size_t,int)", - "stname": "ImSpanAllocator", - "templated": true - } - ], - "ImSpanAllocator_SetArenaBasePtr": [ - { - "args": "(ImSpanAllocator* self,void* base_ptr)", - "argsT": [ - { - "name": "self", - "type": "ImSpanAllocator*" - }, - { - "name": "base_ptr", - "type": "void*" - } - ], - "argsoriginal": "(void* base_ptr)", - "call_args": "(base_ptr)", - "cimguiname": "ImSpanAllocator_SetArenaBasePtr", - "defaults": {}, - "funcname": "SetArenaBasePtr", - "location": "imgui_internal:647", - "ov_cimguiname": "ImSpanAllocator_SetArenaBasePtr", - "ret": "void", - "signature": "(void*)", - "stname": "ImSpanAllocator", - "templated": true - } - ], - "ImSpanAllocator_destroy": [ - { - "args": "(ImSpanAllocator* self)", - "argsT": [ - { - "name": "self", - "type": "ImSpanAllocator*" - } - ], - "call_args": "(self)", - "cimguiname": "ImSpanAllocator_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImSpanAllocator_destroy", - "ret": "void", - "signature": "(ImSpanAllocator*)", - "stname": "ImSpanAllocator", - "templated": true - } - ], - "ImSpan_ImSpan": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImSpan_ImSpan", - "constructor": true, - "defaults": {}, - "funcname": "ImSpan", - "location": "imgui_internal:612", - "ov_cimguiname": "ImSpan_ImSpan_Nil", - "signature": "()", - "stname": "ImSpan", - "templated": true - }, - { - "args": "(T* data,int size)", - "argsT": [ - { - "name": "data", - "type": "T*" - }, - { - "name": "size", - "type": "int" - } - ], - "argsoriginal": "(T* data,int size)", - "call_args": "(data,size)", - "cimguiname": "ImSpan_ImSpan", - "constructor": true, - "defaults": {}, - "funcname": "ImSpan", - "location": "imgui_internal:613", - "ov_cimguiname": "ImSpan_ImSpan_TPtrInt", - "signature": "(T*,int)", - "stname": "ImSpan", - "templated": true - }, - { - "args": "(T* data,T* data_end)", - "argsT": [ - { - "name": "data", - "type": "T*" - }, - { - "name": "data_end", - "type": "T*" - } - ], - "argsoriginal": "(T* data,T* data_end)", - "call_args": "(data,data_end)", - "cimguiname": "ImSpan_ImSpan", - "constructor": true, - "defaults": {}, - "funcname": "ImSpan", - "location": "imgui_internal:614", - "ov_cimguiname": "ImSpan_ImSpan_TPtrTPtr", - "signature": "(T*,T*)", - "stname": "ImSpan", - "templated": true - } - ], - "ImSpan_begin": [ - { - "args": "(ImSpan* self)", - "argsT": [ - { - "name": "self", - "type": "ImSpan*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImSpan_begin", - "defaults": {}, - "funcname": "begin", - "location": "imgui_internal:623", - "ov_cimguiname": "ImSpan_begin_Nil", - "ret": "T*", - "signature": "()", - "stname": "ImSpan", - "templated": true - }, - { - "args": "(ImSpan* self)", - "argsT": [ - { - "name": "self", - "type": "ImSpan*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImSpan_begin", - "defaults": {}, - "funcname": "begin", - "location": "imgui_internal:624", - "ov_cimguiname": "ImSpan_begin__const", - "ret": "const T*", - "signature": "()const", - "stname": "ImSpan", - "templated": true - } - ], - "ImSpan_destroy": [ - { - "args": "(ImSpan* self)", - "argsT": [ - { - "name": "self", - "type": "ImSpan*" - } - ], - "call_args": "(self)", - "cimguiname": "ImSpan_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImSpan_destroy", - "ret": "void", - "signature": "(ImSpan*)", - "stname": "ImSpan", - "templated": true - } - ], - "ImSpan_end": [ - { - "args": "(ImSpan* self)", - "argsT": [ - { - "name": "self", - "type": "ImSpan*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImSpan_end", - "defaults": {}, - "funcname": "end", - "location": "imgui_internal:625", - "ov_cimguiname": "ImSpan_end_Nil", - "ret": "T*", - "signature": "()", - "stname": "ImSpan", - "templated": true - }, - { - "args": "(ImSpan* self)", - "argsT": [ - { - "name": "self", - "type": "ImSpan*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImSpan_end", - "defaults": {}, - "funcname": "end", - "location": "imgui_internal:626", - "ov_cimguiname": "ImSpan_end__const", - "ret": "const T*", - "signature": "()const", - "stname": "ImSpan", - "templated": true - } - ], - "ImSpan_index_from_ptr": [ - { - "args": "(ImSpan* self,const T* it)", - "argsT": [ - { - "name": "self", - "type": "ImSpan*" - }, - { - "name": "it", - "type": "const T*" - } - ], - "argsoriginal": "(const T* it)", - "call_args": "(it)", - "cimguiname": "ImSpan_index_from_ptr", - "defaults": {}, - "funcname": "index_from_ptr", - "location": "imgui_internal:629", - "ov_cimguiname": "ImSpan_index_from_ptr", - "ret": "int", - "signature": "(const T*)const", - "stname": "ImSpan", - "templated": true - } - ], - "ImSpan_set": [ - { - "args": "(ImSpan* self,T* data,int size)", - "argsT": [ - { - "name": "self", - "type": "ImSpan*" - }, - { - "name": "data", - "type": "T*" - }, - { - "name": "size", - "type": "int" - } - ], - "argsoriginal": "(T* data,int size)", - "call_args": "(data,size)", - "cimguiname": "ImSpan_set", - "defaults": {}, - "funcname": "set", - "location": "imgui_internal:616", - "ov_cimguiname": "ImSpan_set_Int", - "ret": "void", - "signature": "(T*,int)", - "stname": "ImSpan", - "templated": true - }, - { - "args": "(ImSpan* self,T* data,T* data_end)", - "argsT": [ - { - "name": "self", - "type": "ImSpan*" - }, - { - "name": "data", - "type": "T*" - }, - { - "name": "data_end", - "type": "T*" - } - ], - "argsoriginal": "(T* data,T* data_end)", - "call_args": "(data,data_end)", - "cimguiname": "ImSpan_set", - "defaults": {}, - "funcname": "set", - "location": "imgui_internal:617", - "ov_cimguiname": "ImSpan_set_TPtr", - "ret": "void", - "signature": "(T*,T*)", - "stname": "ImSpan", - "templated": true - } - ], - "ImSpan_size": [ - { - "args": "(ImSpan* self)", - "argsT": [ - { - "name": "self", - "type": "ImSpan*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImSpan_size", - "defaults": {}, - "funcname": "size", - "location": "imgui_internal:618", - "ov_cimguiname": "ImSpan_size", - "ret": "int", - "signature": "()const", - "stname": "ImSpan", - "templated": true - } - ], - "ImSpan_size_in_bytes": [ - { - "args": "(ImSpan* self)", - "argsT": [ - { - "name": "self", - "type": "ImSpan*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImSpan_size_in_bytes", - "defaults": {}, - "funcname": "size_in_bytes", - "location": "imgui_internal:619", - "ov_cimguiname": "ImSpan_size_in_bytes", - "ret": "int", - "signature": "()const", - "stname": "ImSpan", - "templated": true - } - ], - "ImVec1_ImVec1": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVec1_ImVec1", - "constructor": true, - "defaults": {}, - "funcname": "ImVec1", - "location": "imgui_internal:506", - "ov_cimguiname": "ImVec1_ImVec1_Nil", - "signature": "()", - "stname": "ImVec1" - }, - { - "args": "(float _x)", - "argsT": [ - { - "name": "_x", - "type": "float" - } - ], - "argsoriginal": "(float _x)", - "call_args": "(_x)", - "cimguiname": "ImVec1_ImVec1", - "constructor": true, - "defaults": {}, - "funcname": "ImVec1", - "location": "imgui_internal:507", - "ov_cimguiname": "ImVec1_ImVec1_Float", - "signature": "(float)", - "stname": "ImVec1" - } - ], - "ImVec1_destroy": [ - { - "args": "(ImVec1* self)", - "argsT": [ - { - "name": "self", - "type": "ImVec1*" - } - ], - "call_args": "(self)", - "cimguiname": "ImVec1_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImVec1_destroy", - "ret": "void", - "signature": "(ImVec1*)", - "stname": "ImVec1" - } - ], - "ImVec2_ImVec2": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVec2_ImVec2", - "constructor": true, - "defaults": {}, - "funcname": "ImVec2", - "location": "imgui:262", - "ov_cimguiname": "ImVec2_ImVec2_Nil", - "signature": "()", - "stname": "ImVec2" - }, - { - "args": "(float _x,float _y)", - "argsT": [ - { - "name": "_x", - "type": "float" - }, - { - "name": "_y", - "type": "float" - } - ], - "argsoriginal": "(float _x,float _y)", - "call_args": "(_x,_y)", - "cimguiname": "ImVec2_ImVec2", - "constructor": true, - "defaults": {}, - "funcname": "ImVec2", - "location": "imgui:263", - "ov_cimguiname": "ImVec2_ImVec2_Float", - "signature": "(float,float)", - "stname": "ImVec2" - } - ], - "ImVec2_destroy": [ - { - "args": "(ImVec2* self)", - "argsT": [ - { - "name": "self", - "type": "ImVec2*" - } - ], - "call_args": "(self)", - "cimguiname": "ImVec2_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImVec2_destroy", - "ret": "void", - "signature": "(ImVec2*)", - "stname": "ImVec2" - } - ], - "ImVec2ih_ImVec2ih": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVec2ih_ImVec2ih", - "constructor": true, - "defaults": {}, - "funcname": "ImVec2ih", - "location": "imgui_internal:514", - "ov_cimguiname": "ImVec2ih_ImVec2ih_Nil", - "signature": "()", - "stname": "ImVec2ih" - }, - { - "args": "(short _x,short _y)", - "argsT": [ - { - "name": "_x", - "type": "short" - }, - { - "name": "_y", - "type": "short" - } - ], - "argsoriginal": "(short _x,short _y)", - "call_args": "(_x,_y)", - "cimguiname": "ImVec2ih_ImVec2ih", - "constructor": true, - "defaults": {}, - "funcname": "ImVec2ih", - "location": "imgui_internal:515", - "ov_cimguiname": "ImVec2ih_ImVec2ih_short", - "signature": "(short,short)", - "stname": "ImVec2ih" - }, - { - "args": "(const ImVec2 rhs)", - "argsT": [ - { - "name": "rhs", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& rhs)", - "call_args": "(rhs)", - "cimguiname": "ImVec2ih_ImVec2ih", - "constructor": true, - "defaults": {}, - "funcname": "ImVec2ih", - "location": "imgui_internal:516", - "ov_cimguiname": "ImVec2ih_ImVec2ih_Vec2", - "signature": "(const ImVec2)", - "stname": "ImVec2ih" - } - ], - "ImVec2ih_destroy": [ - { - "args": "(ImVec2ih* self)", - "argsT": [ - { - "name": "self", - "type": "ImVec2ih*" - } - ], - "call_args": "(self)", - "cimguiname": "ImVec2ih_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImVec2ih_destroy", - "ret": "void", - "signature": "(ImVec2ih*)", - "stname": "ImVec2ih" - } - ], - "ImVec4_ImVec4": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVec4_ImVec4", - "constructor": true, - "defaults": {}, - "funcname": "ImVec4", - "location": "imgui:275", - "ov_cimguiname": "ImVec4_ImVec4_Nil", - "signature": "()", - "stname": "ImVec4" - }, - { - "args": "(float _x,float _y,float _z,float _w)", - "argsT": [ - { - "name": "_x", - "type": "float" - }, - { - "name": "_y", - "type": "float" - }, - { - "name": "_z", - "type": "float" - }, - { - "name": "_w", - "type": "float" - } - ], - "argsoriginal": "(float _x,float _y,float _z,float _w)", - "call_args": "(_x,_y,_z,_w)", - "cimguiname": "ImVec4_ImVec4", - "constructor": true, - "defaults": {}, - "funcname": "ImVec4", - "location": "imgui:276", - "ov_cimguiname": "ImVec4_ImVec4_Float", - "signature": "(float,float,float,float)", - "stname": "ImVec4" - } - ], - "ImVec4_destroy": [ - { - "args": "(ImVec4* self)", - "argsT": [ - { - "name": "self", - "type": "ImVec4*" - } - ], - "call_args": "(self)", - "cimguiname": "ImVec4_destroy", - "defaults": {}, - "destructor": true, - "ov_cimguiname": "ImVec4_destroy", - "ret": "void", - "signature": "(ImVec4*)", - "stname": "ImVec4" - } - ], - "ImVector_ImVector": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_ImVector", - "constructor": true, - "defaults": {}, - "funcname": "ImVector", - "location": "imgui:1850", - "ov_cimguiname": "ImVector_ImVector_Nil", - "signature": "()", - "stname": "ImVector", - "templated": true - }, - { - "args": "(const ImVector_T src)", - "argsT": [ - { - "name": "src", - "type": "const ImVector_T " - } - ], - "argsoriginal": "(const ImVector& src)", - "call_args": "(src)", - "cimguiname": "ImVector_ImVector", - "constructor": true, - "defaults": {}, - "funcname": "ImVector", - "location": "imgui:1851", - "ov_cimguiname": "ImVector_ImVector_Vector_T_", - "signature": "(const ImVector_T )", - "stname": "ImVector", - "templated": true - } - ], - "ImVector__grow_capacity": [ - { - "args": "(ImVector* self,int sz)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "sz", - "type": "int" - } - ], - "argsoriginal": "(int sz)", - "call_args": "(sz)", - "cimguiname": "ImVector__grow_capacity", - "defaults": {}, - "funcname": "_grow_capacity", - "location": "imgui:1877", - "ov_cimguiname": "ImVector__grow_capacity", - "ret": "int", - "signature": "(int)const", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_back": [ - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_back", - "defaults": {}, - "funcname": "back", - "location": "imgui:1873", - "ov_cimguiname": "ImVector_back_Nil", - "ret": "T*", - "retref": "&", - "signature": "()", - "stname": "ImVector", - "templated": true - }, - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_back", - "defaults": {}, - "funcname": "back", - "location": "imgui:1874", - "ov_cimguiname": "ImVector_back__const", - "ret": "const T*", - "retref": "&", - "signature": "()const", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_begin": [ - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_begin", - "defaults": {}, - "funcname": "begin", - "location": "imgui:1867", - "ov_cimguiname": "ImVector_begin_Nil", - "ret": "T*", - "signature": "()", - "stname": "ImVector", - "templated": true - }, - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_begin", - "defaults": {}, - "funcname": "begin", - "location": "imgui:1868", - "ov_cimguiname": "ImVector_begin__const", - "ret": "const T*", - "signature": "()const", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_capacity": [ - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_capacity", - "defaults": {}, - "funcname": "capacity", - "location": "imgui:1863", - "ov_cimguiname": "ImVector_capacity", - "ret": "int", - "signature": "()const", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_clear": [ - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_clear", - "defaults": {}, - "funcname": "clear", - "location": "imgui:1855", - "ov_cimguiname": "ImVector_clear", - "ret": "void", - "signature": "()", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_clear_delete": [ - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_clear_delete", - "defaults": {}, - "funcname": "clear_delete", - "location": "imgui:1856", - "ov_cimguiname": "ImVector_clear_delete", - "ret": "void", - "signature": "()", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_clear_destruct": [ - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_clear_destruct", - "defaults": {}, - "funcname": "clear_destruct", - "location": "imgui:1857", - "ov_cimguiname": "ImVector_clear_destruct", - "ret": "void", - "signature": "()", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_contains": [ - { - "args": "(ImVector* self,const T v)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "v", - "type": "const T" - } - ], - "argsoriginal": "(const T& v)", - "call_args": "(v)", - "cimguiname": "ImVector_contains", - "defaults": {}, - "funcname": "contains", - "location": "imgui:1892", - "ov_cimguiname": "ImVector_contains", - "ret": "bool", - "signature": "(const T)const", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_destroy": [ - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "call_args": "(self)", - "cimguiname": "ImVector_destroy", - "defaults": {}, - "destructor": true, - "location": "imgui:1853", - "ov_cimguiname": "ImVector_destroy", - "realdestructor": true, - "ret": "void", - "signature": "(ImVector*)", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_empty": [ - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_empty", - "defaults": {}, - "funcname": "empty", - "location": "imgui:1859", - "ov_cimguiname": "ImVector_empty", - "ret": "bool", - "signature": "()const", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_end": [ - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_end", - "defaults": {}, - "funcname": "end", - "location": "imgui:1869", - "ov_cimguiname": "ImVector_end_Nil", - "ret": "T*", - "signature": "()", - "stname": "ImVector", - "templated": true - }, - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_end", - "defaults": {}, - "funcname": "end", - "location": "imgui:1870", - "ov_cimguiname": "ImVector_end__const", - "ret": "const T*", - "signature": "()const", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_erase": [ - { - "args": "(ImVector* self,const T* it)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "it", - "type": "const T*" - } - ], - "argsoriginal": "(const T* it)", - "call_args": "(it)", - "cimguiname": "ImVector_erase", - "defaults": {}, - "funcname": "erase", - "location": "imgui:1888", - "ov_cimguiname": "ImVector_erase_Nil", - "ret": "T*", - "signature": "(const T*)", - "stname": "ImVector", - "templated": true - }, - { - "args": "(ImVector* self,const T* it,const T* it_last)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "it", - "type": "const T*" - }, - { - "name": "it_last", - "type": "const T*" - } - ], - "argsoriginal": "(const T* it,const T* it_last)", - "call_args": "(it,it_last)", - "cimguiname": "ImVector_erase", - "defaults": {}, - "funcname": "erase", - "location": "imgui:1889", - "ov_cimguiname": "ImVector_erase_TPtr", - "ret": "T*", - "signature": "(const T*,const T*)", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_erase_unsorted": [ - { - "args": "(ImVector* self,const T* it)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "it", - "type": "const T*" - } - ], - "argsoriginal": "(const T* it)", - "call_args": "(it)", - "cimguiname": "ImVector_erase_unsorted", - "defaults": {}, - "funcname": "erase_unsorted", - "location": "imgui:1890", - "ov_cimguiname": "ImVector_erase_unsorted", - "ret": "T*", - "signature": "(const T*)", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_find": [ - { - "args": "(ImVector* self,const T v)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "v", - "type": "const T" - } - ], - "argsoriginal": "(const T& v)", - "call_args": "(v)", - "cimguiname": "ImVector_find", - "defaults": {}, - "funcname": "find", - "location": "imgui:1893", - "ov_cimguiname": "ImVector_find_Nil", - "ret": "T*", - "signature": "(const T)", - "stname": "ImVector", - "templated": true - }, - { - "args": "(ImVector* self,const T v)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "v", - "type": "const T" - } - ], - "argsoriginal": "(const T& v)", - "call_args": "(v)", - "cimguiname": "ImVector_find", - "defaults": {}, - "funcname": "find", - "location": "imgui:1894", - "ov_cimguiname": "ImVector_find__const", - "ret": "const T*", - "signature": "(const T)const", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_find_erase": [ - { - "args": "(ImVector* self,const T v)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "v", - "type": "const T" - } - ], - "argsoriginal": "(const T& v)", - "call_args": "(v)", - "cimguiname": "ImVector_find_erase", - "defaults": {}, - "funcname": "find_erase", - "location": "imgui:1895", - "ov_cimguiname": "ImVector_find_erase", - "ret": "bool", - "signature": "(const T)", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_find_erase_unsorted": [ - { - "args": "(ImVector* self,const T v)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "v", - "type": "const T" - } - ], - "argsoriginal": "(const T& v)", - "call_args": "(v)", - "cimguiname": "ImVector_find_erase_unsorted", - "defaults": {}, - "funcname": "find_erase_unsorted", - "location": "imgui:1896", - "ov_cimguiname": "ImVector_find_erase_unsorted", - "ret": "bool", - "signature": "(const T)", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_front": [ - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_front", - "defaults": {}, - "funcname": "front", - "location": "imgui:1871", - "ov_cimguiname": "ImVector_front_Nil", - "ret": "T*", - "retref": "&", - "signature": "()", - "stname": "ImVector", - "templated": true - }, - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_front", - "defaults": {}, - "funcname": "front", - "location": "imgui:1872", - "ov_cimguiname": "ImVector_front__const", - "ret": "const T*", - "retref": "&", - "signature": "()const", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_index_from_ptr": [ - { - "args": "(ImVector* self,const T* it)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "it", - "type": "const T*" - } - ], - "argsoriginal": "(const T* it)", - "call_args": "(it)", - "cimguiname": "ImVector_index_from_ptr", - "defaults": {}, - "funcname": "index_from_ptr", - "location": "imgui:1897", - "ov_cimguiname": "ImVector_index_from_ptr", - "ret": "int", - "signature": "(const T*)const", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_insert": [ - { - "args": "(ImVector* self,const T* it,const T v)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "it", - "type": "const T*" - }, - { - "name": "v", - "type": "const T" - } - ], - "argsoriginal": "(const T* it,const T& v)", - "call_args": "(it,v)", - "cimguiname": "ImVector_insert", - "defaults": {}, - "funcname": "insert", - "location": "imgui:1891", - "ov_cimguiname": "ImVector_insert", - "ret": "T*", - "signature": "(const T*,const T)", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_max_size": [ - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_max_size", - "defaults": {}, - "funcname": "max_size", - "location": "imgui:1862", - "ov_cimguiname": "ImVector_max_size", - "ret": "int", - "signature": "()const", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_pop_back": [ - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_pop_back", - "defaults": {}, - "funcname": "pop_back", - "location": "imgui:1886", - "ov_cimguiname": "ImVector_pop_back", - "ret": "void", - "signature": "()", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_push_back": [ - { - "args": "(ImVector* self,const T v)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "v", - "type": "const T" - } - ], - "argsoriginal": "(const T& v)", - "call_args": "(v)", - "cimguiname": "ImVector_push_back", - "defaults": {}, - "funcname": "push_back", - "location": "imgui:1885", - "ov_cimguiname": "ImVector_push_back", - "ret": "void", - "signature": "(const T)", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_push_front": [ - { - "args": "(ImVector* self,const T v)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "v", - "type": "const T" - } - ], - "argsoriginal": "(const T& v)", - "call_args": "(v)", - "cimguiname": "ImVector_push_front", - "defaults": {}, - "funcname": "push_front", - "location": "imgui:1887", - "ov_cimguiname": "ImVector_push_front", - "ret": "void", - "signature": "(const T)", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_reserve": [ - { - "args": "(ImVector* self,int new_capacity)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "new_capacity", - "type": "int" - } - ], - "argsoriginal": "(int new_capacity)", - "call_args": "(new_capacity)", - "cimguiname": "ImVector_reserve", - "defaults": {}, - "funcname": "reserve", - "location": "imgui:1881", - "ov_cimguiname": "ImVector_reserve", - "ret": "void", - "signature": "(int)", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_reserve_discard": [ - { - "args": "(ImVector* self,int new_capacity)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "new_capacity", - "type": "int" - } - ], - "argsoriginal": "(int new_capacity)", - "call_args": "(new_capacity)", - "cimguiname": "ImVector_reserve_discard", - "defaults": {}, - "funcname": "reserve_discard", - "location": "imgui:1882", - "ov_cimguiname": "ImVector_reserve_discard", - "ret": "void", - "signature": "(int)", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_resize": [ - { - "args": "(ImVector* self,int new_size)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "new_size", - "type": "int" - } - ], - "argsoriginal": "(int new_size)", - "call_args": "(new_size)", - "cimguiname": "ImVector_resize", - "defaults": {}, - "funcname": "resize", - "location": "imgui:1878", - "ov_cimguiname": "ImVector_resize_Nil", - "ret": "void", - "signature": "(int)", - "stname": "ImVector", - "templated": true - }, - { - "args": "(ImVector* self,int new_size,const T v)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "new_size", - "type": "int" - }, - { - "name": "v", - "type": "const T" - } - ], - "argsoriginal": "(int new_size,const T& v)", - "call_args": "(new_size,v)", - "cimguiname": "ImVector_resize", - "defaults": {}, - "funcname": "resize", - "location": "imgui:1879", - "ov_cimguiname": "ImVector_resize_T", - "ret": "void", - "signature": "(int,const T)", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_shrink": [ - { - "args": "(ImVector* self,int new_size)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "new_size", - "type": "int" - } - ], - "argsoriginal": "(int new_size)", - "call_args": "(new_size)", - "cimguiname": "ImVector_shrink", - "defaults": {}, - "funcname": "shrink", - "location": "imgui:1880", - "ov_cimguiname": "ImVector_shrink", - "ret": "void", - "signature": "(int)", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_size": [ - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_size", - "defaults": {}, - "funcname": "size", - "location": "imgui:1860", - "ov_cimguiname": "ImVector_size", - "ret": "int", - "signature": "()const", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_size_in_bytes": [ - { - "args": "(ImVector* self)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImVector_size_in_bytes", - "defaults": {}, - "funcname": "size_in_bytes", - "location": "imgui:1861", - "ov_cimguiname": "ImVector_size_in_bytes", - "ret": "int", - "signature": "()const", - "stname": "ImVector", - "templated": true - } - ], - "ImVector_swap": [ - { - "args": "(ImVector* self,ImVector_T * rhs)", - "argsT": [ - { - "name": "self", - "type": "ImVector*" - }, - { - "name": "rhs", - "reftoptr": true, - "type": "ImVector_T *" - } - ], - "argsoriginal": "(ImVector& rhs)", - "call_args": "(*rhs)", - "cimguiname": "ImVector_swap", - "defaults": {}, - "funcname": "swap", - "location": "imgui:1875", - "ov_cimguiname": "ImVector_swap", - "ret": "void", - "signature": "(ImVector_T *)", - "stname": "ImVector", - "templated": true - } - ], - "igAcceptDragDropPayload": [ - { - "args": "(const char* type,ImGuiDragDropFlags flags)", - "argsT": [ - { - "name": "type", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiDragDropFlags" - } - ], - "argsoriginal": "(const char* type,ImGuiDragDropFlags flags=0)", - "call_args": "(type,flags)", - "cimguiname": "igAcceptDragDropPayload", - "defaults": { - "flags": "0" - }, - "funcname": "AcceptDragDropPayload", - "location": "imgui:841", - "namespace": "ImGui", - "ov_cimguiname": "igAcceptDragDropPayload", - "ret": "const ImGuiPayload*", - "signature": "(const char*,ImGuiDragDropFlags)", - "stname": "" - } - ], - "igActivateItem": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igActivateItem", - "defaults": {}, - "funcname": "ActivateItem", - "location": "imgui_internal:3093", - "namespace": "ImGui", - "ov_cimguiname": "igActivateItem", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igAddContextHook": [ - { - "args": "(ImGuiContext* context,const ImGuiContextHook* hook)", - "argsT": [ - { - "name": "context", - "type": "ImGuiContext*" - }, - { - "name": "hook", - "type": "const ImGuiContextHook*" - } - ], - "argsoriginal": "(ImGuiContext* context,const ImGuiContextHook* hook)", - "call_args": "(context,hook)", - "cimguiname": "igAddContextHook", - "defaults": {}, - "funcname": "AddContextHook", - "location": "imgui_internal:2976", - "namespace": "ImGui", - "ov_cimguiname": "igAddContextHook", - "ret": "ImGuiID", - "signature": "(ImGuiContext*,const ImGuiContextHook*)", - "stname": "" - } - ], - "igAddSettingsHandler": [ - { - "args": "(const ImGuiSettingsHandler* handler)", - "argsT": [ - { - "name": "handler", - "type": "const ImGuiSettingsHandler*" - } - ], - "argsoriginal": "(const ImGuiSettingsHandler* handler)", - "call_args": "(handler)", - "cimguiname": "igAddSettingsHandler", - "defaults": {}, - "funcname": "AddSettingsHandler", - "location": "imgui_internal:2996", - "namespace": "ImGui", - "ov_cimguiname": "igAddSettingsHandler", - "ret": "void", - "signature": "(const ImGuiSettingsHandler*)", - "stname": "" - } - ], - "igAlignTextToFramePadding": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igAlignTextToFramePadding", - "defaults": {}, - "funcname": "AlignTextToFramePadding", - "location": "imgui:465", - "namespace": "ImGui", - "ov_cimguiname": "igAlignTextToFramePadding", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igArrowButton": [ - { - "args": "(const char* str_id,ImGuiDir dir)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "dir", - "type": "ImGuiDir" - } - ], - "argsoriginal": "(const char* str_id,ImGuiDir dir)", - "call_args": "(str_id,dir)", - "cimguiname": "igArrowButton", - "defaults": {}, - "funcname": "ArrowButton", - "location": "imgui:512", - "namespace": "ImGui", - "ov_cimguiname": "igArrowButton", - "ret": "bool", - "signature": "(const char*,ImGuiDir)", - "stname": "" - } - ], - "igArrowButtonEx": [ - { - "args": "(const char* str_id,ImGuiDir dir,ImVec2 size_arg,ImGuiButtonFlags flags)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "dir", - "type": "ImGuiDir" - }, - { - "name": "size_arg", - "type": "ImVec2" - }, - { - "name": "flags", - "type": "ImGuiButtonFlags" - } - ], - "argsoriginal": "(const char* str_id,ImGuiDir dir,ImVec2 size_arg,ImGuiButtonFlags flags=0)", - "call_args": "(str_id,dir,size_arg,flags)", - "cimguiname": "igArrowButtonEx", - "defaults": { - "flags": "0" - }, - "funcname": "ArrowButtonEx", - "location": "imgui_internal:3353", - "namespace": "ImGui", - "ov_cimguiname": "igArrowButtonEx", - "ret": "bool", - "signature": "(const char*,ImGuiDir,ImVec2,ImGuiButtonFlags)", - "stname": "" - } - ], - "igBegin": [ - { - "args": "(const char* name,bool* p_open,ImGuiWindowFlags flags)", - "argsT": [ - { - "name": "name", - "type": "const char*" - }, - { - "name": "p_open", - "type": "bool*" - }, - { - "name": "flags", - "type": "ImGuiWindowFlags" - } - ], - "argsoriginal": "(const char* name,bool* p_open=((void*)0),ImGuiWindowFlags flags=0)", - "call_args": "(name,p_open,flags)", - "cimguiname": "igBegin", - "defaults": { - "flags": "0", - "p_open": "NULL" - }, - "funcname": "Begin", - "location": "imgui:336", - "namespace": "ImGui", - "ov_cimguiname": "igBegin", - "ret": "bool", - "signature": "(const char*,bool*,ImGuiWindowFlags)", - "stname": "" - } - ], - "igBeginChild": [ - { - "args": "(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "border", - "type": "bool" - }, - { - "name": "flags", - "type": "ImGuiWindowFlags" - } - ], - "argsoriginal": "(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)", - "call_args": "(str_id,size,border,flags)", - "cimguiname": "igBeginChild", - "defaults": { - "border": "false", - "flags": "0", - "size": "ImVec2(0,0)" - }, - "funcname": "BeginChild", - "location": "imgui:347", - "namespace": "ImGui", - "ov_cimguiname": "igBeginChild_Str", - "ret": "bool", - "signature": "(const char*,const ImVec2,bool,ImGuiWindowFlags)", - "stname": "" - }, - { - "args": "(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "border", - "type": "bool" - }, - { - "name": "flags", - "type": "ImGuiWindowFlags" - } - ], - "argsoriginal": "(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)", - "call_args": "(id,size,border,flags)", - "cimguiname": "igBeginChild", - "defaults": { - "border": "false", - "flags": "0", - "size": "ImVec2(0,0)" - }, - "funcname": "BeginChild", - "location": "imgui:348", - "namespace": "ImGui", - "ov_cimguiname": "igBeginChild_ID", - "ret": "bool", - "signature": "(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)", - "stname": "" - } - ], - "igBeginChildEx": [ - { - "args": "(const char* name,ImGuiID id,const ImVec2 size_arg,bool border,ImGuiWindowFlags flags)", - "argsT": [ - { - "name": "name", - "type": "const char*" - }, - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "size_arg", - "type": "const ImVec2" - }, - { - "name": "border", - "type": "bool" - }, - { - "name": "flags", - "type": "ImGuiWindowFlags" - } - ], - "argsoriginal": "(const char* name,ImGuiID id,const ImVec2& size_arg,bool border,ImGuiWindowFlags flags)", - "call_args": "(name,id,size_arg,border,flags)", - "cimguiname": "igBeginChildEx", - "defaults": {}, - "funcname": "BeginChildEx", - "location": "imgui_internal:3059", - "namespace": "ImGui", - "ov_cimguiname": "igBeginChildEx", - "ret": "bool", - "signature": "(const char*,ImGuiID,const ImVec2,bool,ImGuiWindowFlags)", - "stname": "" - } - ], - "igBeginChildFrame": [ - { - "args": "(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "flags", - "type": "ImGuiWindowFlags" - } - ], - "argsoriginal": "(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)", - "call_args": "(id,size,flags)", - "cimguiname": "igBeginChildFrame", - "defaults": { - "flags": "0" - }, - "funcname": "BeginChildFrame", - "location": "imgui:904", - "namespace": "ImGui", - "ov_cimguiname": "igBeginChildFrame", - "ret": "bool", - "signature": "(ImGuiID,const ImVec2,ImGuiWindowFlags)", - "stname": "" - } - ], - "igBeginColumns": [ - { - "args": "(const char* str_id,int count,ImGuiOldColumnFlags flags)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "flags", - "type": "ImGuiOldColumnFlags" - } - ], - "argsoriginal": "(const char* str_id,int count,ImGuiOldColumnFlags flags=0)", - "call_args": "(str_id,count,flags)", - "cimguiname": "igBeginColumns", - "defaults": { - "flags": "0" - }, - "funcname": "BeginColumns", - "location": "imgui_internal:3244", - "namespace": "ImGui", - "ov_cimguiname": "igBeginColumns", - "ret": "void", - "signature": "(const char*,int,ImGuiOldColumnFlags)", - "stname": "" - } - ], - "igBeginCombo": [ - { - "args": "(const char* label,const char* preview_value,ImGuiComboFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "preview_value", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiComboFlags" - } - ], - "argsoriginal": "(const char* label,const char* preview_value,ImGuiComboFlags flags=0)", - "call_args": "(label,preview_value,flags)", - "cimguiname": "igBeginCombo", - "defaults": { - "flags": "0" - }, - "funcname": "BeginCombo", - "location": "imgui:529", - "namespace": "ImGui", - "ov_cimguiname": "igBeginCombo", - "ret": "bool", - "signature": "(const char*,const char*,ImGuiComboFlags)", - "stname": "" - } - ], - "igBeginComboPopup": [ - { - "args": "(ImGuiID popup_id,const ImRect bb,ImGuiComboFlags flags)", - "argsT": [ - { - "name": "popup_id", - "type": "ImGuiID" - }, - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "flags", - "type": "ImGuiComboFlags" - } - ], - "argsoriginal": "(ImGuiID popup_id,const ImRect& bb,ImGuiComboFlags flags)", - "call_args": "(popup_id,bb,flags)", - "cimguiname": "igBeginComboPopup", - "defaults": {}, - "funcname": "BeginComboPopup", - "location": "imgui_internal:3079", - "namespace": "ImGui", - "ov_cimguiname": "igBeginComboPopup", - "ret": "bool", - "signature": "(ImGuiID,const ImRect,ImGuiComboFlags)", - "stname": "" - } - ], - "igBeginComboPreview": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igBeginComboPreview", - "defaults": {}, - "funcname": "BeginComboPreview", - "location": "imgui_internal:3080", - "namespace": "ImGui", - "ov_cimguiname": "igBeginComboPreview", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igBeginDisabled": [ - { - "args": "(bool disabled)", - "argsT": [ - { - "name": "disabled", - "type": "bool" - } - ], - "argsoriginal": "(bool disabled=true)", - "call_args": "(disabled)", - "cimguiname": "igBeginDisabled", - "defaults": { - "disabled": "true" - }, - "funcname": "BeginDisabled", - "location": "imgui:849", - "namespace": "ImGui", - "ov_cimguiname": "igBeginDisabled", - "ret": "void", - "signature": "(bool)", - "stname": "" - } - ], - "igBeginDockableDragDropSource": [ - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igBeginDockableDragDropSource", - "defaults": {}, - "funcname": "BeginDockableDragDropSource", - "location": "imgui_internal:3195", - "namespace": "ImGui", - "ov_cimguiname": "igBeginDockableDragDropSource", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igBeginDockableDragDropTarget": [ - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igBeginDockableDragDropTarget", - "defaults": {}, - "funcname": "BeginDockableDragDropTarget", - "location": "imgui_internal:3196", - "namespace": "ImGui", - "ov_cimguiname": "igBeginDockableDragDropTarget", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igBeginDocked": [ - { - "args": "(ImGuiWindow* window,bool* p_open)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "p_open", - "type": "bool*" - } - ], - "argsoriginal": "(ImGuiWindow* window,bool* p_open)", - "call_args": "(window,p_open)", - "cimguiname": "igBeginDocked", - "defaults": {}, - "funcname": "BeginDocked", - "location": "imgui_internal:3194", - "namespace": "ImGui", - "ov_cimguiname": "igBeginDocked", - "ret": "void", - "signature": "(ImGuiWindow*,bool*)", - "stname": "" - } - ], - "igBeginDragDropSource": [ - { - "args": "(ImGuiDragDropFlags flags)", - "argsT": [ - { - "name": "flags", - "type": "ImGuiDragDropFlags" - } - ], - "argsoriginal": "(ImGuiDragDropFlags flags=0)", - "call_args": "(flags)", - "cimguiname": "igBeginDragDropSource", - "defaults": { - "flags": "0" - }, - "funcname": "BeginDragDropSource", - "location": "imgui:837", - "namespace": "ImGui", - "ov_cimguiname": "igBeginDragDropSource", - "ret": "bool", - "signature": "(ImGuiDragDropFlags)", - "stname": "" - } - ], - "igBeginDragDropTarget": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igBeginDragDropTarget", - "defaults": {}, - "funcname": "BeginDragDropTarget", - "location": "imgui:840", - "namespace": "ImGui", - "ov_cimguiname": "igBeginDragDropTarget", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igBeginDragDropTargetCustom": [ - { - "args": "(const ImRect bb,ImGuiID id)", - "argsT": [ - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(const ImRect& bb,ImGuiID id)", - "call_args": "(bb,id)", - "cimguiname": "igBeginDragDropTargetCustom", - "defaults": {}, - "funcname": "BeginDragDropTargetCustom", - "location": "imgui_internal:3237", - "namespace": "ImGui", - "ov_cimguiname": "igBeginDragDropTargetCustom", - "ret": "bool", - "signature": "(const ImRect,ImGuiID)", - "stname": "" - } - ], - "igBeginGroup": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igBeginGroup", - "defaults": {}, - "funcname": "BeginGroup", - "location": "imgui:454", - "namespace": "ImGui", - "ov_cimguiname": "igBeginGroup", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igBeginListBox": [ - { - "args": "(const char* label,const ImVec2 size)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "size", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const char* label,const ImVec2& size=ImVec2(0,0))", - "call_args": "(label,size)", - "cimguiname": "igBeginListBox", - "defaults": { - "size": "ImVec2(0,0)" - }, - "funcname": "BeginListBox", - "location": "imgui:641", - "namespace": "ImGui", - "ov_cimguiname": "igBeginListBox", - "ret": "bool", - "signature": "(const char*,const ImVec2)", - "stname": "" - } - ], - "igBeginMainMenuBar": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igBeginMainMenuBar", - "defaults": {}, - "funcname": "BeginMainMenuBar", - "location": "imgui:667", - "namespace": "ImGui", - "ov_cimguiname": "igBeginMainMenuBar", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igBeginMenu": [ - { - "args": "(const char* label,bool enabled)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "enabled", - "type": "bool" - } - ], - "argsoriginal": "(const char* label,bool enabled=true)", - "call_args": "(label,enabled)", - "cimguiname": "igBeginMenu", - "defaults": { - "enabled": "true" - }, - "funcname": "BeginMenu", - "location": "imgui:669", - "namespace": "ImGui", - "ov_cimguiname": "igBeginMenu", - "ret": "bool", - "signature": "(const char*,bool)", - "stname": "" - } - ], - "igBeginMenuBar": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igBeginMenuBar", - "defaults": {}, - "funcname": "BeginMenuBar", - "location": "imgui:665", - "namespace": "ImGui", - "ov_cimguiname": "igBeginMenuBar", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igBeginMenuEx": [ - { - "args": "(const char* label,const char* icon,bool enabled)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "icon", - "type": "const char*" - }, - { - "name": "enabled", - "type": "bool" - } - ], - "argsoriginal": "(const char* label,const char* icon,bool enabled=true)", - "call_args": "(label,icon,enabled)", - "cimguiname": "igBeginMenuEx", - "defaults": { - "enabled": "true" - }, - "funcname": "BeginMenuEx", - "location": "imgui_internal:3075", - "namespace": "ImGui", - "ov_cimguiname": "igBeginMenuEx", - "ret": "bool", - "signature": "(const char*,const char*,bool)", - "stname": "" - } - ], - "igBeginPopup": [ - { - "args": "(const char* str_id,ImGuiWindowFlags flags)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiWindowFlags" - } - ], - "argsoriginal": "(const char* str_id,ImGuiWindowFlags flags=0)", - "call_args": "(str_id,flags)", - "cimguiname": "igBeginPopup", - "defaults": { - "flags": "0" - }, - "funcname": "BeginPopup", - "location": "imgui:693", - "namespace": "ImGui", - "ov_cimguiname": "igBeginPopup", - "ret": "bool", - "signature": "(const char*,ImGuiWindowFlags)", - "stname": "" - } - ], - "igBeginPopupContextItem": [ - { - "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "popup_flags", - "type": "ImGuiPopupFlags" - } - ], - "argsoriginal": "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)", - "call_args": "(str_id,popup_flags)", - "cimguiname": "igBeginPopupContextItem", - "defaults": { - "popup_flags": "1", - "str_id": "NULL" - }, - "funcname": "BeginPopupContextItem", - "location": "imgui:715", - "namespace": "ImGui", - "ov_cimguiname": "igBeginPopupContextItem", - "ret": "bool", - "signature": "(const char*,ImGuiPopupFlags)", - "stname": "" - } - ], - "igBeginPopupContextVoid": [ - { - "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "popup_flags", - "type": "ImGuiPopupFlags" - } - ], - "argsoriginal": "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)", - "call_args": "(str_id,popup_flags)", - "cimguiname": "igBeginPopupContextVoid", - "defaults": { - "popup_flags": "1", - "str_id": "NULL" - }, - "funcname": "BeginPopupContextVoid", - "location": "imgui:717", - "namespace": "ImGui", - "ov_cimguiname": "igBeginPopupContextVoid", - "ret": "bool", - "signature": "(const char*,ImGuiPopupFlags)", - "stname": "" - } - ], - "igBeginPopupContextWindow": [ - { - "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "popup_flags", - "type": "ImGuiPopupFlags" - } - ], - "argsoriginal": "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)", - "call_args": "(str_id,popup_flags)", - "cimguiname": "igBeginPopupContextWindow", - "defaults": { - "popup_flags": "1", - "str_id": "NULL" - }, - "funcname": "BeginPopupContextWindow", - "location": "imgui:716", - "namespace": "ImGui", - "ov_cimguiname": "igBeginPopupContextWindow", - "ret": "bool", - "signature": "(const char*,ImGuiPopupFlags)", - "stname": "" - } - ], - "igBeginPopupEx": [ - { - "args": "(ImGuiID id,ImGuiWindowFlags extra_flags)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "extra_flags", - "type": "ImGuiWindowFlags" - } - ], - "argsoriginal": "(ImGuiID id,ImGuiWindowFlags extra_flags)", - "call_args": "(id,extra_flags)", - "cimguiname": "igBeginPopupEx", - "defaults": {}, - "funcname": "BeginPopupEx", - "location": "imgui_internal:3065", - "namespace": "ImGui", - "ov_cimguiname": "igBeginPopupEx", - "ret": "bool", - "signature": "(ImGuiID,ImGuiWindowFlags)", - "stname": "" - } - ], - "igBeginPopupModal": [ - { - "args": "(const char* name,bool* p_open,ImGuiWindowFlags flags)", - "argsT": [ - { - "name": "name", - "type": "const char*" - }, - { - "name": "p_open", - "type": "bool*" - }, - { - "name": "flags", - "type": "ImGuiWindowFlags" - } - ], - "argsoriginal": "(const char* name,bool* p_open=((void*)0),ImGuiWindowFlags flags=0)", - "call_args": "(name,p_open,flags)", - "cimguiname": "igBeginPopupModal", - "defaults": { - "flags": "0", - "p_open": "NULL" - }, - "funcname": "BeginPopupModal", - "location": "imgui:694", - "namespace": "ImGui", - "ov_cimguiname": "igBeginPopupModal", - "ret": "bool", - "signature": "(const char*,bool*,ImGuiWindowFlags)", - "stname": "" - } - ], - "igBeginTabBar": [ - { - "args": "(const char* str_id,ImGuiTabBarFlags flags)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiTabBarFlags" - } - ], - "argsoriginal": "(const char* str_id,ImGuiTabBarFlags flags=0)", - "call_args": "(str_id,flags)", - "cimguiname": "igBeginTabBar", - "defaults": { - "flags": "0" - }, - "funcname": "BeginTabBar", - "location": "imgui:795", - "namespace": "ImGui", - "ov_cimguiname": "igBeginTabBar", - "ret": "bool", - "signature": "(const char*,ImGuiTabBarFlags)", - "stname": "" - } - ], - "igBeginTabBarEx": [ - { - "args": "(ImGuiTabBar* tab_bar,const ImRect bb,ImGuiTabBarFlags flags,ImGuiDockNode* dock_node)", - "argsT": [ - { - "name": "tab_bar", - "type": "ImGuiTabBar*" - }, - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "flags", - "type": "ImGuiTabBarFlags" - }, - { - "name": "dock_node", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "(ImGuiTabBar* tab_bar,const ImRect& bb,ImGuiTabBarFlags flags,ImGuiDockNode* dock_node)", - "call_args": "(tab_bar,bb,flags,dock_node)", - "cimguiname": "igBeginTabBarEx", - "defaults": {}, - "funcname": "BeginTabBarEx", - "location": "imgui_internal:3308", - "namespace": "ImGui", - "ov_cimguiname": "igBeginTabBarEx", - "ret": "bool", - "signature": "(ImGuiTabBar*,const ImRect,ImGuiTabBarFlags,ImGuiDockNode*)", - "stname": "" - } - ], - "igBeginTabItem": [ - { - "args": "(const char* label,bool* p_open,ImGuiTabItemFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "p_open", - "type": "bool*" - }, - { - "name": "flags", - "type": "ImGuiTabItemFlags" - } - ], - "argsoriginal": "(const char* label,bool* p_open=((void*)0),ImGuiTabItemFlags flags=0)", - "call_args": "(label,p_open,flags)", - "cimguiname": "igBeginTabItem", - "defaults": { - "flags": "0", - "p_open": "NULL" - }, - "funcname": "BeginTabItem", - "location": "imgui:797", - "namespace": "ImGui", - "ov_cimguiname": "igBeginTabItem", - "ret": "bool", - "signature": "(const char*,bool*,ImGuiTabItemFlags)", - "stname": "" - } - ], - "igBeginTable": [ - { - "args": "(const char* str_id,int column,ImGuiTableFlags flags,const ImVec2 outer_size,float inner_width)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "column", - "type": "int" - }, - { - "name": "flags", - "type": "ImGuiTableFlags" - }, - { - "name": "outer_size", - "type": "const ImVec2" - }, - { - "name": "inner_width", - "type": "float" - } - ], - "argsoriginal": "(const char* str_id,int column,ImGuiTableFlags flags=0,const ImVec2& outer_size=ImVec2(0.0f,0.0f),float inner_width=0.0f)", - "call_args": "(str_id,column,flags,outer_size,inner_width)", - "cimguiname": "igBeginTable", - "defaults": { - "flags": "0", - "inner_width": "0.0f", - "outer_size": "ImVec2(0.0f,0.0f)" - }, - "funcname": "BeginTable", - "location": "imgui:748", - "namespace": "ImGui", - "ov_cimguiname": "igBeginTable", - "ret": "bool", - "signature": "(const char*,int,ImGuiTableFlags,const ImVec2,float)", - "stname": "" - } - ], - "igBeginTableEx": [ - { - "args": "(const char* name,ImGuiID id,int columns_count,ImGuiTableFlags flags,const ImVec2 outer_size,float inner_width)", - "argsT": [ - { - "name": "name", - "type": "const char*" - }, - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "columns_count", - "type": "int" - }, - { - "name": "flags", - "type": "ImGuiTableFlags" - }, - { - "name": "outer_size", - "type": "const ImVec2" - }, - { - "name": "inner_width", - "type": "float" - } - ], - "argsoriginal": "(const char* name,ImGuiID id,int columns_count,ImGuiTableFlags flags=0,const ImVec2& outer_size=ImVec2(0,0),float inner_width=0.0f)", - "call_args": "(name,id,columns_count,flags,outer_size,inner_width)", - "cimguiname": "igBeginTableEx", - "defaults": { - "flags": "0", - "inner_width": "0.0f", - "outer_size": "ImVec2(0,0)" - }, - "funcname": "BeginTableEx", - "location": "imgui_internal:3266", - "namespace": "ImGui", - "ov_cimguiname": "igBeginTableEx", - "ret": "bool", - "signature": "(const char*,ImGuiID,int,ImGuiTableFlags,const ImVec2,float)", - "stname": "" - } - ], - "igBeginTooltip": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igBeginTooltip", - "defaults": {}, - "funcname": "BeginTooltip", - "location": "imgui:676", - "namespace": "ImGui", - "ov_cimguiname": "igBeginTooltip", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igBeginTooltipEx": [ - { - "args": "(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags)", - "argsT": [ - { - "name": "tooltip_flags", - "type": "ImGuiTooltipFlags" - }, - { - "name": "extra_window_flags", - "type": "ImGuiWindowFlags" - } - ], - "argsoriginal": "(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags)", - "call_args": "(tooltip_flags,extra_window_flags)", - "cimguiname": "igBeginTooltipEx", - "defaults": {}, - "funcname": "BeginTooltipEx", - "location": "imgui_internal:3066", - "namespace": "ImGui", - "ov_cimguiname": "igBeginTooltipEx", - "ret": "void", - "signature": "(ImGuiTooltipFlags,ImGuiWindowFlags)", - "stname": "" - } - ], - "igBeginViewportSideBar": [ - { - "args": "(const char* name,ImGuiViewport* viewport,ImGuiDir dir,float size,ImGuiWindowFlags window_flags)", - "argsT": [ - { - "name": "name", - "type": "const char*" - }, - { - "name": "viewport", - "type": "ImGuiViewport*" - }, - { - "name": "dir", - "type": "ImGuiDir" - }, - { - "name": "size", - "type": "float" - }, - { - "name": "window_flags", - "type": "ImGuiWindowFlags" - } - ], - "argsoriginal": "(const char* name,ImGuiViewport* viewport,ImGuiDir dir,float size,ImGuiWindowFlags window_flags)", - "call_args": "(name,viewport,dir,size,window_flags)", - "cimguiname": "igBeginViewportSideBar", - "defaults": {}, - "funcname": "BeginViewportSideBar", - "location": "imgui_internal:3074", - "namespace": "ImGui", - "ov_cimguiname": "igBeginViewportSideBar", - "ret": "bool", - "signature": "(const char*,ImGuiViewport*,ImGuiDir,float,ImGuiWindowFlags)", - "stname": "" - } - ], - "igBringWindowToDisplayBack": [ - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igBringWindowToDisplayBack", - "defaults": {}, - "funcname": "BringWindowToDisplayBack", - "location": "imgui_internal:2953", - "namespace": "ImGui", - "ov_cimguiname": "igBringWindowToDisplayBack", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igBringWindowToDisplayBehind": [ - { - "args": "(ImGuiWindow* window,ImGuiWindow* above_window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "above_window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window,ImGuiWindow* above_window)", - "call_args": "(window,above_window)", - "cimguiname": "igBringWindowToDisplayBehind", - "defaults": {}, - "funcname": "BringWindowToDisplayBehind", - "location": "imgui_internal:2954", - "namespace": "ImGui", - "ov_cimguiname": "igBringWindowToDisplayBehind", - "ret": "void", - "signature": "(ImGuiWindow*,ImGuiWindow*)", - "stname": "" - } - ], - "igBringWindowToDisplayFront": [ - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igBringWindowToDisplayFront", - "defaults": {}, - "funcname": "BringWindowToDisplayFront", - "location": "imgui_internal:2952", - "namespace": "ImGui", - "ov_cimguiname": "igBringWindowToDisplayFront", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igBringWindowToFocusFront": [ - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igBringWindowToFocusFront", - "defaults": {}, - "funcname": "BringWindowToFocusFront", - "location": "imgui_internal:2951", - "namespace": "ImGui", - "ov_cimguiname": "igBringWindowToFocusFront", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igBullet": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igBullet", - "defaults": {}, - "funcname": "Bullet", - "location": "imgui:519", - "namespace": "ImGui", - "ov_cimguiname": "igBullet", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igBulletText": [ - { - "args": "(const char* fmt,...)", - "argsT": [ - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const char* fmt,...)", - "call_args": "(fmt,...)", - "cimguiname": "igBulletText", - "defaults": {}, - "funcname": "BulletText", - "isvararg": "...)", - "location": "imgui:503", - "namespace": "ImGui", - "ov_cimguiname": "igBulletText", - "ret": "void", - "signature": "(const char*,...)", - "stname": "" - } - ], - "igBulletTextV": [ - { - "args": "(const char* fmt,va_list args)", - "argsT": [ - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const char* fmt,va_list args)", - "call_args": "(fmt,args)", - "cimguiname": "igBulletTextV", - "defaults": {}, - "funcname": "BulletTextV", - "location": "imgui:504", - "namespace": "ImGui", - "ov_cimguiname": "igBulletTextV", - "ret": "void", - "signature": "(const char*,va_list)", - "stname": "" - } - ], - "igButton": [ - { - "args": "(const char* label,const ImVec2 size)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "size", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const char* label,const ImVec2& size=ImVec2(0,0))", - "call_args": "(label,size)", - "cimguiname": "igButton", - "defaults": { - "size": "ImVec2(0,0)" - }, - "funcname": "Button", - "location": "imgui:509", - "namespace": "ImGui", - "ov_cimguiname": "igButton", - "ret": "bool", - "signature": "(const char*,const ImVec2)", - "stname": "" - } - ], - "igButtonBehavior": [ - { - "args": "(const ImRect bb,ImGuiID id,bool* out_hovered,bool* out_held,ImGuiButtonFlags flags)", - "argsT": [ - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "out_hovered", - "type": "bool*" - }, - { - "name": "out_held", - "type": "bool*" - }, - { - "name": "flags", - "type": "ImGuiButtonFlags" - } - ], - "argsoriginal": "(const ImRect& bb,ImGuiID id,bool* out_hovered,bool* out_held,ImGuiButtonFlags flags=0)", - "call_args": "(bb,id,out_hovered,out_held,flags)", - "cimguiname": "igButtonBehavior", - "defaults": { - "flags": "0" - }, - "funcname": "ButtonBehavior", - "location": "imgui_internal:3366", - "namespace": "ImGui", - "ov_cimguiname": "igButtonBehavior", - "ret": "bool", - "signature": "(const ImRect,ImGuiID,bool*,bool*,ImGuiButtonFlags)", - "stname": "" - } - ], - "igButtonEx": [ - { - "args": "(const char* label,const ImVec2 size_arg,ImGuiButtonFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "size_arg", - "type": "const ImVec2" - }, - { - "name": "flags", - "type": "ImGuiButtonFlags" - } - ], - "argsoriginal": "(const char* label,const ImVec2& size_arg=ImVec2(0,0),ImGuiButtonFlags flags=0)", - "call_args": "(label,size_arg,flags)", - "cimguiname": "igButtonEx", - "defaults": { - "flags": "0", - "size_arg": "ImVec2(0,0)" - }, - "funcname": "ButtonEx", - "location": "imgui_internal:3350", - "namespace": "ImGui", - "ov_cimguiname": "igButtonEx", - "ret": "bool", - "signature": "(const char*,const ImVec2,ImGuiButtonFlags)", - "stname": "" - } - ], - "igCalcItemSize": [ - { - "args": "(ImVec2 *pOut,ImVec2 size,float default_w,float default_h)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "size", - "type": "ImVec2" - }, - { - "name": "default_w", - "type": "float" - }, - { - "name": "default_h", - "type": "float" - } - ], - "argsoriginal": "(ImVec2 size,float default_w,float default_h)", - "call_args": "(size,default_w,default_h)", - "cimguiname": "igCalcItemSize", - "defaults": {}, - "funcname": "CalcItemSize", - "location": "imgui_internal:3041", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igCalcItemSize", - "ret": "void", - "signature": "(ImVec2,float,float)", - "stname": "" - } - ], - "igCalcItemWidth": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igCalcItemWidth", - "defaults": {}, - "funcname": "CalcItemWidth", - "location": "imgui:426", - "namespace": "ImGui", - "ov_cimguiname": "igCalcItemWidth", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igCalcRoundingFlagsForRectInRect": [ - { - "args": "(const ImRect r_in,const ImRect r_outer,float threshold)", - "argsT": [ - { - "name": "r_in", - "type": "const ImRect" - }, - { - "name": "r_outer", - "type": "const ImRect" - }, - { - "name": "threshold", - "type": "float" - } - ], - "argsoriginal": "(const ImRect& r_in,const ImRect& r_outer,float threshold)", - "call_args": "(r_in,r_outer,threshold)", - "cimguiname": "igCalcRoundingFlagsForRectInRect", - "defaults": {}, - "funcname": "CalcRoundingFlagsForRectInRect", - "location": "imgui_internal:3346", - "namespace": "ImGui", - "ov_cimguiname": "igCalcRoundingFlagsForRectInRect", - "ret": "ImDrawFlags", - "signature": "(const ImRect,const ImRect,float)", - "stname": "" - } - ], - "igCalcTextSize": [ - { - "args": "(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "text", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - }, - { - "name": "hide_text_after_double_hash", - "type": "bool" - }, - { - "name": "wrap_width", - "type": "float" - } - ], - "argsoriginal": "(const char* text,const char* text_end=((void*)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)", - "call_args": "(text,text_end,hide_text_after_double_hash,wrap_width)", - "cimguiname": "igCalcTextSize", - "defaults": { - "hide_text_after_double_hash": "false", - "text_end": "NULL", - "wrap_width": "-1.0f" - }, - "funcname": "CalcTextSize", - "location": "imgui:908", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igCalcTextSize", - "ret": "void", - "signature": "(const char*,const char*,bool,float)", - "stname": "" - } - ], - "igCalcTypematicRepeatAmount": [ - { - "args": "(float t0,float t1,float repeat_delay,float repeat_rate)", - "argsT": [ - { - "name": "t0", - "type": "float" - }, - { - "name": "t1", - "type": "float" - }, - { - "name": "repeat_delay", - "type": "float" - }, - { - "name": "repeat_rate", - "type": "float" - } - ], - "argsoriginal": "(float t0,float t1,float repeat_delay,float repeat_rate)", - "call_args": "(t0,t1,repeat_delay,repeat_rate)", - "cimguiname": "igCalcTypematicRepeatAmount", - "defaults": {}, - "funcname": "CalcTypematicRepeatAmount", - "location": "imgui_internal:3121", - "namespace": "ImGui", - "ov_cimguiname": "igCalcTypematicRepeatAmount", - "ret": "int", - "signature": "(float,float,float,float)", - "stname": "" - } - ], - "igCalcWindowNextAutoFitSize": [ - { - "args": "(ImVec2 *pOut,ImGuiWindow* window)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igCalcWindowNextAutoFitSize", - "defaults": {}, - "funcname": "CalcWindowNextAutoFitSize", - "location": "imgui_internal:2936", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igCalcWindowNextAutoFitSize", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igCalcWrapWidthForPos": [ - { - "args": "(const ImVec2 pos,float wrap_pos_x)", - "argsT": [ - { - "name": "pos", - "type": "const ImVec2" - }, - { - "name": "wrap_pos_x", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2& pos,float wrap_pos_x)", - "call_args": "(pos,wrap_pos_x)", - "cimguiname": "igCalcWrapWidthForPos", - "defaults": {}, - "funcname": "CalcWrapWidthForPos", - "location": "imgui_internal:3042", - "namespace": "ImGui", - "ov_cimguiname": "igCalcWrapWidthForPos", - "ret": "float", - "signature": "(const ImVec2,float)", - "stname": "" - } - ], - "igCallContextHooks": [ - { - "args": "(ImGuiContext* context,ImGuiContextHookType type)", - "argsT": [ - { - "name": "context", - "type": "ImGuiContext*" - }, - { - "name": "type", - "type": "ImGuiContextHookType" - } - ], - "argsoriginal": "(ImGuiContext* context,ImGuiContextHookType type)", - "call_args": "(context,type)", - "cimguiname": "igCallContextHooks", - "defaults": {}, - "funcname": "CallContextHooks", - "location": "imgui_internal:2978", - "namespace": "ImGui", - "ov_cimguiname": "igCallContextHooks", - "ret": "void", - "signature": "(ImGuiContext*,ImGuiContextHookType)", - "stname": "" - } - ], - "igCheckbox": [ - { - "args": "(const char* label,bool* v)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "bool*" - } - ], - "argsoriginal": "(const char* label,bool* v)", - "call_args": "(label,v)", - "cimguiname": "igCheckbox", - "defaults": {}, - "funcname": "Checkbox", - "location": "imgui:513", - "namespace": "ImGui", - "ov_cimguiname": "igCheckbox", - "ret": "bool", - "signature": "(const char*,bool*)", - "stname": "" - } - ], - "igCheckboxFlags": [ - { - "args": "(const char* label,int* flags,int flags_value)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "flags", - "type": "int*" - }, - { - "name": "flags_value", - "type": "int" - } - ], - "argsoriginal": "(const char* label,int* flags,int flags_value)", - "call_args": "(label,flags,flags_value)", - "cimguiname": "igCheckboxFlags", - "defaults": {}, - "funcname": "CheckboxFlags", - "location": "imgui:514", - "namespace": "ImGui", - "ov_cimguiname": "igCheckboxFlags_IntPtr", - "ret": "bool", - "signature": "(const char*,int*,int)", - "stname": "" - }, - { - "args": "(const char* label,unsigned int* flags,unsigned int flags_value)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "flags", - "type": "unsigned int*" - }, - { - "name": "flags_value", - "type": "unsigned int" - } - ], - "argsoriginal": "(const char* label,unsigned int* flags,unsigned int flags_value)", - "call_args": "(label,flags,flags_value)", - "cimguiname": "igCheckboxFlags", - "defaults": {}, - "funcname": "CheckboxFlags", - "location": "imgui:515", - "namespace": "ImGui", - "ov_cimguiname": "igCheckboxFlags_UintPtr", - "ret": "bool", - "signature": "(const char*,unsigned int*,unsigned int)", - "stname": "" - }, - { - "args": "(const char* label,ImS64* flags,ImS64 flags_value)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImS64*" - }, - { - "name": "flags_value", - "type": "ImS64" - } - ], - "argsoriginal": "(const char* label,ImS64* flags,ImS64 flags_value)", - "call_args": "(label,flags,flags_value)", - "cimguiname": "igCheckboxFlags", - "defaults": {}, - "funcname": "CheckboxFlags", - "location": "imgui_internal:3362", - "namespace": "ImGui", - "ov_cimguiname": "igCheckboxFlags_S64Ptr", - "ret": "bool", - "signature": "(const char*,ImS64*,ImS64)", - "stname": "" - }, - { - "args": "(const char* label,ImU64* flags,ImU64 flags_value)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImU64*" - }, - { - "name": "flags_value", - "type": "ImU64" - } - ], - "argsoriginal": "(const char* label,ImU64* flags,ImU64 flags_value)", - "call_args": "(label,flags,flags_value)", - "cimguiname": "igCheckboxFlags", - "defaults": {}, - "funcname": "CheckboxFlags", - "location": "imgui_internal:3363", - "namespace": "ImGui", - "ov_cimguiname": "igCheckboxFlags_U64Ptr", - "ret": "bool", - "signature": "(const char*,ImU64*,ImU64)", - "stname": "" - } - ], - "igClearActiveID": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igClearActiveID", - "defaults": {}, - "funcname": "ClearActiveID", - "location": "imgui_internal:3026", - "namespace": "ImGui", - "ov_cimguiname": "igClearActiveID", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igClearDragDrop": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igClearDragDrop", - "defaults": {}, - "funcname": "ClearDragDrop", - "location": "imgui_internal:3238", - "namespace": "ImGui", - "ov_cimguiname": "igClearDragDrop", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igClearIniSettings": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igClearIniSettings", - "defaults": {}, - "funcname": "ClearIniSettings", - "location": "imgui_internal:2992", - "namespace": "ImGui", - "ov_cimguiname": "igClearIniSettings", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igCloseButton": [ - { - "args": "(ImGuiID id,const ImVec2 pos)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "pos", - "type": "const ImVec2" - } - ], - "argsoriginal": "(ImGuiID id,const ImVec2& pos)", - "call_args": "(id,pos)", - "cimguiname": "igCloseButton", - "defaults": {}, - "funcname": "CloseButton", - "location": "imgui_internal:3351", - "namespace": "ImGui", - "ov_cimguiname": "igCloseButton", - "ret": "bool", - "signature": "(ImGuiID,const ImVec2)", - "stname": "" - } - ], - "igCloseCurrentPopup": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igCloseCurrentPopup", - "defaults": {}, - "funcname": "CloseCurrentPopup", - "location": "imgui:708", - "namespace": "ImGui", - "ov_cimguiname": "igCloseCurrentPopup", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igClosePopupToLevel": [ - { - "args": "(int remaining,bool restore_focus_to_window_under_popup)", - "argsT": [ - { - "name": "remaining", - "type": "int" - }, - { - "name": "restore_focus_to_window_under_popup", - "type": "bool" - } - ], - "argsoriginal": "(int remaining,bool restore_focus_to_window_under_popup)", - "call_args": "(remaining,restore_focus_to_window_under_popup)", - "cimguiname": "igClosePopupToLevel", - "defaults": {}, - "funcname": "ClosePopupToLevel", - "location": "imgui_internal:3061", - "namespace": "ImGui", - "ov_cimguiname": "igClosePopupToLevel", - "ret": "void", - "signature": "(int,bool)", - "stname": "" - } - ], - "igClosePopupsExceptModals": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igClosePopupsExceptModals", - "defaults": {}, - "funcname": "ClosePopupsExceptModals", - "location": "imgui_internal:3063", - "namespace": "ImGui", - "ov_cimguiname": "igClosePopupsExceptModals", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igClosePopupsOverWindow": [ - { - "args": "(ImGuiWindow* ref_window,bool restore_focus_to_window_under_popup)", - "argsT": [ - { - "name": "ref_window", - "type": "ImGuiWindow*" - }, - { - "name": "restore_focus_to_window_under_popup", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiWindow* ref_window,bool restore_focus_to_window_under_popup)", - "call_args": "(ref_window,restore_focus_to_window_under_popup)", - "cimguiname": "igClosePopupsOverWindow", - "defaults": {}, - "funcname": "ClosePopupsOverWindow", - "location": "imgui_internal:3062", - "namespace": "ImGui", - "ov_cimguiname": "igClosePopupsOverWindow", - "ret": "void", - "signature": "(ImGuiWindow*,bool)", - "stname": "" - } - ], - "igCollapseButton": [ - { - "args": "(ImGuiID id,const ImVec2 pos,ImGuiDockNode* dock_node)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "pos", - "type": "const ImVec2" - }, - { - "name": "dock_node", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "(ImGuiID id,const ImVec2& pos,ImGuiDockNode* dock_node)", - "call_args": "(id,pos,dock_node)", - "cimguiname": "igCollapseButton", - "defaults": {}, - "funcname": "CollapseButton", - "location": "imgui_internal:3352", - "namespace": "ImGui", - "ov_cimguiname": "igCollapseButton", - "ret": "bool", - "signature": "(ImGuiID,const ImVec2,ImGuiDockNode*)", - "stname": "" - } - ], - "igCollapsingHeader": [ - { - "args": "(const char* label,ImGuiTreeNodeFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiTreeNodeFlags" - } - ], - "argsoriginal": "(const char* label,ImGuiTreeNodeFlags flags=0)", - "call_args": "(label,flags)", - "cimguiname": "igCollapsingHeader", - "defaults": { - "flags": "0" - }, - "funcname": "CollapsingHeader", - "location": "imgui:625", - "namespace": "ImGui", - "ov_cimguiname": "igCollapsingHeader_TreeNodeFlags", - "ret": "bool", - "signature": "(const char*,ImGuiTreeNodeFlags)", - "stname": "" - }, - { - "args": "(const char* label,bool* p_visible,ImGuiTreeNodeFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "p_visible", - "type": "bool*" - }, - { - "name": "flags", - "type": "ImGuiTreeNodeFlags" - } - ], - "argsoriginal": "(const char* label,bool* p_visible,ImGuiTreeNodeFlags flags=0)", - "call_args": "(label,p_visible,flags)", - "cimguiname": "igCollapsingHeader", - "defaults": { - "flags": "0" - }, - "funcname": "CollapsingHeader", - "location": "imgui:626", - "namespace": "ImGui", - "ov_cimguiname": "igCollapsingHeader_BoolPtr", - "ret": "bool", - "signature": "(const char*,bool*,ImGuiTreeNodeFlags)", - "stname": "" - } - ], - "igColorButton": [ - { - "args": "(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,const ImVec2 size)", - "argsT": [ - { - "name": "desc_id", - "type": "const char*" - }, - { - "name": "col", - "type": "const ImVec4" - }, - { - "name": "flags", - "type": "ImGuiColorEditFlags" - }, - { - "name": "size", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,const ImVec2& size=ImVec2(0,0))", - "call_args": "(desc_id,col,flags,size)", - "cimguiname": "igColorButton", - "defaults": { - "flags": "0", - "size": "ImVec2(0,0)" - }, - "funcname": "ColorButton", - "location": "imgui:606", - "namespace": "ImGui", - "ov_cimguiname": "igColorButton", - "ret": "bool", - "signature": "(const char*,const ImVec4,ImGuiColorEditFlags,const ImVec2)", - "stname": "" - } - ], - "igColorConvertFloat4ToU32": [ - { - "args": "(const ImVec4 in)", - "argsT": [ - { - "name": "in", - "type": "const ImVec4" - } - ], - "argsoriginal": "(const ImVec4& in)", - "call_args": "(in)", - "cimguiname": "igColorConvertFloat4ToU32", - "defaults": {}, - "funcname": "ColorConvertFloat4ToU32", - "location": "imgui:912", - "namespace": "ImGui", - "ov_cimguiname": "igColorConvertFloat4ToU32", - "ret": "ImU32", - "signature": "(const ImVec4)", - "stname": "" - } - ], - "igColorConvertHSVtoRGB": [ - { - "args": "(float h,float s,float v,float* out_r,float* out_g,float* out_b)", - "argsT": [ - { - "name": "h", - "type": "float" - }, - { - "name": "s", - "type": "float" - }, - { - "name": "v", - "type": "float" - }, - { - "name": "out_r", - "reftoptr": true, - "type": "float*" - }, - { - "name": "out_g", - "reftoptr": true, - "type": "float*" - }, - { - "name": "out_b", - "reftoptr": true, - "type": "float*" - } - ], - "argsoriginal": "(float h,float s,float v,float& out_r,float& out_g,float& out_b)", - "call_args": "(h,s,v,*out_r,*out_g,*out_b)", - "cimguiname": "igColorConvertHSVtoRGB", - "defaults": {}, - "funcname": "ColorConvertHSVtoRGB", - "location": "imgui:914", - "namespace": "ImGui", - "ov_cimguiname": "igColorConvertHSVtoRGB", - "ret": "void", - "signature": "(float,float,float,float*,float*,float*)", - "stname": "" - } - ], - "igColorConvertRGBtoHSV": [ - { - "args": "(float r,float g,float b,float* out_h,float* out_s,float* out_v)", - "argsT": [ - { - "name": "r", - "type": "float" - }, - { - "name": "g", - "type": "float" - }, - { - "name": "b", - "type": "float" - }, - { - "name": "out_h", - "reftoptr": true, - "type": "float*" - }, - { - "name": "out_s", - "reftoptr": true, - "type": "float*" - }, - { - "name": "out_v", - "reftoptr": true, - "type": "float*" - } - ], - "argsoriginal": "(float r,float g,float b,float& out_h,float& out_s,float& out_v)", - "call_args": "(r,g,b,*out_h,*out_s,*out_v)", - "cimguiname": "igColorConvertRGBtoHSV", - "defaults": {}, - "funcname": "ColorConvertRGBtoHSV", - "location": "imgui:913", - "namespace": "ImGui", - "ov_cimguiname": "igColorConvertRGBtoHSV", - "ret": "void", - "signature": "(float,float,float,float*,float*,float*)", - "stname": "" - } - ], - "igColorConvertU32ToFloat4": [ - { - "args": "(ImVec4 *pOut,ImU32 in)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec4*" - }, - { - "name": "in", - "type": "ImU32" - } - ], - "argsoriginal": "(ImU32 in)", - "call_args": "(in)", - "cimguiname": "igColorConvertU32ToFloat4", - "defaults": {}, - "funcname": "ColorConvertU32ToFloat4", - "location": "imgui:911", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igColorConvertU32ToFloat4", - "ret": "void", - "signature": "(ImU32)", - "stname": "" - } - ], - "igColorEdit3": [ - { - "args": "(const char* label,float col[3],ImGuiColorEditFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "col", - "type": "float[3]" - }, - { - "name": "flags", - "type": "ImGuiColorEditFlags" - } - ], - "argsoriginal": "(const char* label,float col[3],ImGuiColorEditFlags flags=0)", - "call_args": "(label,col,flags)", - "cimguiname": "igColorEdit3", - "defaults": { - "flags": "0" - }, - "funcname": "ColorEdit3", - "location": "imgui:602", - "namespace": "ImGui", - "ov_cimguiname": "igColorEdit3", - "ret": "bool", - "signature": "(const char*,float[3],ImGuiColorEditFlags)", - "stname": "" - } - ], - "igColorEdit4": [ - { - "args": "(const char* label,float col[4],ImGuiColorEditFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "col", - "type": "float[4]" - }, - { - "name": "flags", - "type": "ImGuiColorEditFlags" - } - ], - "argsoriginal": "(const char* label,float col[4],ImGuiColorEditFlags flags=0)", - "call_args": "(label,col,flags)", - "cimguiname": "igColorEdit4", - "defaults": { - "flags": "0" - }, - "funcname": "ColorEdit4", - "location": "imgui:603", - "namespace": "ImGui", - "ov_cimguiname": "igColorEdit4", - "ret": "bool", - "signature": "(const char*,float[4],ImGuiColorEditFlags)", - "stname": "" - } - ], - "igColorEditOptionsPopup": [ - { - "args": "(const float* col,ImGuiColorEditFlags flags)", - "argsT": [ - { - "name": "col", - "type": "const float*" - }, - { - "name": "flags", - "type": "ImGuiColorEditFlags" - } - ], - "argsoriginal": "(const float* col,ImGuiColorEditFlags flags)", - "call_args": "(col,flags)", - "cimguiname": "igColorEditOptionsPopup", - "defaults": {}, - "funcname": "ColorEditOptionsPopup", - "location": "imgui_internal:3402", - "namespace": "ImGui", - "ov_cimguiname": "igColorEditOptionsPopup", - "ret": "void", - "signature": "(const float*,ImGuiColorEditFlags)", - "stname": "" - } - ], - "igColorPicker3": [ - { - "args": "(const char* label,float col[3],ImGuiColorEditFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "col", - "type": "float[3]" - }, - { - "name": "flags", - "type": "ImGuiColorEditFlags" - } - ], - "argsoriginal": "(const char* label,float col[3],ImGuiColorEditFlags flags=0)", - "call_args": "(label,col,flags)", - "cimguiname": "igColorPicker3", - "defaults": { - "flags": "0" - }, - "funcname": "ColorPicker3", - "location": "imgui:604", - "namespace": "ImGui", - "ov_cimguiname": "igColorPicker3", - "ret": "bool", - "signature": "(const char*,float[3],ImGuiColorEditFlags)", - "stname": "" - } - ], - "igColorPicker4": [ - { - "args": "(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "col", - "type": "float[4]" - }, - { - "name": "flags", - "type": "ImGuiColorEditFlags" - }, - { - "name": "ref_col", - "type": "const float*" - } - ], - "argsoriginal": "(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void*)0))", - "call_args": "(label,col,flags,ref_col)", - "cimguiname": "igColorPicker4", - "defaults": { - "flags": "0", - "ref_col": "NULL" - }, - "funcname": "ColorPicker4", - "location": "imgui:605", - "namespace": "ImGui", - "ov_cimguiname": "igColorPicker4", - "ret": "bool", - "signature": "(const char*,float[4],ImGuiColorEditFlags,const float*)", - "stname": "" - } - ], - "igColorPickerOptionsPopup": [ - { - "args": "(const float* ref_col,ImGuiColorEditFlags flags)", - "argsT": [ - { - "name": "ref_col", - "type": "const float*" - }, - { - "name": "flags", - "type": "ImGuiColorEditFlags" - } - ], - "argsoriginal": "(const float* ref_col,ImGuiColorEditFlags flags)", - "call_args": "(ref_col,flags)", - "cimguiname": "igColorPickerOptionsPopup", - "defaults": {}, - "funcname": "ColorPickerOptionsPopup", - "location": "imgui_internal:3403", - "namespace": "ImGui", - "ov_cimguiname": "igColorPickerOptionsPopup", - "ret": "void", - "signature": "(const float*,ImGuiColorEditFlags)", - "stname": "" - } - ], - "igColorTooltip": [ - { - "args": "(const char* text,const float* col,ImGuiColorEditFlags flags)", - "argsT": [ - { - "name": "text", - "type": "const char*" - }, - { - "name": "col", - "type": "const float*" - }, - { - "name": "flags", - "type": "ImGuiColorEditFlags" - } - ], - "argsoriginal": "(const char* text,const float* col,ImGuiColorEditFlags flags)", - "call_args": "(text,col,flags)", - "cimguiname": "igColorTooltip", - "defaults": {}, - "funcname": "ColorTooltip", - "location": "imgui_internal:3401", - "namespace": "ImGui", - "ov_cimguiname": "igColorTooltip", - "ret": "void", - "signature": "(const char*,const float*,ImGuiColorEditFlags)", - "stname": "" - } - ], - "igColumns": [ - { - "args": "(int count,const char* id,bool border)", - "argsT": [ - { - "name": "count", - "type": "int" - }, - { - "name": "id", - "type": "const char*" - }, - { - "name": "border", - "type": "bool" - } - ], - "argsoriginal": "(int count=1,const char* id=((void*)0),bool border=true)", - "call_args": "(count,id,border)", - "cimguiname": "igColumns", - "defaults": { - "border": "true", - "count": "1", - "id": "NULL" - }, - "funcname": "Columns", - "location": "imgui:784", - "namespace": "ImGui", - "ov_cimguiname": "igColumns", - "ret": "void", - "signature": "(int,const char*,bool)", - "stname": "" - } - ], - "igCombo": [ - { - "args": "(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "current_item", - "type": "int*" - }, - { - "name": "items", - "type": "const char* const[]" - }, - { - "name": "items_count", - "type": "int" - }, - { - "name": "popup_max_height_in_items", - "type": "int" - } - ], - "argsoriginal": "(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)", - "call_args": "(label,current_item,items,items_count,popup_max_height_in_items)", - "cimguiname": "igCombo", - "defaults": { - "popup_max_height_in_items": "-1" - }, - "funcname": "Combo", - "location": "imgui:531", - "namespace": "ImGui", - "ov_cimguiname": "igCombo_Str_arr", - "ret": "bool", - "signature": "(const char*,int*,const char* const[],int,int)", - "stname": "" - }, - { - "args": "(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "current_item", - "type": "int*" - }, - { - "name": "items_separated_by_zeros", - "type": "const char*" - }, - { - "name": "popup_max_height_in_items", - "type": "int" - } - ], - "argsoriginal": "(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)", - "call_args": "(label,current_item,items_separated_by_zeros,popup_max_height_in_items)", - "cimguiname": "igCombo", - "defaults": { - "popup_max_height_in_items": "-1" - }, - "funcname": "Combo", - "location": "imgui:532", - "namespace": "ImGui", - "ov_cimguiname": "igCombo_Str", - "ret": "bool", - "signature": "(const char*,int*,const char*,int)", - "stname": "" - }, - { - "args": "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "current_item", - "type": "int*" - }, - { - "name": "items_getter", - "ret": "bool", - "signature": "(void* data,int idx,const char** out_text)", - "type": "bool(*)(void* data,int idx,const char** out_text)" - }, - { - "name": "data", - "type": "void*" - }, - { - "name": "items_count", - "type": "int" - }, - { - "name": "popup_max_height_in_items", - "type": "int" - } - ], - "argsoriginal": "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)", - "call_args": "(label,current_item,items_getter,data,items_count,popup_max_height_in_items)", - "cimguiname": "igCombo", - "defaults": { - "popup_max_height_in_items": "-1" - }, - "funcname": "Combo", - "location": "imgui:533", - "namespace": "ImGui", - "ov_cimguiname": "igCombo_FnBoolPtr", - "ret": "bool", - "signature": "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)", - "stname": "" - } - ], - "igConvertSingleModFlagToKey": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igConvertSingleModFlagToKey", - "defaults": {}, - "funcname": "ConvertSingleModFlagToKey", - "location": "imgui_internal:3106", - "namespace": "ImGui", - "ov_cimguiname": "igConvertSingleModFlagToKey", - "ret": "ImGuiKey", - "signature": "(ImGuiKey)", - "stname": "" - } - ], - "igCreateContext": [ - { - "args": "(ImFontAtlas* shared_font_atlas)", - "argsT": [ - { - "name": "shared_font_atlas", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "(ImFontAtlas* shared_font_atlas=((void*)0))", - "call_args": "(shared_font_atlas)", - "cimguiname": "igCreateContext", - "defaults": { - "shared_font_atlas": "NULL" - }, - "funcname": "CreateContext", - "location": "imgui:294", - "namespace": "ImGui", - "ov_cimguiname": "igCreateContext", - "ret": "ImGuiContext*", - "signature": "(ImFontAtlas*)", - "stname": "" - } - ], - "igCreateNewWindowSettings": [ - { - "args": "(const char* name)", - "argsT": [ - { - "name": "name", - "type": "const char*" - } - ], - "argsoriginal": "(const char* name)", - "call_args": "(name)", - "cimguiname": "igCreateNewWindowSettings", - "defaults": {}, - "funcname": "CreateNewWindowSettings", - "location": "imgui_internal:2993", - "namespace": "ImGui", - "ov_cimguiname": "igCreateNewWindowSettings", - "ret": "ImGuiWindowSettings*", - "signature": "(const char*)", - "stname": "" - } - ], - "igDataTypeApplyFromText": [ - { - "args": "(const char* buf,ImGuiDataType data_type,void* p_data,const char* format)", - "argsT": [ - { - "name": "buf", - "type": "const char*" - }, - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "p_data", - "type": "void*" - }, - { - "name": "format", - "type": "const char*" - } - ], - "argsoriginal": "(const char* buf,ImGuiDataType data_type,void* p_data,const char* format)", - "call_args": "(buf,data_type,p_data,format)", - "cimguiname": "igDataTypeApplyFromText", - "defaults": {}, - "funcname": "DataTypeApplyFromText", - "location": "imgui_internal:3389", - "namespace": "ImGui", - "ov_cimguiname": "igDataTypeApplyFromText", - "ret": "bool", - "signature": "(const char*,ImGuiDataType,void*,const char*)", - "stname": "" - } - ], - "igDataTypeApplyOp": [ - { - "args": "(ImGuiDataType data_type,int op,void* output,const void* arg_1,const void* arg_2)", - "argsT": [ - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "op", - "type": "int" - }, - { - "name": "output", - "type": "void*" - }, - { - "name": "arg_1", - "type": "const void*" - }, - { - "name": "arg_2", - "type": "const void*" - } - ], - "argsoriginal": "(ImGuiDataType data_type,int op,void* output,const void* arg_1,const void* arg_2)", - "call_args": "(data_type,op,output,arg_1,arg_2)", - "cimguiname": "igDataTypeApplyOp", - "defaults": {}, - "funcname": "DataTypeApplyOp", - "location": "imgui_internal:3388", - "namespace": "ImGui", - "ov_cimguiname": "igDataTypeApplyOp", - "ret": "void", - "signature": "(ImGuiDataType,int,void*,const void*,const void*)", - "stname": "" - } - ], - "igDataTypeClamp": [ - { - "args": "(ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max)", - "argsT": [ - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "p_data", - "type": "void*" - }, - { - "name": "p_min", - "type": "const void*" - }, - { - "name": "p_max", - "type": "const void*" - } - ], - "argsoriginal": "(ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max)", - "call_args": "(data_type,p_data,p_min,p_max)", - "cimguiname": "igDataTypeClamp", - "defaults": {}, - "funcname": "DataTypeClamp", - "location": "imgui_internal:3391", - "namespace": "ImGui", - "ov_cimguiname": "igDataTypeClamp", - "ret": "bool", - "signature": "(ImGuiDataType,void*,const void*,const void*)", - "stname": "" - } - ], - "igDataTypeCompare": [ - { - "args": "(ImGuiDataType data_type,const void* arg_1,const void* arg_2)", - "argsT": [ - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "arg_1", - "type": "const void*" - }, - { - "name": "arg_2", - "type": "const void*" - } - ], - "argsoriginal": "(ImGuiDataType data_type,const void* arg_1,const void* arg_2)", - "call_args": "(data_type,arg_1,arg_2)", - "cimguiname": "igDataTypeCompare", - "defaults": {}, - "funcname": "DataTypeCompare", - "location": "imgui_internal:3390", - "namespace": "ImGui", - "ov_cimguiname": "igDataTypeCompare", - "ret": "int", - "signature": "(ImGuiDataType,const void*,const void*)", - "stname": "" - } - ], - "igDataTypeFormatString": [ - { - "args": "(char* buf,int buf_size,ImGuiDataType data_type,const void* p_data,const char* format)", - "argsT": [ - { - "name": "buf", - "type": "char*" - }, - { - "name": "buf_size", - "type": "int" - }, - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "p_data", - "type": "const void*" - }, - { - "name": "format", - "type": "const char*" - } - ], - "argsoriginal": "(char* buf,int buf_size,ImGuiDataType data_type,const void* p_data,const char* format)", - "call_args": "(buf,buf_size,data_type,p_data,format)", - "cimguiname": "igDataTypeFormatString", - "defaults": {}, - "funcname": "DataTypeFormatString", - "location": "imgui_internal:3387", - "namespace": "ImGui", - "ov_cimguiname": "igDataTypeFormatString", - "ret": "int", - "signature": "(char*,int,ImGuiDataType,const void*,const char*)", - "stname": "" - } - ], - "igDataTypeGetInfo": [ - { - "args": "(ImGuiDataType data_type)", - "argsT": [ - { - "name": "data_type", - "type": "ImGuiDataType" - } - ], - "argsoriginal": "(ImGuiDataType data_type)", - "call_args": "(data_type)", - "cimguiname": "igDataTypeGetInfo", - "defaults": {}, - "funcname": "DataTypeGetInfo", - "location": "imgui_internal:3386", - "namespace": "ImGui", - "ov_cimguiname": "igDataTypeGetInfo", - "ret": "const ImGuiDataTypeInfo*", - "signature": "(ImGuiDataType)", - "stname": "" - } - ], - "igDebugCheckVersionAndDataLayout": [ - { - "args": "(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert,size_t sz_drawidx)", - "argsT": [ - { - "name": "version_str", - "type": "const char*" - }, - { - "name": "sz_io", - "type": "size_t" - }, - { - "name": "sz_style", - "type": "size_t" - }, - { - "name": "sz_vec2", - "type": "size_t" - }, - { - "name": "sz_vec4", - "type": "size_t" - }, - { - "name": "sz_drawvert", - "type": "size_t" - }, - { - "name": "sz_drawidx", - "type": "size_t" - } - ], - "argsoriginal": "(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert,size_t sz_drawidx)", - "call_args": "(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert,sz_drawidx)", - "cimguiname": "igDebugCheckVersionAndDataLayout", - "defaults": {}, - "funcname": "DebugCheckVersionAndDataLayout", - "location": "imgui:966", - "namespace": "ImGui", - "ov_cimguiname": "igDebugCheckVersionAndDataLayout", - "ret": "bool", - "signature": "(const char*,size_t,size_t,size_t,size_t,size_t,size_t)", - "stname": "" - } - ], - "igDebugDrawItemRect": [ - { - "args": "(ImU32 col)", - "argsT": [ - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(ImU32 col=(((ImU32)(255)<<24)|((ImU32)(0)<<16)|((ImU32)(0)<<8)|((ImU32)(255)<<0)))", - "call_args": "(col)", - "cimguiname": "igDebugDrawItemRect", - "defaults": { - "col": "4278190335" - }, - "funcname": "DebugDrawItemRect", - "location": "imgui_internal:3428", - "namespace": "ImGui", - "ov_cimguiname": "igDebugDrawItemRect", - "ret": "void", - "signature": "(ImU32)", - "stname": "" - } - ], - "igDebugHookIdInfo": [ - { - "args": "(ImGuiID id,ImGuiDataType data_type,const void* data_id,const void* data_id_end)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "data_id", - "type": "const void*" - }, - { - "name": "data_id_end", - "type": "const void*" - } - ], - "argsoriginal": "(ImGuiID id,ImGuiDataType data_type,const void* data_id,const void* data_id_end)", - "call_args": "(id,data_type,data_id,data_id_end)", - "cimguiname": "igDebugHookIdInfo", - "defaults": {}, - "funcname": "DebugHookIdInfo", - "location": "imgui_internal:3431", - "namespace": "ImGui", - "ov_cimguiname": "igDebugHookIdInfo", - "ret": "void", - "signature": "(ImGuiID,ImGuiDataType,const void*,const void*)", - "stname": "" - } - ], - "igDebugLocateItem": [ - { - "args": "(ImGuiID target_id)", - "argsT": [ - { - "name": "target_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID target_id)", - "call_args": "(target_id)", - "cimguiname": "igDebugLocateItem", - "defaults": {}, - "funcname": "DebugLocateItem", - "location": "imgui_internal:3425", - "namespace": "ImGui", - "ov_cimguiname": "igDebugLocateItem", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igDebugLocateItemOnHover": [ - { - "args": "(ImGuiID target_id)", - "argsT": [ - { - "name": "target_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID target_id)", - "call_args": "(target_id)", - "cimguiname": "igDebugLocateItemOnHover", - "defaults": {}, - "funcname": "DebugLocateItemOnHover", - "location": "imgui_internal:3426", - "namespace": "ImGui", - "ov_cimguiname": "igDebugLocateItemOnHover", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igDebugLocateItemResolveWithLastItem": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igDebugLocateItemResolveWithLastItem", - "defaults": {}, - "funcname": "DebugLocateItemResolveWithLastItem", - "location": "imgui_internal:3427", - "namespace": "ImGui", - "ov_cimguiname": "igDebugLocateItemResolveWithLastItem", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igDebugLog": [ - { - "args": "(const char* fmt,...)", - "argsT": [ - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const char* fmt,...)", - "call_args": "(fmt,...)", - "cimguiname": "igDebugLog", - "defaults": {}, - "funcname": "DebugLog", - "isvararg": "...)", - "location": "imgui_internal:3418", - "namespace": "ImGui", - "ov_cimguiname": "igDebugLog", - "ret": "void", - "signature": "(const char*,...)", - "stname": "" - } - ], - "igDebugLogV": [ - { - "args": "(const char* fmt,va_list args)", - "argsT": [ - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const char* fmt,va_list args)", - "call_args": "(fmt,args)", - "cimguiname": "igDebugLogV", - "defaults": {}, - "funcname": "DebugLogV", - "location": "imgui_internal:3419", - "namespace": "ImGui", - "ov_cimguiname": "igDebugLogV", - "ret": "void", - "signature": "(const char*,va_list)", - "stname": "" - } - ], - "igDebugNodeColumns": [ - { - "args": "(ImGuiOldColumns* columns)", - "argsT": [ - { - "name": "columns", - "type": "ImGuiOldColumns*" - } - ], - "argsoriginal": "(ImGuiOldColumns* columns)", - "call_args": "(columns)", - "cimguiname": "igDebugNodeColumns", - "defaults": {}, - "funcname": "DebugNodeColumns", - "location": "imgui_internal:3432", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeColumns", - "ret": "void", - "signature": "(ImGuiOldColumns*)", - "stname": "" - } - ], - "igDebugNodeDockNode": [ - { - "args": "(ImGuiDockNode* node,const char* label)", - "argsT": [ - { - "name": "node", - "type": "ImGuiDockNode*" - }, - { - "name": "label", - "type": "const char*" - } - ], - "argsoriginal": "(ImGuiDockNode* node,const char* label)", - "call_args": "(node,label)", - "cimguiname": "igDebugNodeDockNode", - "defaults": {}, - "funcname": "DebugNodeDockNode", - "location": "imgui_internal:3433", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeDockNode", - "ret": "void", - "signature": "(ImGuiDockNode*,const char*)", - "stname": "" - } - ], - "igDebugNodeDrawCmdShowMeshAndBoundingBox": [ - { - "args": "(ImDrawList* out_draw_list,const ImDrawList* draw_list,const ImDrawCmd* draw_cmd,bool show_mesh,bool show_aabb)", - "argsT": [ - { - "name": "out_draw_list", - "type": "ImDrawList*" - }, - { - "name": "draw_list", - "type": "const ImDrawList*" - }, - { - "name": "draw_cmd", - "type": "const ImDrawCmd*" - }, - { - "name": "show_mesh", - "type": "bool" - }, - { - "name": "show_aabb", - "type": "bool" - } - ], - "argsoriginal": "(ImDrawList* out_draw_list,const ImDrawList* draw_list,const ImDrawCmd* draw_cmd,bool show_mesh,bool show_aabb)", - "call_args": "(out_draw_list,draw_list,draw_cmd,show_mesh,show_aabb)", - "cimguiname": "igDebugNodeDrawCmdShowMeshAndBoundingBox", - "defaults": {}, - "funcname": "DebugNodeDrawCmdShowMeshAndBoundingBox", - "location": "imgui_internal:3435", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeDrawCmdShowMeshAndBoundingBox", - "ret": "void", - "signature": "(ImDrawList*,const ImDrawList*,const ImDrawCmd*,bool,bool)", - "stname": "" - } - ], - "igDebugNodeDrawList": [ - { - "args": "(ImGuiWindow* window,ImGuiViewportP* viewport,const ImDrawList* draw_list,const char* label)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "viewport", - "type": "ImGuiViewportP*" - }, - { - "name": "draw_list", - "type": "const ImDrawList*" - }, - { - "name": "label", - "type": "const char*" - } - ], - "argsoriginal": "(ImGuiWindow* window,ImGuiViewportP* viewport,const ImDrawList* draw_list,const char* label)", - "call_args": "(window,viewport,draw_list,label)", - "cimguiname": "igDebugNodeDrawList", - "defaults": {}, - "funcname": "DebugNodeDrawList", - "location": "imgui_internal:3434", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeDrawList", - "ret": "void", - "signature": "(ImGuiWindow*,ImGuiViewportP*,const ImDrawList*,const char*)", - "stname": "" - } - ], - "igDebugNodeFont": [ - { - "args": "(ImFont* font)", - "argsT": [ - { - "name": "font", - "type": "ImFont*" - } - ], - "argsoriginal": "(ImFont* font)", - "call_args": "(font)", - "cimguiname": "igDebugNodeFont", - "defaults": {}, - "funcname": "DebugNodeFont", - "location": "imgui_internal:3436", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeFont", - "ret": "void", - "signature": "(ImFont*)", - "stname": "" - } - ], - "igDebugNodeFontGlyph": [ - { - "args": "(ImFont* font,const ImFontGlyph* glyph)", - "argsT": [ - { - "name": "font", - "type": "ImFont*" - }, - { - "name": "glyph", - "type": "const ImFontGlyph*" - } - ], - "argsoriginal": "(ImFont* font,const ImFontGlyph* glyph)", - "call_args": "(font,glyph)", - "cimguiname": "igDebugNodeFontGlyph", - "defaults": {}, - "funcname": "DebugNodeFontGlyph", - "location": "imgui_internal:3437", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeFontGlyph", - "ret": "void", - "signature": "(ImFont*,const ImFontGlyph*)", - "stname": "" - } - ], - "igDebugNodeInputTextState": [ - { - "args": "(ImGuiInputTextState* state)", - "argsT": [ - { - "name": "state", - "type": "ImGuiInputTextState*" - } - ], - "argsoriginal": "(ImGuiInputTextState* state)", - "call_args": "(state)", - "cimguiname": "igDebugNodeInputTextState", - "defaults": {}, - "funcname": "DebugNodeInputTextState", - "location": "imgui_internal:3442", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeInputTextState", - "ret": "void", - "signature": "(ImGuiInputTextState*)", - "stname": "" - } - ], - "igDebugNodeStorage": [ - { - "args": "(ImGuiStorage* storage,const char* label)", - "argsT": [ - { - "name": "storage", - "type": "ImGuiStorage*" - }, - { - "name": "label", - "type": "const char*" - } - ], - "argsoriginal": "(ImGuiStorage* storage,const char* label)", - "call_args": "(storage,label)", - "cimguiname": "igDebugNodeStorage", - "defaults": {}, - "funcname": "DebugNodeStorage", - "location": "imgui_internal:3438", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeStorage", - "ret": "void", - "signature": "(ImGuiStorage*,const char*)", - "stname": "" - } - ], - "igDebugNodeTabBar": [ - { - "args": "(ImGuiTabBar* tab_bar,const char* label)", - "argsT": [ - { - "name": "tab_bar", - "type": "ImGuiTabBar*" - }, - { - "name": "label", - "type": "const char*" - } - ], - "argsoriginal": "(ImGuiTabBar* tab_bar,const char* label)", - "call_args": "(tab_bar,label)", - "cimguiname": "igDebugNodeTabBar", - "defaults": {}, - "funcname": "DebugNodeTabBar", - "location": "imgui_internal:3439", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeTabBar", - "ret": "void", - "signature": "(ImGuiTabBar*,const char*)", - "stname": "" - } - ], - "igDebugNodeTable": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igDebugNodeTable", - "defaults": {}, - "funcname": "DebugNodeTable", - "location": "imgui_internal:3440", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeTable", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igDebugNodeTableSettings": [ - { - "args": "(ImGuiTableSettings* settings)", - "argsT": [ - { - "name": "settings", - "type": "ImGuiTableSettings*" - } - ], - "argsoriginal": "(ImGuiTableSettings* settings)", - "call_args": "(settings)", - "cimguiname": "igDebugNodeTableSettings", - "defaults": {}, - "funcname": "DebugNodeTableSettings", - "location": "imgui_internal:3441", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeTableSettings", - "ret": "void", - "signature": "(ImGuiTableSettings*)", - "stname": "" - } - ], - "igDebugNodeViewport": [ - { - "args": "(ImGuiViewportP* viewport)", - "argsT": [ - { - "name": "viewport", - "type": "ImGuiViewportP*" - } - ], - "argsoriginal": "(ImGuiViewportP* viewport)", - "call_args": "(viewport)", - "cimguiname": "igDebugNodeViewport", - "defaults": {}, - "funcname": "DebugNodeViewport", - "location": "imgui_internal:3447", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeViewport", - "ret": "void", - "signature": "(ImGuiViewportP*)", - "stname": "" - } - ], - "igDebugNodeWindow": [ - { - "args": "(ImGuiWindow* window,const char* label)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "label", - "type": "const char*" - } - ], - "argsoriginal": "(ImGuiWindow* window,const char* label)", - "call_args": "(window,label)", - "cimguiname": "igDebugNodeWindow", - "defaults": {}, - "funcname": "DebugNodeWindow", - "location": "imgui_internal:3443", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeWindow", - "ret": "void", - "signature": "(ImGuiWindow*,const char*)", - "stname": "" - } - ], - "igDebugNodeWindowSettings": [ - { - "args": "(ImGuiWindowSettings* settings)", - "argsT": [ - { - "name": "settings", - "type": "ImGuiWindowSettings*" - } - ], - "argsoriginal": "(ImGuiWindowSettings* settings)", - "call_args": "(settings)", - "cimguiname": "igDebugNodeWindowSettings", - "defaults": {}, - "funcname": "DebugNodeWindowSettings", - "location": "imgui_internal:3444", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeWindowSettings", - "ret": "void", - "signature": "(ImGuiWindowSettings*)", - "stname": "" - } - ], - "igDebugNodeWindowsList": [ - { - "args": "(ImVector_ImGuiWindowPtr* windows,const char* label)", - "argsT": [ - { - "name": "windows", - "type": "ImVector_ImGuiWindowPtr*" - }, - { - "name": "label", - "type": "const char*" - } - ], - "argsoriginal": "(ImVector* windows,const char* label)", - "call_args": "(windows,label)", - "cimguiname": "igDebugNodeWindowsList", - "defaults": {}, - "funcname": "DebugNodeWindowsList", - "location": "imgui_internal:3445", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeWindowsList", - "ret": "void", - "signature": "(ImVector_ImGuiWindowPtr*,const char*)", - "stname": "" - } - ], - "igDebugNodeWindowsListByBeginStackParent": [ - { - "args": "(ImGuiWindow** windows,int windows_size,ImGuiWindow* parent_in_begin_stack)", - "argsT": [ - { - "name": "windows", - "type": "ImGuiWindow**" - }, - { - "name": "windows_size", - "type": "int" - }, - { - "name": "parent_in_begin_stack", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow** windows,int windows_size,ImGuiWindow* parent_in_begin_stack)", - "call_args": "(windows,windows_size,parent_in_begin_stack)", - "cimguiname": "igDebugNodeWindowsListByBeginStackParent", - "defaults": {}, - "funcname": "DebugNodeWindowsListByBeginStackParent", - "location": "imgui_internal:3446", - "namespace": "ImGui", - "ov_cimguiname": "igDebugNodeWindowsListByBeginStackParent", - "ret": "void", - "signature": "(ImGuiWindow**,int,ImGuiWindow*)", - "stname": "" - } - ], - "igDebugRenderViewportThumbnail": [ - { - "args": "(ImDrawList* draw_list,ImGuiViewportP* viewport,const ImRect bb)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "viewport", - "type": "ImGuiViewportP*" - }, - { - "name": "bb", - "type": "const ImRect" - } - ], - "argsoriginal": "(ImDrawList* draw_list,ImGuiViewportP* viewport,const ImRect& bb)", - "call_args": "(draw_list,viewport,bb)", - "cimguiname": "igDebugRenderViewportThumbnail", - "defaults": {}, - "funcname": "DebugRenderViewportThumbnail", - "location": "imgui_internal:3448", - "namespace": "ImGui", - "ov_cimguiname": "igDebugRenderViewportThumbnail", - "ret": "void", - "signature": "(ImDrawList*,ImGuiViewportP*,const ImRect)", - "stname": "" - } - ], - "igDebugStartItemPicker": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igDebugStartItemPicker", - "defaults": {}, - "funcname": "DebugStartItemPicker", - "location": "imgui_internal:3429", - "namespace": "ImGui", - "ov_cimguiname": "igDebugStartItemPicker", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igDebugTextEncoding": [ - { - "args": "(const char* text)", - "argsT": [ - { - "name": "text", - "type": "const char*" - } - ], - "argsoriginal": "(const char* text)", - "call_args": "(text)", - "cimguiname": "igDebugTextEncoding", - "defaults": {}, - "funcname": "DebugTextEncoding", - "location": "imgui:965", - "namespace": "ImGui", - "ov_cimguiname": "igDebugTextEncoding", - "ret": "void", - "signature": "(const char*)", - "stname": "" - } - ], - "igDestroyContext": [ - { - "args": "(ImGuiContext* ctx)", - "argsT": [ - { - "name": "ctx", - "type": "ImGuiContext*" - } - ], - "argsoriginal": "(ImGuiContext* ctx=((void*)0))", - "call_args": "(ctx)", - "cimguiname": "igDestroyContext", - "defaults": { - "ctx": "NULL" - }, - "funcname": "DestroyContext", - "location": "imgui:295", - "namespace": "ImGui", - "ov_cimguiname": "igDestroyContext", - "ret": "void", - "signature": "(ImGuiContext*)", - "stname": "" - } - ], - "igDestroyPlatformWindow": [ - { - "args": "(ImGuiViewportP* viewport)", - "argsT": [ - { - "name": "viewport", - "type": "ImGuiViewportP*" - } - ], - "argsoriginal": "(ImGuiViewportP* viewport)", - "call_args": "(viewport)", - "cimguiname": "igDestroyPlatformWindow", - "defaults": {}, - "funcname": "DestroyPlatformWindow", - "location": "imgui_internal:2983", - "namespace": "ImGui", - "ov_cimguiname": "igDestroyPlatformWindow", - "ret": "void", - "signature": "(ImGuiViewportP*)", - "stname": "" - } - ], - "igDestroyPlatformWindows": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igDestroyPlatformWindows", - "defaults": {}, - "funcname": "DestroyPlatformWindows", - "location": "imgui:983", - "namespace": "ImGui", - "ov_cimguiname": "igDestroyPlatformWindows", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igDockBuilderAddNode": [ - { - "args": "(ImGuiID node_id,ImGuiDockNodeFlags flags)", - "argsT": [ - { - "name": "node_id", - "type": "ImGuiID" - }, - { - "name": "flags", - "type": "ImGuiDockNodeFlags" - } - ], - "argsoriginal": "(ImGuiID node_id=0,ImGuiDockNodeFlags flags=0)", - "call_args": "(node_id,flags)", - "cimguiname": "igDockBuilderAddNode", - "defaults": { - "flags": "0", - "node_id": "0" - }, - "funcname": "DockBuilderAddNode", - "location": "imgui_internal:3211", - "namespace": "ImGui", - "ov_cimguiname": "igDockBuilderAddNode", - "ret": "ImGuiID", - "signature": "(ImGuiID,ImGuiDockNodeFlags)", - "stname": "" - } - ], - "igDockBuilderCopyDockSpace": [ - { - "args": "(ImGuiID src_dockspace_id,ImGuiID dst_dockspace_id,ImVector_const_charPtr* in_window_remap_pairs)", - "argsT": [ - { - "name": "src_dockspace_id", - "type": "ImGuiID" - }, - { - "name": "dst_dockspace_id", - "type": "ImGuiID" - }, - { - "name": "in_window_remap_pairs", - "type": "ImVector_const_charPtr*" - } - ], - "argsoriginal": "(ImGuiID src_dockspace_id,ImGuiID dst_dockspace_id,ImVector* in_window_remap_pairs)", - "call_args": "(src_dockspace_id,dst_dockspace_id,in_window_remap_pairs)", - "cimguiname": "igDockBuilderCopyDockSpace", - "defaults": {}, - "funcname": "DockBuilderCopyDockSpace", - "location": "imgui_internal:3218", - "namespace": "ImGui", - "ov_cimguiname": "igDockBuilderCopyDockSpace", - "ret": "void", - "signature": "(ImGuiID,ImGuiID,ImVector_const_charPtr*)", - "stname": "" - } - ], - "igDockBuilderCopyNode": [ - { - "args": "(ImGuiID src_node_id,ImGuiID dst_node_id,ImVector_ImGuiID* out_node_remap_pairs)", - "argsT": [ - { - "name": "src_node_id", - "type": "ImGuiID" - }, - { - "name": "dst_node_id", - "type": "ImGuiID" - }, - { - "name": "out_node_remap_pairs", - "type": "ImVector_ImGuiID*" - } - ], - "argsoriginal": "(ImGuiID src_node_id,ImGuiID dst_node_id,ImVector* out_node_remap_pairs)", - "call_args": "(src_node_id,dst_node_id,out_node_remap_pairs)", - "cimguiname": "igDockBuilderCopyNode", - "defaults": {}, - "funcname": "DockBuilderCopyNode", - "location": "imgui_internal:3219", - "namespace": "ImGui", - "ov_cimguiname": "igDockBuilderCopyNode", - "ret": "void", - "signature": "(ImGuiID,ImGuiID,ImVector_ImGuiID*)", - "stname": "" - } - ], - "igDockBuilderCopyWindowSettings": [ - { - "args": "(const char* src_name,const char* dst_name)", - "argsT": [ - { - "name": "src_name", - "type": "const char*" - }, - { - "name": "dst_name", - "type": "const char*" - } - ], - "argsoriginal": "(const char* src_name,const char* dst_name)", - "call_args": "(src_name,dst_name)", - "cimguiname": "igDockBuilderCopyWindowSettings", - "defaults": {}, - "funcname": "DockBuilderCopyWindowSettings", - "location": "imgui_internal:3220", - "namespace": "ImGui", - "ov_cimguiname": "igDockBuilderCopyWindowSettings", - "ret": "void", - "signature": "(const char*,const char*)", - "stname": "" - } - ], - "igDockBuilderDockWindow": [ - { - "args": "(const char* window_name,ImGuiID node_id)", - "argsT": [ - { - "name": "window_name", - "type": "const char*" - }, - { - "name": "node_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(const char* window_name,ImGuiID node_id)", - "call_args": "(window_name,node_id)", - "cimguiname": "igDockBuilderDockWindow", - "defaults": {}, - "funcname": "DockBuilderDockWindow", - "location": "imgui_internal:3208", - "namespace": "ImGui", - "ov_cimguiname": "igDockBuilderDockWindow", - "ret": "void", - "signature": "(const char*,ImGuiID)", - "stname": "" - } - ], - "igDockBuilderFinish": [ - { - "args": "(ImGuiID node_id)", - "argsT": [ - { - "name": "node_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID node_id)", - "call_args": "(node_id)", - "cimguiname": "igDockBuilderFinish", - "defaults": {}, - "funcname": "DockBuilderFinish", - "location": "imgui_internal:3221", - "namespace": "ImGui", - "ov_cimguiname": "igDockBuilderFinish", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igDockBuilderGetCentralNode": [ - { - "args": "(ImGuiID node_id)", - "argsT": [ - { - "name": "node_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID node_id)", - "call_args": "(node_id)", - "cimguiname": "igDockBuilderGetCentralNode", - "defaults": {}, - "funcname": "DockBuilderGetCentralNode", - "location": "imgui_internal:3210", - "namespace": "ImGui", - "ov_cimguiname": "igDockBuilderGetCentralNode", - "ret": "ImGuiDockNode*", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igDockBuilderGetNode": [ - { - "args": "(ImGuiID node_id)", - "argsT": [ - { - "name": "node_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID node_id)", - "call_args": "(node_id)", - "cimguiname": "igDockBuilderGetNode", - "defaults": {}, - "funcname": "DockBuilderGetNode", - "location": "imgui_internal:3209", - "namespace": "ImGui", - "ov_cimguiname": "igDockBuilderGetNode", - "ret": "ImGuiDockNode*", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igDockBuilderRemoveNode": [ - { - "args": "(ImGuiID node_id)", - "argsT": [ - { - "name": "node_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID node_id)", - "call_args": "(node_id)", - "cimguiname": "igDockBuilderRemoveNode", - "defaults": {}, - "funcname": "DockBuilderRemoveNode", - "location": "imgui_internal:3212", - "namespace": "ImGui", - "ov_cimguiname": "igDockBuilderRemoveNode", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igDockBuilderRemoveNodeChildNodes": [ - { - "args": "(ImGuiID node_id)", - "argsT": [ - { - "name": "node_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID node_id)", - "call_args": "(node_id)", - "cimguiname": "igDockBuilderRemoveNodeChildNodes", - "defaults": {}, - "funcname": "DockBuilderRemoveNodeChildNodes", - "location": "imgui_internal:3214", - "namespace": "ImGui", - "ov_cimguiname": "igDockBuilderRemoveNodeChildNodes", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igDockBuilderRemoveNodeDockedWindows": [ - { - "args": "(ImGuiID node_id,bool clear_settings_refs)", - "argsT": [ - { - "name": "node_id", - "type": "ImGuiID" - }, - { - "name": "clear_settings_refs", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiID node_id,bool clear_settings_refs=true)", - "call_args": "(node_id,clear_settings_refs)", - "cimguiname": "igDockBuilderRemoveNodeDockedWindows", - "defaults": { - "clear_settings_refs": "true" - }, - "funcname": "DockBuilderRemoveNodeDockedWindows", - "location": "imgui_internal:3213", - "namespace": "ImGui", - "ov_cimguiname": "igDockBuilderRemoveNodeDockedWindows", - "ret": "void", - "signature": "(ImGuiID,bool)", - "stname": "" - } - ], - "igDockBuilderSetNodePos": [ - { - "args": "(ImGuiID node_id,ImVec2 pos)", - "argsT": [ - { - "name": "node_id", - "type": "ImGuiID" - }, - { - "name": "pos", - "type": "ImVec2" - } - ], - "argsoriginal": "(ImGuiID node_id,ImVec2 pos)", - "call_args": "(node_id,pos)", - "cimguiname": "igDockBuilderSetNodePos", - "defaults": {}, - "funcname": "DockBuilderSetNodePos", - "location": "imgui_internal:3215", - "namespace": "ImGui", - "ov_cimguiname": "igDockBuilderSetNodePos", - "ret": "void", - "signature": "(ImGuiID,ImVec2)", - "stname": "" - } - ], - "igDockBuilderSetNodeSize": [ - { - "args": "(ImGuiID node_id,ImVec2 size)", - "argsT": [ - { - "name": "node_id", - "type": "ImGuiID" - }, - { - "name": "size", - "type": "ImVec2" - } - ], - "argsoriginal": "(ImGuiID node_id,ImVec2 size)", - "call_args": "(node_id,size)", - "cimguiname": "igDockBuilderSetNodeSize", - "defaults": {}, - "funcname": "DockBuilderSetNodeSize", - "location": "imgui_internal:3216", - "namespace": "ImGui", - "ov_cimguiname": "igDockBuilderSetNodeSize", - "ret": "void", - "signature": "(ImGuiID,ImVec2)", - "stname": "" - } - ], - "igDockBuilderSplitNode": [ - { - "args": "(ImGuiID node_id,ImGuiDir split_dir,float size_ratio_for_node_at_dir,ImGuiID* out_id_at_dir,ImGuiID* out_id_at_opposite_dir)", - "argsT": [ - { - "name": "node_id", - "type": "ImGuiID" - }, - { - "name": "split_dir", - "type": "ImGuiDir" - }, - { - "name": "size_ratio_for_node_at_dir", - "type": "float" - }, - { - "name": "out_id_at_dir", - "type": "ImGuiID*" - }, - { - "name": "out_id_at_opposite_dir", - "type": "ImGuiID*" - } - ], - "argsoriginal": "(ImGuiID node_id,ImGuiDir split_dir,float size_ratio_for_node_at_dir,ImGuiID* out_id_at_dir,ImGuiID* out_id_at_opposite_dir)", - "call_args": "(node_id,split_dir,size_ratio_for_node_at_dir,out_id_at_dir,out_id_at_opposite_dir)", - "cimguiname": "igDockBuilderSplitNode", - "defaults": {}, - "funcname": "DockBuilderSplitNode", - "location": "imgui_internal:3217", - "namespace": "ImGui", - "ov_cimguiname": "igDockBuilderSplitNode", - "ret": "ImGuiID", - "signature": "(ImGuiID,ImGuiDir,float,ImGuiID*,ImGuiID*)", - "stname": "" - } - ], - "igDockContextCalcDropPosForDocking": [ - { - "args": "(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload_window,ImGuiDockNode* payload_node,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos)", - "argsT": [ - { - "name": "target", - "type": "ImGuiWindow*" - }, - { - "name": "target_node", - "type": "ImGuiDockNode*" - }, - { - "name": "payload_window", - "type": "ImGuiWindow*" - }, - { - "name": "payload_node", - "type": "ImGuiDockNode*" - }, - { - "name": "split_dir", - "type": "ImGuiDir" - }, - { - "name": "split_outer", - "type": "bool" - }, - { - "name": "out_pos", - "type": "ImVec2*" - } - ], - "argsoriginal": "(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload_window,ImGuiDockNode* payload_node,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos)", - "call_args": "(target,target_node,payload_window,payload_node,split_dir,split_outer,out_pos)", - "cimguiname": "igDockContextCalcDropPosForDocking", - "defaults": {}, - "funcname": "DockContextCalcDropPosForDocking", - "location": "imgui_internal:3184", - "namespace": "ImGui", - "ov_cimguiname": "igDockContextCalcDropPosForDocking", - "ret": "bool", - "signature": "(ImGuiWindow*,ImGuiDockNode*,ImGuiWindow*,ImGuiDockNode*,ImGuiDir,bool,ImVec2*)", - "stname": "" - } - ], - "igDockContextClearNodes": [ - { - "args": "(ImGuiContext* ctx,ImGuiID root_id,bool clear_settings_refs)", - "argsT": [ - { - "name": "ctx", - "type": "ImGuiContext*" - }, - { - "name": "root_id", - "type": "ImGuiID" - }, - { - "name": "clear_settings_refs", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiContext* ctx,ImGuiID root_id,bool clear_settings_refs)", - "call_args": "(ctx,root_id,clear_settings_refs)", - "cimguiname": "igDockContextClearNodes", - "defaults": {}, - "funcname": "DockContextClearNodes", - "location": "imgui_internal:3175", - "namespace": "ImGui", - "ov_cimguiname": "igDockContextClearNodes", - "ret": "void", - "signature": "(ImGuiContext*,ImGuiID,bool)", - "stname": "" - } - ], - "igDockContextEndFrame": [ - { - "args": "(ImGuiContext* ctx)", - "argsT": [ - { - "name": "ctx", - "type": "ImGuiContext*" - } - ], - "argsoriginal": "(ImGuiContext* ctx)", - "call_args": "(ctx)", - "cimguiname": "igDockContextEndFrame", - "defaults": {}, - "funcname": "DockContextEndFrame", - "location": "imgui_internal:3179", - "namespace": "ImGui", - "ov_cimguiname": "igDockContextEndFrame", - "ret": "void", - "signature": "(ImGuiContext*)", - "stname": "" - } - ], - "igDockContextFindNodeByID": [ - { - "args": "(ImGuiContext* ctx,ImGuiID id)", - "argsT": [ - { - "name": "ctx", - "type": "ImGuiContext*" - }, - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiContext* ctx,ImGuiID id)", - "call_args": "(ctx,id)", - "cimguiname": "igDockContextFindNodeByID", - "defaults": {}, - "funcname": "DockContextFindNodeByID", - "location": "imgui_internal:3185", - "namespace": "ImGui", - "ov_cimguiname": "igDockContextFindNodeByID", - "ret": "ImGuiDockNode*", - "signature": "(ImGuiContext*,ImGuiID)", - "stname": "" - } - ], - "igDockContextGenNodeID": [ - { - "args": "(ImGuiContext* ctx)", - "argsT": [ - { - "name": "ctx", - "type": "ImGuiContext*" - } - ], - "argsoriginal": "(ImGuiContext* ctx)", - "call_args": "(ctx)", - "cimguiname": "igDockContextGenNodeID", - "defaults": {}, - "funcname": "DockContextGenNodeID", - "location": "imgui_internal:3180", - "namespace": "ImGui", - "ov_cimguiname": "igDockContextGenNodeID", - "ret": "ImGuiID", - "signature": "(ImGuiContext*)", - "stname": "" - } - ], - "igDockContextInitialize": [ - { - "args": "(ImGuiContext* ctx)", - "argsT": [ - { - "name": "ctx", - "type": "ImGuiContext*" - } - ], - "argsoriginal": "(ImGuiContext* ctx)", - "call_args": "(ctx)", - "cimguiname": "igDockContextInitialize", - "defaults": {}, - "funcname": "DockContextInitialize", - "location": "imgui_internal:3173", - "namespace": "ImGui", - "ov_cimguiname": "igDockContextInitialize", - "ret": "void", - "signature": "(ImGuiContext*)", - "stname": "" - } - ], - "igDockContextNewFrameUpdateDocking": [ - { - "args": "(ImGuiContext* ctx)", - "argsT": [ - { - "name": "ctx", - "type": "ImGuiContext*" - } - ], - "argsoriginal": "(ImGuiContext* ctx)", - "call_args": "(ctx)", - "cimguiname": "igDockContextNewFrameUpdateDocking", - "defaults": {}, - "funcname": "DockContextNewFrameUpdateDocking", - "location": "imgui_internal:3178", - "namespace": "ImGui", - "ov_cimguiname": "igDockContextNewFrameUpdateDocking", - "ret": "void", - "signature": "(ImGuiContext*)", - "stname": "" - } - ], - "igDockContextNewFrameUpdateUndocking": [ - { - "args": "(ImGuiContext* ctx)", - "argsT": [ - { - "name": "ctx", - "type": "ImGuiContext*" - } - ], - "argsoriginal": "(ImGuiContext* ctx)", - "call_args": "(ctx)", - "cimguiname": "igDockContextNewFrameUpdateUndocking", - "defaults": {}, - "funcname": "DockContextNewFrameUpdateUndocking", - "location": "imgui_internal:3177", - "namespace": "ImGui", - "ov_cimguiname": "igDockContextNewFrameUpdateUndocking", - "ret": "void", - "signature": "(ImGuiContext*)", - "stname": "" - } - ], - "igDockContextQueueDock": [ - { - "args": "(ImGuiContext* ctx,ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,float split_ratio,bool split_outer)", - "argsT": [ - { - "name": "ctx", - "type": "ImGuiContext*" - }, - { - "name": "target", - "type": "ImGuiWindow*" - }, - { - "name": "target_node", - "type": "ImGuiDockNode*" - }, - { - "name": "payload", - "type": "ImGuiWindow*" - }, - { - "name": "split_dir", - "type": "ImGuiDir" - }, - { - "name": "split_ratio", - "type": "float" - }, - { - "name": "split_outer", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiContext* ctx,ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,float split_ratio,bool split_outer)", - "call_args": "(ctx,target,target_node,payload,split_dir,split_ratio,split_outer)", - "cimguiname": "igDockContextQueueDock", - "defaults": {}, - "funcname": "DockContextQueueDock", - "location": "imgui_internal:3181", - "namespace": "ImGui", - "ov_cimguiname": "igDockContextQueueDock", - "ret": "void", - "signature": "(ImGuiContext*,ImGuiWindow*,ImGuiDockNode*,ImGuiWindow*,ImGuiDir,float,bool)", - "stname": "" - } - ], - "igDockContextQueueUndockNode": [ - { - "args": "(ImGuiContext* ctx,ImGuiDockNode* node)", - "argsT": [ - { - "name": "ctx", - "type": "ImGuiContext*" - }, - { - "name": "node", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "(ImGuiContext* ctx,ImGuiDockNode* node)", - "call_args": "(ctx,node)", - "cimguiname": "igDockContextQueueUndockNode", - "defaults": {}, - "funcname": "DockContextQueueUndockNode", - "location": "imgui_internal:3183", - "namespace": "ImGui", - "ov_cimguiname": "igDockContextQueueUndockNode", - "ret": "void", - "signature": "(ImGuiContext*,ImGuiDockNode*)", - "stname": "" - } - ], - "igDockContextQueueUndockWindow": [ - { - "args": "(ImGuiContext* ctx,ImGuiWindow* window)", - "argsT": [ - { - "name": "ctx", - "type": "ImGuiContext*" - }, - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiContext* ctx,ImGuiWindow* window)", - "call_args": "(ctx,window)", - "cimguiname": "igDockContextQueueUndockWindow", - "defaults": {}, - "funcname": "DockContextQueueUndockWindow", - "location": "imgui_internal:3182", - "namespace": "ImGui", - "ov_cimguiname": "igDockContextQueueUndockWindow", - "ret": "void", - "signature": "(ImGuiContext*,ImGuiWindow*)", - "stname": "" - } - ], - "igDockContextRebuildNodes": [ - { - "args": "(ImGuiContext* ctx)", - "argsT": [ - { - "name": "ctx", - "type": "ImGuiContext*" - } - ], - "argsoriginal": "(ImGuiContext* ctx)", - "call_args": "(ctx)", - "cimguiname": "igDockContextRebuildNodes", - "defaults": {}, - "funcname": "DockContextRebuildNodes", - "location": "imgui_internal:3176", - "namespace": "ImGui", - "ov_cimguiname": "igDockContextRebuildNodes", - "ret": "void", - "signature": "(ImGuiContext*)", - "stname": "" - } - ], - "igDockContextShutdown": [ - { - "args": "(ImGuiContext* ctx)", - "argsT": [ - { - "name": "ctx", - "type": "ImGuiContext*" - } - ], - "argsoriginal": "(ImGuiContext* ctx)", - "call_args": "(ctx)", - "cimguiname": "igDockContextShutdown", - "defaults": {}, - "funcname": "DockContextShutdown", - "location": "imgui_internal:3174", - "namespace": "ImGui", - "ov_cimguiname": "igDockContextShutdown", - "ret": "void", - "signature": "(ImGuiContext*)", - "stname": "" - } - ], - "igDockNodeBeginAmendTabBar": [ - { - "args": "(ImGuiDockNode* node)", - "argsT": [ - { - "name": "node", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "(ImGuiDockNode* node)", - "call_args": "(node)", - "cimguiname": "igDockNodeBeginAmendTabBar", - "defaults": {}, - "funcname": "DockNodeBeginAmendTabBar", - "location": "imgui_internal:3186", - "namespace": "ImGui", - "ov_cimguiname": "igDockNodeBeginAmendTabBar", - "ret": "bool", - "signature": "(ImGuiDockNode*)", - "stname": "" - } - ], - "igDockNodeEndAmendTabBar": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igDockNodeEndAmendTabBar", - "defaults": {}, - "funcname": "DockNodeEndAmendTabBar", - "location": "imgui_internal:3187", - "namespace": "ImGui", - "ov_cimguiname": "igDockNodeEndAmendTabBar", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igDockNodeGetDepth": [ - { - "args": "(const ImGuiDockNode* node)", - "argsT": [ - { - "name": "node", - "type": "const ImGuiDockNode*" - } - ], - "argsoriginal": "(const ImGuiDockNode* node)", - "call_args": "(node)", - "cimguiname": "igDockNodeGetDepth", - "defaults": {}, - "funcname": "DockNodeGetDepth", - "location": "imgui_internal:3190", - "namespace": "ImGui", - "ov_cimguiname": "igDockNodeGetDepth", - "ret": "int", - "signature": "(const ImGuiDockNode*)", - "stname": "" - } - ], - "igDockNodeGetRootNode": [ - { - "args": "(ImGuiDockNode* node)", - "argsT": [ - { - "name": "node", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "(ImGuiDockNode* node)", - "call_args": "(node)", - "cimguiname": "igDockNodeGetRootNode", - "defaults": {}, - "funcname": "DockNodeGetRootNode", - "location": "imgui_internal:3188", - "namespace": "ImGui", - "ov_cimguiname": "igDockNodeGetRootNode", - "ret": "ImGuiDockNode*", - "signature": "(ImGuiDockNode*)", - "stname": "" - } - ], - "igDockNodeGetWindowMenuButtonId": [ - { - "args": "(const ImGuiDockNode* node)", - "argsT": [ - { - "name": "node", - "type": "const ImGuiDockNode*" - } - ], - "argsoriginal": "(const ImGuiDockNode* node)", - "call_args": "(node)", - "cimguiname": "igDockNodeGetWindowMenuButtonId", - "defaults": {}, - "funcname": "DockNodeGetWindowMenuButtonId", - "location": "imgui_internal:3191", - "namespace": "ImGui", - "ov_cimguiname": "igDockNodeGetWindowMenuButtonId", - "ret": "ImGuiID", - "signature": "(const ImGuiDockNode*)", - "stname": "" - } - ], - "igDockNodeIsInHierarchyOf": [ - { - "args": "(ImGuiDockNode* node,ImGuiDockNode* parent)", - "argsT": [ - { - "name": "node", - "type": "ImGuiDockNode*" - }, - { - "name": "parent", - "type": "ImGuiDockNode*" - } - ], - "argsoriginal": "(ImGuiDockNode* node,ImGuiDockNode* parent)", - "call_args": "(node,parent)", - "cimguiname": "igDockNodeIsInHierarchyOf", - "defaults": {}, - "funcname": "DockNodeIsInHierarchyOf", - "location": "imgui_internal:3189", - "namespace": "ImGui", - "ov_cimguiname": "igDockNodeIsInHierarchyOf", - "ret": "bool", - "signature": "(ImGuiDockNode*,ImGuiDockNode*)", - "stname": "" - } - ], - "igDockSpace": [ - { - "args": "(ImGuiID id,const ImVec2 size,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "flags", - "type": "ImGuiDockNodeFlags" - }, - { - "name": "window_class", - "type": "const ImGuiWindowClass*" - } - ], - "argsoriginal": "(ImGuiID id,const ImVec2& size=ImVec2(0,0),ImGuiDockNodeFlags flags=0,const ImGuiWindowClass* window_class=((void*)0))", - "call_args": "(id,size,flags,window_class)", - "cimguiname": "igDockSpace", - "defaults": { - "flags": "0", - "size": "ImVec2(0,0)", - "window_class": "NULL" - }, - "funcname": "DockSpace", - "location": "imgui:815", - "namespace": "ImGui", - "ov_cimguiname": "igDockSpace", - "ret": "ImGuiID", - "signature": "(ImGuiID,const ImVec2,ImGuiDockNodeFlags,const ImGuiWindowClass*)", - "stname": "" - } - ], - "igDockSpaceOverViewport": [ - { - "args": "(const ImGuiViewport* viewport,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class)", - "argsT": [ - { - "name": "viewport", - "type": "const ImGuiViewport*" - }, - { - "name": "flags", - "type": "ImGuiDockNodeFlags" - }, - { - "name": "window_class", - "type": "const ImGuiWindowClass*" - } - ], - "argsoriginal": "(const ImGuiViewport* viewport=((void*)0),ImGuiDockNodeFlags flags=0,const ImGuiWindowClass* window_class=((void*)0))", - "call_args": "(viewport,flags,window_class)", - "cimguiname": "igDockSpaceOverViewport", - "defaults": { - "flags": "0", - "viewport": "NULL", - "window_class": "NULL" - }, - "funcname": "DockSpaceOverViewport", - "location": "imgui:816", - "namespace": "ImGui", - "ov_cimguiname": "igDockSpaceOverViewport", - "ret": "ImGuiID", - "signature": "(const ImGuiViewport*,ImGuiDockNodeFlags,const ImGuiWindowClass*)", - "stname": "" - } - ], - "igDragBehavior": [ - { - "args": "(ImGuiID id,ImGuiDataType data_type,void* p_v,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "p_v", - "type": "void*" - }, - { - "name": "v_speed", - "type": "float" - }, - { - "name": "p_min", - "type": "const void*" - }, - { - "name": "p_max", - "type": "const void*" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(ImGuiID id,ImGuiDataType data_type,void* p_v,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)", - "call_args": "(id,data_type,p_v,v_speed,p_min,p_max,format,flags)", - "cimguiname": "igDragBehavior", - "defaults": {}, - "funcname": "DragBehavior", - "location": "imgui_internal:3367", - "namespace": "ImGui", - "ov_cimguiname": "igDragBehavior", - "ret": "bool", - "signature": "(ImGuiID,ImGuiDataType,void*,float,const void*,const void*,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igDragFloat": [ - { - "args": "(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "float*" - }, - { - "name": "v_speed", - "type": "float" - }, - { - "name": "v_min", - "type": "float" - }, - { - "name": "v_max", - "type": "float" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", - "cimguiname": "igDragFloat", - "defaults": { - "flags": "0", - "format": "\"%.3f\"", - "v_max": "0.0f", - "v_min": "0.0f", - "v_speed": "1.0f" - }, - "funcname": "DragFloat", - "location": "imgui:547", - "namespace": "ImGui", - "ov_cimguiname": "igDragFloat", - "ret": "bool", - "signature": "(const char*,float*,float,float,float,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igDragFloat2": [ - { - "args": "(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "float[2]" - }, - { - "name": "v_speed", - "type": "float" - }, - { - "name": "v_min", - "type": "float" - }, - { - "name": "v_max", - "type": "float" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", - "cimguiname": "igDragFloat2", - "defaults": { - "flags": "0", - "format": "\"%.3f\"", - "v_max": "0.0f", - "v_min": "0.0f", - "v_speed": "1.0f" - }, - "funcname": "DragFloat2", - "location": "imgui:548", - "namespace": "ImGui", - "ov_cimguiname": "igDragFloat2", - "ret": "bool", - "signature": "(const char*,float[2],float,float,float,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igDragFloat3": [ - { - "args": "(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "float[3]" - }, - { - "name": "v_speed", - "type": "float" - }, - { - "name": "v_min", - "type": "float" - }, - { - "name": "v_max", - "type": "float" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", - "cimguiname": "igDragFloat3", - "defaults": { - "flags": "0", - "format": "\"%.3f\"", - "v_max": "0.0f", - "v_min": "0.0f", - "v_speed": "1.0f" - }, - "funcname": "DragFloat3", - "location": "imgui:549", - "namespace": "ImGui", - "ov_cimguiname": "igDragFloat3", - "ret": "bool", - "signature": "(const char*,float[3],float,float,float,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igDragFloat4": [ - { - "args": "(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "float[4]" - }, - { - "name": "v_speed", - "type": "float" - }, - { - "name": "v_min", - "type": "float" - }, - { - "name": "v_max", - "type": "float" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", - "cimguiname": "igDragFloat4", - "defaults": { - "flags": "0", - "format": "\"%.3f\"", - "v_max": "0.0f", - "v_min": "0.0f", - "v_speed": "1.0f" - }, - "funcname": "DragFloat4", - "location": "imgui:550", - "namespace": "ImGui", - "ov_cimguiname": "igDragFloat4", - "ret": "bool", - "signature": "(const char*,float[4],float,float,float,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igDragFloatRange2": [ - { - "args": "(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v_current_min", - "type": "float*" - }, - { - "name": "v_current_max", - "type": "float*" - }, - { - "name": "v_speed", - "type": "float" - }, - { - "name": "v_min", - "type": "float" - }, - { - "name": "v_max", - "type": "float" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "format_max", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void*)0),ImGuiSliderFlags flags=0)", - "call_args": "(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,flags)", - "cimguiname": "igDragFloatRange2", - "defaults": { - "flags": "0", - "format": "\"%.3f\"", - "format_max": "NULL", - "v_max": "0.0f", - "v_min": "0.0f", - "v_speed": "1.0f" - }, - "funcname": "DragFloatRange2", - "location": "imgui:551", - "namespace": "ImGui", - "ov_cimguiname": "igDragFloatRange2", - "ret": "bool", - "signature": "(const char*,float*,float*,float,float,float,const char*,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igDragInt": [ - { - "args": "(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "int*" - }, - { - "name": "v_speed", - "type": "float" - }, - { - "name": "v_min", - "type": "int" - }, - { - "name": "v_max", - "type": "int" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", - "cimguiname": "igDragInt", - "defaults": { - "flags": "0", - "format": "\"%d\"", - "v_max": "0", - "v_min": "0", - "v_speed": "1.0f" - }, - "funcname": "DragInt", - "location": "imgui:552", - "namespace": "ImGui", - "ov_cimguiname": "igDragInt", - "ret": "bool", - "signature": "(const char*,int*,float,int,int,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igDragInt2": [ - { - "args": "(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "int[2]" - }, - { - "name": "v_speed", - "type": "float" - }, - { - "name": "v_min", - "type": "int" - }, - { - "name": "v_max", - "type": "int" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", - "cimguiname": "igDragInt2", - "defaults": { - "flags": "0", - "format": "\"%d\"", - "v_max": "0", - "v_min": "0", - "v_speed": "1.0f" - }, - "funcname": "DragInt2", - "location": "imgui:553", - "namespace": "ImGui", - "ov_cimguiname": "igDragInt2", - "ret": "bool", - "signature": "(const char*,int[2],float,int,int,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igDragInt3": [ - { - "args": "(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "int[3]" - }, - { - "name": "v_speed", - "type": "float" - }, - { - "name": "v_min", - "type": "int" - }, - { - "name": "v_max", - "type": "int" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", - "cimguiname": "igDragInt3", - "defaults": { - "flags": "0", - "format": "\"%d\"", - "v_max": "0", - "v_min": "0", - "v_speed": "1.0f" - }, - "funcname": "DragInt3", - "location": "imgui:554", - "namespace": "ImGui", - "ov_cimguiname": "igDragInt3", - "ret": "bool", - "signature": "(const char*,int[3],float,int,int,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igDragInt4": [ - { - "args": "(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "int[4]" - }, - { - "name": "v_speed", - "type": "float" - }, - { - "name": "v_min", - "type": "int" - }, - { - "name": "v_max", - "type": "int" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", - "cimguiname": "igDragInt4", - "defaults": { - "flags": "0", - "format": "\"%d\"", - "v_max": "0", - "v_min": "0", - "v_speed": "1.0f" - }, - "funcname": "DragInt4", - "location": "imgui:555", - "namespace": "ImGui", - "ov_cimguiname": "igDragInt4", - "ret": "bool", - "signature": "(const char*,int[4],float,int,int,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igDragIntRange2": [ - { - "args": "(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v_current_min", - "type": "int*" - }, - { - "name": "v_current_max", - "type": "int*" - }, - { - "name": "v_speed", - "type": "float" - }, - { - "name": "v_min", - "type": "int" - }, - { - "name": "v_max", - "type": "int" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "format_max", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void*)0),ImGuiSliderFlags flags=0)", - "call_args": "(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,flags)", - "cimguiname": "igDragIntRange2", - "defaults": { - "flags": "0", - "format": "\"%d\"", - "format_max": "NULL", - "v_max": "0", - "v_min": "0", - "v_speed": "1.0f" - }, - "funcname": "DragIntRange2", - "location": "imgui:556", - "namespace": "ImGui", - "ov_cimguiname": "igDragIntRange2", - "ret": "bool", - "signature": "(const char*,int*,int*,float,int,int,const char*,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igDragScalar": [ - { - "args": "(const char* label,ImGuiDataType data_type,void* p_data,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "p_data", - "type": "void*" - }, - { - "name": "v_speed", - "type": "float" - }, - { - "name": "p_min", - "type": "const void*" - }, - { - "name": "p_max", - "type": "const void*" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,ImGuiDataType data_type,void* p_data,float v_speed=1.0f,const void* p_min=((void*)0),const void* p_max=((void*)0),const char* format=((void*)0),ImGuiSliderFlags flags=0)", - "call_args": "(label,data_type,p_data,v_speed,p_min,p_max,format,flags)", - "cimguiname": "igDragScalar", - "defaults": { - "flags": "0", - "format": "NULL", - "p_max": "NULL", - "p_min": "NULL", - "v_speed": "1.0f" - }, - "funcname": "DragScalar", - "location": "imgui:557", - "namespace": "ImGui", - "ov_cimguiname": "igDragScalar", - "ret": "bool", - "signature": "(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igDragScalarN": [ - { - "args": "(const char* label,ImGuiDataType data_type,void* p_data,int components,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "p_data", - "type": "void*" - }, - { - "name": "components", - "type": "int" - }, - { - "name": "v_speed", - "type": "float" - }, - { - "name": "p_min", - "type": "const void*" - }, - { - "name": "p_max", - "type": "const void*" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,ImGuiDataType data_type,void* p_data,int components,float v_speed=1.0f,const void* p_min=((void*)0),const void* p_max=((void*)0),const char* format=((void*)0),ImGuiSliderFlags flags=0)", - "call_args": "(label,data_type,p_data,components,v_speed,p_min,p_max,format,flags)", - "cimguiname": "igDragScalarN", - "defaults": { - "flags": "0", - "format": "NULL", - "p_max": "NULL", - "p_min": "NULL", - "v_speed": "1.0f" - }, - "funcname": "DragScalarN", - "location": "imgui:558", - "namespace": "ImGui", - "ov_cimguiname": "igDragScalarN", - "ret": "bool", - "signature": "(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igDummy": [ - { - "args": "(const ImVec2 size)", - "argsT": [ - { - "name": "size", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& size)", - "call_args": "(size)", - "cimguiname": "igDummy", - "defaults": {}, - "funcname": "Dummy", - "location": "imgui:451", - "namespace": "ImGui", - "ov_cimguiname": "igDummy", - "ret": "void", - "signature": "(const ImVec2)", - "stname": "" - } - ], - "igEnd": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEnd", - "defaults": {}, - "funcname": "End", - "location": "imgui:337", - "namespace": "ImGui", - "ov_cimguiname": "igEnd", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndChild": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndChild", - "defaults": {}, - "funcname": "EndChild", - "location": "imgui:349", - "namespace": "ImGui", - "ov_cimguiname": "igEndChild", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndChildFrame": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndChildFrame", - "defaults": {}, - "funcname": "EndChildFrame", - "location": "imgui:905", - "namespace": "ImGui", - "ov_cimguiname": "igEndChildFrame", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndColumns": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndColumns", - "defaults": {}, - "funcname": "EndColumns", - "location": "imgui_internal:3245", - "namespace": "ImGui", - "ov_cimguiname": "igEndColumns", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndCombo": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndCombo", - "defaults": {}, - "funcname": "EndCombo", - "location": "imgui:530", - "namespace": "ImGui", - "ov_cimguiname": "igEndCombo", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndComboPreview": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndComboPreview", - "defaults": {}, - "funcname": "EndComboPreview", - "location": "imgui_internal:3081", - "namespace": "ImGui", - "ov_cimguiname": "igEndComboPreview", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndDisabled": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndDisabled", - "defaults": {}, - "funcname": "EndDisabled", - "location": "imgui:850", - "namespace": "ImGui", - "ov_cimguiname": "igEndDisabled", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndDragDropSource": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndDragDropSource", - "defaults": {}, - "funcname": "EndDragDropSource", - "location": "imgui:839", - "namespace": "ImGui", - "ov_cimguiname": "igEndDragDropSource", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndDragDropTarget": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndDragDropTarget", - "defaults": {}, - "funcname": "EndDragDropTarget", - "location": "imgui:842", - "namespace": "ImGui", - "ov_cimguiname": "igEndDragDropTarget", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndFrame": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndFrame", - "defaults": {}, - "funcname": "EndFrame", - "location": "imgui:303", - "namespace": "ImGui", - "ov_cimguiname": "igEndFrame", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndGroup": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndGroup", - "defaults": {}, - "funcname": "EndGroup", - "location": "imgui:455", - "namespace": "ImGui", - "ov_cimguiname": "igEndGroup", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndListBox": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndListBox", - "defaults": {}, - "funcname": "EndListBox", - "location": "imgui:642", - "namespace": "ImGui", - "ov_cimguiname": "igEndListBox", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndMainMenuBar": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndMainMenuBar", - "defaults": {}, - "funcname": "EndMainMenuBar", - "location": "imgui:668", - "namespace": "ImGui", - "ov_cimguiname": "igEndMainMenuBar", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndMenu": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndMenu", - "defaults": {}, - "funcname": "EndMenu", - "location": "imgui:670", - "namespace": "ImGui", - "ov_cimguiname": "igEndMenu", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndMenuBar": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndMenuBar", - "defaults": {}, - "funcname": "EndMenuBar", - "location": "imgui:666", - "namespace": "ImGui", - "ov_cimguiname": "igEndMenuBar", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndPopup": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndPopup", - "defaults": {}, - "funcname": "EndPopup", - "location": "imgui:695", - "namespace": "ImGui", - "ov_cimguiname": "igEndPopup", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndTabBar": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndTabBar", - "defaults": {}, - "funcname": "EndTabBar", - "location": "imgui:796", - "namespace": "ImGui", - "ov_cimguiname": "igEndTabBar", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndTabItem": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndTabItem", - "defaults": {}, - "funcname": "EndTabItem", - "location": "imgui:798", - "namespace": "ImGui", - "ov_cimguiname": "igEndTabItem", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndTable": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndTable", - "defaults": {}, - "funcname": "EndTable", - "location": "imgui:749", - "namespace": "ImGui", - "ov_cimguiname": "igEndTable", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igEndTooltip": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igEndTooltip", - "defaults": {}, - "funcname": "EndTooltip", - "location": "imgui:677", - "namespace": "ImGui", - "ov_cimguiname": "igEndTooltip", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igErrorCheckEndFrameRecover": [ - { - "args": "(ImGuiErrorLogCallback log_callback,void* user_data)", - "argsT": [ - { - "name": "log_callback", - "type": "ImGuiErrorLogCallback" - }, - { - "name": "user_data", - "type": "void*" - } - ], - "argsoriginal": "(ImGuiErrorLogCallback log_callback,void* user_data=((void*)0))", - "call_args": "(log_callback,user_data)", - "cimguiname": "igErrorCheckEndFrameRecover", - "defaults": { - "user_data": "NULL" - }, - "funcname": "ErrorCheckEndFrameRecover", - "location": "imgui_internal:3422", - "namespace": "ImGui", - "ov_cimguiname": "igErrorCheckEndFrameRecover", - "ret": "void", - "signature": "(ImGuiErrorLogCallback,void*)", - "stname": "" - } - ], - "igErrorCheckEndWindowRecover": [ - { - "args": "(ImGuiErrorLogCallback log_callback,void* user_data)", - "argsT": [ - { - "name": "log_callback", - "type": "ImGuiErrorLogCallback" - }, - { - "name": "user_data", - "type": "void*" - } - ], - "argsoriginal": "(ImGuiErrorLogCallback log_callback,void* user_data=((void*)0))", - "call_args": "(log_callback,user_data)", - "cimguiname": "igErrorCheckEndWindowRecover", - "defaults": { - "user_data": "NULL" - }, - "funcname": "ErrorCheckEndWindowRecover", - "location": "imgui_internal:3423", - "namespace": "ImGui", - "ov_cimguiname": "igErrorCheckEndWindowRecover", - "ret": "void", - "signature": "(ImGuiErrorLogCallback,void*)", - "stname": "" - } - ], - "igErrorCheckUsingSetCursorPosToExtendParentBoundaries": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igErrorCheckUsingSetCursorPosToExtendParentBoundaries", - "defaults": {}, - "funcname": "ErrorCheckUsingSetCursorPosToExtendParentBoundaries", - "location": "imgui_internal:3424", - "namespace": "ImGui", - "ov_cimguiname": "igErrorCheckUsingSetCursorPosToExtendParentBoundaries", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igFindBestWindowPosForPopup": [ - { - "args": "(ImVec2 *pOut,ImGuiWindow* window)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igFindBestWindowPosForPopup", - "defaults": {}, - "funcname": "FindBestWindowPosForPopup", - "location": "imgui_internal:3070", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igFindBestWindowPosForPopup", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igFindBestWindowPosForPopupEx": [ - { - "args": "(ImVec2 *pOut,const ImVec2 ref_pos,const ImVec2 size,ImGuiDir* last_dir,const ImRect r_outer,const ImRect r_avoid,ImGuiPopupPositionPolicy policy)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "ref_pos", - "type": "const ImVec2" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "last_dir", - "type": "ImGuiDir*" - }, - { - "name": "r_outer", - "type": "const ImRect" - }, - { - "name": "r_avoid", - "type": "const ImRect" - }, - { - "name": "policy", - "type": "ImGuiPopupPositionPolicy" - } - ], - "argsoriginal": "(const ImVec2& ref_pos,const ImVec2& size,ImGuiDir* last_dir,const ImRect& r_outer,const ImRect& r_avoid,ImGuiPopupPositionPolicy policy)", - "call_args": "(ref_pos,size,last_dir,r_outer,r_avoid,policy)", - "cimguiname": "igFindBestWindowPosForPopupEx", - "defaults": {}, - "funcname": "FindBestWindowPosForPopupEx", - "location": "imgui_internal:3071", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igFindBestWindowPosForPopupEx", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,ImGuiDir*,const ImRect,const ImRect,ImGuiPopupPositionPolicy)", - "stname": "" - } - ], - "igFindBottomMostVisibleWindowWithinBeginStack": [ - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igFindBottomMostVisibleWindowWithinBeginStack", - "defaults": {}, - "funcname": "FindBottomMostVisibleWindowWithinBeginStack", - "location": "imgui_internal:2956", - "namespace": "ImGui", - "ov_cimguiname": "igFindBottomMostVisibleWindowWithinBeginStack", - "ret": "ImGuiWindow*", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igFindHoveredViewportFromPlatformWindowStack": [ - { - "args": "(const ImVec2 mouse_platform_pos)", - "argsT": [ - { - "name": "mouse_platform_pos", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& mouse_platform_pos)", - "call_args": "(mouse_platform_pos)", - "cimguiname": "igFindHoveredViewportFromPlatformWindowStack", - "defaults": {}, - "funcname": "FindHoveredViewportFromPlatformWindowStack", - "location": "imgui_internal:2987", - "namespace": "ImGui", - "ov_cimguiname": "igFindHoveredViewportFromPlatformWindowStack", - "ret": "ImGuiViewportP*", - "signature": "(const ImVec2)", - "stname": "" - } - ], - "igFindOrCreateColumns": [ - { - "args": "(ImGuiWindow* window,ImGuiID id)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiWindow* window,ImGuiID id)", - "call_args": "(window,id)", - "cimguiname": "igFindOrCreateColumns", - "defaults": {}, - "funcname": "FindOrCreateColumns", - "location": "imgui_internal:3250", - "namespace": "ImGui", - "ov_cimguiname": "igFindOrCreateColumns", - "ret": "ImGuiOldColumns*", - "signature": "(ImGuiWindow*,ImGuiID)", - "stname": "" - } - ], - "igFindOrCreateWindowSettings": [ - { - "args": "(const char* name)", - "argsT": [ - { - "name": "name", - "type": "const char*" - } - ], - "argsoriginal": "(const char* name)", - "call_args": "(name)", - "cimguiname": "igFindOrCreateWindowSettings", - "defaults": {}, - "funcname": "FindOrCreateWindowSettings", - "location": "imgui_internal:2995", - "namespace": "ImGui", - "ov_cimguiname": "igFindOrCreateWindowSettings", - "ret": "ImGuiWindowSettings*", - "signature": "(const char*)", - "stname": "" - } - ], - "igFindRenderedTextEnd": [ - { - "args": "(const char* text,const char* text_end)", - "argsT": [ - { - "name": "text", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - } - ], - "argsoriginal": "(const char* text,const char* text_end=((void*)0))", - "call_args": "(text,text_end)", - "cimguiname": "igFindRenderedTextEnd", - "defaults": { - "text_end": "NULL" - }, - "funcname": "FindRenderedTextEnd", - "location": "imgui_internal:3335", - "namespace": "ImGui", - "ov_cimguiname": "igFindRenderedTextEnd", - "ret": "const char*", - "signature": "(const char*,const char*)", - "stname": "" - } - ], - "igFindSettingsHandler": [ - { - "args": "(const char* type_name)", - "argsT": [ - { - "name": "type_name", - "type": "const char*" - } - ], - "argsoriginal": "(const char* type_name)", - "call_args": "(type_name)", - "cimguiname": "igFindSettingsHandler", - "defaults": {}, - "funcname": "FindSettingsHandler", - "location": "imgui_internal:2998", - "namespace": "ImGui", - "ov_cimguiname": "igFindSettingsHandler", - "ret": "ImGuiSettingsHandler*", - "signature": "(const char*)", - "stname": "" - } - ], - "igFindViewportByID": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igFindViewportByID", - "defaults": {}, - "funcname": "FindViewportByID", - "location": "imgui:984", - "namespace": "ImGui", - "ov_cimguiname": "igFindViewportByID", - "ret": "ImGuiViewport*", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igFindViewportByPlatformHandle": [ - { - "args": "(void* platform_handle)", - "argsT": [ - { - "name": "platform_handle", - "type": "void*" - } - ], - "argsoriginal": "(void* platform_handle)", - "call_args": "(platform_handle)", - "cimguiname": "igFindViewportByPlatformHandle", - "defaults": {}, - "funcname": "FindViewportByPlatformHandle", - "location": "imgui:985", - "namespace": "ImGui", - "ov_cimguiname": "igFindViewportByPlatformHandle", - "ret": "ImGuiViewport*", - "signature": "(void*)", - "stname": "" - } - ], - "igFindWindowByID": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igFindWindowByID", - "defaults": {}, - "funcname": "FindWindowByID", - "location": "imgui_internal:2933", - "namespace": "ImGui", - "ov_cimguiname": "igFindWindowByID", - "ret": "ImGuiWindow*", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igFindWindowByName": [ - { - "args": "(const char* name)", - "argsT": [ - { - "name": "name", - "type": "const char*" - } - ], - "argsoriginal": "(const char* name)", - "call_args": "(name)", - "cimguiname": "igFindWindowByName", - "defaults": {}, - "funcname": "FindWindowByName", - "location": "imgui_internal:2934", - "namespace": "ImGui", - "ov_cimguiname": "igFindWindowByName", - "ret": "ImGuiWindow*", - "signature": "(const char*)", - "stname": "" - } - ], - "igFindWindowDisplayIndex": [ - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igFindWindowDisplayIndex", - "defaults": {}, - "funcname": "FindWindowDisplayIndex", - "location": "imgui_internal:2955", - "namespace": "ImGui", - "ov_cimguiname": "igFindWindowDisplayIndex", - "ret": "int", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igFindWindowSettings": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igFindWindowSettings", - "defaults": {}, - "funcname": "FindWindowSettings", - "location": "imgui_internal:2994", - "namespace": "ImGui", - "ov_cimguiname": "igFindWindowSettings", - "ret": "ImGuiWindowSettings*", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igFocusTopMostWindowUnderOne": [ - { - "args": "(ImGuiWindow* under_this_window,ImGuiWindow* ignore_window)", - "argsT": [ - { - "name": "under_this_window", - "type": "ImGuiWindow*" - }, - { - "name": "ignore_window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* under_this_window,ImGuiWindow* ignore_window)", - "call_args": "(under_this_window,ignore_window)", - "cimguiname": "igFocusTopMostWindowUnderOne", - "defaults": {}, - "funcname": "FocusTopMostWindowUnderOne", - "location": "imgui_internal:2950", - "namespace": "ImGui", - "ov_cimguiname": "igFocusTopMostWindowUnderOne", - "ret": "void", - "signature": "(ImGuiWindow*,ImGuiWindow*)", - "stname": "" - } - ], - "igFocusWindow": [ - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igFocusWindow", - "defaults": {}, - "funcname": "FocusWindow", - "location": "imgui_internal:2949", - "namespace": "ImGui", - "ov_cimguiname": "igFocusWindow", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igGcAwakeTransientWindowBuffers": [ - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igGcAwakeTransientWindowBuffers", - "defaults": {}, - "funcname": "GcAwakeTransientWindowBuffers", - "location": "imgui_internal:3415", - "namespace": "ImGui", - "ov_cimguiname": "igGcAwakeTransientWindowBuffers", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igGcCompactTransientMiscBuffers": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGcCompactTransientMiscBuffers", - "defaults": {}, - "funcname": "GcCompactTransientMiscBuffers", - "location": "imgui_internal:3413", - "namespace": "ImGui", - "ov_cimguiname": "igGcCompactTransientMiscBuffers", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGcCompactTransientWindowBuffers": [ - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igGcCompactTransientWindowBuffers", - "defaults": {}, - "funcname": "GcCompactTransientWindowBuffers", - "location": "imgui_internal:3414", - "namespace": "ImGui", - "ov_cimguiname": "igGcCompactTransientWindowBuffers", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igGetActiveID": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetActiveID", - "defaults": {}, - "funcname": "GetActiveID", - "location": "imgui_internal:3022", - "namespace": "ImGui", - "ov_cimguiname": "igGetActiveID", - "ret": "ImGuiID", - "signature": "()", - "stname": "" - } - ], - "igGetAllocatorFunctions": [ - { - "args": "(ImGuiMemAllocFunc* p_alloc_func,ImGuiMemFreeFunc* p_free_func,void** p_user_data)", - "argsT": [ - { - "name": "p_alloc_func", - "type": "ImGuiMemAllocFunc*" - }, - { - "name": "p_free_func", - "type": "ImGuiMemFreeFunc*" - }, - { - "name": "p_user_data", - "type": "void**" - } - ], - "argsoriginal": "(ImGuiMemAllocFunc* p_alloc_func,ImGuiMemFreeFunc* p_free_func,void** p_user_data)", - "call_args": "(p_alloc_func,p_free_func,p_user_data)", - "cimguiname": "igGetAllocatorFunctions", - "defaults": {}, - "funcname": "GetAllocatorFunctions", - "location": "imgui:973", - "namespace": "ImGui", - "ov_cimguiname": "igGetAllocatorFunctions", - "ret": "void", - "signature": "(ImGuiMemAllocFunc*,ImGuiMemFreeFunc*,void**)", - "stname": "" - } - ], - "igGetBackgroundDrawList": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetBackgroundDrawList", - "defaults": {}, - "funcname": "GetBackgroundDrawList", - "location": "imgui:890", - "namespace": "ImGui", - "ov_cimguiname": "igGetBackgroundDrawList_Nil", - "ret": "ImDrawList*", - "signature": "()", - "stname": "" - }, - { - "args": "(ImGuiViewport* viewport)", - "argsT": [ - { - "name": "viewport", - "type": "ImGuiViewport*" - } - ], - "argsoriginal": "(ImGuiViewport* viewport)", - "call_args": "(viewport)", - "cimguiname": "igGetBackgroundDrawList", - "defaults": {}, - "funcname": "GetBackgroundDrawList", - "location": "imgui:892", - "namespace": "ImGui", - "ov_cimguiname": "igGetBackgroundDrawList_ViewportPtr", - "ret": "ImDrawList*", - "signature": "(ImGuiViewport*)", - "stname": "" - } - ], - "igGetClipboardText": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetClipboardText", - "defaults": {}, - "funcname": "GetClipboardText", - "location": "imgui:952", - "namespace": "ImGui", - "ov_cimguiname": "igGetClipboardText", - "ret": "const char*", - "signature": "()", - "stname": "" - } - ], - "igGetColorU32": [ - { - "args": "(ImGuiCol idx,float alpha_mul)", - "argsT": [ - { - "name": "idx", - "type": "ImGuiCol" - }, - { - "name": "alpha_mul", - "type": "float" - } - ], - "argsoriginal": "(ImGuiCol idx,float alpha_mul=1.0f)", - "call_args": "(idx,alpha_mul)", - "cimguiname": "igGetColorU32", - "defaults": { - "alpha_mul": "1.0f" - }, - "funcname": "GetColorU32", - "location": "imgui:435", - "namespace": "ImGui", - "ov_cimguiname": "igGetColorU32_Col", - "ret": "ImU32", - "signature": "(ImGuiCol,float)", - "stname": "" - }, - { - "args": "(const ImVec4 col)", - "argsT": [ - { - "name": "col", - "type": "const ImVec4" - } - ], - "argsoriginal": "(const ImVec4& col)", - "call_args": "(col)", - "cimguiname": "igGetColorU32", - "defaults": {}, - "funcname": "GetColorU32", - "location": "imgui:436", - "namespace": "ImGui", - "ov_cimguiname": "igGetColorU32_Vec4", - "ret": "ImU32", - "signature": "(const ImVec4)", - "stname": "" - }, - { - "args": "(ImU32 col)", - "argsT": [ - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(ImU32 col)", - "call_args": "(col)", - "cimguiname": "igGetColorU32", - "defaults": {}, - "funcname": "GetColorU32", - "location": "imgui:437", - "namespace": "ImGui", - "ov_cimguiname": "igGetColorU32_U32", - "ret": "ImU32", - "signature": "(ImU32)", - "stname": "" - } - ], - "igGetColumnIndex": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetColumnIndex", - "defaults": {}, - "funcname": "GetColumnIndex", - "location": "imgui:786", - "namespace": "ImGui", - "ov_cimguiname": "igGetColumnIndex", - "ret": "int", - "signature": "()", - "stname": "" - } - ], - "igGetColumnNormFromOffset": [ - { - "args": "(const ImGuiOldColumns* columns,float offset)", - "argsT": [ - { - "name": "columns", - "type": "const ImGuiOldColumns*" - }, - { - "name": "offset", - "type": "float" - } - ], - "argsoriginal": "(const ImGuiOldColumns* columns,float offset)", - "call_args": "(columns,offset)", - "cimguiname": "igGetColumnNormFromOffset", - "defaults": {}, - "funcname": "GetColumnNormFromOffset", - "location": "imgui_internal:3252", - "namespace": "ImGui", - "ov_cimguiname": "igGetColumnNormFromOffset", - "ret": "float", - "signature": "(const ImGuiOldColumns*,float)", - "stname": "" - } - ], - "igGetColumnOffset": [ - { - "args": "(int column_index)", - "argsT": [ - { - "name": "column_index", - "type": "int" - } - ], - "argsoriginal": "(int column_index=-1)", - "call_args": "(column_index)", - "cimguiname": "igGetColumnOffset", - "defaults": { - "column_index": "-1" - }, - "funcname": "GetColumnOffset", - "location": "imgui:789", - "namespace": "ImGui", - "ov_cimguiname": "igGetColumnOffset", - "ret": "float", - "signature": "(int)", - "stname": "" - } - ], - "igGetColumnOffsetFromNorm": [ - { - "args": "(const ImGuiOldColumns* columns,float offset_norm)", - "argsT": [ - { - "name": "columns", - "type": "const ImGuiOldColumns*" - }, - { - "name": "offset_norm", - "type": "float" - } - ], - "argsoriginal": "(const ImGuiOldColumns* columns,float offset_norm)", - "call_args": "(columns,offset_norm)", - "cimguiname": "igGetColumnOffsetFromNorm", - "defaults": {}, - "funcname": "GetColumnOffsetFromNorm", - "location": "imgui_internal:3251", - "namespace": "ImGui", - "ov_cimguiname": "igGetColumnOffsetFromNorm", - "ret": "float", - "signature": "(const ImGuiOldColumns*,float)", - "stname": "" - } - ], - "igGetColumnWidth": [ - { - "args": "(int column_index)", - "argsT": [ - { - "name": "column_index", - "type": "int" - } - ], - "argsoriginal": "(int column_index=-1)", - "call_args": "(column_index)", - "cimguiname": "igGetColumnWidth", - "defaults": { - "column_index": "-1" - }, - "funcname": "GetColumnWidth", - "location": "imgui:787", - "namespace": "ImGui", - "ov_cimguiname": "igGetColumnWidth", - "ret": "float", - "signature": "(int)", - "stname": "" - } - ], - "igGetColumnsCount": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetColumnsCount", - "defaults": {}, - "funcname": "GetColumnsCount", - "location": "imgui:791", - "namespace": "ImGui", - "ov_cimguiname": "igGetColumnsCount", - "ret": "int", - "signature": "()", - "stname": "" - } - ], - "igGetColumnsID": [ - { - "args": "(const char* str_id,int count)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "count", - "type": "int" - } - ], - "argsoriginal": "(const char* str_id,int count)", - "call_args": "(str_id,count)", - "cimguiname": "igGetColumnsID", - "defaults": {}, - "funcname": "GetColumnsID", - "location": "imgui_internal:3249", - "namespace": "ImGui", - "ov_cimguiname": "igGetColumnsID", - "ret": "ImGuiID", - "signature": "(const char*,int)", - "stname": "" - } - ], - "igGetContentRegionAvail": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetContentRegionAvail", - "defaults": {}, - "funcname": "GetContentRegionAvail", - "location": "imgui:389", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetContentRegionAvail", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetContentRegionMax": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetContentRegionMax", - "defaults": {}, - "funcname": "GetContentRegionMax", - "location": "imgui:390", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetContentRegionMax", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetContentRegionMaxAbs": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetContentRegionMaxAbs", - "defaults": {}, - "funcname": "GetContentRegionMaxAbs", - "location": "imgui_internal:3045", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetContentRegionMaxAbs", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetCurrentContext": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetCurrentContext", - "defaults": {}, - "funcname": "GetCurrentContext", - "location": "imgui:296", - "namespace": "ImGui", - "ov_cimguiname": "igGetCurrentContext", - "ret": "ImGuiContext*", - "signature": "()", - "stname": "" - } - ], - "igGetCurrentFocusScope": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetCurrentFocusScope", - "defaults": {}, - "funcname": "GetCurrentFocusScope", - "location": "imgui_internal:3233", - "namespace": "ImGui", - "ov_cimguiname": "igGetCurrentFocusScope", - "ret": "ImGuiID", - "signature": "()", - "stname": "" - } - ], - "igGetCurrentTable": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetCurrentTable", - "defaults": {}, - "funcname": "GetCurrentTable", - "location": "imgui_internal:3264", - "namespace": "ImGui", - "ov_cimguiname": "igGetCurrentTable", - "ret": "ImGuiTable*", - "signature": "()", - "stname": "" - } - ], - "igGetCurrentWindow": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetCurrentWindow", - "defaults": {}, - "funcname": "GetCurrentWindow", - "location": "imgui_internal:2932", - "namespace": "ImGui", - "ov_cimguiname": "igGetCurrentWindow", - "ret": "ImGuiWindow*", - "signature": "()", - "stname": "" - } - ], - "igGetCurrentWindowRead": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetCurrentWindowRead", - "defaults": {}, - "funcname": "GetCurrentWindowRead", - "location": "imgui_internal:2931", - "namespace": "ImGui", - "ov_cimguiname": "igGetCurrentWindowRead", - "ret": "ImGuiWindow*", - "signature": "()", - "stname": "" - } - ], - "igGetCursorPos": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetCursorPos", - "defaults": {}, - "funcname": "GetCursorPos", - "location": "imgui:456", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetCursorPos", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetCursorPosX": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetCursorPosX", - "defaults": {}, - "funcname": "GetCursorPosX", - "location": "imgui:457", - "namespace": "ImGui", - "ov_cimguiname": "igGetCursorPosX", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igGetCursorPosY": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetCursorPosY", - "defaults": {}, - "funcname": "GetCursorPosY", - "location": "imgui:458", - "namespace": "ImGui", - "ov_cimguiname": "igGetCursorPosY", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igGetCursorScreenPos": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetCursorScreenPos", - "defaults": {}, - "funcname": "GetCursorScreenPos", - "location": "imgui:463", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetCursorScreenPos", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetCursorStartPos": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetCursorStartPos", - "defaults": {}, - "funcname": "GetCursorStartPos", - "location": "imgui:462", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetCursorStartPos", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetDefaultFont": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetDefaultFont", - "defaults": {}, - "funcname": "GetDefaultFont", - "location": "imgui_internal:2960", - "namespace": "ImGui", - "ov_cimguiname": "igGetDefaultFont", - "ret": "ImFont*", - "signature": "()", - "stname": "" - } - ], - "igGetDragDropPayload": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetDragDropPayload", - "defaults": {}, - "funcname": "GetDragDropPayload", - "location": "imgui:843", - "namespace": "ImGui", - "ov_cimguiname": "igGetDragDropPayload", - "ret": "const ImGuiPayload*", - "signature": "()", - "stname": "" - } - ], - "igGetDrawData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetDrawData", - "defaults": {}, - "funcname": "GetDrawData", - "location": "imgui:305", - "namespace": "ImGui", - "ov_cimguiname": "igGetDrawData", - "ret": "ImDrawData*", - "signature": "()", - "stname": "" - } - ], - "igGetDrawListSharedData": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetDrawListSharedData", - "defaults": {}, - "funcname": "GetDrawListSharedData", - "location": "imgui:900", - "namespace": "ImGui", - "ov_cimguiname": "igGetDrawListSharedData", - "ret": "ImDrawListSharedData*", - "signature": "()", - "stname": "" - } - ], - "igGetFocusID": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetFocusID", - "defaults": {}, - "funcname": "GetFocusID", - "location": "imgui_internal:3023", - "namespace": "ImGui", - "ov_cimguiname": "igGetFocusID", - "ret": "ImGuiID", - "signature": "()", - "stname": "" - } - ], - "igGetFont": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetFont", - "defaults": {}, - "funcname": "GetFont", - "location": "imgui:432", - "namespace": "ImGui", - "ov_cimguiname": "igGetFont", - "ret": "ImFont*", - "signature": "()", - "stname": "" - } - ], - "igGetFontSize": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetFontSize", - "defaults": {}, - "funcname": "GetFontSize", - "location": "imgui:433", - "namespace": "ImGui", - "ov_cimguiname": "igGetFontSize", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igGetFontTexUvWhitePixel": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetFontTexUvWhitePixel", - "defaults": {}, - "funcname": "GetFontTexUvWhitePixel", - "location": "imgui:434", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetFontTexUvWhitePixel", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetForegroundDrawList": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetForegroundDrawList", - "defaults": {}, - "funcname": "GetForegroundDrawList", - "location": "imgui:891", - "namespace": "ImGui", - "ov_cimguiname": "igGetForegroundDrawList_Nil", - "ret": "ImDrawList*", - "signature": "()", - "stname": "" - }, - { - "args": "(ImGuiViewport* viewport)", - "argsT": [ - { - "name": "viewport", - "type": "ImGuiViewport*" - } - ], - "argsoriginal": "(ImGuiViewport* viewport)", - "call_args": "(viewport)", - "cimguiname": "igGetForegroundDrawList", - "defaults": {}, - "funcname": "GetForegroundDrawList", - "location": "imgui:893", - "namespace": "ImGui", - "ov_cimguiname": "igGetForegroundDrawList_ViewportPtr", - "ret": "ImDrawList*", - "signature": "(ImGuiViewport*)", - "stname": "" - }, - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igGetForegroundDrawList", - "defaults": {}, - "funcname": "GetForegroundDrawList", - "location": "imgui_internal:2961", - "namespace": "ImGui", - "ov_cimguiname": "igGetForegroundDrawList_WindowPtr", - "ret": "ImDrawList*", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igGetFrameCount": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetFrameCount", - "defaults": {}, - "funcname": "GetFrameCount", - "location": "imgui:899", - "namespace": "ImGui", - "ov_cimguiname": "igGetFrameCount", - "ret": "int", - "signature": "()", - "stname": "" - } - ], - "igGetFrameHeight": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetFrameHeight", - "defaults": {}, - "funcname": "GetFrameHeight", - "location": "imgui:468", - "namespace": "ImGui", - "ov_cimguiname": "igGetFrameHeight", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igGetFrameHeightWithSpacing": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetFrameHeightWithSpacing", - "defaults": {}, - "funcname": "GetFrameHeightWithSpacing", - "location": "imgui:469", - "namespace": "ImGui", - "ov_cimguiname": "igGetFrameHeightWithSpacing", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igGetHoveredID": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetHoveredID", - "defaults": {}, - "funcname": "GetHoveredID", - "location": "imgui_internal:3027", - "namespace": "ImGui", - "ov_cimguiname": "igGetHoveredID", - "ret": "ImGuiID", - "signature": "()", - "stname": "" - } - ], - "igGetID": [ - { - "args": "(const char* str_id)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - } - ], - "argsoriginal": "(const char* str_id)", - "call_args": "(str_id)", - "cimguiname": "igGetID", - "defaults": {}, - "funcname": "GetID", - "location": "imgui:487", - "namespace": "ImGui", - "ov_cimguiname": "igGetID_Str", - "ret": "ImGuiID", - "signature": "(const char*)", - "stname": "" - }, - { - "args": "(const char* str_id_begin,const char* str_id_end)", - "argsT": [ - { - "name": "str_id_begin", - "type": "const char*" - }, - { - "name": "str_id_end", - "type": "const char*" - } - ], - "argsoriginal": "(const char* str_id_begin,const char* str_id_end)", - "call_args": "(str_id_begin,str_id_end)", - "cimguiname": "igGetID", - "defaults": {}, - "funcname": "GetID", - "location": "imgui:488", - "namespace": "ImGui", - "ov_cimguiname": "igGetID_StrStr", - "ret": "ImGuiID", - "signature": "(const char*,const char*)", - "stname": "" - }, - { - "args": "(const void* ptr_id)", - "argsT": [ - { - "name": "ptr_id", - "type": "const void*" - } - ], - "argsoriginal": "(const void* ptr_id)", - "call_args": "(ptr_id)", - "cimguiname": "igGetID", - "defaults": {}, - "funcname": "GetID", - "location": "imgui:489", - "namespace": "ImGui", - "ov_cimguiname": "igGetID_Ptr", - "ret": "ImGuiID", - "signature": "(const void*)", - "stname": "" - } - ], - "igGetIDWithSeed": [ - { - "args": "(const char* str_id_begin,const char* str_id_end,ImGuiID seed)", - "argsT": [ - { - "name": "str_id_begin", - "type": "const char*" - }, - { - "name": "str_id_end", - "type": "const char*" - }, - { - "name": "seed", - "type": "ImGuiID" - } - ], - "argsoriginal": "(const char* str_id_begin,const char* str_id_end,ImGuiID seed)", - "call_args": "(str_id_begin,str_id_end,seed)", - "cimguiname": "igGetIDWithSeed", - "defaults": {}, - "funcname": "GetIDWithSeed", - "location": "imgui_internal:3032", - "namespace": "ImGui", - "ov_cimguiname": "igGetIDWithSeed", - "ret": "ImGuiID", - "signature": "(const char*,const char*,ImGuiID)", - "stname": "" - } - ], - "igGetIO": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetIO", - "defaults": {}, - "funcname": "GetIO", - "location": "imgui:300", - "namespace": "ImGui", - "ov_cimguiname": "igGetIO", - "ret": "ImGuiIO*", - "retref": "&", - "signature": "()", - "stname": "" - } - ], - "igGetInputTextState": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igGetInputTextState", - "defaults": {}, - "funcname": "GetInputTextState", - "location": "imgui_internal:3398", - "namespace": "ImGui", - "ov_cimguiname": "igGetInputTextState", - "ret": "ImGuiInputTextState*", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igGetItemFlags": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetItemFlags", - "defaults": {}, - "funcname": "GetItemFlags", - "location": "imgui_internal:3021", - "namespace": "ImGui", - "ov_cimguiname": "igGetItemFlags", - "ret": "ImGuiItemFlags", - "signature": "()", - "stname": "" - } - ], - "igGetItemID": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetItemID", - "defaults": {}, - "funcname": "GetItemID", - "location": "imgui_internal:3019", - "namespace": "ImGui", - "ov_cimguiname": "igGetItemID", - "ret": "ImGuiID", - "signature": "()", - "stname": "" - } - ], - "igGetItemRectMax": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetItemRectMax", - "defaults": {}, - "funcname": "GetItemRectMax", - "location": "imgui:879", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetItemRectMax", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetItemRectMin": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetItemRectMin", - "defaults": {}, - "funcname": "GetItemRectMin", - "location": "imgui:878", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetItemRectMin", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetItemRectSize": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetItemRectSize", - "defaults": {}, - "funcname": "GetItemRectSize", - "location": "imgui:880", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetItemRectSize", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetItemStatusFlags": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetItemStatusFlags", - "defaults": {}, - "funcname": "GetItemStatusFlags", - "location": "imgui_internal:3020", - "namespace": "ImGui", - "ov_cimguiname": "igGetItemStatusFlags", - "ret": "ImGuiItemStatusFlags", - "signature": "()", - "stname": "" - } - ], - "igGetKeyChordName": [ - { - "args": "(ImGuiKeyChord key_chord,char* out_buf,int out_buf_size)", - "argsT": [ - { - "name": "key_chord", - "type": "ImGuiKeyChord" - }, - { - "name": "out_buf", - "type": "char*" - }, - { - "name": "out_buf_size", - "type": "int" - } - ], - "argsoriginal": "(ImGuiKeyChord key_chord,char* out_buf,int out_buf_size)", - "call_args": "(key_chord,out_buf,out_buf_size)", - "cimguiname": "igGetKeyChordName", - "defaults": {}, - "funcname": "GetKeyChordName", - "location": "imgui_internal:3116", - "namespace": "ImGui", - "ov_cimguiname": "igGetKeyChordName", - "ret": "void", - "signature": "(ImGuiKeyChord,char*,int)", - "stname": "" - } - ], - "igGetKeyData": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igGetKeyData", - "defaults": {}, - "funcname": "GetKeyData", - "location": "imgui_internal:3115", - "namespace": "ImGui", - "ov_cimguiname": "igGetKeyData", - "ret": "ImGuiKeyData*", - "signature": "(ImGuiKey)", - "stname": "" - } - ], - "igGetKeyIndex": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igGetKeyIndex", - "defaults": {}, - "funcname": "GetKeyIndex", - "location": "imgui:3214", - "namespace": "ImGui", - "ov_cimguiname": "igGetKeyIndex", - "ret": "ImGuiKey", - "signature": "(ImGuiKey)", - "stname": "" - } - ], - "igGetKeyName": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igGetKeyName", - "defaults": {}, - "funcname": "GetKeyName", - "location": "imgui:926", - "namespace": "ImGui", - "ov_cimguiname": "igGetKeyName", - "ret": "const char*", - "signature": "(ImGuiKey)", - "stname": "" - } - ], - "igGetKeyOwner": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igGetKeyOwner", - "defaults": {}, - "funcname": "GetKeyOwner", - "location": "imgui_internal:3137", - "namespace": "ImGui", - "ov_cimguiname": "igGetKeyOwner", - "ret": "ImGuiID", - "signature": "(ImGuiKey)", - "stname": "" - } - ], - "igGetKeyOwnerData": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igGetKeyOwnerData", - "defaults": {}, - "funcname": "GetKeyOwnerData", - "location": "imgui_internal:3141", - "namespace": "ImGui", - "ov_cimguiname": "igGetKeyOwnerData", - "ret": "ImGuiKeyOwnerData*", - "signature": "(ImGuiKey)", - "stname": "" - } - ], - "igGetKeyPressedAmount": [ - { - "args": "(ImGuiKey key,float repeat_delay,float rate)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - }, - { - "name": "repeat_delay", - "type": "float" - }, - { - "name": "rate", - "type": "float" - } - ], - "argsoriginal": "(ImGuiKey key,float repeat_delay,float rate)", - "call_args": "(key,repeat_delay,rate)", - "cimguiname": "igGetKeyPressedAmount", - "defaults": {}, - "funcname": "GetKeyPressedAmount", - "location": "imgui:925", - "namespace": "ImGui", - "ov_cimguiname": "igGetKeyPressedAmount", - "ret": "int", - "signature": "(ImGuiKey,float,float)", - "stname": "" - } - ], - "igGetKeyVector2d": [ - { - "args": "(ImVec2 *pOut,ImGuiKey key_left,ImGuiKey key_right,ImGuiKey key_up,ImGuiKey key_down)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "key_left", - "type": "ImGuiKey" - }, - { - "name": "key_right", - "type": "ImGuiKey" - }, - { - "name": "key_up", - "type": "ImGuiKey" - }, - { - "name": "key_down", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key_left,ImGuiKey key_right,ImGuiKey key_up,ImGuiKey key_down)", - "call_args": "(key_left,key_right,key_up,key_down)", - "cimguiname": "igGetKeyVector2d", - "defaults": {}, - "funcname": "GetKeyVector2d", - "location": "imgui_internal:3119", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetKeyVector2d", - "ret": "void", - "signature": "(ImGuiKey,ImGuiKey,ImGuiKey,ImGuiKey)", - "stname": "" - } - ], - "igGetMainViewport": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetMainViewport", - "defaults": {}, - "funcname": "GetMainViewport", - "location": "imgui:887", - "namespace": "ImGui", - "ov_cimguiname": "igGetMainViewport", - "ret": "ImGuiViewport*", - "signature": "()", - "stname": "" - } - ], - "igGetMouseClickedCount": [ - { - "args": "(ImGuiMouseButton button)", - "argsT": [ - { - "name": "button", - "type": "ImGuiMouseButton" - } - ], - "argsoriginal": "(ImGuiMouseButton button)", - "call_args": "(button)", - "cimguiname": "igGetMouseClickedCount", - "defaults": {}, - "funcname": "GetMouseClickedCount", - "location": "imgui:937", - "namespace": "ImGui", - "ov_cimguiname": "igGetMouseClickedCount", - "ret": "int", - "signature": "(ImGuiMouseButton)", - "stname": "" - } - ], - "igGetMouseCursor": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetMouseCursor", - "defaults": {}, - "funcname": "GetMouseCursor", - "location": "imgui:946", - "namespace": "ImGui", - "ov_cimguiname": "igGetMouseCursor", - "ret": "ImGuiMouseCursor", - "signature": "()", - "stname": "" - } - ], - "igGetMouseDragDelta": [ - { - "args": "(ImVec2 *pOut,ImGuiMouseButton button,float lock_threshold)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "button", - "type": "ImGuiMouseButton" - }, - { - "name": "lock_threshold", - "type": "float" - } - ], - "argsoriginal": "(ImGuiMouseButton button=0,float lock_threshold=-1.0f)", - "call_args": "(button,lock_threshold)", - "cimguiname": "igGetMouseDragDelta", - "defaults": { - "button": "0", - "lock_threshold": "-1.0f" - }, - "funcname": "GetMouseDragDelta", - "location": "imgui:944", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetMouseDragDelta", - "ret": "void", - "signature": "(ImGuiMouseButton,float)", - "stname": "" - } - ], - "igGetMousePos": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetMousePos", - "defaults": {}, - "funcname": "GetMousePos", - "location": "imgui:941", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetMousePos", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetMousePosOnOpeningCurrentPopup": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetMousePosOnOpeningCurrentPopup", - "defaults": {}, - "funcname": "GetMousePosOnOpeningCurrentPopup", - "location": "imgui:942", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetMousePosOnOpeningCurrentPopup", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetNavTweakPressedAmount": [ - { - "args": "(ImGuiAxis axis)", - "argsT": [ - { - "name": "axis", - "type": "ImGuiAxis" - } - ], - "argsoriginal": "(ImGuiAxis axis)", - "call_args": "(axis)", - "cimguiname": "igGetNavTweakPressedAmount", - "defaults": {}, - "funcname": "GetNavTweakPressedAmount", - "location": "imgui_internal:3120", - "namespace": "ImGui", - "ov_cimguiname": "igGetNavTweakPressedAmount", - "ret": "float", - "signature": "(ImGuiAxis)", - "stname": "" - } - ], - "igGetPlatformIO": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetPlatformIO", - "defaults": {}, - "funcname": "GetPlatformIO", - "location": "imgui:980", - "namespace": "ImGui", - "ov_cimguiname": "igGetPlatformIO", - "ret": "ImGuiPlatformIO*", - "retref": "&", - "signature": "()", - "stname": "" - } - ], - "igGetPopupAllowedExtentRect": [ - { - "args": "(ImRect *pOut,ImGuiWindow* window)", - "argsT": [ - { - "name": "pOut", - "type": "ImRect*" - }, - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igGetPopupAllowedExtentRect", - "defaults": {}, - "funcname": "GetPopupAllowedExtentRect", - "location": "imgui_internal:3067", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetPopupAllowedExtentRect", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igGetScrollMaxX": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetScrollMaxX", - "defaults": {}, - "funcname": "GetScrollMaxX", - "location": "imgui:401", - "namespace": "ImGui", - "ov_cimguiname": "igGetScrollMaxX", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igGetScrollMaxY": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetScrollMaxY", - "defaults": {}, - "funcname": "GetScrollMaxY", - "location": "imgui:402", - "namespace": "ImGui", - "ov_cimguiname": "igGetScrollMaxY", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igGetScrollX": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetScrollX", - "defaults": {}, - "funcname": "GetScrollX", - "location": "imgui:397", - "namespace": "ImGui", - "ov_cimguiname": "igGetScrollX", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igGetScrollY": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetScrollY", - "defaults": {}, - "funcname": "GetScrollY", - "location": "imgui:398", - "namespace": "ImGui", - "ov_cimguiname": "igGetScrollY", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igGetShortcutRoutingData": [ - { - "args": "(ImGuiKeyChord key_chord)", - "argsT": [ - { - "name": "key_chord", - "type": "ImGuiKeyChord" - } - ], - "argsoriginal": "(ImGuiKeyChord key_chord)", - "call_args": "(key_chord)", - "cimguiname": "igGetShortcutRoutingData", - "defaults": {}, - "funcname": "GetShortcutRoutingData", - "location": "imgui_internal:3169", - "namespace": "ImGui", - "ov_cimguiname": "igGetShortcutRoutingData", - "ret": "ImGuiKeyRoutingData*", - "signature": "(ImGuiKeyChord)", - "stname": "" - } - ], - "igGetStateStorage": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetStateStorage", - "defaults": {}, - "funcname": "GetStateStorage", - "location": "imgui:903", - "namespace": "ImGui", - "ov_cimguiname": "igGetStateStorage", - "ret": "ImGuiStorage*", - "signature": "()", - "stname": "" - } - ], - "igGetStyle": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetStyle", - "defaults": {}, - "funcname": "GetStyle", - "location": "imgui:301", - "namespace": "ImGui", - "ov_cimguiname": "igGetStyle", - "ret": "ImGuiStyle*", - "retref": "&", - "signature": "()", - "stname": "" - } - ], - "igGetStyleColorName": [ - { - "args": "(ImGuiCol idx)", - "argsT": [ - { - "name": "idx", - "type": "ImGuiCol" - } - ], - "argsoriginal": "(ImGuiCol idx)", - "call_args": "(idx)", - "cimguiname": "igGetStyleColorName", - "defaults": {}, - "funcname": "GetStyleColorName", - "location": "imgui:901", - "namespace": "ImGui", - "ov_cimguiname": "igGetStyleColorName", - "ret": "const char*", - "signature": "(ImGuiCol)", - "stname": "" - } - ], - "igGetStyleColorVec4": [ - { - "args": "(ImGuiCol idx)", - "argsT": [ - { - "name": "idx", - "type": "ImGuiCol" - } - ], - "argsoriginal": "(ImGuiCol idx)", - "call_args": "(idx)", - "cimguiname": "igGetStyleColorVec4", - "defaults": {}, - "funcname": "GetStyleColorVec4", - "location": "imgui:438", - "namespace": "ImGui", - "ov_cimguiname": "igGetStyleColorVec4", - "ret": "const ImVec4*", - "retref": "&", - "signature": "(ImGuiCol)", - "stname": "" - } - ], - "igGetTextLineHeight": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetTextLineHeight", - "defaults": {}, - "funcname": "GetTextLineHeight", - "location": "imgui:466", - "namespace": "ImGui", - "ov_cimguiname": "igGetTextLineHeight", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igGetTextLineHeightWithSpacing": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetTextLineHeightWithSpacing", - "defaults": {}, - "funcname": "GetTextLineHeightWithSpacing", - "location": "imgui:467", - "namespace": "ImGui", - "ov_cimguiname": "igGetTextLineHeightWithSpacing", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igGetTime": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetTime", - "defaults": {}, - "funcname": "GetTime", - "location": "imgui:898", - "namespace": "ImGui", - "ov_cimguiname": "igGetTime", - "ret": "double", - "signature": "()", - "stname": "" - } - ], - "igGetTopMostAndVisiblePopupModal": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetTopMostAndVisiblePopupModal", - "defaults": {}, - "funcname": "GetTopMostAndVisiblePopupModal", - "location": "imgui_internal:3069", - "namespace": "ImGui", - "ov_cimguiname": "igGetTopMostAndVisiblePopupModal", - "ret": "ImGuiWindow*", - "signature": "()", - "stname": "" - } - ], - "igGetTopMostPopupModal": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetTopMostPopupModal", - "defaults": {}, - "funcname": "GetTopMostPopupModal", - "location": "imgui_internal:3068", - "namespace": "ImGui", - "ov_cimguiname": "igGetTopMostPopupModal", - "ret": "ImGuiWindow*", - "signature": "()", - "stname": "" - } - ], - "igGetTreeNodeToLabelSpacing": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetTreeNodeToLabelSpacing", - "defaults": {}, - "funcname": "GetTreeNodeToLabelSpacing", - "location": "imgui:624", - "namespace": "ImGui", - "ov_cimguiname": "igGetTreeNodeToLabelSpacing", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igGetTypematicRepeatRate": [ - { - "args": "(ImGuiInputFlags flags,float* repeat_delay,float* repeat_rate)", - "argsT": [ - { - "name": "flags", - "type": "ImGuiInputFlags" - }, - { - "name": "repeat_delay", - "type": "float*" - }, - { - "name": "repeat_rate", - "type": "float*" - } - ], - "argsoriginal": "(ImGuiInputFlags flags,float* repeat_delay,float* repeat_rate)", - "call_args": "(flags,repeat_delay,repeat_rate)", - "cimguiname": "igGetTypematicRepeatRate", - "defaults": {}, - "funcname": "GetTypematicRepeatRate", - "location": "imgui_internal:3122", - "namespace": "ImGui", - "ov_cimguiname": "igGetTypematicRepeatRate", - "ret": "void", - "signature": "(ImGuiInputFlags,float*,float*)", - "stname": "" - } - ], - "igGetVersion": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetVersion", - "defaults": {}, - "funcname": "GetVersion", - "location": "imgui:317", - "namespace": "ImGui", - "ov_cimguiname": "igGetVersion", - "ret": "const char*", - "signature": "()", - "stname": "" - } - ], - "igGetViewportPlatformMonitor": [ - { - "args": "(ImGuiViewport* viewport)", - "argsT": [ - { - "name": "viewport", - "type": "ImGuiViewport*" - } - ], - "argsoriginal": "(ImGuiViewport* viewport)", - "call_args": "(viewport)", - "cimguiname": "igGetViewportPlatformMonitor", - "defaults": {}, - "funcname": "GetViewportPlatformMonitor", - "location": "imgui_internal:2986", - "namespace": "ImGui", - "ov_cimguiname": "igGetViewportPlatformMonitor", - "ret": "const ImGuiPlatformMonitor*", - "signature": "(ImGuiViewport*)", - "stname": "" - } - ], - "igGetWindowAlwaysWantOwnTabBar": [ - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igGetWindowAlwaysWantOwnTabBar", - "defaults": {}, - "funcname": "GetWindowAlwaysWantOwnTabBar", - "location": "imgui_internal:3193", - "namespace": "ImGui", - "ov_cimguiname": "igGetWindowAlwaysWantOwnTabBar", - "ret": "bool", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igGetWindowContentRegionMax": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetWindowContentRegionMax", - "defaults": {}, - "funcname": "GetWindowContentRegionMax", - "location": "imgui:392", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetWindowContentRegionMax", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetWindowContentRegionMin": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetWindowContentRegionMin", - "defaults": {}, - "funcname": "GetWindowContentRegionMin", - "location": "imgui:391", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetWindowContentRegionMin", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetWindowDockID": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetWindowDockID", - "defaults": {}, - "funcname": "GetWindowDockID", - "location": "imgui:819", - "namespace": "ImGui", - "ov_cimguiname": "igGetWindowDockID", - "ret": "ImGuiID", - "signature": "()", - "stname": "" - } - ], - "igGetWindowDockNode": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetWindowDockNode", - "defaults": {}, - "funcname": "GetWindowDockNode", - "location": "imgui_internal:3192", - "namespace": "ImGui", - "ov_cimguiname": "igGetWindowDockNode", - "ret": "ImGuiDockNode*", - "signature": "()", - "stname": "" - } - ], - "igGetWindowDpiScale": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetWindowDpiScale", - "defaults": {}, - "funcname": "GetWindowDpiScale", - "location": "imgui:358", - "namespace": "ImGui", - "ov_cimguiname": "igGetWindowDpiScale", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igGetWindowDrawList": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetWindowDrawList", - "defaults": {}, - "funcname": "GetWindowDrawList", - "location": "imgui:357", - "namespace": "ImGui", - "ov_cimguiname": "igGetWindowDrawList", - "ret": "ImDrawList*", - "signature": "()", - "stname": "" - } - ], - "igGetWindowHeight": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetWindowHeight", - "defaults": {}, - "funcname": "GetWindowHeight", - "location": "imgui:362", - "namespace": "ImGui", - "ov_cimguiname": "igGetWindowHeight", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igGetWindowPos": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetWindowPos", - "defaults": {}, - "funcname": "GetWindowPos", - "location": "imgui:359", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetWindowPos", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetWindowResizeBorderID": [ - { - "args": "(ImGuiWindow* window,ImGuiDir dir)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "dir", - "type": "ImGuiDir" - } - ], - "argsoriginal": "(ImGuiWindow* window,ImGuiDir dir)", - "call_args": "(window,dir)", - "cimguiname": "igGetWindowResizeBorderID", - "defaults": {}, - "funcname": "GetWindowResizeBorderID", - "location": "imgui_internal:3360", - "namespace": "ImGui", - "ov_cimguiname": "igGetWindowResizeBorderID", - "ret": "ImGuiID", - "signature": "(ImGuiWindow*,ImGuiDir)", - "stname": "" - } - ], - "igGetWindowResizeCornerID": [ - { - "args": "(ImGuiWindow* window,int n)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(ImGuiWindow* window,int n)", - "call_args": "(window,n)", - "cimguiname": "igGetWindowResizeCornerID", - "defaults": {}, - "funcname": "GetWindowResizeCornerID", - "location": "imgui_internal:3359", - "namespace": "ImGui", - "ov_cimguiname": "igGetWindowResizeCornerID", - "ret": "ImGuiID", - "signature": "(ImGuiWindow*,int)", - "stname": "" - } - ], - "igGetWindowScrollbarID": [ - { - "args": "(ImGuiWindow* window,ImGuiAxis axis)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "axis", - "type": "ImGuiAxis" - } - ], - "argsoriginal": "(ImGuiWindow* window,ImGuiAxis axis)", - "call_args": "(window,axis)", - "cimguiname": "igGetWindowScrollbarID", - "defaults": {}, - "funcname": "GetWindowScrollbarID", - "location": "imgui_internal:3358", - "namespace": "ImGui", - "ov_cimguiname": "igGetWindowScrollbarID", - "ret": "ImGuiID", - "signature": "(ImGuiWindow*,ImGuiAxis)", - "stname": "" - } - ], - "igGetWindowScrollbarRect": [ - { - "args": "(ImRect *pOut,ImGuiWindow* window,ImGuiAxis axis)", - "argsT": [ - { - "name": "pOut", - "type": "ImRect*" - }, - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "axis", - "type": "ImGuiAxis" - } - ], - "argsoriginal": "(ImGuiWindow* window,ImGuiAxis axis)", - "call_args": "(window,axis)", - "cimguiname": "igGetWindowScrollbarRect", - "defaults": {}, - "funcname": "GetWindowScrollbarRect", - "location": "imgui_internal:3357", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetWindowScrollbarRect", - "ret": "void", - "signature": "(ImGuiWindow*,ImGuiAxis)", - "stname": "" - } - ], - "igGetWindowSize": [ - { - "args": "(ImVec2 *pOut)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetWindowSize", - "defaults": {}, - "funcname": "GetWindowSize", - "location": "imgui:360", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetWindowSize", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igGetWindowViewport": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetWindowViewport", - "defaults": {}, - "funcname": "GetWindowViewport", - "location": "imgui:363", - "namespace": "ImGui", - "ov_cimguiname": "igGetWindowViewport", - "ret": "ImGuiViewport*", - "signature": "()", - "stname": "" - } - ], - "igGetWindowWidth": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetWindowWidth", - "defaults": {}, - "funcname": "GetWindowWidth", - "location": "imgui:361", - "namespace": "ImGui", - "ov_cimguiname": "igGetWindowWidth", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igImAbs": [ - { - "args": "(int x)", - "argsT": [ - { - "name": "x", - "type": "int" - } - ], - "argsoriginal": "(int x)", - "call_args": "(x)", - "cimguiname": "igImAbs", - "defaults": {}, - "funcname": "ImAbs", - "location": "imgui_internal:444", - "ov_cimguiname": "igImAbs_Int", - "ret": "int", - "signature": "(int)", - "stname": "" - }, - { - "args": "(float x)", - "argsT": [ - { - "name": "x", - "type": "float" - } - ], - "argsoriginal": "(float x)", - "call_args": "(x)", - "cimguiname": "igImAbs", - "defaults": {}, - "funcname": "ImAbs", - "location": "imgui_internal:445", - "ov_cimguiname": "igImAbs_Float", - "ret": "float", - "signature": "(float)", - "stname": "" - }, - { - "args": "(double x)", - "argsT": [ - { - "name": "x", - "type": "double" - } - ], - "argsoriginal": "(double x)", - "call_args": "(x)", - "cimguiname": "igImAbs", - "defaults": {}, - "funcname": "ImAbs", - "location": "imgui_internal:446", - "ov_cimguiname": "igImAbs_double", - "ret": "double", - "signature": "(double)", - "stname": "" - } - ], - "igImAlphaBlendColors": [ - { - "args": "(ImU32 col_a,ImU32 col_b)", - "argsT": [ - { - "name": "col_a", - "type": "ImU32" - }, - { - "name": "col_b", - "type": "ImU32" - } - ], - "argsoriginal": "(ImU32 col_a,ImU32 col_b)", - "call_args": "(col_a,col_b)", - "cimguiname": "igImAlphaBlendColors", - "defaults": {}, - "funcname": "ImAlphaBlendColors", - "location": "imgui_internal:334", - "ov_cimguiname": "igImAlphaBlendColors", - "ret": "ImU32", - "signature": "(ImU32,ImU32)", - "stname": "" - } - ], - "igImBezierCubicCalc": [ - { - "args": "(ImVec2 *pOut,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,float t)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "p1", - "type": "const ImVec2" - }, - { - "name": "p2", - "type": "const ImVec2" - }, - { - "name": "p3", - "type": "const ImVec2" - }, - { - "name": "p4", - "type": "const ImVec2" - }, - { - "name": "t", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,float t)", - "call_args": "(p1,p2,p3,p4,t)", - "cimguiname": "igImBezierCubicCalc", - "defaults": {}, - "funcname": "ImBezierCubicCalc", - "location": "imgui_internal:489", - "nonUDT": 1, - "ov_cimguiname": "igImBezierCubicCalc", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,float)", - "stname": "" - } - ], - "igImBezierCubicClosestPoint": [ - { - "args": "(ImVec2 *pOut,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,const ImVec2 p,int num_segments)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "p1", - "type": "const ImVec2" - }, - { - "name": "p2", - "type": "const ImVec2" - }, - { - "name": "p3", - "type": "const ImVec2" - }, - { - "name": "p4", - "type": "const ImVec2" - }, - { - "name": "p", - "type": "const ImVec2" - }, - { - "name": "num_segments", - "type": "int" - } - ], - "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,const ImVec2& p,int num_segments)", - "call_args": "(p1,p2,p3,p4,p,num_segments)", - "cimguiname": "igImBezierCubicClosestPoint", - "defaults": {}, - "funcname": "ImBezierCubicClosestPoint", - "location": "imgui_internal:490", - "nonUDT": 1, - "ov_cimguiname": "igImBezierCubicClosestPoint", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,int)", - "stname": "" - } - ], - "igImBezierCubicClosestPointCasteljau": [ - { - "args": "(ImVec2 *pOut,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,const ImVec2 p,float tess_tol)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "p1", - "type": "const ImVec2" - }, - { - "name": "p2", - "type": "const ImVec2" - }, - { - "name": "p3", - "type": "const ImVec2" - }, - { - "name": "p4", - "type": "const ImVec2" - }, - { - "name": "p", - "type": "const ImVec2" - }, - { - "name": "tess_tol", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,const ImVec2& p,float tess_tol)", - "call_args": "(p1,p2,p3,p4,p,tess_tol)", - "cimguiname": "igImBezierCubicClosestPointCasteljau", - "defaults": {}, - "funcname": "ImBezierCubicClosestPointCasteljau", - "location": "imgui_internal:491", - "nonUDT": 1, - "ov_cimguiname": "igImBezierCubicClosestPointCasteljau", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,float)", - "stname": "" - } - ], - "igImBezierQuadraticCalc": [ - { - "args": "(ImVec2 *pOut,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,float t)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "p1", - "type": "const ImVec2" - }, - { - "name": "p2", - "type": "const ImVec2" - }, - { - "name": "p3", - "type": "const ImVec2" - }, - { - "name": "t", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,float t)", - "call_args": "(p1,p2,p3,t)", - "cimguiname": "igImBezierQuadraticCalc", - "defaults": {}, - "funcname": "ImBezierQuadraticCalc", - "location": "imgui_internal:492", - "nonUDT": 1, - "ov_cimguiname": "igImBezierQuadraticCalc", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,float)", - "stname": "" - } - ], - "igImBitArrayClearBit": [ - { - "args": "(ImU32* arr,int n)", - "argsT": [ - { - "name": "arr", - "type": "ImU32*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(ImU32* arr,int n)", - "call_args": "(arr,n)", - "cimguiname": "igImBitArrayClearBit", - "defaults": {}, - "funcname": "ImBitArrayClearBit", - "location": "imgui_internal:560", - "ov_cimguiname": "igImBitArrayClearBit", - "ret": "void", - "signature": "(ImU32*,int)", - "stname": "" - } - ], - "igImBitArraySetBit": [ - { - "args": "(ImU32* arr,int n)", - "argsT": [ - { - "name": "arr", - "type": "ImU32*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(ImU32* arr,int n)", - "call_args": "(arr,n)", - "cimguiname": "igImBitArraySetBit", - "defaults": {}, - "funcname": "ImBitArraySetBit", - "location": "imgui_internal:561", - "ov_cimguiname": "igImBitArraySetBit", - "ret": "void", - "signature": "(ImU32*,int)", - "stname": "" - } - ], - "igImBitArraySetBitRange": [ - { - "args": "(ImU32* arr,int n,int n2)", - "argsT": [ - { - "name": "arr", - "type": "ImU32*" - }, - { - "name": "n", - "type": "int" - }, - { - "name": "n2", - "type": "int" - } - ], - "argsoriginal": "(ImU32* arr,int n,int n2)", - "call_args": "(arr,n,n2)", - "cimguiname": "igImBitArraySetBitRange", - "defaults": {}, - "funcname": "ImBitArraySetBitRange", - "location": "imgui_internal:562", - "ov_cimguiname": "igImBitArraySetBitRange", - "ret": "void", - "signature": "(ImU32*,int,int)", - "stname": "" - } - ], - "igImBitArrayTestBit": [ - { - "args": "(const ImU32* arr,int n)", - "argsT": [ - { - "name": "arr", - "type": "const ImU32*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(const ImU32* arr,int n)", - "call_args": "(arr,n)", - "cimguiname": "igImBitArrayTestBit", - "defaults": {}, - "funcname": "ImBitArrayTestBit", - "location": "imgui_internal:559", - "ov_cimguiname": "igImBitArrayTestBit", - "ret": "bool", - "signature": "(const ImU32*,int)", - "stname": "" - } - ], - "igImCharIsBlankA": [ - { - "args": "(char c)", - "argsT": [ - { - "name": "c", - "type": "char" - } - ], - "argsoriginal": "(char c)", - "call_args": "(c)", - "cimguiname": "igImCharIsBlankA", - "defaults": {}, - "funcname": "ImCharIsBlankA", - "location": "imgui_internal:356", - "ov_cimguiname": "igImCharIsBlankA", - "ret": "bool", - "signature": "(char)", - "stname": "" - } - ], - "igImCharIsBlankW": [ - { - "args": "(unsigned int c)", - "argsT": [ - { - "name": "c", - "type": "unsigned int" - } - ], - "argsoriginal": "(unsigned int c)", - "call_args": "(c)", - "cimguiname": "igImCharIsBlankW", - "defaults": {}, - "funcname": "ImCharIsBlankW", - "location": "imgui_internal:357", - "ov_cimguiname": "igImCharIsBlankW", - "ret": "bool", - "signature": "(unsigned int)", - "stname": "" - } - ], - "igImClamp": [ - { - "args": "(ImVec2 *pOut,const ImVec2 v,const ImVec2 mn,ImVec2 mx)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "v", - "type": "const ImVec2" - }, - { - "name": "mn", - "type": "const ImVec2" - }, - { - "name": "mx", - "type": "ImVec2" - } - ], - "argsoriginal": "(const ImVec2& v,const ImVec2& mn,ImVec2 mx)", - "call_args": "(v,mn,mx)", - "cimguiname": "igImClamp", - "defaults": {}, - "funcname": "ImClamp", - "location": "imgui_internal:468", - "nonUDT": 1, - "ov_cimguiname": "igImClamp", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,ImVec2)", - "stname": "" - } - ], - "igImDot": [ - { - "args": "(const ImVec2 a,const ImVec2 b)", - "argsT": [ - { - "name": "a", - "type": "const ImVec2" - }, - { - "name": "b", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& a,const ImVec2& b)", - "call_args": "(a,b)", - "cimguiname": "igImDot", - "defaults": {}, - "funcname": "ImDot", - "location": "imgui_internal:481", - "ov_cimguiname": "igImDot", - "ret": "float", - "signature": "(const ImVec2,const ImVec2)", - "stname": "" - } - ], - "igImFileClose": [ - { - "args": "(ImFileHandle file)", - "argsT": [ - { - "name": "file", - "type": "ImFileHandle" - } - ], - "argsoriginal": "(ImFileHandle file)", - "call_args": "(file)", - "cimguiname": "igImFileClose", - "defaults": {}, - "funcname": "ImFileClose", - "location": "imgui_internal:417", - "ov_cimguiname": "igImFileClose", - "ret": "bool", - "signature": "(ImFileHandle)", - "stname": "" - } - ], - "igImFileGetSize": [ - { - "args": "(ImFileHandle file)", - "argsT": [ - { - "name": "file", - "type": "ImFileHandle" - } - ], - "argsoriginal": "(ImFileHandle file)", - "call_args": "(file)", - "cimguiname": "igImFileGetSize", - "defaults": {}, - "funcname": "ImFileGetSize", - "location": "imgui_internal:418", - "ov_cimguiname": "igImFileGetSize", - "ret": "ImU64", - "signature": "(ImFileHandle)", - "stname": "" - } - ], - "igImFileLoadToMemory": [ - { - "args": "(const char* filename,const char* mode,size_t* out_file_size,int padding_bytes)", - "argsT": [ - { - "name": "filename", - "type": "const char*" - }, - { - "name": "mode", - "type": "const char*" - }, - { - "name": "out_file_size", - "type": "size_t*" - }, - { - "name": "padding_bytes", - "type": "int" - } - ], - "argsoriginal": "(const char* filename,const char* mode,size_t* out_file_size=((void*)0),int padding_bytes=0)", - "call_args": "(filename,mode,out_file_size,padding_bytes)", - "cimguiname": "igImFileLoadToMemory", - "defaults": { - "out_file_size": "NULL", - "padding_bytes": "0" - }, - "funcname": "ImFileLoadToMemory", - "location": "imgui_internal:424", - "ov_cimguiname": "igImFileLoadToMemory", - "ret": "void*", - "signature": "(const char*,const char*,size_t*,int)", - "stname": "" - } - ], - "igImFileOpen": [ - { - "args": "(const char* filename,const char* mode)", - "argsT": [ - { - "name": "filename", - "type": "const char*" - }, - { - "name": "mode", - "type": "const char*" - } - ], - "argsoriginal": "(const char* filename,const char* mode)", - "call_args": "(filename,mode)", - "cimguiname": "igImFileOpen", - "defaults": {}, - "funcname": "ImFileOpen", - "location": "imgui_internal:416", - "ov_cimguiname": "igImFileOpen", - "ret": "ImFileHandle", - "signature": "(const char*,const char*)", - "stname": "" - } - ], - "igImFileRead": [ - { - "args": "(void* data,ImU64 size,ImU64 count,ImFileHandle file)", - "argsT": [ - { - "name": "data", - "type": "void*" - }, - { - "name": "size", - "type": "ImU64" - }, - { - "name": "count", - "type": "ImU64" - }, - { - "name": "file", - "type": "ImFileHandle" - } - ], - "argsoriginal": "(void* data,ImU64 size,ImU64 count,ImFileHandle file)", - "call_args": "(data,size,count,file)", - "cimguiname": "igImFileRead", - "defaults": {}, - "funcname": "ImFileRead", - "location": "imgui_internal:419", - "ov_cimguiname": "igImFileRead", - "ret": "ImU64", - "signature": "(void*,ImU64,ImU64,ImFileHandle)", - "stname": "" - } - ], - "igImFileWrite": [ - { - "args": "(const void* data,ImU64 size,ImU64 count,ImFileHandle file)", - "argsT": [ - { - "name": "data", - "type": "const void*" - }, - { - "name": "size", - "type": "ImU64" - }, - { - "name": "count", - "type": "ImU64" - }, - { - "name": "file", - "type": "ImFileHandle" - } - ], - "argsoriginal": "(const void* data,ImU64 size,ImU64 count,ImFileHandle file)", - "call_args": "(data,size,count,file)", - "cimguiname": "igImFileWrite", - "defaults": {}, - "funcname": "ImFileWrite", - "location": "imgui_internal:420", - "ov_cimguiname": "igImFileWrite", - "ret": "ImU64", - "signature": "(const void*,ImU64,ImU64,ImFileHandle)", - "stname": "" - } - ], - "igImFloor": [ - { - "args": "(float f)", - "argsT": [ - { - "name": "f", - "type": "float" - } - ], - "argsoriginal": "(float f)", - "call_args": "(f)", - "cimguiname": "igImFloor", - "defaults": {}, - "funcname": "ImFloor", - "location": "imgui_internal:476", - "ov_cimguiname": "igImFloor_Float", - "ret": "float", - "signature": "(float)", - "stname": "" - }, - { - "args": "(ImVec2 *pOut,const ImVec2 v)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "v", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& v)", - "call_args": "(v)", - "cimguiname": "igImFloor", - "defaults": {}, - "funcname": "ImFloor", - "location": "imgui_internal:478", - "nonUDT": 1, - "ov_cimguiname": "igImFloor_Vec2", - "ret": "void", - "signature": "(const ImVec2)", - "stname": "" - } - ], - "igImFloorSigned": [ - { - "args": "(float f)", - "argsT": [ - { - "name": "f", - "type": "float" - } - ], - "argsoriginal": "(float f)", - "call_args": "(f)", - "cimguiname": "igImFloorSigned", - "defaults": {}, - "funcname": "ImFloorSigned", - "location": "imgui_internal:477", - "ov_cimguiname": "igImFloorSigned_Float", - "ret": "float", - "signature": "(float)", - "stname": "" - }, - { - "args": "(ImVec2 *pOut,const ImVec2 v)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "v", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& v)", - "call_args": "(v)", - "cimguiname": "igImFloorSigned", - "defaults": {}, - "funcname": "ImFloorSigned", - "location": "imgui_internal:479", - "nonUDT": 1, - "ov_cimguiname": "igImFloorSigned_Vec2", - "ret": "void", - "signature": "(const ImVec2)", - "stname": "" - } - ], - "igImFontAtlasBuildFinish": [ - { - "args": "(ImFontAtlas* atlas)", - "argsT": [ - { - "name": "atlas", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "(ImFontAtlas* atlas)", - "call_args": "(atlas)", - "cimguiname": "igImFontAtlasBuildFinish", - "defaults": {}, - "funcname": "ImFontAtlasBuildFinish", - "location": "imgui_internal:3487", - "ov_cimguiname": "igImFontAtlasBuildFinish", - "ret": "void", - "signature": "(ImFontAtlas*)", - "stname": "" - } - ], - "igImFontAtlasBuildInit": [ - { - "args": "(ImFontAtlas* atlas)", - "argsT": [ - { - "name": "atlas", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "(ImFontAtlas* atlas)", - "call_args": "(atlas)", - "cimguiname": "igImFontAtlasBuildInit", - "defaults": {}, - "funcname": "ImFontAtlasBuildInit", - "location": "imgui_internal:3484", - "ov_cimguiname": "igImFontAtlasBuildInit", - "ret": "void", - "signature": "(ImFontAtlas*)", - "stname": "" - } - ], - "igImFontAtlasBuildMultiplyCalcLookupTable": [ - { - "args": "(unsigned char out_table[256],float in_multiply_factor)", - "argsT": [ - { - "name": "out_table", - "type": "unsigned char[256]" - }, - { - "name": "in_multiply_factor", - "type": "float" - } - ], - "argsoriginal": "(unsigned char out_table[256],float in_multiply_factor)", - "call_args": "(out_table,in_multiply_factor)", - "cimguiname": "igImFontAtlasBuildMultiplyCalcLookupTable", - "defaults": {}, - "funcname": "ImFontAtlasBuildMultiplyCalcLookupTable", - "location": "imgui_internal:3490", - "ov_cimguiname": "igImFontAtlasBuildMultiplyCalcLookupTable", - "ret": "void", - "signature": "(unsigned char[256],float)", - "stname": "" - } - ], - "igImFontAtlasBuildMultiplyRectAlpha8": [ - { - "args": "(const unsigned char table[256],unsigned char* pixels,int x,int y,int w,int h,int stride)", - "argsT": [ - { - "name": "table", - "type": "const unsigned char[256]" - }, - { - "name": "pixels", - "type": "unsigned char*" - }, - { - "name": "x", - "type": "int" - }, - { - "name": "y", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "stride", - "type": "int" - } - ], - "argsoriginal": "(const unsigned char table[256],unsigned char* pixels,int x,int y,int w,int h,int stride)", - "call_args": "(table,pixels,x,y,w,h,stride)", - "cimguiname": "igImFontAtlasBuildMultiplyRectAlpha8", - "defaults": {}, - "funcname": "ImFontAtlasBuildMultiplyRectAlpha8", - "location": "imgui_internal:3491", - "ov_cimguiname": "igImFontAtlasBuildMultiplyRectAlpha8", - "ret": "void", - "signature": "(const unsigned char[256],unsigned char*,int,int,int,int,int)", - "stname": "" - } - ], - "igImFontAtlasBuildPackCustomRects": [ - { - "args": "(ImFontAtlas* atlas,void* stbrp_context_opaque)", - "argsT": [ - { - "name": "atlas", - "type": "ImFontAtlas*" - }, - { - "name": "stbrp_context_opaque", - "type": "void*" - } - ], - "argsoriginal": "(ImFontAtlas* atlas,void* stbrp_context_opaque)", - "call_args": "(atlas,stbrp_context_opaque)", - "cimguiname": "igImFontAtlasBuildPackCustomRects", - "defaults": {}, - "funcname": "ImFontAtlasBuildPackCustomRects", - "location": "imgui_internal:3486", - "ov_cimguiname": "igImFontAtlasBuildPackCustomRects", - "ret": "void", - "signature": "(ImFontAtlas*,void*)", - "stname": "" - } - ], - "igImFontAtlasBuildRender32bppRectFromString": [ - { - "args": "(ImFontAtlas* atlas,int x,int y,int w,int h,const char* in_str,char in_marker_char,unsigned int in_marker_pixel_value)", - "argsT": [ - { - "name": "atlas", - "type": "ImFontAtlas*" - }, - { - "name": "x", - "type": "int" - }, - { - "name": "y", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "in_str", - "type": "const char*" - }, - { - "name": "in_marker_char", - "type": "char" - }, - { - "name": "in_marker_pixel_value", - "type": "unsigned int" - } - ], - "argsoriginal": "(ImFontAtlas* atlas,int x,int y,int w,int h,const char* in_str,char in_marker_char,unsigned int in_marker_pixel_value)", - "call_args": "(atlas,x,y,w,h,in_str,in_marker_char,in_marker_pixel_value)", - "cimguiname": "igImFontAtlasBuildRender32bppRectFromString", - "defaults": {}, - "funcname": "ImFontAtlasBuildRender32bppRectFromString", - "location": "imgui_internal:3489", - "ov_cimguiname": "igImFontAtlasBuildRender32bppRectFromString", - "ret": "void", - "signature": "(ImFontAtlas*,int,int,int,int,const char*,char,unsigned int)", - "stname": "" - } - ], - "igImFontAtlasBuildRender8bppRectFromString": [ - { - "args": "(ImFontAtlas* atlas,int x,int y,int w,int h,const char* in_str,char in_marker_char,unsigned char in_marker_pixel_value)", - "argsT": [ - { - "name": "atlas", - "type": "ImFontAtlas*" - }, - { - "name": "x", - "type": "int" - }, - { - "name": "y", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "in_str", - "type": "const char*" - }, - { - "name": "in_marker_char", - "type": "char" - }, - { - "name": "in_marker_pixel_value", - "type": "unsigned char" - } - ], - "argsoriginal": "(ImFontAtlas* atlas,int x,int y,int w,int h,const char* in_str,char in_marker_char,unsigned char in_marker_pixel_value)", - "call_args": "(atlas,x,y,w,h,in_str,in_marker_char,in_marker_pixel_value)", - "cimguiname": "igImFontAtlasBuildRender8bppRectFromString", - "defaults": {}, - "funcname": "ImFontAtlasBuildRender8bppRectFromString", - "location": "imgui_internal:3488", - "ov_cimguiname": "igImFontAtlasBuildRender8bppRectFromString", - "ret": "void", - "signature": "(ImFontAtlas*,int,int,int,int,const char*,char,unsigned char)", - "stname": "" - } - ], - "igImFontAtlasBuildSetupFont": [ - { - "args": "(ImFontAtlas* atlas,ImFont* font,ImFontConfig* font_config,float ascent,float descent)", - "argsT": [ - { - "name": "atlas", - "type": "ImFontAtlas*" - }, - { - "name": "font", - "type": "ImFont*" - }, - { - "name": "font_config", - "type": "ImFontConfig*" - }, - { - "name": "ascent", - "type": "float" - }, - { - "name": "descent", - "type": "float" - } - ], - "argsoriginal": "(ImFontAtlas* atlas,ImFont* font,ImFontConfig* font_config,float ascent,float descent)", - "call_args": "(atlas,font,font_config,ascent,descent)", - "cimguiname": "igImFontAtlasBuildSetupFont", - "defaults": {}, - "funcname": "ImFontAtlasBuildSetupFont", - "location": "imgui_internal:3485", - "ov_cimguiname": "igImFontAtlasBuildSetupFont", - "ret": "void", - "signature": "(ImFontAtlas*,ImFont*,ImFontConfig*,float,float)", - "stname": "" - } - ], - "igImFontAtlasGetBuilderForStbTruetype": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igImFontAtlasGetBuilderForStbTruetype", - "defaults": {}, - "funcname": "ImFontAtlasGetBuilderForStbTruetype", - "location": "imgui_internal:3482", - "ov_cimguiname": "igImFontAtlasGetBuilderForStbTruetype", - "ret": "const ImFontBuilderIO*", - "signature": "()", - "stname": "" - } - ], - "igImFormatString": [ - { - "args": "(char* buf,size_t buf_size,const char* fmt,...)", - "argsT": [ - { - "name": "buf", - "type": "char*" - }, - { - "name": "buf_size", - "type": "size_t" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(char* buf,size_t buf_size,const char* fmt,...)", - "call_args": "(buf,buf_size,fmt,...)", - "cimguiname": "igImFormatString", - "defaults": {}, - "funcname": "ImFormatString", - "isvararg": "...)", - "location": "imgui_internal:361", - "ov_cimguiname": "igImFormatString", - "ret": "int", - "signature": "(char*,size_t,const char*,...)", - "stname": "" - } - ], - "igImFormatStringToTempBuffer": [ - { - "args": "(const char** out_buf,const char** out_buf_end,const char* fmt,...)", - "argsT": [ - { - "name": "out_buf", - "type": "const char**" - }, - { - "name": "out_buf_end", - "type": "const char**" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const char** out_buf,const char** out_buf_end,const char* fmt,...)", - "call_args": "(out_buf,out_buf_end,fmt,...)", - "cimguiname": "igImFormatStringToTempBuffer", - "defaults": {}, - "funcname": "ImFormatStringToTempBuffer", - "isvararg": "...)", - "location": "imgui_internal:363", - "ov_cimguiname": "igImFormatStringToTempBuffer", - "ret": "void", - "signature": "(const char**,const char**,const char*,...)", - "stname": "" - } - ], - "igImFormatStringToTempBufferV": [ - { - "args": "(const char** out_buf,const char** out_buf_end,const char* fmt,va_list args)", - "argsT": [ - { - "name": "out_buf", - "type": "const char**" - }, - { - "name": "out_buf_end", - "type": "const char**" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const char** out_buf,const char** out_buf_end,const char* fmt,va_list args)", - "call_args": "(out_buf,out_buf_end,fmt,args)", - "cimguiname": "igImFormatStringToTempBufferV", - "defaults": {}, - "funcname": "ImFormatStringToTempBufferV", - "location": "imgui_internal:364", - "ov_cimguiname": "igImFormatStringToTempBufferV", - "ret": "void", - "signature": "(const char**,const char**,const char*,va_list)", - "stname": "" - } - ], - "igImFormatStringV": [ - { - "args": "(char* buf,size_t buf_size,const char* fmt,va_list args)", - "argsT": [ - { - "name": "buf", - "type": "char*" - }, - { - "name": "buf_size", - "type": "size_t" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(char* buf,size_t buf_size,const char* fmt,va_list args)", - "call_args": "(buf,buf_size,fmt,args)", - "cimguiname": "igImFormatStringV", - "defaults": {}, - "funcname": "ImFormatStringV", - "location": "imgui_internal:362", - "ov_cimguiname": "igImFormatStringV", - "ret": "int", - "signature": "(char*,size_t,const char*,va_list)", - "stname": "" - } - ], - "igImGetDirQuadrantFromDelta": [ - { - "args": "(float dx,float dy)", - "argsT": [ - { - "name": "dx", - "type": "float" - }, - { - "name": "dy", - "type": "float" - } - ], - "argsoriginal": "(float dx,float dy)", - "call_args": "(dx,dy)", - "cimguiname": "igImGetDirQuadrantFromDelta", - "defaults": {}, - "funcname": "ImGetDirQuadrantFromDelta", - "location": "imgui_internal:498", - "ov_cimguiname": "igImGetDirQuadrantFromDelta", - "ret": "ImGuiDir", - "signature": "(float,float)", - "stname": "" - } - ], - "igImHashData": [ - { - "args": "(const void* data,size_t data_size,ImU32 seed)", - "argsT": [ - { - "name": "data", - "type": "const void*" - }, - { - "name": "data_size", - "type": "size_t" - }, - { - "name": "seed", - "type": "ImU32" - } - ], - "argsoriginal": "(const void* data,size_t data_size,ImU32 seed=0)", - "call_args": "(data,data_size,seed)", - "cimguiname": "igImHashData", - "defaults": { - "seed": "0" - }, - "funcname": "ImHashData", - "location": "imgui_internal:325", - "ov_cimguiname": "igImHashData", - "ret": "ImGuiID", - "signature": "(const void*,size_t,ImU32)", - "stname": "" - } - ], - "igImHashStr": [ - { - "args": "(const char* data,size_t data_size,ImU32 seed)", - "argsT": [ - { - "name": "data", - "type": "const char*" - }, - { - "name": "data_size", - "type": "size_t" - }, - { - "name": "seed", - "type": "ImU32" - } - ], - "argsoriginal": "(const char* data,size_t data_size=0,ImU32 seed=0)", - "call_args": "(data,data_size,seed)", - "cimguiname": "igImHashStr", - "defaults": { - "data_size": "0", - "seed": "0" - }, - "funcname": "ImHashStr", - "location": "imgui_internal:326", - "ov_cimguiname": "igImHashStr", - "ret": "ImGuiID", - "signature": "(const char*,size_t,ImU32)", - "stname": "" - } - ], - "igImInvLength": [ - { - "args": "(const ImVec2 lhs,float fail_value)", - "argsT": [ - { - "name": "lhs", - "type": "const ImVec2" - }, - { - "name": "fail_value", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2& lhs,float fail_value)", - "call_args": "(lhs,fail_value)", - "cimguiname": "igImInvLength", - "defaults": {}, - "funcname": "ImInvLength", - "location": "imgui_internal:475", - "ov_cimguiname": "igImInvLength", - "ret": "float", - "signature": "(const ImVec2,float)", - "stname": "" - } - ], - "igImIsFloatAboveGuaranteedIntegerPrecision": [ - { - "args": "(float f)", - "argsT": [ - { - "name": "f", - "type": "float" - } - ], - "argsoriginal": "(float f)", - "call_args": "(f)", - "cimguiname": "igImIsFloatAboveGuaranteedIntegerPrecision", - "defaults": {}, - "funcname": "ImIsFloatAboveGuaranteedIntegerPrecision", - "location": "imgui_internal:485", - "ov_cimguiname": "igImIsFloatAboveGuaranteedIntegerPrecision", - "ret": "bool", - "signature": "(float)", - "stname": "" - } - ], - "igImIsPowerOfTwo": [ - { - "args": "(int v)", - "argsT": [ - { - "name": "v", - "type": "int" - } - ], - "argsoriginal": "(int v)", - "call_args": "(v)", - "cimguiname": "igImIsPowerOfTwo", - "defaults": {}, - "funcname": "ImIsPowerOfTwo", - "location": "imgui_internal:337", - "ov_cimguiname": "igImIsPowerOfTwo_Int", - "ret": "bool", - "signature": "(int)", - "stname": "" - }, - { - "args": "(ImU64 v)", - "argsT": [ - { - "name": "v", - "type": "ImU64" - } - ], - "argsoriginal": "(ImU64 v)", - "call_args": "(v)", - "cimguiname": "igImIsPowerOfTwo", - "defaults": {}, - "funcname": "ImIsPowerOfTwo", - "location": "imgui_internal:338", - "ov_cimguiname": "igImIsPowerOfTwo_U64", - "ret": "bool", - "signature": "(ImU64)", - "stname": "" - } - ], - "igImLengthSqr": [ - { - "args": "(const ImVec2 lhs)", - "argsT": [ - { - "name": "lhs", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& lhs)", - "call_args": "(lhs)", - "cimguiname": "igImLengthSqr", - "defaults": {}, - "funcname": "ImLengthSqr", - "location": "imgui_internal:473", - "ov_cimguiname": "igImLengthSqr_Vec2", - "ret": "float", - "signature": "(const ImVec2)", - "stname": "" - }, - { - "args": "(const ImVec4 lhs)", - "argsT": [ - { - "name": "lhs", - "type": "const ImVec4" - } - ], - "argsoriginal": "(const ImVec4& lhs)", - "call_args": "(lhs)", - "cimguiname": "igImLengthSqr", - "defaults": {}, - "funcname": "ImLengthSqr", - "location": "imgui_internal:474", - "ov_cimguiname": "igImLengthSqr_Vec4", - "ret": "float", - "signature": "(const ImVec4)", - "stname": "" - } - ], - "igImLerp": [ - { - "args": "(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,float t)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "a", - "type": "const ImVec2" - }, - { - "name": "b", - "type": "const ImVec2" - }, - { - "name": "t", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2& a,const ImVec2& b,float t)", - "call_args": "(a,b,t)", - "cimguiname": "igImLerp", - "defaults": {}, - "funcname": "ImLerp", - "location": "imgui_internal:469", - "nonUDT": 1, - "ov_cimguiname": "igImLerp_Vec2Float", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,float)", - "stname": "" - }, - { - "args": "(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,const ImVec2 t)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "a", - "type": "const ImVec2" - }, - { - "name": "b", - "type": "const ImVec2" - }, - { - "name": "t", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& t)", - "call_args": "(a,b,t)", - "cimguiname": "igImLerp", - "defaults": {}, - "funcname": "ImLerp", - "location": "imgui_internal:470", - "nonUDT": 1, - "ov_cimguiname": "igImLerp_Vec2Vec2", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2)", - "stname": "" - }, - { - "args": "(ImVec4 *pOut,const ImVec4 a,const ImVec4 b,float t)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec4*" - }, - { - "name": "a", - "type": "const ImVec4" - }, - { - "name": "b", - "type": "const ImVec4" - }, - { - "name": "t", - "type": "float" - } - ], - "argsoriginal": "(const ImVec4& a,const ImVec4& b,float t)", - "call_args": "(a,b,t)", - "cimguiname": "igImLerp", - "defaults": {}, - "funcname": "ImLerp", - "location": "imgui_internal:471", - "nonUDT": 1, - "ov_cimguiname": "igImLerp_Vec4", - "ret": "void", - "signature": "(const ImVec4,const ImVec4,float)", - "stname": "" - } - ], - "igImLineClosestPoint": [ - { - "args": "(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,const ImVec2 p)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "a", - "type": "const ImVec2" - }, - { - "name": "b", - "type": "const ImVec2" - }, - { - "name": "p", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& p)", - "call_args": "(a,b,p)", - "cimguiname": "igImLineClosestPoint", - "defaults": {}, - "funcname": "ImLineClosestPoint", - "location": "imgui_internal:493", - "nonUDT": 1, - "ov_cimguiname": "igImLineClosestPoint", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2)", - "stname": "" - } - ], - "igImLinearSweep": [ - { - "args": "(float current,float target,float speed)", - "argsT": [ - { - "name": "current", - "type": "float" - }, - { - "name": "target", - "type": "float" - }, - { - "name": "speed", - "type": "float" - } - ], - "argsoriginal": "(float current,float target,float speed)", - "call_args": "(current,target,speed)", - "cimguiname": "igImLinearSweep", - "defaults": {}, - "funcname": "ImLinearSweep", - "location": "imgui_internal:483", - "ov_cimguiname": "igImLinearSweep", - "ret": "float", - "signature": "(float,float,float)", - "stname": "" - } - ], - "igImLog": [ - { - "args": "(float x)", - "argsT": [ - { - "name": "x", - "type": "float" - } - ], - "argsoriginal": "(float x)", - "call_args": "(x)", - "cimguiname": "igImLog", - "defaults": {}, - "funcname": "ImLog", - "location": "imgui_internal:442", - "ov_cimguiname": "igImLog_Float", - "ret": "float", - "signature": "(float)", - "stname": "" - }, - { - "args": "(double x)", - "argsT": [ - { - "name": "x", - "type": "double" - } - ], - "argsoriginal": "(double x)", - "call_args": "(x)", - "cimguiname": "igImLog", - "defaults": {}, - "funcname": "ImLog", - "location": "imgui_internal:443", - "ov_cimguiname": "igImLog_double", - "ret": "double", - "signature": "(double)", - "stname": "" - } - ], - "igImMax": [ - { - "args": "(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "lhs", - "type": "const ImVec2" - }, - { - "name": "rhs", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& lhs,const ImVec2& rhs)", - "call_args": "(lhs,rhs)", - "cimguiname": "igImMax", - "defaults": {}, - "funcname": "ImMax", - "location": "imgui_internal:467", - "nonUDT": 1, - "ov_cimguiname": "igImMax", - "ret": "void", - "signature": "(const ImVec2,const ImVec2)", - "stname": "" - } - ], - "igImMin": [ - { - "args": "(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "lhs", - "type": "const ImVec2" - }, - { - "name": "rhs", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& lhs,const ImVec2& rhs)", - "call_args": "(lhs,rhs)", - "cimguiname": "igImMin", - "defaults": {}, - "funcname": "ImMin", - "location": "imgui_internal:466", - "nonUDT": 1, - "ov_cimguiname": "igImMin", - "ret": "void", - "signature": "(const ImVec2,const ImVec2)", - "stname": "" - } - ], - "igImModPositive": [ - { - "args": "(int a,int b)", - "argsT": [ - { - "name": "a", - "type": "int" - }, - { - "name": "b", - "type": "int" - } - ], - "argsoriginal": "(int a,int b)", - "call_args": "(a,b)", - "cimguiname": "igImModPositive", - "defaults": {}, - "funcname": "ImModPositive", - "location": "imgui_internal:480", - "ov_cimguiname": "igImModPositive", - "ret": "int", - "signature": "(int,int)", - "stname": "" - } - ], - "igImMul": [ - { - "args": "(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "lhs", - "type": "const ImVec2" - }, - { - "name": "rhs", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& lhs,const ImVec2& rhs)", - "call_args": "(lhs,rhs)", - "cimguiname": "igImMul", - "defaults": {}, - "funcname": "ImMul", - "location": "imgui_internal:484", - "nonUDT": 1, - "ov_cimguiname": "igImMul", - "ret": "void", - "signature": "(const ImVec2,const ImVec2)", - "stname": "" - } - ], - "igImParseFormatFindEnd": [ - { - "args": "(const char* format)", - "argsT": [ - { - "name": "format", - "type": "const char*" - } - ], - "argsoriginal": "(const char* format)", - "call_args": "(format)", - "cimguiname": "igImParseFormatFindEnd", - "defaults": {}, - "funcname": "ImParseFormatFindEnd", - "location": "imgui_internal:366", - "ov_cimguiname": "igImParseFormatFindEnd", - "ret": "const char*", - "signature": "(const char*)", - "stname": "" - } - ], - "igImParseFormatFindStart": [ - { - "args": "(const char* format)", - "argsT": [ - { - "name": "format", - "type": "const char*" - } - ], - "argsoriginal": "(const char* format)", - "call_args": "(format)", - "cimguiname": "igImParseFormatFindStart", - "defaults": {}, - "funcname": "ImParseFormatFindStart", - "location": "imgui_internal:365", - "ov_cimguiname": "igImParseFormatFindStart", - "ret": "const char*", - "signature": "(const char*)", - "stname": "" - } - ], - "igImParseFormatPrecision": [ - { - "args": "(const char* format,int default_value)", - "argsT": [ - { - "name": "format", - "type": "const char*" - }, - { - "name": "default_value", - "type": "int" - } - ], - "argsoriginal": "(const char* format,int default_value)", - "call_args": "(format,default_value)", - "cimguiname": "igImParseFormatPrecision", - "defaults": {}, - "funcname": "ImParseFormatPrecision", - "location": "imgui_internal:370", - "ov_cimguiname": "igImParseFormatPrecision", - "ret": "int", - "signature": "(const char*,int)", - "stname": "" - } - ], - "igImParseFormatSanitizeForPrinting": [ - { - "args": "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)", - "argsT": [ - { - "name": "fmt_in", - "type": "const char*" - }, - { - "name": "fmt_out", - "type": "char*" - }, - { - "name": "fmt_out_size", - "type": "size_t" - } - ], - "argsoriginal": "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)", - "call_args": "(fmt_in,fmt_out,fmt_out_size)", - "cimguiname": "igImParseFormatSanitizeForPrinting", - "defaults": {}, - "funcname": "ImParseFormatSanitizeForPrinting", - "location": "imgui_internal:368", - "ov_cimguiname": "igImParseFormatSanitizeForPrinting", - "ret": "void", - "signature": "(const char*,char*,size_t)", - "stname": "" - } - ], - "igImParseFormatSanitizeForScanning": [ - { - "args": "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)", - "argsT": [ - { - "name": "fmt_in", - "type": "const char*" - }, - { - "name": "fmt_out", - "type": "char*" - }, - { - "name": "fmt_out_size", - "type": "size_t" - } - ], - "argsoriginal": "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)", - "call_args": "(fmt_in,fmt_out,fmt_out_size)", - "cimguiname": "igImParseFormatSanitizeForScanning", - "defaults": {}, - "funcname": "ImParseFormatSanitizeForScanning", - "location": "imgui_internal:369", - "ov_cimguiname": "igImParseFormatSanitizeForScanning", - "ret": "const char*", - "signature": "(const char*,char*,size_t)", - "stname": "" - } - ], - "igImParseFormatTrimDecorations": [ - { - "args": "(const char* format,char* buf,size_t buf_size)", - "argsT": [ - { - "name": "format", - "type": "const char*" - }, - { - "name": "buf", - "type": "char*" - }, - { - "name": "buf_size", - "type": "size_t" - } - ], - "argsoriginal": "(const char* format,char* buf,size_t buf_size)", - "call_args": "(format,buf,buf_size)", - "cimguiname": "igImParseFormatTrimDecorations", - "defaults": {}, - "funcname": "ImParseFormatTrimDecorations", - "location": "imgui_internal:367", - "ov_cimguiname": "igImParseFormatTrimDecorations", - "ret": "const char*", - "signature": "(const char*,char*,size_t)", - "stname": "" - } - ], - "igImPow": [ - { - "args": "(float x,float y)", - "argsT": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ], - "argsoriginal": "(float x,float y)", - "call_args": "(x,y)", - "cimguiname": "igImPow", - "defaults": {}, - "funcname": "ImPow", - "location": "imgui_internal:440", - "ov_cimguiname": "igImPow_Float", - "ret": "float", - "signature": "(float,float)", - "stname": "" - }, - { - "args": "(double x,double y)", - "argsT": [ - { - "name": "x", - "type": "double" - }, - { - "name": "y", - "type": "double" - } - ], - "argsoriginal": "(double x,double y)", - "call_args": "(x,y)", - "cimguiname": "igImPow", - "defaults": {}, - "funcname": "ImPow", - "location": "imgui_internal:441", - "ov_cimguiname": "igImPow_double", - "ret": "double", - "signature": "(double,double)", - "stname": "" - } - ], - "igImQsort": [ - { - "args": "(void* base,size_t count,size_t size_of_element,int(*compare_func)(void const*,void const*))", - "argsT": [ - { - "name": "base", - "type": "void*" - }, - { - "name": "count", - "type": "size_t" - }, - { - "name": "size_of_element", - "type": "size_t" - }, - { - "name": "compare_func", - "ret": "int", - "signature": "(void const*,void const*)", - "type": "int(*)(void const*,void const*)" - } - ], - "argsoriginal": "(void* base,size_t count,size_t size_of_element,int(*compare_func)(void const*,void const*))", - "call_args": "(base,count,size_of_element,compare_func)", - "cimguiname": "igImQsort", - "defaults": {}, - "funcname": "ImQsort", - "location": "imgui_internal:330", - "ov_cimguiname": "igImQsort", - "ret": "void", - "signature": "(void*,size_t,size_t,int(*)(void const*,void const*))", - "stname": "" - } - ], - "igImRotate": [ - { - "args": "(ImVec2 *pOut,const ImVec2 v,float cos_a,float sin_a)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "v", - "type": "const ImVec2" - }, - { - "name": "cos_a", - "type": "float" - }, - { - "name": "sin_a", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2& v,float cos_a,float sin_a)", - "call_args": "(v,cos_a,sin_a)", - "cimguiname": "igImRotate", - "defaults": {}, - "funcname": "ImRotate", - "location": "imgui_internal:482", - "nonUDT": 1, - "ov_cimguiname": "igImRotate", - "ret": "void", - "signature": "(const ImVec2,float,float)", - "stname": "" - } - ], - "igImRsqrt": [ - { - "args": "(float x)", - "argsT": [ - { - "name": "x", - "type": "float" - } - ], - "argsoriginal": "(float x)", - "call_args": "(x)", - "cimguiname": "igImRsqrt", - "defaults": {}, - "funcname": "ImRsqrt", - "location": "imgui_internal:452", - "ov_cimguiname": "igImRsqrt_Float", - "ret": "float", - "signature": "(float)", - "stname": "" - }, - { - "args": "(double x)", - "argsT": [ - { - "name": "x", - "type": "double" - } - ], - "argsoriginal": "(double x)", - "call_args": "(x)", - "cimguiname": "igImRsqrt", - "defaults": {}, - "funcname": "ImRsqrt", - "location": "imgui_internal:454", - "ov_cimguiname": "igImRsqrt_double", - "ret": "double", - "signature": "(double)", - "stname": "" - } - ], - "igImSaturate": [ - { - "args": "(float f)", - "argsT": [ - { - "name": "f", - "type": "float" - } - ], - "argsoriginal": "(float f)", - "call_args": "(f)", - "cimguiname": "igImSaturate", - "defaults": {}, - "funcname": "ImSaturate", - "location": "imgui_internal:472", - "ov_cimguiname": "igImSaturate", - "ret": "float", - "signature": "(float)", - "stname": "" - } - ], - "igImSign": [ - { - "args": "(float x)", - "argsT": [ - { - "name": "x", - "type": "float" - } - ], - "argsoriginal": "(float x)", - "call_args": "(x)", - "cimguiname": "igImSign", - "defaults": {}, - "funcname": "ImSign", - "location": "imgui_internal:447", - "ov_cimguiname": "igImSign_Float", - "ret": "float", - "signature": "(float)", - "stname": "" - }, - { - "args": "(double x)", - "argsT": [ - { - "name": "x", - "type": "double" - } - ], - "argsoriginal": "(double x)", - "call_args": "(x)", - "cimguiname": "igImSign", - "defaults": {}, - "funcname": "ImSign", - "location": "imgui_internal:448", - "ov_cimguiname": "igImSign_double", - "ret": "double", - "signature": "(double)", - "stname": "" - } - ], - "igImStrSkipBlank": [ - { - "args": "(const char* str)", - "argsT": [ - { - "name": "str", - "type": "const char*" - } - ], - "argsoriginal": "(const char* str)", - "call_args": "(str)", - "cimguiname": "igImStrSkipBlank", - "defaults": {}, - "funcname": "ImStrSkipBlank", - "location": "imgui_internal:353", - "ov_cimguiname": "igImStrSkipBlank", - "ret": "const char*", - "signature": "(const char*)", - "stname": "" - } - ], - "igImStrTrimBlanks": [ - { - "args": "(char* str)", - "argsT": [ - { - "name": "str", - "type": "char*" - } - ], - "argsoriginal": "(char* str)", - "call_args": "(str)", - "cimguiname": "igImStrTrimBlanks", - "defaults": {}, - "funcname": "ImStrTrimBlanks", - "location": "imgui_internal:352", - "ov_cimguiname": "igImStrTrimBlanks", - "ret": "void", - "signature": "(char*)", - "stname": "" - } - ], - "igImStrbolW": [ - { - "args": "(const ImWchar* buf_mid_line,const ImWchar* buf_begin)", - "argsT": [ - { - "name": "buf_mid_line", - "type": "const ImWchar*" - }, - { - "name": "buf_begin", - "type": "const ImWchar*" - } - ], - "argsoriginal": "(const ImWchar* buf_mid_line,const ImWchar* buf_begin)", - "call_args": "(buf_mid_line,buf_begin)", - "cimguiname": "igImStrbolW", - "defaults": {}, - "funcname": "ImStrbolW", - "location": "imgui_internal:350", - "ov_cimguiname": "igImStrbolW", - "ret": "const ImWchar*", - "signature": "(const ImWchar*,const ImWchar*)", - "stname": "" - } - ], - "igImStrchrRange": [ - { - "args": "(const char* str_begin,const char* str_end,char c)", - "argsT": [ - { - "name": "str_begin", - "type": "const char*" - }, - { - "name": "str_end", - "type": "const char*" - }, - { - "name": "c", - "type": "char" - } - ], - "argsoriginal": "(const char* str_begin,const char* str_end,char c)", - "call_args": "(str_begin,str_end,c)", - "cimguiname": "igImStrchrRange", - "defaults": {}, - "funcname": "ImStrchrRange", - "location": "imgui_internal:347", - "ov_cimguiname": "igImStrchrRange", - "ret": "const char*", - "signature": "(const char*,const char*,char)", - "stname": "" - } - ], - "igImStrdup": [ - { - "args": "(const char* str)", - "argsT": [ - { - "name": "str", - "type": "const char*" - } - ], - "argsoriginal": "(const char* str)", - "call_args": "(str)", - "cimguiname": "igImStrdup", - "defaults": {}, - "funcname": "ImStrdup", - "location": "imgui_internal:345", - "ov_cimguiname": "igImStrdup", - "ret": "char*", - "signature": "(const char*)", - "stname": "" - } - ], - "igImStrdupcpy": [ - { - "args": "(char* dst,size_t* p_dst_size,const char* str)", - "argsT": [ - { - "name": "dst", - "type": "char*" - }, - { - "name": "p_dst_size", - "type": "size_t*" - }, - { - "name": "str", - "type": "const char*" - } - ], - "argsoriginal": "(char* dst,size_t* p_dst_size,const char* str)", - "call_args": "(dst,p_dst_size,str)", - "cimguiname": "igImStrdupcpy", - "defaults": {}, - "funcname": "ImStrdupcpy", - "location": "imgui_internal:346", - "ov_cimguiname": "igImStrdupcpy", - "ret": "char*", - "signature": "(char*,size_t*,const char*)", - "stname": "" - } - ], - "igImStreolRange": [ - { - "args": "(const char* str,const char* str_end)", - "argsT": [ - { - "name": "str", - "type": "const char*" - }, - { - "name": "str_end", - "type": "const char*" - } - ], - "argsoriginal": "(const char* str,const char* str_end)", - "call_args": "(str,str_end)", - "cimguiname": "igImStreolRange", - "defaults": {}, - "funcname": "ImStreolRange", - "location": "imgui_internal:349", - "ov_cimguiname": "igImStreolRange", - "ret": "const char*", - "signature": "(const char*,const char*)", - "stname": "" - } - ], - "igImStricmp": [ - { - "args": "(const char* str1,const char* str2)", - "argsT": [ - { - "name": "str1", - "type": "const char*" - }, - { - "name": "str2", - "type": "const char*" - } - ], - "argsoriginal": "(const char* str1,const char* str2)", - "call_args": "(str1,str2)", - "cimguiname": "igImStricmp", - "defaults": {}, - "funcname": "ImStricmp", - "location": "imgui_internal:342", - "ov_cimguiname": "igImStricmp", - "ret": "int", - "signature": "(const char*,const char*)", - "stname": "" - } - ], - "igImStristr": [ - { - "args": "(const char* haystack,const char* haystack_end,const char* needle,const char* needle_end)", - "argsT": [ - { - "name": "haystack", - "type": "const char*" - }, - { - "name": "haystack_end", - "type": "const char*" - }, - { - "name": "needle", - "type": "const char*" - }, - { - "name": "needle_end", - "type": "const char*" - } - ], - "argsoriginal": "(const char* haystack,const char* haystack_end,const char* needle,const char* needle_end)", - "call_args": "(haystack,haystack_end,needle,needle_end)", - "cimguiname": "igImStristr", - "defaults": {}, - "funcname": "ImStristr", - "location": "imgui_internal:351", - "ov_cimguiname": "igImStristr", - "ret": "const char*", - "signature": "(const char*,const char*,const char*,const char*)", - "stname": "" - } - ], - "igImStrlenW": [ - { - "args": "(const ImWchar* str)", - "argsT": [ - { - "name": "str", - "type": "const ImWchar*" - } - ], - "argsoriginal": "(const ImWchar* str)", - "call_args": "(str)", - "cimguiname": "igImStrlenW", - "defaults": {}, - "funcname": "ImStrlenW", - "location": "imgui_internal:348", - "ov_cimguiname": "igImStrlenW", - "ret": "int", - "signature": "(const ImWchar*)", - "stname": "" - } - ], - "igImStrncpy": [ - { - "args": "(char* dst,const char* src,size_t count)", - "argsT": [ - { - "name": "dst", - "type": "char*" - }, - { - "name": "src", - "type": "const char*" - }, - { - "name": "count", - "type": "size_t" - } - ], - "argsoriginal": "(char* dst,const char* src,size_t count)", - "call_args": "(dst,src,count)", - "cimguiname": "igImStrncpy", - "defaults": {}, - "funcname": "ImStrncpy", - "location": "imgui_internal:344", - "ov_cimguiname": "igImStrncpy", - "ret": "void", - "signature": "(char*,const char*,size_t)", - "stname": "" - } - ], - "igImStrnicmp": [ - { - "args": "(const char* str1,const char* str2,size_t count)", - "argsT": [ - { - "name": "str1", - "type": "const char*" - }, - { - "name": "str2", - "type": "const char*" - }, - { - "name": "count", - "type": "size_t" - } - ], - "argsoriginal": "(const char* str1,const char* str2,size_t count)", - "call_args": "(str1,str2,count)", - "cimguiname": "igImStrnicmp", - "defaults": {}, - "funcname": "ImStrnicmp", - "location": "imgui_internal:343", - "ov_cimguiname": "igImStrnicmp", - "ret": "int", - "signature": "(const char*,const char*,size_t)", - "stname": "" - } - ], - "igImTextCharFromUtf8": [ - { - "args": "(unsigned int* out_char,const char* in_text,const char* in_text_end)", - "argsT": [ - { - "name": "out_char", - "type": "unsigned int*" - }, - { - "name": "in_text", - "type": "const char*" - }, - { - "name": "in_text_end", - "type": "const char*" - } - ], - "argsoriginal": "(unsigned int* out_char,const char* in_text,const char* in_text_end)", - "call_args": "(out_char,in_text,in_text_end)", - "cimguiname": "igImTextCharFromUtf8", - "defaults": {}, - "funcname": "ImTextCharFromUtf8", - "location": "imgui_internal:375", - "ov_cimguiname": "igImTextCharFromUtf8", - "ret": "int", - "signature": "(unsigned int*,const char*,const char*)", - "stname": "" - } - ], - "igImTextCharToUtf8": [ - { - "args": "(char out_buf[5],unsigned int c)", - "argsT": [ - { - "name": "out_buf", - "type": "char[5]" - }, - { - "name": "c", - "type": "unsigned int" - } - ], - "argsoriginal": "(char out_buf[5],unsigned int c)", - "call_args": "(out_buf,c)", - "cimguiname": "igImTextCharToUtf8", - "defaults": {}, - "funcname": "ImTextCharToUtf8", - "location": "imgui_internal:373", - "ov_cimguiname": "igImTextCharToUtf8", - "ret": "const char*", - "signature": "(char[5],unsigned int)", - "stname": "" - } - ], - "igImTextCountCharsFromUtf8": [ - { - "args": "(const char* in_text,const char* in_text_end)", - "argsT": [ - { - "name": "in_text", - "type": "const char*" - }, - { - "name": "in_text_end", - "type": "const char*" - } - ], - "argsoriginal": "(const char* in_text,const char* in_text_end)", - "call_args": "(in_text,in_text_end)", - "cimguiname": "igImTextCountCharsFromUtf8", - "defaults": {}, - "funcname": "ImTextCountCharsFromUtf8", - "location": "imgui_internal:377", - "ov_cimguiname": "igImTextCountCharsFromUtf8", - "ret": "int", - "signature": "(const char*,const char*)", - "stname": "" - } - ], - "igImTextCountUtf8BytesFromChar": [ - { - "args": "(const char* in_text,const char* in_text_end)", - "argsT": [ - { - "name": "in_text", - "type": "const char*" - }, - { - "name": "in_text_end", - "type": "const char*" - } - ], - "argsoriginal": "(const char* in_text,const char* in_text_end)", - "call_args": "(in_text,in_text_end)", - "cimguiname": "igImTextCountUtf8BytesFromChar", - "defaults": {}, - "funcname": "ImTextCountUtf8BytesFromChar", - "location": "imgui_internal:378", - "ov_cimguiname": "igImTextCountUtf8BytesFromChar", - "ret": "int", - "signature": "(const char*,const char*)", - "stname": "" - } - ], - "igImTextCountUtf8BytesFromStr": [ - { - "args": "(const ImWchar* in_text,const ImWchar* in_text_end)", - "argsT": [ - { - "name": "in_text", - "type": "const ImWchar*" - }, - { - "name": "in_text_end", - "type": "const ImWchar*" - } - ], - "argsoriginal": "(const ImWchar* in_text,const ImWchar* in_text_end)", - "call_args": "(in_text,in_text_end)", - "cimguiname": "igImTextCountUtf8BytesFromStr", - "defaults": {}, - "funcname": "ImTextCountUtf8BytesFromStr", - "location": "imgui_internal:379", - "ov_cimguiname": "igImTextCountUtf8BytesFromStr", - "ret": "int", - "signature": "(const ImWchar*,const ImWchar*)", - "stname": "" - } - ], - "igImTextStrFromUtf8": [ - { - "args": "(ImWchar* out_buf,int out_buf_size,const char* in_text,const char* in_text_end,const char** in_remaining)", - "argsT": [ - { - "name": "out_buf", - "type": "ImWchar*" - }, - { - "name": "out_buf_size", - "type": "int" - }, - { - "name": "in_text", - "type": "const char*" - }, - { - "name": "in_text_end", - "type": "const char*" - }, - { - "name": "in_remaining", - "type": "const char**" - } - ], - "argsoriginal": "(ImWchar* out_buf,int out_buf_size,const char* in_text,const char* in_text_end,const char** in_remaining=((void*)0))", - "call_args": "(out_buf,out_buf_size,in_text,in_text_end,in_remaining)", - "cimguiname": "igImTextStrFromUtf8", - "defaults": { - "in_remaining": "NULL" - }, - "funcname": "ImTextStrFromUtf8", - "location": "imgui_internal:376", - "ov_cimguiname": "igImTextStrFromUtf8", - "ret": "int", - "signature": "(ImWchar*,int,const char*,const char*,const char**)", - "stname": "" - } - ], - "igImTextStrToUtf8": [ - { - "args": "(char* out_buf,int out_buf_size,const ImWchar* in_text,const ImWchar* in_text_end)", - "argsT": [ - { - "name": "out_buf", - "type": "char*" - }, - { - "name": "out_buf_size", - "type": "int" - }, - { - "name": "in_text", - "type": "const ImWchar*" - }, - { - "name": "in_text_end", - "type": "const ImWchar*" - } - ], - "argsoriginal": "(char* out_buf,int out_buf_size,const ImWchar* in_text,const ImWchar* in_text_end)", - "call_args": "(out_buf,out_buf_size,in_text,in_text_end)", - "cimguiname": "igImTextStrToUtf8", - "defaults": {}, - "funcname": "ImTextStrToUtf8", - "location": "imgui_internal:374", - "ov_cimguiname": "igImTextStrToUtf8", - "ret": "int", - "signature": "(char*,int,const ImWchar*,const ImWchar*)", - "stname": "" - } - ], - "igImToUpper": [ - { - "args": "(char c)", - "argsT": [ - { - "name": "c", - "type": "char" - } - ], - "argsoriginal": "(char c)", - "call_args": "(c)", - "cimguiname": "igImToUpper", - "defaults": {}, - "funcname": "ImToUpper", - "location": "imgui_internal:355", - "ov_cimguiname": "igImToUpper", - "ret": "char", - "signature": "(char)", - "stname": "" - } - ], - "igImTriangleArea": [ - { - "args": "(const ImVec2 a,const ImVec2 b,const ImVec2 c)", - "argsT": [ - { - "name": "a", - "type": "const ImVec2" - }, - { - "name": "b", - "type": "const ImVec2" - }, - { - "name": "c", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c)", - "call_args": "(a,b,c)", - "cimguiname": "igImTriangleArea", - "defaults": {}, - "funcname": "ImTriangleArea", - "location": "imgui_internal:497", - "ov_cimguiname": "igImTriangleArea", - "ret": "float", - "signature": "(const ImVec2,const ImVec2,const ImVec2)", - "stname": "" - } - ], - "igImTriangleBarycentricCoords": [ - { - "args": "(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 p,float* out_u,float* out_v,float* out_w)", - "argsT": [ - { - "name": "a", - "type": "const ImVec2" - }, - { - "name": "b", - "type": "const ImVec2" - }, - { - "name": "c", - "type": "const ImVec2" - }, - { - "name": "p", - "type": "const ImVec2" - }, - { - "name": "out_u", - "reftoptr": true, - "type": "float*" - }, - { - "name": "out_v", - "reftoptr": true, - "type": "float*" - }, - { - "name": "out_w", - "reftoptr": true, - "type": "float*" - } - ], - "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& p,float& out_u,float& out_v,float& out_w)", - "call_args": "(a,b,c,p,*out_u,*out_v,*out_w)", - "cimguiname": "igImTriangleBarycentricCoords", - "defaults": {}, - "funcname": "ImTriangleBarycentricCoords", - "location": "imgui_internal:496", - "ov_cimguiname": "igImTriangleBarycentricCoords", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,float*,float*,float*)", - "stname": "" - } - ], - "igImTriangleClosestPoint": [ - { - "args": "(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 p)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "a", - "type": "const ImVec2" - }, - { - "name": "b", - "type": "const ImVec2" - }, - { - "name": "c", - "type": "const ImVec2" - }, - { - "name": "p", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& p)", - "call_args": "(a,b,c,p)", - "cimguiname": "igImTriangleClosestPoint", - "defaults": {}, - "funcname": "ImTriangleClosestPoint", - "location": "imgui_internal:495", - "nonUDT": 1, - "ov_cimguiname": "igImTriangleClosestPoint", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2)", - "stname": "" - } - ], - "igImTriangleContainsPoint": [ - { - "args": "(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 p)", - "argsT": [ - { - "name": "a", - "type": "const ImVec2" - }, - { - "name": "b", - "type": "const ImVec2" - }, - { - "name": "c", - "type": "const ImVec2" - }, - { - "name": "p", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& p)", - "call_args": "(a,b,c,p)", - "cimguiname": "igImTriangleContainsPoint", - "defaults": {}, - "funcname": "ImTriangleContainsPoint", - "location": "imgui_internal:494", - "ov_cimguiname": "igImTriangleContainsPoint", - "ret": "bool", - "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2)", - "stname": "" - } - ], - "igImUpperPowerOfTwo": [ - { - "args": "(int v)", - "argsT": [ - { - "name": "v", - "type": "int" - } - ], - "argsoriginal": "(int v)", - "call_args": "(v)", - "cimguiname": "igImUpperPowerOfTwo", - "defaults": {}, - "funcname": "ImUpperPowerOfTwo", - "location": "imgui_internal:339", - "ov_cimguiname": "igImUpperPowerOfTwo", - "ret": "int", - "signature": "(int)", - "stname": "" - } - ], - "igImage": [ - { - "args": "(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)", - "argsT": [ - { - "name": "user_texture_id", - "type": "ImTextureID" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "uv0", - "type": "const ImVec2" - }, - { - "name": "uv1", - "type": "const ImVec2" - }, - { - "name": "tint_col", - "type": "const ImVec4" - }, - { - "name": "border_col", - "type": "const ImVec4" - } - ], - "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))", - "call_args": "(user_texture_id,size,uv0,uv1,tint_col,border_col)", - "cimguiname": "igImage", - "defaults": { - "border_col": "ImVec4(0,0,0,0)", - "tint_col": "ImVec4(1,1,1,1)", - "uv0": "ImVec2(0,0)", - "uv1": "ImVec2(1,1)" - }, - "funcname": "Image", - "location": "imgui:523", - "namespace": "ImGui", - "ov_cimguiname": "igImage", - "ret": "void", - "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)", - "stname": "" - } - ], - "igImageButton": [ - { - "args": "(const char* str_id,ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "user_texture_id", - "type": "ImTextureID" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "uv0", - "type": "const ImVec2" - }, - { - "name": "uv1", - "type": "const ImVec2" - }, - { - "name": "bg_col", - "type": "const ImVec4" - }, - { - "name": "tint_col", - "type": "const ImVec4" - } - ], - "argsoriginal": "(const char* str_id,ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))", - "call_args": "(str_id,user_texture_id,size,uv0,uv1,bg_col,tint_col)", - "cimguiname": "igImageButton", - "defaults": { - "bg_col": "ImVec4(0,0,0,0)", - "tint_col": "ImVec4(1,1,1,1)", - "uv0": "ImVec2(0,0)", - "uv1": "ImVec2(1,1)" - }, - "funcname": "ImageButton", - "location": "imgui:524", - "namespace": "ImGui", - "ov_cimguiname": "igImageButton", - "ret": "bool", - "signature": "(const char*,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)", - "stname": "" - } - ], - "igImageButtonEx": [ - { - "args": "(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "texture_id", - "type": "ImTextureID" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "uv0", - "type": "const ImVec2" - }, - { - "name": "uv1", - "type": "const ImVec2" - }, - { - "name": "bg_col", - "type": "const ImVec4" - }, - { - "name": "tint_col", - "type": "const ImVec4" - } - ], - "argsoriginal": "(ImGuiID id,ImTextureID texture_id,const ImVec2& size,const ImVec2& uv0,const ImVec2& uv1,const ImVec4& bg_col,const ImVec4& tint_col)", - "call_args": "(id,texture_id,size,uv0,uv1,bg_col,tint_col)", - "cimguiname": "igImageButtonEx", - "defaults": {}, - "funcname": "ImageButtonEx", - "location": "imgui_internal:3356", - "namespace": "ImGui", - "ov_cimguiname": "igImageButtonEx", - "ret": "bool", - "signature": "(ImGuiID,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)", - "stname": "" - } - ], - "igIndent": [ - { - "args": "(float indent_w)", - "argsT": [ - { - "name": "indent_w", - "type": "float" - } - ], - "argsoriginal": "(float indent_w=0.0f)", - "call_args": "(indent_w)", - "cimguiname": "igIndent", - "defaults": { - "indent_w": "0.0f" - }, - "funcname": "Indent", - "location": "imgui:452", - "namespace": "ImGui", - "ov_cimguiname": "igIndent", - "ret": "void", - "signature": "(float)", - "stname": "" - } - ], - "igInitialize": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igInitialize", - "defaults": {}, - "funcname": "Initialize", - "location": "imgui_internal:2964", - "namespace": "ImGui", - "ov_cimguiname": "igInitialize", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igInputDouble": [ - { - "args": "(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "double*" - }, - { - "name": "step", - "type": "double" - }, - { - "name": "step_fast", - "type": "double" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - } - ], - "argsoriginal": "(const char* label,double* v,double step=0.0,double step_fast=0.0,const char* format=\"%.6f\",ImGuiInputTextFlags flags=0)", - "call_args": "(label,v,step,step_fast,format,flags)", - "cimguiname": "igInputDouble", - "defaults": { - "flags": "0", - "format": "\"%.6f\"", - "step": "0.0", - "step_fast": "0.0" - }, - "funcname": "InputDouble", - "location": "imgui:595", - "namespace": "ImGui", - "ov_cimguiname": "igInputDouble", - "ret": "bool", - "signature": "(const char*,double*,double,double,const char*,ImGuiInputTextFlags)", - "stname": "" - } - ], - "igInputFloat": [ - { - "args": "(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "float*" - }, - { - "name": "step", - "type": "float" - }, - { - "name": "step_fast", - "type": "float" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - } - ], - "argsoriginal": "(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags flags=0)", - "call_args": "(label,v,step,step_fast,format,flags)", - "cimguiname": "igInputFloat", - "defaults": { - "flags": "0", - "format": "\"%.3f\"", - "step": "0.0f", - "step_fast": "0.0f" - }, - "funcname": "InputFloat", - "location": "imgui:587", - "namespace": "ImGui", - "ov_cimguiname": "igInputFloat", - "ret": "bool", - "signature": "(const char*,float*,float,float,const char*,ImGuiInputTextFlags)", - "stname": "" - } - ], - "igInputFloat2": [ - { - "args": "(const char* label,float v[2],const char* format,ImGuiInputTextFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "float[2]" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - } - ], - "argsoriginal": "(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags flags=0)", - "call_args": "(label,v,format,flags)", - "cimguiname": "igInputFloat2", - "defaults": { - "flags": "0", - "format": "\"%.3f\"" - }, - "funcname": "InputFloat2", - "location": "imgui:588", - "namespace": "ImGui", - "ov_cimguiname": "igInputFloat2", - "ret": "bool", - "signature": "(const char*,float[2],const char*,ImGuiInputTextFlags)", - "stname": "" - } - ], - "igInputFloat3": [ - { - "args": "(const char* label,float v[3],const char* format,ImGuiInputTextFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "float[3]" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - } - ], - "argsoriginal": "(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags flags=0)", - "call_args": "(label,v,format,flags)", - "cimguiname": "igInputFloat3", - "defaults": { - "flags": "0", - "format": "\"%.3f\"" - }, - "funcname": "InputFloat3", - "location": "imgui:589", - "namespace": "ImGui", - "ov_cimguiname": "igInputFloat3", - "ret": "bool", - "signature": "(const char*,float[3],const char*,ImGuiInputTextFlags)", - "stname": "" - } - ], - "igInputFloat4": [ - { - "args": "(const char* label,float v[4],const char* format,ImGuiInputTextFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "float[4]" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - } - ], - "argsoriginal": "(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags flags=0)", - "call_args": "(label,v,format,flags)", - "cimguiname": "igInputFloat4", - "defaults": { - "flags": "0", - "format": "\"%.3f\"" - }, - "funcname": "InputFloat4", - "location": "imgui:590", - "namespace": "ImGui", - "ov_cimguiname": "igInputFloat4", - "ret": "bool", - "signature": "(const char*,float[4],const char*,ImGuiInputTextFlags)", - "stname": "" - } - ], - "igInputInt": [ - { - "args": "(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "int*" - }, - { - "name": "step", - "type": "int" - }, - { - "name": "step_fast", - "type": "int" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - } - ], - "argsoriginal": "(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags flags=0)", - "call_args": "(label,v,step,step_fast,flags)", - "cimguiname": "igInputInt", - "defaults": { - "flags": "0", - "step": "1", - "step_fast": "100" - }, - "funcname": "InputInt", - "location": "imgui:591", - "namespace": "ImGui", - "ov_cimguiname": "igInputInt", - "ret": "bool", - "signature": "(const char*,int*,int,int,ImGuiInputTextFlags)", - "stname": "" - } - ], - "igInputInt2": [ - { - "args": "(const char* label,int v[2],ImGuiInputTextFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "int[2]" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - } - ], - "argsoriginal": "(const char* label,int v[2],ImGuiInputTextFlags flags=0)", - "call_args": "(label,v,flags)", - "cimguiname": "igInputInt2", - "defaults": { - "flags": "0" - }, - "funcname": "InputInt2", - "location": "imgui:592", - "namespace": "ImGui", - "ov_cimguiname": "igInputInt2", - "ret": "bool", - "signature": "(const char*,int[2],ImGuiInputTextFlags)", - "stname": "" - } - ], - "igInputInt3": [ - { - "args": "(const char* label,int v[3],ImGuiInputTextFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "int[3]" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - } - ], - "argsoriginal": "(const char* label,int v[3],ImGuiInputTextFlags flags=0)", - "call_args": "(label,v,flags)", - "cimguiname": "igInputInt3", - "defaults": { - "flags": "0" - }, - "funcname": "InputInt3", - "location": "imgui:593", - "namespace": "ImGui", - "ov_cimguiname": "igInputInt3", - "ret": "bool", - "signature": "(const char*,int[3],ImGuiInputTextFlags)", - "stname": "" - } - ], - "igInputInt4": [ - { - "args": "(const char* label,int v[4],ImGuiInputTextFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "int[4]" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - } - ], - "argsoriginal": "(const char* label,int v[4],ImGuiInputTextFlags flags=0)", - "call_args": "(label,v,flags)", - "cimguiname": "igInputInt4", - "defaults": { - "flags": "0" - }, - "funcname": "InputInt4", - "location": "imgui:594", - "namespace": "ImGui", - "ov_cimguiname": "igInputInt4", - "ret": "bool", - "signature": "(const char*,int[4],ImGuiInputTextFlags)", - "stname": "" - } - ], - "igInputScalar": [ - { - "args": "(const char* label,ImGuiDataType data_type,void* p_data,const void* p_step,const void* p_step_fast,const char* format,ImGuiInputTextFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "p_data", - "type": "void*" - }, - { - "name": "p_step", - "type": "const void*" - }, - { - "name": "p_step_fast", - "type": "const void*" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - } - ], - "argsoriginal": "(const char* label,ImGuiDataType data_type,void* p_data,const void* p_step=((void*)0),const void* p_step_fast=((void*)0),const char* format=((void*)0),ImGuiInputTextFlags flags=0)", - "call_args": "(label,data_type,p_data,p_step,p_step_fast,format,flags)", - "cimguiname": "igInputScalar", - "defaults": { - "flags": "0", - "format": "NULL", - "p_step": "NULL", - "p_step_fast": "NULL" - }, - "funcname": "InputScalar", - "location": "imgui:596", - "namespace": "ImGui", - "ov_cimguiname": "igInputScalar", - "ret": "bool", - "signature": "(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)", - "stname": "" - } - ], - "igInputScalarN": [ - { - "args": "(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_step,const void* p_step_fast,const char* format,ImGuiInputTextFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "p_data", - "type": "void*" - }, - { - "name": "components", - "type": "int" - }, - { - "name": "p_step", - "type": "const void*" - }, - { - "name": "p_step_fast", - "type": "const void*" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - } - ], - "argsoriginal": "(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_step=((void*)0),const void* p_step_fast=((void*)0),const char* format=((void*)0),ImGuiInputTextFlags flags=0)", - "call_args": "(label,data_type,p_data,components,p_step,p_step_fast,format,flags)", - "cimguiname": "igInputScalarN", - "defaults": { - "flags": "0", - "format": "NULL", - "p_step": "NULL", - "p_step_fast": "NULL" - }, - "funcname": "InputScalarN", - "location": "imgui:597", - "namespace": "ImGui", - "ov_cimguiname": "igInputScalarN", - "ret": "bool", - "signature": "(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)", - "stname": "" - } - ], - "igInputText": [ - { - "args": "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "buf", - "type": "char*" - }, - { - "name": "buf_size", - "type": "size_t" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - }, - { - "name": "callback", - "type": "ImGuiInputTextCallback" - }, - { - "name": "user_data", - "type": "void*" - } - ], - "argsoriginal": "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void*)0),void* user_data=((void*)0))", - "call_args": "(label,buf,buf_size,flags,callback,user_data)", - "cimguiname": "igInputText", - "defaults": { - "callback": "NULL", - "flags": "0", - "user_data": "NULL" - }, - "funcname": "InputText", - "location": "imgui:584", - "namespace": "ImGui", - "ov_cimguiname": "igInputText", - "ret": "bool", - "signature": "(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)", - "stname": "" - } - ], - "igInputTextEx": [ - { - "args": "(const char* label,const char* hint,char* buf,int buf_size,const ImVec2 size_arg,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "hint", - "type": "const char*" - }, - { - "name": "buf", - "type": "char*" - }, - { - "name": "buf_size", - "type": "int" - }, - { - "name": "size_arg", - "type": "const ImVec2" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - }, - { - "name": "callback", - "type": "ImGuiInputTextCallback" - }, - { - "name": "user_data", - "type": "void*" - } - ], - "argsoriginal": "(const char* label,const char* hint,char* buf,int buf_size,const ImVec2& size_arg,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback=((void*)0),void* user_data=((void*)0))", - "call_args": "(label,hint,buf,buf_size,size_arg,flags,callback,user_data)", - "cimguiname": "igInputTextEx", - "defaults": { - "callback": "NULL", - "user_data": "NULL" - }, - "funcname": "InputTextEx", - "location": "imgui_internal:3394", - "namespace": "ImGui", - "ov_cimguiname": "igInputTextEx", - "ret": "bool", - "signature": "(const char*,const char*,char*,int,const ImVec2,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)", - "stname": "" - } - ], - "igInputTextMultiline": [ - { - "args": "(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "buf", - "type": "char*" - }, - { - "name": "buf_size", - "type": "size_t" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - }, - { - "name": "callback", - "type": "ImGuiInputTextCallback" - }, - { - "name": "user_data", - "type": "void*" - } - ], - "argsoriginal": "(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void*)0),void* user_data=((void*)0))", - "call_args": "(label,buf,buf_size,size,flags,callback,user_data)", - "cimguiname": "igInputTextMultiline", - "defaults": { - "callback": "NULL", - "flags": "0", - "size": "ImVec2(0,0)", - "user_data": "NULL" - }, - "funcname": "InputTextMultiline", - "location": "imgui:585", - "namespace": "ImGui", - "ov_cimguiname": "igInputTextMultiline", - "ret": "bool", - "signature": "(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)", - "stname": "" - } - ], - "igInputTextWithHint": [ - { - "args": "(const char* label,const char* hint,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "hint", - "type": "const char*" - }, - { - "name": "buf", - "type": "char*" - }, - { - "name": "buf_size", - "type": "size_t" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - }, - { - "name": "callback", - "type": "ImGuiInputTextCallback" - }, - { - "name": "user_data", - "type": "void*" - } - ], - "argsoriginal": "(const char* label,const char* hint,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void*)0),void* user_data=((void*)0))", - "call_args": "(label,hint,buf,buf_size,flags,callback,user_data)", - "cimguiname": "igInputTextWithHint", - "defaults": { - "callback": "NULL", - "flags": "0", - "user_data": "NULL" - }, - "funcname": "InputTextWithHint", - "location": "imgui:586", - "namespace": "ImGui", - "ov_cimguiname": "igInputTextWithHint", - "ret": "bool", - "signature": "(const char*,const char*,char*,size_t,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)", - "stname": "" - } - ], - "igInvisibleButton": [ - { - "args": "(const char* str_id,const ImVec2 size,ImGuiButtonFlags flags)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "flags", - "type": "ImGuiButtonFlags" - } - ], - "argsoriginal": "(const char* str_id,const ImVec2& size,ImGuiButtonFlags flags=0)", - "call_args": "(str_id,size,flags)", - "cimguiname": "igInvisibleButton", - "defaults": { - "flags": "0" - }, - "funcname": "InvisibleButton", - "location": "imgui:511", - "namespace": "ImGui", - "ov_cimguiname": "igInvisibleButton", - "ret": "bool", - "signature": "(const char*,const ImVec2,ImGuiButtonFlags)", - "stname": "" - } - ], - "igIsActiveIdUsingNavDir": [ - { - "args": "(ImGuiDir dir)", - "argsT": [ - { - "name": "dir", - "type": "ImGuiDir" - } - ], - "argsoriginal": "(ImGuiDir dir)", - "call_args": "(dir)", - "cimguiname": "igIsActiveIdUsingNavDir", - "defaults": {}, - "funcname": "IsActiveIdUsingNavDir", - "location": "imgui_internal:3124", - "namespace": "ImGui", - "ov_cimguiname": "igIsActiveIdUsingNavDir", - "ret": "bool", - "signature": "(ImGuiDir)", - "stname": "" - } - ], - "igIsAliasKey": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igIsAliasKey", - "defaults": {}, - "funcname": "IsAliasKey", - "location": "imgui_internal:3105", - "namespace": "ImGui", - "ov_cimguiname": "igIsAliasKey", - "ret": "bool", - "signature": "(ImGuiKey)", - "stname": "" - } - ], - "igIsAnyItemActive": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsAnyItemActive", - "defaults": {}, - "funcname": "IsAnyItemActive", - "location": "imgui:876", - "namespace": "ImGui", - "ov_cimguiname": "igIsAnyItemActive", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsAnyItemFocused": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsAnyItemFocused", - "defaults": {}, - "funcname": "IsAnyItemFocused", - "location": "imgui:877", - "namespace": "ImGui", - "ov_cimguiname": "igIsAnyItemFocused", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsAnyItemHovered": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsAnyItemHovered", - "defaults": {}, - "funcname": "IsAnyItemHovered", - "location": "imgui:875", - "namespace": "ImGui", - "ov_cimguiname": "igIsAnyItemHovered", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsAnyMouseDown": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsAnyMouseDown", - "defaults": {}, - "funcname": "IsAnyMouseDown", - "location": "imgui:940", - "namespace": "ImGui", - "ov_cimguiname": "igIsAnyMouseDown", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsClippedEx": [ - { - "args": "(const ImRect bb,ImGuiID id)", - "argsT": [ - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(const ImRect& bb,ImGuiID id)", - "call_args": "(bb,id)", - "cimguiname": "igIsClippedEx", - "defaults": {}, - "funcname": "IsClippedEx", - "location": "imgui_internal:3039", - "namespace": "ImGui", - "ov_cimguiname": "igIsClippedEx", - "ret": "bool", - "signature": "(const ImRect,ImGuiID)", - "stname": "" - } - ], - "igIsDragDropActive": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsDragDropActive", - "defaults": {}, - "funcname": "IsDragDropActive", - "location": "imgui_internal:3236", - "namespace": "ImGui", - "ov_cimguiname": "igIsDragDropActive", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsDragDropPayloadBeingAccepted": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsDragDropPayloadBeingAccepted", - "defaults": {}, - "funcname": "IsDragDropPayloadBeingAccepted", - "location": "imgui_internal:3239", - "namespace": "ImGui", - "ov_cimguiname": "igIsDragDropPayloadBeingAccepted", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsGamepadKey": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igIsGamepadKey", - "defaults": {}, - "funcname": "IsGamepadKey", - "location": "imgui_internal:3103", - "namespace": "ImGui", - "ov_cimguiname": "igIsGamepadKey", - "ret": "bool", - "signature": "(ImGuiKey)", - "stname": "" - } - ], - "igIsItemActivated": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsItemActivated", - "defaults": {}, - "funcname": "IsItemActivated", - "location": "imgui:871", - "namespace": "ImGui", - "ov_cimguiname": "igIsItemActivated", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsItemActive": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsItemActive", - "defaults": {}, - "funcname": "IsItemActive", - "location": "imgui:866", - "namespace": "ImGui", - "ov_cimguiname": "igIsItemActive", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsItemClicked": [ - { - "args": "(ImGuiMouseButton mouse_button)", - "argsT": [ - { - "name": "mouse_button", - "type": "ImGuiMouseButton" - } - ], - "argsoriginal": "(ImGuiMouseButton mouse_button=0)", - "call_args": "(mouse_button)", - "cimguiname": "igIsItemClicked", - "defaults": { - "mouse_button": "0" - }, - "funcname": "IsItemClicked", - "location": "imgui:868", - "namespace": "ImGui", - "ov_cimguiname": "igIsItemClicked", - "ret": "bool", - "signature": "(ImGuiMouseButton)", - "stname": "" - } - ], - "igIsItemDeactivated": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsItemDeactivated", - "defaults": {}, - "funcname": "IsItemDeactivated", - "location": "imgui:872", - "namespace": "ImGui", - "ov_cimguiname": "igIsItemDeactivated", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsItemDeactivatedAfterEdit": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsItemDeactivatedAfterEdit", - "defaults": {}, - "funcname": "IsItemDeactivatedAfterEdit", - "location": "imgui:873", - "namespace": "ImGui", - "ov_cimguiname": "igIsItemDeactivatedAfterEdit", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsItemEdited": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsItemEdited", - "defaults": {}, - "funcname": "IsItemEdited", - "location": "imgui:870", - "namespace": "ImGui", - "ov_cimguiname": "igIsItemEdited", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsItemFocused": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsItemFocused", - "defaults": {}, - "funcname": "IsItemFocused", - "location": "imgui:867", - "namespace": "ImGui", - "ov_cimguiname": "igIsItemFocused", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsItemHovered": [ - { - "args": "(ImGuiHoveredFlags flags)", - "argsT": [ - { - "name": "flags", - "type": "ImGuiHoveredFlags" - } - ], - "argsoriginal": "(ImGuiHoveredFlags flags=0)", - "call_args": "(flags)", - "cimguiname": "igIsItemHovered", - "defaults": { - "flags": "0" - }, - "funcname": "IsItemHovered", - "location": "imgui:865", - "namespace": "ImGui", - "ov_cimguiname": "igIsItemHovered", - "ret": "bool", - "signature": "(ImGuiHoveredFlags)", - "stname": "" - } - ], - "igIsItemToggledOpen": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsItemToggledOpen", - "defaults": {}, - "funcname": "IsItemToggledOpen", - "location": "imgui:874", - "namespace": "ImGui", - "ov_cimguiname": "igIsItemToggledOpen", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsItemToggledSelection": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsItemToggledSelection", - "defaults": {}, - "funcname": "IsItemToggledSelection", - "location": "imgui_internal:3044", - "namespace": "ImGui", - "ov_cimguiname": "igIsItemToggledSelection", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsItemVisible": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsItemVisible", - "defaults": {}, - "funcname": "IsItemVisible", - "location": "imgui:869", - "namespace": "ImGui", - "ov_cimguiname": "igIsItemVisible", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsKeyDown": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igIsKeyDown", - "defaults": {}, - "funcname": "IsKeyDown", - "location": "imgui:922", - "namespace": "ImGui", - "ov_cimguiname": "igIsKeyDown_Nil", - "ret": "bool", - "signature": "(ImGuiKey)", - "stname": "" - }, - { - "args": "(ImGuiKey key,ImGuiID owner_id)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - }, - { - "name": "owner_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiKey key,ImGuiID owner_id)", - "call_args": "(key,owner_id)", - "cimguiname": "igIsKeyDown", - "defaults": {}, - "funcname": "IsKeyDown", - "location": "imgui_internal:3149", - "namespace": "ImGui", - "ov_cimguiname": "igIsKeyDown_ID", - "ret": "bool", - "signature": "(ImGuiKey,ImGuiID)", - "stname": "" - } - ], - "igIsKeyPressed": [ - { - "args": "(ImGuiKey key,bool repeat)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - }, - { - "name": "repeat", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiKey key,bool repeat=true)", - "call_args": "(key,repeat)", - "cimguiname": "igIsKeyPressed", - "defaults": { - "repeat": "true" - }, - "funcname": "IsKeyPressed", - "location": "imgui:923", - "namespace": "ImGui", - "ov_cimguiname": "igIsKeyPressed_Bool", - "ret": "bool", - "signature": "(ImGuiKey,bool)", - "stname": "" - }, - { - "args": "(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - }, - { - "name": "owner_id", - "type": "ImGuiID" - }, - { - "name": "flags", - "type": "ImGuiInputFlags" - } - ], - "argsoriginal": "(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags=0)", - "call_args": "(key,owner_id,flags)", - "cimguiname": "igIsKeyPressed", - "defaults": { - "flags": "0" - }, - "funcname": "IsKeyPressed", - "location": "imgui_internal:3150", - "namespace": "ImGui", - "ov_cimguiname": "igIsKeyPressed_ID", - "ret": "bool", - "signature": "(ImGuiKey,ImGuiID,ImGuiInputFlags)", - "stname": "" - } - ], - "igIsKeyPressedMap": [ - { - "args": "(ImGuiKey key,bool repeat)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - }, - { - "name": "repeat", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiKey key,bool repeat=true)", - "call_args": "(key,repeat)", - "cimguiname": "igIsKeyPressedMap", - "defaults": { - "repeat": "true" - }, - "funcname": "IsKeyPressedMap", - "location": "imgui_internal:3464", - "namespace": "ImGui", - "ov_cimguiname": "igIsKeyPressedMap", - "ret": "bool", - "signature": "(ImGuiKey,bool)", - "stname": "" - } - ], - "igIsKeyReleased": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igIsKeyReleased", - "defaults": {}, - "funcname": "IsKeyReleased", - "location": "imgui:924", - "namespace": "ImGui", - "ov_cimguiname": "igIsKeyReleased_Nil", - "ret": "bool", - "signature": "(ImGuiKey)", - "stname": "" - }, - { - "args": "(ImGuiKey key,ImGuiID owner_id)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - }, - { - "name": "owner_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiKey key,ImGuiID owner_id)", - "call_args": "(key,owner_id)", - "cimguiname": "igIsKeyReleased", - "defaults": {}, - "funcname": "IsKeyReleased", - "location": "imgui_internal:3151", - "namespace": "ImGui", - "ov_cimguiname": "igIsKeyReleased_ID", - "ret": "bool", - "signature": "(ImGuiKey,ImGuiID)", - "stname": "" - } - ], - "igIsKeyboardKey": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igIsKeyboardKey", - "defaults": {}, - "funcname": "IsKeyboardKey", - "location": "imgui_internal:3102", - "namespace": "ImGui", - "ov_cimguiname": "igIsKeyboardKey", - "ret": "bool", - "signature": "(ImGuiKey)", - "stname": "" - } - ], - "igIsLegacyKey": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igIsLegacyKey", - "defaults": {}, - "funcname": "IsLegacyKey", - "location": "imgui_internal:3101", - "namespace": "ImGui", - "ov_cimguiname": "igIsLegacyKey", - "ret": "bool", - "signature": "(ImGuiKey)", - "stname": "" - } - ], - "igIsMouseClicked": [ - { - "args": "(ImGuiMouseButton button,bool repeat)", - "argsT": [ - { - "name": "button", - "type": "ImGuiMouseButton" - }, - { - "name": "repeat", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiMouseButton button,bool repeat=false)", - "call_args": "(button,repeat)", - "cimguiname": "igIsMouseClicked", - "defaults": { - "repeat": "false" - }, - "funcname": "IsMouseClicked", - "location": "imgui:934", - "namespace": "ImGui", - "ov_cimguiname": "igIsMouseClicked_Bool", - "ret": "bool", - "signature": "(ImGuiMouseButton,bool)", - "stname": "" - }, - { - "args": "(ImGuiMouseButton button,ImGuiID owner_id,ImGuiInputFlags flags)", - "argsT": [ - { - "name": "button", - "type": "ImGuiMouseButton" - }, - { - "name": "owner_id", - "type": "ImGuiID" - }, - { - "name": "flags", - "type": "ImGuiInputFlags" - } - ], - "argsoriginal": "(ImGuiMouseButton button,ImGuiID owner_id,ImGuiInputFlags flags=0)", - "call_args": "(button,owner_id,flags)", - "cimguiname": "igIsMouseClicked", - "defaults": { - "flags": "0" - }, - "funcname": "IsMouseClicked", - "location": "imgui_internal:3153", - "namespace": "ImGui", - "ov_cimguiname": "igIsMouseClicked_ID", - "ret": "bool", - "signature": "(ImGuiMouseButton,ImGuiID,ImGuiInputFlags)", - "stname": "" - } - ], - "igIsMouseDoubleClicked": [ - { - "args": "(ImGuiMouseButton button)", - "argsT": [ - { - "name": "button", - "type": "ImGuiMouseButton" - } - ], - "argsoriginal": "(ImGuiMouseButton button)", - "call_args": "(button)", - "cimguiname": "igIsMouseDoubleClicked", - "defaults": {}, - "funcname": "IsMouseDoubleClicked", - "location": "imgui:936", - "namespace": "ImGui", - "ov_cimguiname": "igIsMouseDoubleClicked", - "ret": "bool", - "signature": "(ImGuiMouseButton)", - "stname": "" - } - ], - "igIsMouseDown": [ - { - "args": "(ImGuiMouseButton button)", - "argsT": [ - { - "name": "button", - "type": "ImGuiMouseButton" - } - ], - "argsoriginal": "(ImGuiMouseButton button)", - "call_args": "(button)", - "cimguiname": "igIsMouseDown", - "defaults": {}, - "funcname": "IsMouseDown", - "location": "imgui:933", - "namespace": "ImGui", - "ov_cimguiname": "igIsMouseDown_Nil", - "ret": "bool", - "signature": "(ImGuiMouseButton)", - "stname": "" - }, - { - "args": "(ImGuiMouseButton button,ImGuiID owner_id)", - "argsT": [ - { - "name": "button", - "type": "ImGuiMouseButton" - }, - { - "name": "owner_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiMouseButton button,ImGuiID owner_id)", - "call_args": "(button,owner_id)", - "cimguiname": "igIsMouseDown", - "defaults": {}, - "funcname": "IsMouseDown", - "location": "imgui_internal:3152", - "namespace": "ImGui", - "ov_cimguiname": "igIsMouseDown_ID", - "ret": "bool", - "signature": "(ImGuiMouseButton,ImGuiID)", - "stname": "" - } - ], - "igIsMouseDragPastThreshold": [ - { - "args": "(ImGuiMouseButton button,float lock_threshold)", - "argsT": [ - { - "name": "button", - "type": "ImGuiMouseButton" - }, - { - "name": "lock_threshold", - "type": "float" - } - ], - "argsoriginal": "(ImGuiMouseButton button,float lock_threshold=-1.0f)", - "call_args": "(button,lock_threshold)", - "cimguiname": "igIsMouseDragPastThreshold", - "defaults": { - "lock_threshold": "-1.0f" - }, - "funcname": "IsMouseDragPastThreshold", - "location": "imgui_internal:3118", - "namespace": "ImGui", - "ov_cimguiname": "igIsMouseDragPastThreshold", - "ret": "bool", - "signature": "(ImGuiMouseButton,float)", - "stname": "" - } - ], - "igIsMouseDragging": [ - { - "args": "(ImGuiMouseButton button,float lock_threshold)", - "argsT": [ - { - "name": "button", - "type": "ImGuiMouseButton" - }, - { - "name": "lock_threshold", - "type": "float" - } - ], - "argsoriginal": "(ImGuiMouseButton button,float lock_threshold=-1.0f)", - "call_args": "(button,lock_threshold)", - "cimguiname": "igIsMouseDragging", - "defaults": { - "lock_threshold": "-1.0f" - }, - "funcname": "IsMouseDragging", - "location": "imgui:943", - "namespace": "ImGui", - "ov_cimguiname": "igIsMouseDragging", - "ret": "bool", - "signature": "(ImGuiMouseButton,float)", - "stname": "" - } - ], - "igIsMouseHoveringRect": [ - { - "args": "(const ImVec2 r_min,const ImVec2 r_max,bool clip)", - "argsT": [ - { - "name": "r_min", - "type": "const ImVec2" - }, - { - "name": "r_max", - "type": "const ImVec2" - }, - { - "name": "clip", - "type": "bool" - } - ], - "argsoriginal": "(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)", - "call_args": "(r_min,r_max,clip)", - "cimguiname": "igIsMouseHoveringRect", - "defaults": { - "clip": "true" - }, - "funcname": "IsMouseHoveringRect", - "location": "imgui:938", - "namespace": "ImGui", - "ov_cimguiname": "igIsMouseHoveringRect", - "ret": "bool", - "signature": "(const ImVec2,const ImVec2,bool)", - "stname": "" - } - ], - "igIsMouseKey": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igIsMouseKey", - "defaults": {}, - "funcname": "IsMouseKey", - "location": "imgui_internal:3104", - "namespace": "ImGui", - "ov_cimguiname": "igIsMouseKey", - "ret": "bool", - "signature": "(ImGuiKey)", - "stname": "" - } - ], - "igIsMousePosValid": [ - { - "args": "(const ImVec2* mouse_pos)", - "argsT": [ - { - "name": "mouse_pos", - "type": "const ImVec2*" - } - ], - "argsoriginal": "(const ImVec2* mouse_pos=((void*)0))", - "call_args": "(mouse_pos)", - "cimguiname": "igIsMousePosValid", - "defaults": { - "mouse_pos": "NULL" - }, - "funcname": "IsMousePosValid", - "location": "imgui:939", - "namespace": "ImGui", - "ov_cimguiname": "igIsMousePosValid", - "ret": "bool", - "signature": "(const ImVec2*)", - "stname": "" - } - ], - "igIsMouseReleased": [ - { - "args": "(ImGuiMouseButton button)", - "argsT": [ - { - "name": "button", - "type": "ImGuiMouseButton" - } - ], - "argsoriginal": "(ImGuiMouseButton button)", - "call_args": "(button)", - "cimguiname": "igIsMouseReleased", - "defaults": {}, - "funcname": "IsMouseReleased", - "location": "imgui:935", - "namespace": "ImGui", - "ov_cimguiname": "igIsMouseReleased_Nil", - "ret": "bool", - "signature": "(ImGuiMouseButton)", - "stname": "" - }, - { - "args": "(ImGuiMouseButton button,ImGuiID owner_id)", - "argsT": [ - { - "name": "button", - "type": "ImGuiMouseButton" - }, - { - "name": "owner_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiMouseButton button,ImGuiID owner_id)", - "call_args": "(button,owner_id)", - "cimguiname": "igIsMouseReleased", - "defaults": {}, - "funcname": "IsMouseReleased", - "location": "imgui_internal:3154", - "namespace": "ImGui", - "ov_cimguiname": "igIsMouseReleased_ID", - "ret": "bool", - "signature": "(ImGuiMouseButton,ImGuiID)", - "stname": "" - } - ], - "igIsNamedKey": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igIsNamedKey", - "defaults": {}, - "funcname": "IsNamedKey", - "location": "imgui_internal:3099", - "namespace": "ImGui", - "ov_cimguiname": "igIsNamedKey", - "ret": "bool", - "signature": "(ImGuiKey)", - "stname": "" - } - ], - "igIsNamedKeyOrModKey": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igIsNamedKeyOrModKey", - "defaults": {}, - "funcname": "IsNamedKeyOrModKey", - "location": "imgui_internal:3100", - "namespace": "ImGui", - "ov_cimguiname": "igIsNamedKeyOrModKey", - "ret": "bool", - "signature": "(ImGuiKey)", - "stname": "" - } - ], - "igIsPopupOpen": [ - { - "args": "(const char* str_id,ImGuiPopupFlags flags)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiPopupFlags" - } - ], - "argsoriginal": "(const char* str_id,ImGuiPopupFlags flags=0)", - "call_args": "(str_id,flags)", - "cimguiname": "igIsPopupOpen", - "defaults": { - "flags": "0" - }, - "funcname": "IsPopupOpen", - "location": "imgui:723", - "namespace": "ImGui", - "ov_cimguiname": "igIsPopupOpen_Str", - "ret": "bool", - "signature": "(const char*,ImGuiPopupFlags)", - "stname": "" - }, - { - "args": "(ImGuiID id,ImGuiPopupFlags popup_flags)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "popup_flags", - "type": "ImGuiPopupFlags" - } - ], - "argsoriginal": "(ImGuiID id,ImGuiPopupFlags popup_flags)", - "call_args": "(id,popup_flags)", - "cimguiname": "igIsPopupOpen", - "defaults": {}, - "funcname": "IsPopupOpen", - "location": "imgui_internal:3064", - "namespace": "ImGui", - "ov_cimguiname": "igIsPopupOpen_ID", - "ret": "bool", - "signature": "(ImGuiID,ImGuiPopupFlags)", - "stname": "" - } - ], - "igIsRectVisible": [ - { - "args": "(const ImVec2 size)", - "argsT": [ - { - "name": "size", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& size)", - "call_args": "(size)", - "cimguiname": "igIsRectVisible", - "defaults": {}, - "funcname": "IsRectVisible", - "location": "imgui:896", - "namespace": "ImGui", - "ov_cimguiname": "igIsRectVisible_Nil", - "ret": "bool", - "signature": "(const ImVec2)", - "stname": "" - }, - { - "args": "(const ImVec2 rect_min,const ImVec2 rect_max)", - "argsT": [ - { - "name": "rect_min", - "type": "const ImVec2" - }, - { - "name": "rect_max", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& rect_min,const ImVec2& rect_max)", - "call_args": "(rect_min,rect_max)", - "cimguiname": "igIsRectVisible", - "defaults": {}, - "funcname": "IsRectVisible", - "location": "imgui:897", - "namespace": "ImGui", - "ov_cimguiname": "igIsRectVisible_Vec2", - "ret": "bool", - "signature": "(const ImVec2,const ImVec2)", - "stname": "" - } - ], - "igIsWindowAbove": [ - { - "args": "(ImGuiWindow* potential_above,ImGuiWindow* potential_below)", - "argsT": [ - { - "name": "potential_above", - "type": "ImGuiWindow*" - }, - { - "name": "potential_below", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* potential_above,ImGuiWindow* potential_below)", - "call_args": "(potential_above,potential_below)", - "cimguiname": "igIsWindowAbove", - "defaults": {}, - "funcname": "IsWindowAbove", - "location": "imgui_internal:2939", - "namespace": "ImGui", - "ov_cimguiname": "igIsWindowAbove", - "ret": "bool", - "signature": "(ImGuiWindow*,ImGuiWindow*)", - "stname": "" - } - ], - "igIsWindowAppearing": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsWindowAppearing", - "defaults": {}, - "funcname": "IsWindowAppearing", - "location": "imgui:353", - "namespace": "ImGui", - "ov_cimguiname": "igIsWindowAppearing", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsWindowChildOf": [ - { - "args": "(ImGuiWindow* window,ImGuiWindow* potential_parent,bool popup_hierarchy,bool dock_hierarchy)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "potential_parent", - "type": "ImGuiWindow*" - }, - { - "name": "popup_hierarchy", - "type": "bool" - }, - { - "name": "dock_hierarchy", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiWindow* window,ImGuiWindow* potential_parent,bool popup_hierarchy,bool dock_hierarchy)", - "call_args": "(window,potential_parent,popup_hierarchy,dock_hierarchy)", - "cimguiname": "igIsWindowChildOf", - "defaults": {}, - "funcname": "IsWindowChildOf", - "location": "imgui_internal:2937", - "namespace": "ImGui", - "ov_cimguiname": "igIsWindowChildOf", - "ret": "bool", - "signature": "(ImGuiWindow*,ImGuiWindow*,bool,bool)", - "stname": "" - } - ], - "igIsWindowCollapsed": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsWindowCollapsed", - "defaults": {}, - "funcname": "IsWindowCollapsed", - "location": "imgui:354", - "namespace": "ImGui", - "ov_cimguiname": "igIsWindowCollapsed", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsWindowDocked": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igIsWindowDocked", - "defaults": {}, - "funcname": "IsWindowDocked", - "location": "imgui:820", - "namespace": "ImGui", - "ov_cimguiname": "igIsWindowDocked", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igIsWindowFocused": [ - { - "args": "(ImGuiFocusedFlags flags)", - "argsT": [ - { - "name": "flags", - "type": "ImGuiFocusedFlags" - } - ], - "argsoriginal": "(ImGuiFocusedFlags flags=0)", - "call_args": "(flags)", - "cimguiname": "igIsWindowFocused", - "defaults": { - "flags": "0" - }, - "funcname": "IsWindowFocused", - "location": "imgui:355", - "namespace": "ImGui", - "ov_cimguiname": "igIsWindowFocused", - "ret": "bool", - "signature": "(ImGuiFocusedFlags)", - "stname": "" - } - ], - "igIsWindowHovered": [ - { - "args": "(ImGuiHoveredFlags flags)", - "argsT": [ - { - "name": "flags", - "type": "ImGuiHoveredFlags" - } - ], - "argsoriginal": "(ImGuiHoveredFlags flags=0)", - "call_args": "(flags)", - "cimguiname": "igIsWindowHovered", - "defaults": { - "flags": "0" - }, - "funcname": "IsWindowHovered", - "location": "imgui:356", - "namespace": "ImGui", - "ov_cimguiname": "igIsWindowHovered", - "ret": "bool", - "signature": "(ImGuiHoveredFlags)", - "stname": "" - } - ], - "igIsWindowNavFocusable": [ - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igIsWindowNavFocusable", - "defaults": {}, - "funcname": "IsWindowNavFocusable", - "location": "imgui_internal:2940", - "namespace": "ImGui", - "ov_cimguiname": "igIsWindowNavFocusable", - "ret": "bool", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igIsWindowWithinBeginStackOf": [ - { - "args": "(ImGuiWindow* window,ImGuiWindow* potential_parent)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "potential_parent", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window,ImGuiWindow* potential_parent)", - "call_args": "(window,potential_parent)", - "cimguiname": "igIsWindowWithinBeginStackOf", - "defaults": {}, - "funcname": "IsWindowWithinBeginStackOf", - "location": "imgui_internal:2938", - "namespace": "ImGui", - "ov_cimguiname": "igIsWindowWithinBeginStackOf", - "ret": "bool", - "signature": "(ImGuiWindow*,ImGuiWindow*)", - "stname": "" - } - ], - "igItemAdd": [ - { - "args": "(const ImRect bb,ImGuiID id,const ImRect* nav_bb,ImGuiItemFlags extra_flags)", - "argsT": [ - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "nav_bb", - "type": "const ImRect*" - }, - { - "name": "extra_flags", - "type": "ImGuiItemFlags" - } - ], - "argsoriginal": "(const ImRect& bb,ImGuiID id,const ImRect* nav_bb=((void*)0),ImGuiItemFlags extra_flags=0)", - "call_args": "(bb,id,nav_bb,extra_flags)", - "cimguiname": "igItemAdd", - "defaults": { - "extra_flags": "0", - "nav_bb": "NULL" - }, - "funcname": "ItemAdd", - "location": "imgui_internal:3037", - "namespace": "ImGui", - "ov_cimguiname": "igItemAdd", - "ret": "bool", - "signature": "(const ImRect,ImGuiID,const ImRect*,ImGuiItemFlags)", - "stname": "" - } - ], - "igItemHoverable": [ - { - "args": "(const ImRect bb,ImGuiID id)", - "argsT": [ - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(const ImRect& bb,ImGuiID id)", - "call_args": "(bb,id)", - "cimguiname": "igItemHoverable", - "defaults": {}, - "funcname": "ItemHoverable", - "location": "imgui_internal:3038", - "namespace": "ImGui", - "ov_cimguiname": "igItemHoverable", - "ret": "bool", - "signature": "(const ImRect,ImGuiID)", - "stname": "" - } - ], - "igItemSize": [ - { - "args": "(const ImVec2 size,float text_baseline_y)", - "argsT": [ - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "text_baseline_y", - "type": "float" - } - ], - "argsoriginal": "(const ImVec2& size,float text_baseline_y=-1.0f)", - "call_args": "(size,text_baseline_y)", - "cimguiname": "igItemSize", - "defaults": { - "text_baseline_y": "-1.0f" - }, - "funcname": "ItemSize", - "location": "imgui_internal:3035", - "namespace": "ImGui", - "ov_cimguiname": "igItemSize_Vec2", - "ret": "void", - "signature": "(const ImVec2,float)", - "stname": "" - }, - { - "args": "(const ImRect bb,float text_baseline_y)", - "argsT": [ - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "text_baseline_y", - "type": "float" - } - ], - "argsoriginal": "(const ImRect& bb,float text_baseline_y=-1.0f)", - "call_args": "(bb,text_baseline_y)", - "cimguiname": "igItemSize", - "defaults": { - "text_baseline_y": "-1.0f" - }, - "funcname": "ItemSize", - "location": "imgui_internal:3036", - "namespace": "ImGui", - "ov_cimguiname": "igItemSize_Rect", - "ret": "void", - "signature": "(const ImRect,float)", - "stname": "" - } - ], - "igKeepAliveID": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igKeepAliveID", - "defaults": {}, - "funcname": "KeepAliveID", - "location": "imgui_internal:3029", - "namespace": "ImGui", - "ov_cimguiname": "igKeepAliveID", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igLabelText": [ - { - "args": "(const char* label,const char* fmt,...)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const char* label,const char* fmt,...)", - "call_args": "(label,fmt,...)", - "cimguiname": "igLabelText", - "defaults": {}, - "funcname": "LabelText", - "isvararg": "...)", - "location": "imgui:501", - "namespace": "ImGui", - "ov_cimguiname": "igLabelText", - "ret": "void", - "signature": "(const char*,const char*,...)", - "stname": "" - } - ], - "igLabelTextV": [ - { - "args": "(const char* label,const char* fmt,va_list args)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const char* label,const char* fmt,va_list args)", - "call_args": "(label,fmt,args)", - "cimguiname": "igLabelTextV", - "defaults": {}, - "funcname": "LabelTextV", - "location": "imgui:502", - "namespace": "ImGui", - "ov_cimguiname": "igLabelTextV", - "ret": "void", - "signature": "(const char*,const char*,va_list)", - "stname": "" - } - ], - "igListBox": [ - { - "args": "(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "current_item", - "type": "int*" - }, - { - "name": "items", - "type": "const char* const[]" - }, - { - "name": "items_count", - "type": "int" - }, - { - "name": "height_in_items", - "type": "int" - } - ], - "argsoriginal": "(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)", - "call_args": "(label,current_item,items,items_count,height_in_items)", - "cimguiname": "igListBox", - "defaults": { - "height_in_items": "-1" - }, - "funcname": "ListBox", - "location": "imgui:643", - "namespace": "ImGui", - "ov_cimguiname": "igListBox_Str_arr", - "ret": "bool", - "signature": "(const char*,int*,const char* const[],int,int)", - "stname": "" - }, - { - "args": "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "current_item", - "type": "int*" - }, - { - "name": "items_getter", - "ret": "bool", - "signature": "(void* data,int idx,const char** out_text)", - "type": "bool(*)(void* data,int idx,const char** out_text)" - }, - { - "name": "data", - "type": "void*" - }, - { - "name": "items_count", - "type": "int" - }, - { - "name": "height_in_items", - "type": "int" - } - ], - "argsoriginal": "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)", - "call_args": "(label,current_item,items_getter,data,items_count,height_in_items)", - "cimguiname": "igListBox", - "defaults": { - "height_in_items": "-1" - }, - "funcname": "ListBox", - "location": "imgui:644", - "namespace": "ImGui", - "ov_cimguiname": "igListBox_FnBoolPtr", - "ret": "bool", - "signature": "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)", - "stname": "" - } - ], - "igLoadIniSettingsFromDisk": [ - { - "args": "(const char* ini_filename)", - "argsT": [ - { - "name": "ini_filename", - "type": "const char*" - } - ], - "argsoriginal": "(const char* ini_filename)", - "call_args": "(ini_filename)", - "cimguiname": "igLoadIniSettingsFromDisk", - "defaults": {}, - "funcname": "LoadIniSettingsFromDisk", - "location": "imgui:959", - "namespace": "ImGui", - "ov_cimguiname": "igLoadIniSettingsFromDisk", - "ret": "void", - "signature": "(const char*)", - "stname": "" - } - ], - "igLoadIniSettingsFromMemory": [ - { - "args": "(const char* ini_data,size_t ini_size)", - "argsT": [ - { - "name": "ini_data", - "type": "const char*" - }, - { - "name": "ini_size", - "type": "size_t" - } - ], - "argsoriginal": "(const char* ini_data,size_t ini_size=0)", - "call_args": "(ini_data,ini_size)", - "cimguiname": "igLoadIniSettingsFromMemory", - "defaults": { - "ini_size": "0" - }, - "funcname": "LoadIniSettingsFromMemory", - "location": "imgui:960", - "namespace": "ImGui", - "ov_cimguiname": "igLoadIniSettingsFromMemory", - "ret": "void", - "signature": "(const char*,size_t)", - "stname": "" - } - ], - "igLocalizeGetMsg": [ - { - "args": "(ImGuiLocKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiLocKey" - } - ], - "argsoriginal": "(ImGuiLocKey key)", - "call_args": "(key)", - "cimguiname": "igLocalizeGetMsg", - "defaults": {}, - "funcname": "LocalizeGetMsg", - "location": "imgui_internal:3002", - "namespace": "ImGui", - "ov_cimguiname": "igLocalizeGetMsg", - "ret": "const char*", - "signature": "(ImGuiLocKey)", - "stname": "" - } - ], - "igLocalizeRegisterEntries": [ - { - "args": "(const ImGuiLocEntry* entries,int count)", - "argsT": [ - { - "name": "entries", - "type": "const ImGuiLocEntry*" - }, - { - "name": "count", - "type": "int" - } - ], - "argsoriginal": "(const ImGuiLocEntry* entries,int count)", - "call_args": "(entries,count)", - "cimguiname": "igLocalizeRegisterEntries", - "defaults": {}, - "funcname": "LocalizeRegisterEntries", - "location": "imgui_internal:3001", - "namespace": "ImGui", - "ov_cimguiname": "igLocalizeRegisterEntries", - "ret": "void", - "signature": "(const ImGuiLocEntry*,int)", - "stname": "" - } - ], - "igLogBegin": [ - { - "args": "(ImGuiLogType type,int auto_open_depth)", - "argsT": [ - { - "name": "type", - "type": "ImGuiLogType" - }, - { - "name": "auto_open_depth", - "type": "int" - } - ], - "argsoriginal": "(ImGuiLogType type,int auto_open_depth)", - "call_args": "(type,auto_open_depth)", - "cimguiname": "igLogBegin", - "defaults": {}, - "funcname": "LogBegin", - "location": "imgui_internal:3053", - "namespace": "ImGui", - "ov_cimguiname": "igLogBegin", - "ret": "void", - "signature": "(ImGuiLogType,int)", - "stname": "" - } - ], - "igLogButtons": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igLogButtons", - "defaults": {}, - "funcname": "LogButtons", - "location": "imgui:828", - "namespace": "ImGui", - "ov_cimguiname": "igLogButtons", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igLogFinish": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igLogFinish", - "defaults": {}, - "funcname": "LogFinish", - "location": "imgui:827", - "namespace": "ImGui", - "ov_cimguiname": "igLogFinish", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igLogRenderedText": [ - { - "args": "(const ImVec2* ref_pos,const char* text,const char* text_end)", - "argsT": [ - { - "name": "ref_pos", - "type": "const ImVec2*" - }, - { - "name": "text", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - } - ], - "argsoriginal": "(const ImVec2* ref_pos,const char* text,const char* text_end=((void*)0))", - "call_args": "(ref_pos,text,text_end)", - "cimguiname": "igLogRenderedText", - "defaults": { - "text_end": "NULL" - }, - "funcname": "LogRenderedText", - "location": "imgui_internal:3055", - "namespace": "ImGui", - "ov_cimguiname": "igLogRenderedText", - "ret": "void", - "signature": "(const ImVec2*,const char*,const char*)", - "stname": "" - } - ], - "igLogSetNextTextDecoration": [ - { - "args": "(const char* prefix,const char* suffix)", - "argsT": [ - { - "name": "prefix", - "type": "const char*" - }, - { - "name": "suffix", - "type": "const char*" - } - ], - "argsoriginal": "(const char* prefix,const char* suffix)", - "call_args": "(prefix,suffix)", - "cimguiname": "igLogSetNextTextDecoration", - "defaults": {}, - "funcname": "LogSetNextTextDecoration", - "location": "imgui_internal:3056", - "namespace": "ImGui", - "ov_cimguiname": "igLogSetNextTextDecoration", - "ret": "void", - "signature": "(const char*,const char*)", - "stname": "" - } - ], - "igLogText": [ - { - "args": "(const char* fmt,...)", - "argsT": [ - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const char* fmt,...)", - "call_args": "(fmt,...)", - "cimguiname": "igLogText", - "defaults": {}, - "funcname": "LogText", - "isvararg": "...)", - "location": "imgui:829", - "manual": true, - "namespace": "ImGui", - "ov_cimguiname": "igLogText", - "ret": "void", - "signature": "(const char*,...)", - "stname": "" - } - ], - "igLogTextV": [ - { - "args": "(const char* fmt,va_list args)", - "argsT": [ - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const char* fmt,va_list args)", - "call_args": "(fmt,args)", - "cimguiname": "igLogTextV", - "defaults": {}, - "funcname": "LogTextV", - "location": "imgui:830", - "namespace": "ImGui", - "ov_cimguiname": "igLogTextV", - "ret": "void", - "signature": "(const char*,va_list)", - "stname": "" - } - ], - "igLogToBuffer": [ - { - "args": "(int auto_open_depth)", - "argsT": [ - { - "name": "auto_open_depth", - "type": "int" - } - ], - "argsoriginal": "(int auto_open_depth=-1)", - "call_args": "(auto_open_depth)", - "cimguiname": "igLogToBuffer", - "defaults": { - "auto_open_depth": "-1" - }, - "funcname": "LogToBuffer", - "location": "imgui_internal:3054", - "namespace": "ImGui", - "ov_cimguiname": "igLogToBuffer", - "ret": "void", - "signature": "(int)", - "stname": "" - } - ], - "igLogToClipboard": [ - { - "args": "(int auto_open_depth)", - "argsT": [ - { - "name": "auto_open_depth", - "type": "int" - } - ], - "argsoriginal": "(int auto_open_depth=-1)", - "call_args": "(auto_open_depth)", - "cimguiname": "igLogToClipboard", - "defaults": { - "auto_open_depth": "-1" - }, - "funcname": "LogToClipboard", - "location": "imgui:826", - "namespace": "ImGui", - "ov_cimguiname": "igLogToClipboard", - "ret": "void", - "signature": "(int)", - "stname": "" - } - ], - "igLogToFile": [ - { - "args": "(int auto_open_depth,const char* filename)", - "argsT": [ - { - "name": "auto_open_depth", - "type": "int" - }, - { - "name": "filename", - "type": "const char*" - } - ], - "argsoriginal": "(int auto_open_depth=-1,const char* filename=((void*)0))", - "call_args": "(auto_open_depth,filename)", - "cimguiname": "igLogToFile", - "defaults": { - "auto_open_depth": "-1", - "filename": "NULL" - }, - "funcname": "LogToFile", - "location": "imgui:825", - "namespace": "ImGui", - "ov_cimguiname": "igLogToFile", - "ret": "void", - "signature": "(int,const char*)", - "stname": "" - } - ], - "igLogToTTY": [ - { - "args": "(int auto_open_depth)", - "argsT": [ - { - "name": "auto_open_depth", - "type": "int" - } - ], - "argsoriginal": "(int auto_open_depth=-1)", - "call_args": "(auto_open_depth)", - "cimguiname": "igLogToTTY", - "defaults": { - "auto_open_depth": "-1" - }, - "funcname": "LogToTTY", - "location": "imgui:824", - "namespace": "ImGui", - "ov_cimguiname": "igLogToTTY", - "ret": "void", - "signature": "(int)", - "stname": "" - } - ], - "igMarkIniSettingsDirty": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igMarkIniSettingsDirty", - "defaults": {}, - "funcname": "MarkIniSettingsDirty", - "location": "imgui_internal:2990", - "namespace": "ImGui", - "ov_cimguiname": "igMarkIniSettingsDirty_Nil", - "ret": "void", - "signature": "()", - "stname": "" - }, - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igMarkIniSettingsDirty", - "defaults": {}, - "funcname": "MarkIniSettingsDirty", - "location": "imgui_internal:2991", - "namespace": "ImGui", - "ov_cimguiname": "igMarkIniSettingsDirty_WindowPtr", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igMarkItemEdited": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igMarkItemEdited", - "defaults": {}, - "funcname": "MarkItemEdited", - "location": "imgui_internal:3030", - "namespace": "ImGui", - "ov_cimguiname": "igMarkItemEdited", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igMemAlloc": [ - { - "args": "(size_t size)", - "argsT": [ - { - "name": "size", - "type": "size_t" - } - ], - "argsoriginal": "(size_t size)", - "call_args": "(size)", - "cimguiname": "igMemAlloc", - "defaults": {}, - "funcname": "MemAlloc", - "location": "imgui:974", - "namespace": "ImGui", - "ov_cimguiname": "igMemAlloc", - "ret": "void*", - "signature": "(size_t)", - "stname": "" - } - ], - "igMemFree": [ - { - "args": "(void* ptr)", - "argsT": [ - { - "name": "ptr", - "type": "void*" - } - ], - "argsoriginal": "(void* ptr)", - "call_args": "(ptr)", - "cimguiname": "igMemFree", - "defaults": {}, - "funcname": "MemFree", - "location": "imgui:975", - "namespace": "ImGui", - "ov_cimguiname": "igMemFree", - "ret": "void", - "signature": "(void*)", - "stname": "" - } - ], - "igMenuItem": [ - { - "args": "(const char* label,const char* shortcut,bool selected,bool enabled)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "shortcut", - "type": "const char*" - }, - { - "name": "selected", - "type": "bool" - }, - { - "name": "enabled", - "type": "bool" - } - ], - "argsoriginal": "(const char* label,const char* shortcut=((void*)0),bool selected=false,bool enabled=true)", - "call_args": "(label,shortcut,selected,enabled)", - "cimguiname": "igMenuItem", - "defaults": { - "enabled": "true", - "selected": "false", - "shortcut": "NULL" - }, - "funcname": "MenuItem", - "location": "imgui:671", - "namespace": "ImGui", - "ov_cimguiname": "igMenuItem_Bool", - "ret": "bool", - "signature": "(const char*,const char*,bool,bool)", - "stname": "" - }, - { - "args": "(const char* label,const char* shortcut,bool* p_selected,bool enabled)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "shortcut", - "type": "const char*" - }, - { - "name": "p_selected", - "type": "bool*" - }, - { - "name": "enabled", - "type": "bool" - } - ], - "argsoriginal": "(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)", - "call_args": "(label,shortcut,p_selected,enabled)", - "cimguiname": "igMenuItem", - "defaults": { - "enabled": "true" - }, - "funcname": "MenuItem", - "location": "imgui:672", - "namespace": "ImGui", - "ov_cimguiname": "igMenuItem_BoolPtr", - "ret": "bool", - "signature": "(const char*,const char*,bool*,bool)", - "stname": "" - } - ], - "igMenuItemEx": [ - { - "args": "(const char* label,const char* icon,const char* shortcut,bool selected,bool enabled)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "icon", - "type": "const char*" - }, - { - "name": "shortcut", - "type": "const char*" - }, - { - "name": "selected", - "type": "bool" - }, - { - "name": "enabled", - "type": "bool" - } - ], - "argsoriginal": "(const char* label,const char* icon,const char* shortcut=((void*)0),bool selected=false,bool enabled=true)", - "call_args": "(label,icon,shortcut,selected,enabled)", - "cimguiname": "igMenuItemEx", - "defaults": { - "enabled": "true", - "selected": "false", - "shortcut": "NULL" - }, - "funcname": "MenuItemEx", - "location": "imgui_internal:3076", - "namespace": "ImGui", - "ov_cimguiname": "igMenuItemEx", - "ret": "bool", - "signature": "(const char*,const char*,const char*,bool,bool)", - "stname": "" - } - ], - "igMouseButtonToKey": [ - { - "args": "(ImGuiMouseButton button)", - "argsT": [ - { - "name": "button", - "type": "ImGuiMouseButton" - } - ], - "argsoriginal": "(ImGuiMouseButton button)", - "call_args": "(button)", - "cimguiname": "igMouseButtonToKey", - "defaults": {}, - "funcname": "MouseButtonToKey", - "location": "imgui_internal:3117", - "namespace": "ImGui", - "ov_cimguiname": "igMouseButtonToKey", - "ret": "ImGuiKey", - "signature": "(ImGuiMouseButton)", - "stname": "" - } - ], - "igNavInitRequestApplyResult": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igNavInitRequestApplyResult", - "defaults": {}, - "funcname": "NavInitRequestApplyResult", - "location": "imgui_internal:3085", - "namespace": "ImGui", - "ov_cimguiname": "igNavInitRequestApplyResult", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igNavInitWindow": [ - { - "args": "(ImGuiWindow* window,bool force_reinit)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "force_reinit", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiWindow* window,bool force_reinit)", - "call_args": "(window,force_reinit)", - "cimguiname": "igNavInitWindow", - "defaults": {}, - "funcname": "NavInitWindow", - "location": "imgui_internal:3084", - "namespace": "ImGui", - "ov_cimguiname": "igNavInitWindow", - "ret": "void", - "signature": "(ImGuiWindow*,bool)", - "stname": "" - } - ], - "igNavMoveRequestApplyResult": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igNavMoveRequestApplyResult", - "defaults": {}, - "funcname": "NavMoveRequestApplyResult", - "location": "imgui_internal:3091", - "namespace": "ImGui", - "ov_cimguiname": "igNavMoveRequestApplyResult", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igNavMoveRequestButNoResultYet": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igNavMoveRequestButNoResultYet", - "defaults": {}, - "funcname": "NavMoveRequestButNoResultYet", - "location": "imgui_internal:3086", - "namespace": "ImGui", - "ov_cimguiname": "igNavMoveRequestButNoResultYet", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igNavMoveRequestCancel": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igNavMoveRequestCancel", - "defaults": {}, - "funcname": "NavMoveRequestCancel", - "location": "imgui_internal:3090", - "namespace": "ImGui", - "ov_cimguiname": "igNavMoveRequestCancel", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igNavMoveRequestForward": [ - { - "args": "(ImGuiDir move_dir,ImGuiDir clip_dir,ImGuiNavMoveFlags move_flags,ImGuiScrollFlags scroll_flags)", - "argsT": [ - { - "name": "move_dir", - "type": "ImGuiDir" - }, - { - "name": "clip_dir", - "type": "ImGuiDir" - }, - { - "name": "move_flags", - "type": "ImGuiNavMoveFlags" - }, - { - "name": "scroll_flags", - "type": "ImGuiScrollFlags" - } - ], - "argsoriginal": "(ImGuiDir move_dir,ImGuiDir clip_dir,ImGuiNavMoveFlags move_flags,ImGuiScrollFlags scroll_flags)", - "call_args": "(move_dir,clip_dir,move_flags,scroll_flags)", - "cimguiname": "igNavMoveRequestForward", - "defaults": {}, - "funcname": "NavMoveRequestForward", - "location": "imgui_internal:3088", - "namespace": "ImGui", - "ov_cimguiname": "igNavMoveRequestForward", - "ret": "void", - "signature": "(ImGuiDir,ImGuiDir,ImGuiNavMoveFlags,ImGuiScrollFlags)", - "stname": "" - } - ], - "igNavMoveRequestResolveWithLastItem": [ - { - "args": "(ImGuiNavItemData* result)", - "argsT": [ - { - "name": "result", - "type": "ImGuiNavItemData*" - } - ], - "argsoriginal": "(ImGuiNavItemData* result)", - "call_args": "(result)", - "cimguiname": "igNavMoveRequestResolveWithLastItem", - "defaults": {}, - "funcname": "NavMoveRequestResolveWithLastItem", - "location": "imgui_internal:3089", - "namespace": "ImGui", - "ov_cimguiname": "igNavMoveRequestResolveWithLastItem", - "ret": "void", - "signature": "(ImGuiNavItemData*)", - "stname": "" - } - ], - "igNavMoveRequestSubmit": [ - { - "args": "(ImGuiDir move_dir,ImGuiDir clip_dir,ImGuiNavMoveFlags move_flags,ImGuiScrollFlags scroll_flags)", - "argsT": [ - { - "name": "move_dir", - "type": "ImGuiDir" - }, - { - "name": "clip_dir", - "type": "ImGuiDir" - }, - { - "name": "move_flags", - "type": "ImGuiNavMoveFlags" - }, - { - "name": "scroll_flags", - "type": "ImGuiScrollFlags" - } - ], - "argsoriginal": "(ImGuiDir move_dir,ImGuiDir clip_dir,ImGuiNavMoveFlags move_flags,ImGuiScrollFlags scroll_flags)", - "call_args": "(move_dir,clip_dir,move_flags,scroll_flags)", - "cimguiname": "igNavMoveRequestSubmit", - "defaults": {}, - "funcname": "NavMoveRequestSubmit", - "location": "imgui_internal:3087", - "namespace": "ImGui", - "ov_cimguiname": "igNavMoveRequestSubmit", - "ret": "void", - "signature": "(ImGuiDir,ImGuiDir,ImGuiNavMoveFlags,ImGuiScrollFlags)", - "stname": "" - } - ], - "igNavMoveRequestTryWrapping": [ - { - "args": "(ImGuiWindow* window,ImGuiNavMoveFlags move_flags)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "move_flags", - "type": "ImGuiNavMoveFlags" - } - ], - "argsoriginal": "(ImGuiWindow* window,ImGuiNavMoveFlags move_flags)", - "call_args": "(window,move_flags)", - "cimguiname": "igNavMoveRequestTryWrapping", - "defaults": {}, - "funcname": "NavMoveRequestTryWrapping", - "location": "imgui_internal:3092", - "namespace": "ImGui", - "ov_cimguiname": "igNavMoveRequestTryWrapping", - "ret": "void", - "signature": "(ImGuiWindow*,ImGuiNavMoveFlags)", - "stname": "" - } - ], - "igNewFrame": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igNewFrame", - "defaults": {}, - "funcname": "NewFrame", - "location": "imgui:302", - "namespace": "ImGui", - "ov_cimguiname": "igNewFrame", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igNewLine": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igNewLine", - "defaults": {}, - "funcname": "NewLine", - "location": "imgui:449", - "namespace": "ImGui", - "ov_cimguiname": "igNewLine", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igNextColumn": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igNextColumn", - "defaults": {}, - "funcname": "NextColumn", - "location": "imgui:785", - "namespace": "ImGui", - "ov_cimguiname": "igNextColumn", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igOpenPopup": [ - { - "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "popup_flags", - "type": "ImGuiPopupFlags" - } - ], - "argsoriginal": "(const char* str_id,ImGuiPopupFlags popup_flags=0)", - "call_args": "(str_id,popup_flags)", - "cimguiname": "igOpenPopup", - "defaults": { - "popup_flags": "0" - }, - "funcname": "OpenPopup", - "location": "imgui:705", - "namespace": "ImGui", - "ov_cimguiname": "igOpenPopup_Str", - "ret": "void", - "signature": "(const char*,ImGuiPopupFlags)", - "stname": "" - }, - { - "args": "(ImGuiID id,ImGuiPopupFlags popup_flags)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "popup_flags", - "type": "ImGuiPopupFlags" - } - ], - "argsoriginal": "(ImGuiID id,ImGuiPopupFlags popup_flags=0)", - "call_args": "(id,popup_flags)", - "cimguiname": "igOpenPopup", - "defaults": { - "popup_flags": "0" - }, - "funcname": "OpenPopup", - "location": "imgui:706", - "namespace": "ImGui", - "ov_cimguiname": "igOpenPopup_ID", - "ret": "void", - "signature": "(ImGuiID,ImGuiPopupFlags)", - "stname": "" - } - ], - "igOpenPopupEx": [ - { - "args": "(ImGuiID id,ImGuiPopupFlags popup_flags)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "popup_flags", - "type": "ImGuiPopupFlags" - } - ], - "argsoriginal": "(ImGuiID id,ImGuiPopupFlags popup_flags=ImGuiPopupFlags_None)", - "call_args": "(id,popup_flags)", - "cimguiname": "igOpenPopupEx", - "defaults": { - "popup_flags": "ImGuiPopupFlags_None" - }, - "funcname": "OpenPopupEx", - "location": "imgui_internal:3060", - "namespace": "ImGui", - "ov_cimguiname": "igOpenPopupEx", - "ret": "void", - "signature": "(ImGuiID,ImGuiPopupFlags)", - "stname": "" - } - ], - "igOpenPopupOnItemClick": [ - { - "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "popup_flags", - "type": "ImGuiPopupFlags" - } - ], - "argsoriginal": "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)", - "call_args": "(str_id,popup_flags)", - "cimguiname": "igOpenPopupOnItemClick", - "defaults": { - "popup_flags": "1", - "str_id": "NULL" - }, - "funcname": "OpenPopupOnItemClick", - "location": "imgui:707", - "namespace": "ImGui", - "ov_cimguiname": "igOpenPopupOnItemClick", - "ret": "void", - "signature": "(const char*,ImGuiPopupFlags)", - "stname": "" - } - ], - "igPlotEx": [ - { - "args": "(ImGuiPlotType plot_type,const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 frame_size)", - "argsT": [ - { - "name": "plot_type", - "type": "ImGuiPlotType" - }, - { - "name": "label", - "type": "const char*" - }, - { - "name": "values_getter", - "ret": "float", - "signature": "(void* data,int idx)", - "type": "float(*)(void* data,int idx)" - }, - { - "name": "data", - "type": "void*" - }, - { - "name": "values_count", - "type": "int" - }, - { - "name": "values_offset", - "type": "int" - }, - { - "name": "overlay_text", - "type": "const char*" - }, - { - "name": "scale_min", - "type": "float" - }, - { - "name": "scale_max", - "type": "float" - }, - { - "name": "frame_size", - "type": "ImVec2" - } - ], - "argsoriginal": "(ImGuiPlotType plot_type,const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 frame_size)", - "call_args": "(plot_type,label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,frame_size)", - "cimguiname": "igPlotEx", - "defaults": {}, - "funcname": "PlotEx", - "location": "imgui_internal:3406", - "namespace": "ImGui", - "ov_cimguiname": "igPlotEx", - "ret": "int", - "signature": "(ImGuiPlotType,const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)", - "stname": "" - } - ], - "igPlotHistogram": [ - { - "args": "(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "values", - "type": "const float*" - }, - { - "name": "values_count", - "type": "int" - }, - { - "name": "values_offset", - "type": "int" - }, - { - "name": "overlay_text", - "type": "const char*" - }, - { - "name": "scale_min", - "type": "float" - }, - { - "name": "scale_max", - "type": "float" - }, - { - "name": "graph_size", - "type": "ImVec2" - }, - { - "name": "stride", - "type": "int" - } - ], - "argsoriginal": "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))", - "call_args": "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)", - "cimguiname": "igPlotHistogram", - "defaults": { - "graph_size": "ImVec2(0,0)", - "overlay_text": "NULL", - "scale_max": "FLT_MAX", - "scale_min": "FLT_MAX", - "stride": "sizeof(float)", - "values_offset": "0" - }, - "funcname": "PlotHistogram", - "location": "imgui:650", - "namespace": "ImGui", - "ov_cimguiname": "igPlotHistogram_FloatPtr", - "ret": "void", - "signature": "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)", - "stname": "" - }, - { - "args": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "values_getter", - "ret": "float", - "signature": "(void* data,int idx)", - "type": "float(*)(void* data,int idx)" - }, - { - "name": "data", - "type": "void*" - }, - { - "name": "values_count", - "type": "int" - }, - { - "name": "values_offset", - "type": "int" - }, - { - "name": "overlay_text", - "type": "const char*" - }, - { - "name": "scale_min", - "type": "float" - }, - { - "name": "scale_max", - "type": "float" - }, - { - "name": "graph_size", - "type": "ImVec2" - } - ], - "argsoriginal": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0))", - "call_args": "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)", - "cimguiname": "igPlotHistogram", - "defaults": { - "graph_size": "ImVec2(0,0)", - "overlay_text": "NULL", - "scale_max": "FLT_MAX", - "scale_min": "FLT_MAX", - "values_offset": "0" - }, - "funcname": "PlotHistogram", - "location": "imgui:651", - "namespace": "ImGui", - "ov_cimguiname": "igPlotHistogram_FnFloatPtr", - "ret": "void", - "signature": "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)", - "stname": "" - } - ], - "igPlotLines": [ - { - "args": "(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "values", - "type": "const float*" - }, - { - "name": "values_count", - "type": "int" - }, - { - "name": "values_offset", - "type": "int" - }, - { - "name": "overlay_text", - "type": "const char*" - }, - { - "name": "scale_min", - "type": "float" - }, - { - "name": "scale_max", - "type": "float" - }, - { - "name": "graph_size", - "type": "ImVec2" - }, - { - "name": "stride", - "type": "int" - } - ], - "argsoriginal": "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))", - "call_args": "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)", - "cimguiname": "igPlotLines", - "defaults": { - "graph_size": "ImVec2(0,0)", - "overlay_text": "NULL", - "scale_max": "FLT_MAX", - "scale_min": "FLT_MAX", - "stride": "sizeof(float)", - "values_offset": "0" - }, - "funcname": "PlotLines", - "location": "imgui:648", - "namespace": "ImGui", - "ov_cimguiname": "igPlotLines_FloatPtr", - "ret": "void", - "signature": "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)", - "stname": "" - }, - { - "args": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "values_getter", - "ret": "float", - "signature": "(void* data,int idx)", - "type": "float(*)(void* data,int idx)" - }, - { - "name": "data", - "type": "void*" - }, - { - "name": "values_count", - "type": "int" - }, - { - "name": "values_offset", - "type": "int" - }, - { - "name": "overlay_text", - "type": "const char*" - }, - { - "name": "scale_min", - "type": "float" - }, - { - "name": "scale_max", - "type": "float" - }, - { - "name": "graph_size", - "type": "ImVec2" - } - ], - "argsoriginal": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0))", - "call_args": "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)", - "cimguiname": "igPlotLines", - "defaults": { - "graph_size": "ImVec2(0,0)", - "overlay_text": "NULL", - "scale_max": "FLT_MAX", - "scale_min": "FLT_MAX", - "values_offset": "0" - }, - "funcname": "PlotLines", - "location": "imgui:649", - "namespace": "ImGui", - "ov_cimguiname": "igPlotLines_FnFloatPtr", - "ret": "void", - "signature": "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)", - "stname": "" - } - ], - "igPopAllowKeyboardFocus": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igPopAllowKeyboardFocus", - "defaults": {}, - "funcname": "PopAllowKeyboardFocus", - "location": "imgui:418", - "namespace": "ImGui", - "ov_cimguiname": "igPopAllowKeyboardFocus", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igPopButtonRepeat": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igPopButtonRepeat", - "defaults": {}, - "funcname": "PopButtonRepeat", - "location": "imgui:420", - "namespace": "ImGui", - "ov_cimguiname": "igPopButtonRepeat", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igPopClipRect": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igPopClipRect", - "defaults": {}, - "funcname": "PopClipRect", - "location": "imgui:855", - "namespace": "ImGui", - "ov_cimguiname": "igPopClipRect", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igPopColumnsBackground": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igPopColumnsBackground", - "defaults": {}, - "funcname": "PopColumnsBackground", - "location": "imgui_internal:3248", - "namespace": "ImGui", - "ov_cimguiname": "igPopColumnsBackground", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igPopFocusScope": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igPopFocusScope", - "defaults": {}, - "funcname": "PopFocusScope", - "location": "imgui_internal:3232", - "namespace": "ImGui", - "ov_cimguiname": "igPopFocusScope", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igPopFont": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igPopFont", - "defaults": {}, - "funcname": "PopFont", - "location": "imgui:410", - "namespace": "ImGui", - "ov_cimguiname": "igPopFont", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igPopID": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igPopID", - "defaults": {}, - "funcname": "PopID", - "location": "imgui:486", - "namespace": "ImGui", - "ov_cimguiname": "igPopID", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igPopItemFlag": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igPopItemFlag", - "defaults": {}, - "funcname": "PopItemFlag", - "location": "imgui_internal:3050", - "namespace": "ImGui", - "ov_cimguiname": "igPopItemFlag", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igPopItemWidth": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igPopItemWidth", - "defaults": {}, - "funcname": "PopItemWidth", - "location": "imgui:424", - "namespace": "ImGui", - "ov_cimguiname": "igPopItemWidth", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igPopStyleColor": [ - { - "args": "(int count)", - "argsT": [ - { - "name": "count", - "type": "int" - } - ], - "argsoriginal": "(int count=1)", - "call_args": "(count)", - "cimguiname": "igPopStyleColor", - "defaults": { - "count": "1" - }, - "funcname": "PopStyleColor", - "location": "imgui:413", - "namespace": "ImGui", - "ov_cimguiname": "igPopStyleColor", - "ret": "void", - "signature": "(int)", - "stname": "" - } - ], - "igPopStyleVar": [ - { - "args": "(int count)", - "argsT": [ - { - "name": "count", - "type": "int" - } - ], - "argsoriginal": "(int count=1)", - "call_args": "(count)", - "cimguiname": "igPopStyleVar", - "defaults": { - "count": "1" - }, - "funcname": "PopStyleVar", - "location": "imgui:416", - "namespace": "ImGui", - "ov_cimguiname": "igPopStyleVar", - "ret": "void", - "signature": "(int)", - "stname": "" - } - ], - "igPopTextWrapPos": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igPopTextWrapPos", - "defaults": {}, - "funcname": "PopTextWrapPos", - "location": "imgui:428", - "namespace": "ImGui", - "ov_cimguiname": "igPopTextWrapPos", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igProgressBar": [ - { - "args": "(float fraction,const ImVec2 size_arg,const char* overlay)", - "argsT": [ - { - "name": "fraction", - "type": "float" - }, - { - "name": "size_arg", - "type": "const ImVec2" - }, - { - "name": "overlay", - "type": "const char*" - } - ], - "argsoriginal": "(float fraction,const ImVec2& size_arg=ImVec2(-1.17549435082228750796873653722224568e-38F,0),const char* overlay=((void*)0))", - "call_args": "(fraction,size_arg,overlay)", - "cimguiname": "igProgressBar", - "defaults": { - "overlay": "NULL", - "size_arg": "ImVec2(-FLT_MIN,0)" - }, - "funcname": "ProgressBar", - "location": "imgui:518", - "namespace": "ImGui", - "ov_cimguiname": "igProgressBar", - "ret": "void", - "signature": "(float,const ImVec2,const char*)", - "stname": "" - } - ], - "igPushAllowKeyboardFocus": [ - { - "args": "(bool allow_keyboard_focus)", - "argsT": [ - { - "name": "allow_keyboard_focus", - "type": "bool" - } - ], - "argsoriginal": "(bool allow_keyboard_focus)", - "call_args": "(allow_keyboard_focus)", - "cimguiname": "igPushAllowKeyboardFocus", - "defaults": {}, - "funcname": "PushAllowKeyboardFocus", - "location": "imgui:417", - "namespace": "ImGui", - "ov_cimguiname": "igPushAllowKeyboardFocus", - "ret": "void", - "signature": "(bool)", - "stname": "" - } - ], - "igPushButtonRepeat": [ - { - "args": "(bool repeat)", - "argsT": [ - { - "name": "repeat", - "type": "bool" - } - ], - "argsoriginal": "(bool repeat)", - "call_args": "(repeat)", - "cimguiname": "igPushButtonRepeat", - "defaults": {}, - "funcname": "PushButtonRepeat", - "location": "imgui:419", - "namespace": "ImGui", - "ov_cimguiname": "igPushButtonRepeat", - "ret": "void", - "signature": "(bool)", - "stname": "" - } - ], - "igPushClipRect": [ - { - "args": "(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)", - "argsT": [ - { - "name": "clip_rect_min", - "type": "const ImVec2" - }, - { - "name": "clip_rect_max", - "type": "const ImVec2" - }, - { - "name": "intersect_with_current_clip_rect", - "type": "bool" - } - ], - "argsoriginal": "(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)", - "call_args": "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)", - "cimguiname": "igPushClipRect", - "defaults": {}, - "funcname": "PushClipRect", - "location": "imgui:854", - "namespace": "ImGui", - "ov_cimguiname": "igPushClipRect", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,bool)", - "stname": "" - } - ], - "igPushColumnClipRect": [ - { - "args": "(int column_index)", - "argsT": [ - { - "name": "column_index", - "type": "int" - } - ], - "argsoriginal": "(int column_index)", - "call_args": "(column_index)", - "cimguiname": "igPushColumnClipRect", - "defaults": {}, - "funcname": "PushColumnClipRect", - "location": "imgui_internal:3246", - "namespace": "ImGui", - "ov_cimguiname": "igPushColumnClipRect", - "ret": "void", - "signature": "(int)", - "stname": "" - } - ], - "igPushColumnsBackground": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igPushColumnsBackground", - "defaults": {}, - "funcname": "PushColumnsBackground", - "location": "imgui_internal:3247", - "namespace": "ImGui", - "ov_cimguiname": "igPushColumnsBackground", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igPushFocusScope": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igPushFocusScope", - "defaults": {}, - "funcname": "PushFocusScope", - "location": "imgui_internal:3231", - "namespace": "ImGui", - "ov_cimguiname": "igPushFocusScope", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igPushFont": [ - { - "args": "(ImFont* font)", - "argsT": [ - { - "name": "font", - "type": "ImFont*" - } - ], - "argsoriginal": "(ImFont* font)", - "call_args": "(font)", - "cimguiname": "igPushFont", - "defaults": {}, - "funcname": "PushFont", - "location": "imgui:409", - "namespace": "ImGui", - "ov_cimguiname": "igPushFont", - "ret": "void", - "signature": "(ImFont*)", - "stname": "" - } - ], - "igPushID": [ - { - "args": "(const char* str_id)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - } - ], - "argsoriginal": "(const char* str_id)", - "call_args": "(str_id)", - "cimguiname": "igPushID", - "defaults": {}, - "funcname": "PushID", - "location": "imgui:482", - "namespace": "ImGui", - "ov_cimguiname": "igPushID_Str", - "ret": "void", - "signature": "(const char*)", - "stname": "" - }, - { - "args": "(const char* str_id_begin,const char* str_id_end)", - "argsT": [ - { - "name": "str_id_begin", - "type": "const char*" - }, - { - "name": "str_id_end", - "type": "const char*" - } - ], - "argsoriginal": "(const char* str_id_begin,const char* str_id_end)", - "call_args": "(str_id_begin,str_id_end)", - "cimguiname": "igPushID", - "defaults": {}, - "funcname": "PushID", - "location": "imgui:483", - "namespace": "ImGui", - "ov_cimguiname": "igPushID_StrStr", - "ret": "void", - "signature": "(const char*,const char*)", - "stname": "" - }, - { - "args": "(const void* ptr_id)", - "argsT": [ - { - "name": "ptr_id", - "type": "const void*" - } - ], - "argsoriginal": "(const void* ptr_id)", - "call_args": "(ptr_id)", - "cimguiname": "igPushID", - "defaults": {}, - "funcname": "PushID", - "location": "imgui:484", - "namespace": "ImGui", - "ov_cimguiname": "igPushID_Ptr", - "ret": "void", - "signature": "(const void*)", - "stname": "" - }, - { - "args": "(int int_id)", - "argsT": [ - { - "name": "int_id", - "type": "int" - } - ], - "argsoriginal": "(int int_id)", - "call_args": "(int_id)", - "cimguiname": "igPushID", - "defaults": {}, - "funcname": "PushID", - "location": "imgui:485", - "namespace": "ImGui", - "ov_cimguiname": "igPushID_Int", - "ret": "void", - "signature": "(int)", - "stname": "" - } - ], - "igPushItemFlag": [ - { - "args": "(ImGuiItemFlags option,bool enabled)", - "argsT": [ - { - "name": "option", - "type": "ImGuiItemFlags" - }, - { - "name": "enabled", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiItemFlags option,bool enabled)", - "call_args": "(option,enabled)", - "cimguiname": "igPushItemFlag", - "defaults": {}, - "funcname": "PushItemFlag", - "location": "imgui_internal:3049", - "namespace": "ImGui", - "ov_cimguiname": "igPushItemFlag", - "ret": "void", - "signature": "(ImGuiItemFlags,bool)", - "stname": "" - } - ], - "igPushItemWidth": [ - { - "args": "(float item_width)", - "argsT": [ - { - "name": "item_width", - "type": "float" - } - ], - "argsoriginal": "(float item_width)", - "call_args": "(item_width)", - "cimguiname": "igPushItemWidth", - "defaults": {}, - "funcname": "PushItemWidth", - "location": "imgui:423", - "namespace": "ImGui", - "ov_cimguiname": "igPushItemWidth", - "ret": "void", - "signature": "(float)", - "stname": "" - } - ], - "igPushMultiItemsWidths": [ - { - "args": "(int components,float width_full)", - "argsT": [ - { - "name": "components", - "type": "int" - }, - { - "name": "width_full", - "type": "float" - } - ], - "argsoriginal": "(int components,float width_full)", - "call_args": "(components,width_full)", - "cimguiname": "igPushMultiItemsWidths", - "defaults": {}, - "funcname": "PushMultiItemsWidths", - "location": "imgui_internal:3043", - "namespace": "ImGui", - "ov_cimguiname": "igPushMultiItemsWidths", - "ret": "void", - "signature": "(int,float)", - "stname": "" - } - ], - "igPushOverrideID": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igPushOverrideID", - "defaults": {}, - "funcname": "PushOverrideID", - "location": "imgui_internal:3031", - "namespace": "ImGui", - "ov_cimguiname": "igPushOverrideID", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igPushStyleColor": [ - { - "args": "(ImGuiCol idx,ImU32 col)", - "argsT": [ - { - "name": "idx", - "type": "ImGuiCol" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(ImGuiCol idx,ImU32 col)", - "call_args": "(idx,col)", - "cimguiname": "igPushStyleColor", - "defaults": {}, - "funcname": "PushStyleColor", - "location": "imgui:411", - "namespace": "ImGui", - "ov_cimguiname": "igPushStyleColor_U32", - "ret": "void", - "signature": "(ImGuiCol,ImU32)", - "stname": "" - }, - { - "args": "(ImGuiCol idx,const ImVec4 col)", - "argsT": [ - { - "name": "idx", - "type": "ImGuiCol" - }, - { - "name": "col", - "type": "const ImVec4" - } - ], - "argsoriginal": "(ImGuiCol idx,const ImVec4& col)", - "call_args": "(idx,col)", - "cimguiname": "igPushStyleColor", - "defaults": {}, - "funcname": "PushStyleColor", - "location": "imgui:412", - "namespace": "ImGui", - "ov_cimguiname": "igPushStyleColor_Vec4", - "ret": "void", - "signature": "(ImGuiCol,const ImVec4)", - "stname": "" - } - ], - "igPushStyleVar": [ - { - "args": "(ImGuiStyleVar idx,float val)", - "argsT": [ - { - "name": "idx", - "type": "ImGuiStyleVar" - }, - { - "name": "val", - "type": "float" - } - ], - "argsoriginal": "(ImGuiStyleVar idx,float val)", - "call_args": "(idx,val)", - "cimguiname": "igPushStyleVar", - "defaults": {}, - "funcname": "PushStyleVar", - "location": "imgui:414", - "namespace": "ImGui", - "ov_cimguiname": "igPushStyleVar_Float", - "ret": "void", - "signature": "(ImGuiStyleVar,float)", - "stname": "" - }, - { - "args": "(ImGuiStyleVar idx,const ImVec2 val)", - "argsT": [ - { - "name": "idx", - "type": "ImGuiStyleVar" - }, - { - "name": "val", - "type": "const ImVec2" - } - ], - "argsoriginal": "(ImGuiStyleVar idx,const ImVec2& val)", - "call_args": "(idx,val)", - "cimguiname": "igPushStyleVar", - "defaults": {}, - "funcname": "PushStyleVar", - "location": "imgui:415", - "namespace": "ImGui", - "ov_cimguiname": "igPushStyleVar_Vec2", - "ret": "void", - "signature": "(ImGuiStyleVar,const ImVec2)", - "stname": "" - } - ], - "igPushTextWrapPos": [ - { - "args": "(float wrap_local_pos_x)", - "argsT": [ - { - "name": "wrap_local_pos_x", - "type": "float" - } - ], - "argsoriginal": "(float wrap_local_pos_x=0.0f)", - "call_args": "(wrap_local_pos_x)", - "cimguiname": "igPushTextWrapPos", - "defaults": { - "wrap_local_pos_x": "0.0f" - }, - "funcname": "PushTextWrapPos", - "location": "imgui:427", - "namespace": "ImGui", - "ov_cimguiname": "igPushTextWrapPos", - "ret": "void", - "signature": "(float)", - "stname": "" - } - ], - "igRadioButton": [ - { - "args": "(const char* label,bool active)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "active", - "type": "bool" - } - ], - "argsoriginal": "(const char* label,bool active)", - "call_args": "(label,active)", - "cimguiname": "igRadioButton", - "defaults": {}, - "funcname": "RadioButton", - "location": "imgui:516", - "namespace": "ImGui", - "ov_cimguiname": "igRadioButton_Bool", - "ret": "bool", - "signature": "(const char*,bool)", - "stname": "" - }, - { - "args": "(const char* label,int* v,int v_button)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "int*" - }, - { - "name": "v_button", - "type": "int" - } - ], - "argsoriginal": "(const char* label,int* v,int v_button)", - "call_args": "(label,v,v_button)", - "cimguiname": "igRadioButton", - "defaults": {}, - "funcname": "RadioButton", - "location": "imgui:517", - "namespace": "ImGui", - "ov_cimguiname": "igRadioButton_IntPtr", - "ret": "bool", - "signature": "(const char*,int*,int)", - "stname": "" - } - ], - "igRemoveContextHook": [ - { - "args": "(ImGuiContext* context,ImGuiID hook_to_remove)", - "argsT": [ - { - "name": "context", - "type": "ImGuiContext*" - }, - { - "name": "hook_to_remove", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiContext* context,ImGuiID hook_to_remove)", - "call_args": "(context,hook_to_remove)", - "cimguiname": "igRemoveContextHook", - "defaults": {}, - "funcname": "RemoveContextHook", - "location": "imgui_internal:2977", - "namespace": "ImGui", - "ov_cimguiname": "igRemoveContextHook", - "ret": "void", - "signature": "(ImGuiContext*,ImGuiID)", - "stname": "" - } - ], - "igRemoveSettingsHandler": [ - { - "args": "(const char* type_name)", - "argsT": [ - { - "name": "type_name", - "type": "const char*" - } - ], - "argsoriginal": "(const char* type_name)", - "call_args": "(type_name)", - "cimguiname": "igRemoveSettingsHandler", - "defaults": {}, - "funcname": "RemoveSettingsHandler", - "location": "imgui_internal:2997", - "namespace": "ImGui", - "ov_cimguiname": "igRemoveSettingsHandler", - "ret": "void", - "signature": "(const char*)", - "stname": "" - } - ], - "igRender": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igRender", - "defaults": {}, - "funcname": "Render", - "location": "imgui:304", - "namespace": "ImGui", - "ov_cimguiname": "igRender", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igRenderArrow": [ - { - "args": "(ImDrawList* draw_list,ImVec2 pos,ImU32 col,ImGuiDir dir,float scale)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "pos", - "type": "ImVec2" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "dir", - "type": "ImGuiDir" - }, - { - "name": "scale", - "type": "float" - } - ], - "argsoriginal": "(ImDrawList* draw_list,ImVec2 pos,ImU32 col,ImGuiDir dir,float scale=1.0f)", - "call_args": "(draw_list,pos,col,dir,scale)", - "cimguiname": "igRenderArrow", - "defaults": { - "scale": "1.0f" - }, - "funcname": "RenderArrow", - "location": "imgui_internal:3339", - "namespace": "ImGui", - "ov_cimguiname": "igRenderArrow", - "ret": "void", - "signature": "(ImDrawList*,ImVec2,ImU32,ImGuiDir,float)", - "stname": "" - } - ], - "igRenderArrowDockMenu": [ - { - "args": "(ImDrawList* draw_list,ImVec2 p_min,float sz,ImU32 col)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "p_min", - "type": "ImVec2" - }, - { - "name": "sz", - "type": "float" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(ImDrawList* draw_list,ImVec2 p_min,float sz,ImU32 col)", - "call_args": "(draw_list,p_min,sz,col)", - "cimguiname": "igRenderArrowDockMenu", - "defaults": {}, - "funcname": "RenderArrowDockMenu", - "location": "imgui_internal:3343", - "namespace": "ImGui", - "ov_cimguiname": "igRenderArrowDockMenu", - "ret": "void", - "signature": "(ImDrawList*,ImVec2,float,ImU32)", - "stname": "" - } - ], - "igRenderArrowPointingAt": [ - { - "args": "(ImDrawList* draw_list,ImVec2 pos,ImVec2 half_sz,ImGuiDir direction,ImU32 col)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "pos", - "type": "ImVec2" - }, - { - "name": "half_sz", - "type": "ImVec2" - }, - { - "name": "direction", - "type": "ImGuiDir" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(ImDrawList* draw_list,ImVec2 pos,ImVec2 half_sz,ImGuiDir direction,ImU32 col)", - "call_args": "(draw_list,pos,half_sz,direction,col)", - "cimguiname": "igRenderArrowPointingAt", - "defaults": {}, - "funcname": "RenderArrowPointingAt", - "location": "imgui_internal:3342", - "namespace": "ImGui", - "ov_cimguiname": "igRenderArrowPointingAt", - "ret": "void", - "signature": "(ImDrawList*,ImVec2,ImVec2,ImGuiDir,ImU32)", - "stname": "" - } - ], - "igRenderBullet": [ - { - "args": "(ImDrawList* draw_list,ImVec2 pos,ImU32 col)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "pos", - "type": "ImVec2" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(ImDrawList* draw_list,ImVec2 pos,ImU32 col)", - "call_args": "(draw_list,pos,col)", - "cimguiname": "igRenderBullet", - "defaults": {}, - "funcname": "RenderBullet", - "location": "imgui_internal:3340", - "namespace": "ImGui", - "ov_cimguiname": "igRenderBullet", - "ret": "void", - "signature": "(ImDrawList*,ImVec2,ImU32)", - "stname": "" - } - ], - "igRenderCheckMark": [ - { - "args": "(ImDrawList* draw_list,ImVec2 pos,ImU32 col,float sz)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "pos", - "type": "ImVec2" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "sz", - "type": "float" - } - ], - "argsoriginal": "(ImDrawList* draw_list,ImVec2 pos,ImU32 col,float sz)", - "call_args": "(draw_list,pos,col,sz)", - "cimguiname": "igRenderCheckMark", - "defaults": {}, - "funcname": "RenderCheckMark", - "location": "imgui_internal:3341", - "namespace": "ImGui", - "ov_cimguiname": "igRenderCheckMark", - "ret": "void", - "signature": "(ImDrawList*,ImVec2,ImU32,float)", - "stname": "" - } - ], - "igRenderColorRectWithAlphaCheckerboard": [ - { - "args": "(ImDrawList* draw_list,ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,float grid_step,ImVec2 grid_off,float rounding,ImDrawFlags flags)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "p_min", - "type": "ImVec2" - }, - { - "name": "p_max", - "type": "ImVec2" - }, - { - "name": "fill_col", - "type": "ImU32" - }, - { - "name": "grid_step", - "type": "float" - }, - { - "name": "grid_off", - "type": "ImVec2" - }, - { - "name": "rounding", - "type": "float" - }, - { - "name": "flags", - "type": "ImDrawFlags" - } - ], - "argsoriginal": "(ImDrawList* draw_list,ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,float grid_step,ImVec2 grid_off,float rounding=0.0f,ImDrawFlags flags=0)", - "call_args": "(draw_list,p_min,p_max,fill_col,grid_step,grid_off,rounding,flags)", - "cimguiname": "igRenderColorRectWithAlphaCheckerboard", - "defaults": { - "flags": "0", - "rounding": "0.0f" - }, - "funcname": "RenderColorRectWithAlphaCheckerboard", - "location": "imgui_internal:3333", - "namespace": "ImGui", - "ov_cimguiname": "igRenderColorRectWithAlphaCheckerboard", - "ret": "void", - "signature": "(ImDrawList*,ImVec2,ImVec2,ImU32,float,ImVec2,float,ImDrawFlags)", - "stname": "" - } - ], - "igRenderDragDropTargetRect": [ - { - "args": "(const ImRect bb)", - "argsT": [ - { - "name": "bb", - "type": "const ImRect" - } - ], - "argsoriginal": "(const ImRect& bb)", - "call_args": "(bb)", - "cimguiname": "igRenderDragDropTargetRect", - "defaults": {}, - "funcname": "RenderDragDropTargetRect", - "location": "imgui_internal:3240", - "namespace": "ImGui", - "ov_cimguiname": "igRenderDragDropTargetRect", - "ret": "void", - "signature": "(const ImRect)", - "stname": "" - } - ], - "igRenderFrame": [ - { - "args": "(ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,bool border,float rounding)", - "argsT": [ - { - "name": "p_min", - "type": "ImVec2" - }, - { - "name": "p_max", - "type": "ImVec2" - }, - { - "name": "fill_col", - "type": "ImU32" - }, - { - "name": "border", - "type": "bool" - }, - { - "name": "rounding", - "type": "float" - } - ], - "argsoriginal": "(ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,bool border=true,float rounding=0.0f)", - "call_args": "(p_min,p_max,fill_col,border,rounding)", - "cimguiname": "igRenderFrame", - "defaults": { - "border": "true", - "rounding": "0.0f" - }, - "funcname": "RenderFrame", - "location": "imgui_internal:3331", - "namespace": "ImGui", - "ov_cimguiname": "igRenderFrame", - "ret": "void", - "signature": "(ImVec2,ImVec2,ImU32,bool,float)", - "stname": "" - } - ], - "igRenderFrameBorder": [ - { - "args": "(ImVec2 p_min,ImVec2 p_max,float rounding)", - "argsT": [ - { - "name": "p_min", - "type": "ImVec2" - }, - { - "name": "p_max", - "type": "ImVec2" - }, - { - "name": "rounding", - "type": "float" - } - ], - "argsoriginal": "(ImVec2 p_min,ImVec2 p_max,float rounding=0.0f)", - "call_args": "(p_min,p_max,rounding)", - "cimguiname": "igRenderFrameBorder", - "defaults": { - "rounding": "0.0f" - }, - "funcname": "RenderFrameBorder", - "location": "imgui_internal:3332", - "namespace": "ImGui", - "ov_cimguiname": "igRenderFrameBorder", - "ret": "void", - "signature": "(ImVec2,ImVec2,float)", - "stname": "" - } - ], - "igRenderMouseCursor": [ - { - "args": "(ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow)", - "argsT": [ - { - "name": "pos", - "type": "ImVec2" - }, - { - "name": "scale", - "type": "float" - }, - { - "name": "mouse_cursor", - "type": "ImGuiMouseCursor" - }, - { - "name": "col_fill", - "type": "ImU32" - }, - { - "name": "col_border", - "type": "ImU32" - }, - { - "name": "col_shadow", - "type": "ImU32" - } - ], - "argsoriginal": "(ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow)", - "call_args": "(pos,scale,mouse_cursor,col_fill,col_border,col_shadow)", - "cimguiname": "igRenderMouseCursor", - "defaults": {}, - "funcname": "RenderMouseCursor", - "location": "imgui_internal:3336", - "namespace": "ImGui", - "ov_cimguiname": "igRenderMouseCursor", - "ret": "void", - "signature": "(ImVec2,float,ImGuiMouseCursor,ImU32,ImU32,ImU32)", - "stname": "" - } - ], - "igRenderNavHighlight": [ - { - "args": "(const ImRect bb,ImGuiID id,ImGuiNavHighlightFlags flags)", - "argsT": [ - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "flags", - "type": "ImGuiNavHighlightFlags" - } - ], - "argsoriginal": "(const ImRect& bb,ImGuiID id,ImGuiNavHighlightFlags flags=ImGuiNavHighlightFlags_TypeDefault)", - "call_args": "(bb,id,flags)", - "cimguiname": "igRenderNavHighlight", - "defaults": { - "flags": "ImGuiNavHighlightFlags_TypeDefault" - }, - "funcname": "RenderNavHighlight", - "location": "imgui_internal:3334", - "namespace": "ImGui", - "ov_cimguiname": "igRenderNavHighlight", - "ret": "void", - "signature": "(const ImRect,ImGuiID,ImGuiNavHighlightFlags)", - "stname": "" - } - ], - "igRenderPlatformWindowsDefault": [ - { - "args": "(void* platform_render_arg,void* renderer_render_arg)", - "argsT": [ - { - "name": "platform_render_arg", - "type": "void*" - }, - { - "name": "renderer_render_arg", - "type": "void*" - } - ], - "argsoriginal": "(void* platform_render_arg=((void*)0),void* renderer_render_arg=((void*)0))", - "call_args": "(platform_render_arg,renderer_render_arg)", - "cimguiname": "igRenderPlatformWindowsDefault", - "defaults": { - "platform_render_arg": "NULL", - "renderer_render_arg": "NULL" - }, - "funcname": "RenderPlatformWindowsDefault", - "location": "imgui:982", - "namespace": "ImGui", - "ov_cimguiname": "igRenderPlatformWindowsDefault", - "ret": "void", - "signature": "(void*,void*)", - "stname": "" - } - ], - "igRenderRectFilledRangeH": [ - { - "args": "(ImDrawList* draw_list,const ImRect rect,ImU32 col,float x_start_norm,float x_end_norm,float rounding)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "rect", - "type": "const ImRect" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "x_start_norm", - "type": "float" - }, - { - "name": "x_end_norm", - "type": "float" - }, - { - "name": "rounding", - "type": "float" - } - ], - "argsoriginal": "(ImDrawList* draw_list,const ImRect& rect,ImU32 col,float x_start_norm,float x_end_norm,float rounding)", - "call_args": "(draw_list,rect,col,x_start_norm,x_end_norm,rounding)", - "cimguiname": "igRenderRectFilledRangeH", - "defaults": {}, - "funcname": "RenderRectFilledRangeH", - "location": "imgui_internal:3344", - "namespace": "ImGui", - "ov_cimguiname": "igRenderRectFilledRangeH", - "ret": "void", - "signature": "(ImDrawList*,const ImRect,ImU32,float,float,float)", - "stname": "" - } - ], - "igRenderRectFilledWithHole": [ - { - "args": "(ImDrawList* draw_list,const ImRect outer,const ImRect inner,ImU32 col,float rounding)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "outer", - "type": "const ImRect" - }, - { - "name": "inner", - "type": "const ImRect" - }, - { - "name": "col", - "type": "ImU32" - }, - { - "name": "rounding", - "type": "float" - } - ], - "argsoriginal": "(ImDrawList* draw_list,const ImRect& outer,const ImRect& inner,ImU32 col,float rounding)", - "call_args": "(draw_list,outer,inner,col,rounding)", - "cimguiname": "igRenderRectFilledWithHole", - "defaults": {}, - "funcname": "RenderRectFilledWithHole", - "location": "imgui_internal:3345", - "namespace": "ImGui", - "ov_cimguiname": "igRenderRectFilledWithHole", - "ret": "void", - "signature": "(ImDrawList*,const ImRect,const ImRect,ImU32,float)", - "stname": "" - } - ], - "igRenderText": [ - { - "args": "(ImVec2 pos,const char* text,const char* text_end,bool hide_text_after_hash)", - "argsT": [ - { - "name": "pos", - "type": "ImVec2" - }, - { - "name": "text", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - }, - { - "name": "hide_text_after_hash", - "type": "bool" - } - ], - "argsoriginal": "(ImVec2 pos,const char* text,const char* text_end=((void*)0),bool hide_text_after_hash=true)", - "call_args": "(pos,text,text_end,hide_text_after_hash)", - "cimguiname": "igRenderText", - "defaults": { - "hide_text_after_hash": "true", - "text_end": "NULL" - }, - "funcname": "RenderText", - "location": "imgui_internal:3326", - "namespace": "ImGui", - "ov_cimguiname": "igRenderText", - "ret": "void", - "signature": "(ImVec2,const char*,const char*,bool)", - "stname": "" - } - ], - "igRenderTextClipped": [ - { - "args": "(const ImVec2 pos_min,const ImVec2 pos_max,const char* text,const char* text_end,const ImVec2* text_size_if_known,const ImVec2 align,const ImRect* clip_rect)", - "argsT": [ - { - "name": "pos_min", - "type": "const ImVec2" - }, - { - "name": "pos_max", - "type": "const ImVec2" - }, - { - "name": "text", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - }, - { - "name": "text_size_if_known", - "type": "const ImVec2*" - }, - { - "name": "align", - "type": "const ImVec2" - }, - { - "name": "clip_rect", - "type": "const ImRect*" - } - ], - "argsoriginal": "(const ImVec2& pos_min,const ImVec2& pos_max,const char* text,const char* text_end,const ImVec2* text_size_if_known,const ImVec2& align=ImVec2(0,0),const ImRect* clip_rect=((void*)0))", - "call_args": "(pos_min,pos_max,text,text_end,text_size_if_known,align,clip_rect)", - "cimguiname": "igRenderTextClipped", - "defaults": { - "align": "ImVec2(0,0)", - "clip_rect": "NULL" - }, - "funcname": "RenderTextClipped", - "location": "imgui_internal:3328", - "namespace": "ImGui", - "ov_cimguiname": "igRenderTextClipped", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,const char*,const char*,const ImVec2*,const ImVec2,const ImRect*)", - "stname": "" - } - ], - "igRenderTextClippedEx": [ - { - "args": "(ImDrawList* draw_list,const ImVec2 pos_min,const ImVec2 pos_max,const char* text,const char* text_end,const ImVec2* text_size_if_known,const ImVec2 align,const ImRect* clip_rect)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "pos_min", - "type": "const ImVec2" - }, - { - "name": "pos_max", - "type": "const ImVec2" - }, - { - "name": "text", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - }, - { - "name": "text_size_if_known", - "type": "const ImVec2*" - }, - { - "name": "align", - "type": "const ImVec2" - }, - { - "name": "clip_rect", - "type": "const ImRect*" - } - ], - "argsoriginal": "(ImDrawList* draw_list,const ImVec2& pos_min,const ImVec2& pos_max,const char* text,const char* text_end,const ImVec2* text_size_if_known,const ImVec2& align=ImVec2(0,0),const ImRect* clip_rect=((void*)0))", - "call_args": "(draw_list,pos_min,pos_max,text,text_end,text_size_if_known,align,clip_rect)", - "cimguiname": "igRenderTextClippedEx", - "defaults": { - "align": "ImVec2(0,0)", - "clip_rect": "NULL" - }, - "funcname": "RenderTextClippedEx", - "location": "imgui_internal:3329", - "namespace": "ImGui", - "ov_cimguiname": "igRenderTextClippedEx", - "ret": "void", - "signature": "(ImDrawList*,const ImVec2,const ImVec2,const char*,const char*,const ImVec2*,const ImVec2,const ImRect*)", - "stname": "" - } - ], - "igRenderTextEllipsis": [ - { - "args": "(ImDrawList* draw_list,const ImVec2 pos_min,const ImVec2 pos_max,float clip_max_x,float ellipsis_max_x,const char* text,const char* text_end,const ImVec2* text_size_if_known)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "pos_min", - "type": "const ImVec2" - }, - { - "name": "pos_max", - "type": "const ImVec2" - }, - { - "name": "clip_max_x", - "type": "float" - }, - { - "name": "ellipsis_max_x", - "type": "float" - }, - { - "name": "text", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - }, - { - "name": "text_size_if_known", - "type": "const ImVec2*" - } - ], - "argsoriginal": "(ImDrawList* draw_list,const ImVec2& pos_min,const ImVec2& pos_max,float clip_max_x,float ellipsis_max_x,const char* text,const char* text_end,const ImVec2* text_size_if_known)", - "call_args": "(draw_list,pos_min,pos_max,clip_max_x,ellipsis_max_x,text,text_end,text_size_if_known)", - "cimguiname": "igRenderTextEllipsis", - "defaults": {}, - "funcname": "RenderTextEllipsis", - "location": "imgui_internal:3330", - "namespace": "ImGui", - "ov_cimguiname": "igRenderTextEllipsis", - "ret": "void", - "signature": "(ImDrawList*,const ImVec2,const ImVec2,float,float,const char*,const char*,const ImVec2*)", - "stname": "" - } - ], - "igRenderTextWrapped": [ - { - "args": "(ImVec2 pos,const char* text,const char* text_end,float wrap_width)", - "argsT": [ - { - "name": "pos", - "type": "ImVec2" - }, - { - "name": "text", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - }, - { - "name": "wrap_width", - "type": "float" - } - ], - "argsoriginal": "(ImVec2 pos,const char* text,const char* text_end,float wrap_width)", - "call_args": "(pos,text,text_end,wrap_width)", - "cimguiname": "igRenderTextWrapped", - "defaults": {}, - "funcname": "RenderTextWrapped", - "location": "imgui_internal:3327", - "namespace": "ImGui", - "ov_cimguiname": "igRenderTextWrapped", - "ret": "void", - "signature": "(ImVec2,const char*,const char*,float)", - "stname": "" - } - ], - "igResetMouseDragDelta": [ - { - "args": "(ImGuiMouseButton button)", - "argsT": [ - { - "name": "button", - "type": "ImGuiMouseButton" - } - ], - "argsoriginal": "(ImGuiMouseButton button=0)", - "call_args": "(button)", - "cimguiname": "igResetMouseDragDelta", - "defaults": { - "button": "0" - }, - "funcname": "ResetMouseDragDelta", - "location": "imgui:945", - "namespace": "ImGui", - "ov_cimguiname": "igResetMouseDragDelta", - "ret": "void", - "signature": "(ImGuiMouseButton)", - "stname": "" - } - ], - "igSameLine": [ - { - "args": "(float offset_from_start_x,float spacing)", - "argsT": [ - { - "name": "offset_from_start_x", - "type": "float" - }, - { - "name": "spacing", - "type": "float" - } - ], - "argsoriginal": "(float offset_from_start_x=0.0f,float spacing=-1.0f)", - "call_args": "(offset_from_start_x,spacing)", - "cimguiname": "igSameLine", - "defaults": { - "offset_from_start_x": "0.0f", - "spacing": "-1.0f" - }, - "funcname": "SameLine", - "location": "imgui:448", - "namespace": "ImGui", - "ov_cimguiname": "igSameLine", - "ret": "void", - "signature": "(float,float)", - "stname": "" - } - ], - "igSaveIniSettingsToDisk": [ - { - "args": "(const char* ini_filename)", - "argsT": [ - { - "name": "ini_filename", - "type": "const char*" - } - ], - "argsoriginal": "(const char* ini_filename)", - "call_args": "(ini_filename)", - "cimguiname": "igSaveIniSettingsToDisk", - "defaults": {}, - "funcname": "SaveIniSettingsToDisk", - "location": "imgui:961", - "namespace": "ImGui", - "ov_cimguiname": "igSaveIniSettingsToDisk", - "ret": "void", - "signature": "(const char*)", - "stname": "" - } - ], - "igSaveIniSettingsToMemory": [ - { - "args": "(size_t* out_ini_size)", - "argsT": [ - { - "name": "out_ini_size", - "type": "size_t*" - } - ], - "argsoriginal": "(size_t* out_ini_size=((void*)0))", - "call_args": "(out_ini_size)", - "cimguiname": "igSaveIniSettingsToMemory", - "defaults": { - "out_ini_size": "NULL" - }, - "funcname": "SaveIniSettingsToMemory", - "location": "imgui:962", - "namespace": "ImGui", - "ov_cimguiname": "igSaveIniSettingsToMemory", - "ret": "const char*", - "signature": "(size_t*)", - "stname": "" - } - ], - "igScaleWindowsInViewport": [ - { - "args": "(ImGuiViewportP* viewport,float scale)", - "argsT": [ - { - "name": "viewport", - "type": "ImGuiViewportP*" - }, - { - "name": "scale", - "type": "float" - } - ], - "argsoriginal": "(ImGuiViewportP* viewport,float scale)", - "call_args": "(viewport,scale)", - "cimguiname": "igScaleWindowsInViewport", - "defaults": {}, - "funcname": "ScaleWindowsInViewport", - "location": "imgui_internal:2982", - "namespace": "ImGui", - "ov_cimguiname": "igScaleWindowsInViewport", - "ret": "void", - "signature": "(ImGuiViewportP*,float)", - "stname": "" - } - ], - "igScrollToBringRectIntoView": [ - { - "args": "(ImGuiWindow* window,const ImRect rect)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "rect", - "type": "const ImRect" - } - ], - "argsoriginal": "(ImGuiWindow* window,const ImRect& rect)", - "call_args": "(window,rect)", - "cimguiname": "igScrollToBringRectIntoView", - "defaults": {}, - "funcname": "ScrollToBringRectIntoView", - "location": "imgui_internal:3015", - "namespace": "ImGui", - "ov_cimguiname": "igScrollToBringRectIntoView", - "ret": "void", - "signature": "(ImGuiWindow*,const ImRect)", - "stname": "" - } - ], - "igScrollToItem": [ - { - "args": "(ImGuiScrollFlags flags)", - "argsT": [ - { - "name": "flags", - "type": "ImGuiScrollFlags" - } - ], - "argsoriginal": "(ImGuiScrollFlags flags=0)", - "call_args": "(flags)", - "cimguiname": "igScrollToItem", - "defaults": { - "flags": "0" - }, - "funcname": "ScrollToItem", - "location": "imgui_internal:3011", - "namespace": "ImGui", - "ov_cimguiname": "igScrollToItem", - "ret": "void", - "signature": "(ImGuiScrollFlags)", - "stname": "" - } - ], - "igScrollToRect": [ - { - "args": "(ImGuiWindow* window,const ImRect rect,ImGuiScrollFlags flags)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "rect", - "type": "const ImRect" - }, - { - "name": "flags", - "type": "ImGuiScrollFlags" - } - ], - "argsoriginal": "(ImGuiWindow* window,const ImRect& rect,ImGuiScrollFlags flags=0)", - "call_args": "(window,rect,flags)", - "cimguiname": "igScrollToRect", - "defaults": { - "flags": "0" - }, - "funcname": "ScrollToRect", - "location": "imgui_internal:3012", - "namespace": "ImGui", - "ov_cimguiname": "igScrollToRect", - "ret": "void", - "signature": "(ImGuiWindow*,const ImRect,ImGuiScrollFlags)", - "stname": "" - } - ], - "igScrollToRectEx": [ - { - "args": "(ImVec2 *pOut,ImGuiWindow* window,const ImRect rect,ImGuiScrollFlags flags)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "rect", - "type": "const ImRect" - }, - { - "name": "flags", - "type": "ImGuiScrollFlags" - } - ], - "argsoriginal": "(ImGuiWindow* window,const ImRect& rect,ImGuiScrollFlags flags=0)", - "call_args": "(window,rect,flags)", - "cimguiname": "igScrollToRectEx", - "defaults": { - "flags": "0" - }, - "funcname": "ScrollToRectEx", - "location": "imgui_internal:3013", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igScrollToRectEx", - "ret": "void", - "signature": "(ImGuiWindow*,const ImRect,ImGuiScrollFlags)", - "stname": "" - } - ], - "igScrollbar": [ - { - "args": "(ImGuiAxis axis)", - "argsT": [ - { - "name": "axis", - "type": "ImGuiAxis" - } - ], - "argsoriginal": "(ImGuiAxis axis)", - "call_args": "(axis)", - "cimguiname": "igScrollbar", - "defaults": {}, - "funcname": "Scrollbar", - "location": "imgui_internal:3354", - "namespace": "ImGui", - "ov_cimguiname": "igScrollbar", - "ret": "void", - "signature": "(ImGuiAxis)", - "stname": "" - } - ], - "igScrollbarEx": [ - { - "args": "(const ImRect bb,ImGuiID id,ImGuiAxis axis,ImS64* p_scroll_v,ImS64 avail_v,ImS64 contents_v,ImDrawFlags flags)", - "argsT": [ - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "axis", - "type": "ImGuiAxis" - }, - { - "name": "p_scroll_v", - "type": "ImS64*" - }, - { - "name": "avail_v", - "type": "ImS64" - }, - { - "name": "contents_v", - "type": "ImS64" - }, - { - "name": "flags", - "type": "ImDrawFlags" - } - ], - "argsoriginal": "(const ImRect& bb,ImGuiID id,ImGuiAxis axis,ImS64* p_scroll_v,ImS64 avail_v,ImS64 contents_v,ImDrawFlags flags)", - "call_args": "(bb,id,axis,p_scroll_v,avail_v,contents_v,flags)", - "cimguiname": "igScrollbarEx", - "defaults": {}, - "funcname": "ScrollbarEx", - "location": "imgui_internal:3355", - "namespace": "ImGui", - "ov_cimguiname": "igScrollbarEx", - "ret": "bool", - "signature": "(const ImRect,ImGuiID,ImGuiAxis,ImS64*,ImS64,ImS64,ImDrawFlags)", - "stname": "" - } - ], - "igSelectable": [ - { - "args": "(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "selected", - "type": "bool" - }, - { - "name": "flags", - "type": "ImGuiSelectableFlags" - }, - { - "name": "size", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))", - "call_args": "(label,selected,flags,size)", - "cimguiname": "igSelectable", - "defaults": { - "flags": "0", - "selected": "false", - "size": "ImVec2(0,0)" - }, - "funcname": "Selectable", - "location": "imgui:632", - "namespace": "ImGui", - "ov_cimguiname": "igSelectable_Bool", - "ret": "bool", - "signature": "(const char*,bool,ImGuiSelectableFlags,const ImVec2)", - "stname": "" - }, - { - "args": "(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "p_selected", - "type": "bool*" - }, - { - "name": "flags", - "type": "ImGuiSelectableFlags" - }, - { - "name": "size", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))", - "call_args": "(label,p_selected,flags,size)", - "cimguiname": "igSelectable", - "defaults": { - "flags": "0", - "size": "ImVec2(0,0)" - }, - "funcname": "Selectable", - "location": "imgui:633", - "namespace": "ImGui", - "ov_cimguiname": "igSelectable_BoolPtr", - "ret": "bool", - "signature": "(const char*,bool*,ImGuiSelectableFlags,const ImVec2)", - "stname": "" - } - ], - "igSeparator": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igSeparator", - "defaults": {}, - "funcname": "Separator", - "location": "imgui:447", - "namespace": "ImGui", - "ov_cimguiname": "igSeparator", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igSeparatorEx": [ - { - "args": "(ImGuiSeparatorFlags flags)", - "argsT": [ - { - "name": "flags", - "type": "ImGuiSeparatorFlags" - } - ], - "argsoriginal": "(ImGuiSeparatorFlags flags)", - "call_args": "(flags)", - "cimguiname": "igSeparatorEx", - "defaults": {}, - "funcname": "SeparatorEx", - "location": "imgui_internal:3361", - "namespace": "ImGui", - "ov_cimguiname": "igSeparatorEx", - "ret": "void", - "signature": "(ImGuiSeparatorFlags)", - "stname": "" - } - ], - "igSetActiveID": [ - { - "args": "(ImGuiID id,ImGuiWindow* window)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiID id,ImGuiWindow* window)", - "call_args": "(id,window)", - "cimguiname": "igSetActiveID", - "defaults": {}, - "funcname": "SetActiveID", - "location": "imgui_internal:3024", - "namespace": "ImGui", - "ov_cimguiname": "igSetActiveID", - "ret": "void", - "signature": "(ImGuiID,ImGuiWindow*)", - "stname": "" - } - ], - "igSetActiveIdUsingAllKeyboardKeys": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igSetActiveIdUsingAllKeyboardKeys", - "defaults": {}, - "funcname": "SetActiveIdUsingAllKeyboardKeys", - "location": "imgui_internal:3123", - "namespace": "ImGui", - "ov_cimguiname": "igSetActiveIdUsingAllKeyboardKeys", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igSetAllocatorFunctions": [ - { - "args": "(ImGuiMemAllocFunc alloc_func,ImGuiMemFreeFunc free_func,void* user_data)", - "argsT": [ - { - "name": "alloc_func", - "type": "ImGuiMemAllocFunc" - }, - { - "name": "free_func", - "type": "ImGuiMemFreeFunc" - }, - { - "name": "user_data", - "type": "void*" - } - ], - "argsoriginal": "(ImGuiMemAllocFunc alloc_func,ImGuiMemFreeFunc free_func,void* user_data=((void*)0))", - "call_args": "(alloc_func,free_func,user_data)", - "cimguiname": "igSetAllocatorFunctions", - "defaults": { - "user_data": "NULL" - }, - "funcname": "SetAllocatorFunctions", - "location": "imgui:972", - "namespace": "ImGui", - "ov_cimguiname": "igSetAllocatorFunctions", - "ret": "void", - "signature": "(ImGuiMemAllocFunc,ImGuiMemFreeFunc,void*)", - "stname": "" - } - ], - "igSetClipboardText": [ - { - "args": "(const char* text)", - "argsT": [ - { - "name": "text", - "type": "const char*" - } - ], - "argsoriginal": "(const char* text)", - "call_args": "(text)", - "cimguiname": "igSetClipboardText", - "defaults": {}, - "funcname": "SetClipboardText", - "location": "imgui:953", - "namespace": "ImGui", - "ov_cimguiname": "igSetClipboardText", - "ret": "void", - "signature": "(const char*)", - "stname": "" - } - ], - "igSetColorEditOptions": [ - { - "args": "(ImGuiColorEditFlags flags)", - "argsT": [ - { - "name": "flags", - "type": "ImGuiColorEditFlags" - } - ], - "argsoriginal": "(ImGuiColorEditFlags flags)", - "call_args": "(flags)", - "cimguiname": "igSetColorEditOptions", - "defaults": {}, - "funcname": "SetColorEditOptions", - "location": "imgui:607", - "namespace": "ImGui", - "ov_cimguiname": "igSetColorEditOptions", - "ret": "void", - "signature": "(ImGuiColorEditFlags)", - "stname": "" - } - ], - "igSetColumnOffset": [ - { - "args": "(int column_index,float offset_x)", - "argsT": [ - { - "name": "column_index", - "type": "int" - }, - { - "name": "offset_x", - "type": "float" - } - ], - "argsoriginal": "(int column_index,float offset_x)", - "call_args": "(column_index,offset_x)", - "cimguiname": "igSetColumnOffset", - "defaults": {}, - "funcname": "SetColumnOffset", - "location": "imgui:790", - "namespace": "ImGui", - "ov_cimguiname": "igSetColumnOffset", - "ret": "void", - "signature": "(int,float)", - "stname": "" - } - ], - "igSetColumnWidth": [ - { - "args": "(int column_index,float width)", - "argsT": [ - { - "name": "column_index", - "type": "int" - }, - { - "name": "width", - "type": "float" - } - ], - "argsoriginal": "(int column_index,float width)", - "call_args": "(column_index,width)", - "cimguiname": "igSetColumnWidth", - "defaults": {}, - "funcname": "SetColumnWidth", - "location": "imgui:788", - "namespace": "ImGui", - "ov_cimguiname": "igSetColumnWidth", - "ret": "void", - "signature": "(int,float)", - "stname": "" - } - ], - "igSetCurrentContext": [ - { - "args": "(ImGuiContext* ctx)", - "argsT": [ - { - "name": "ctx", - "type": "ImGuiContext*" - } - ], - "argsoriginal": "(ImGuiContext* ctx)", - "call_args": "(ctx)", - "cimguiname": "igSetCurrentContext", - "defaults": {}, - "funcname": "SetCurrentContext", - "location": "imgui:297", - "namespace": "ImGui", - "ov_cimguiname": "igSetCurrentContext", - "ret": "void", - "signature": "(ImGuiContext*)", - "stname": "" - } - ], - "igSetCurrentFont": [ - { - "args": "(ImFont* font)", - "argsT": [ - { - "name": "font", - "type": "ImFont*" - } - ], - "argsoriginal": "(ImFont* font)", - "call_args": "(font)", - "cimguiname": "igSetCurrentFont", - "defaults": {}, - "funcname": "SetCurrentFont", - "location": "imgui_internal:2959", - "namespace": "ImGui", - "ov_cimguiname": "igSetCurrentFont", - "ret": "void", - "signature": "(ImFont*)", - "stname": "" - } - ], - "igSetCurrentViewport": [ - { - "args": "(ImGuiWindow* window,ImGuiViewportP* viewport)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "viewport", - "type": "ImGuiViewportP*" - } - ], - "argsoriginal": "(ImGuiWindow* window,ImGuiViewportP* viewport)", - "call_args": "(window,viewport)", - "cimguiname": "igSetCurrentViewport", - "defaults": {}, - "funcname": "SetCurrentViewport", - "location": "imgui_internal:2985", - "namespace": "ImGui", - "ov_cimguiname": "igSetCurrentViewport", - "ret": "void", - "signature": "(ImGuiWindow*,ImGuiViewportP*)", - "stname": "" - } - ], - "igSetCursorPos": [ - { - "args": "(const ImVec2 local_pos)", - "argsT": [ - { - "name": "local_pos", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& local_pos)", - "call_args": "(local_pos)", - "cimguiname": "igSetCursorPos", - "defaults": {}, - "funcname": "SetCursorPos", - "location": "imgui:459", - "namespace": "ImGui", - "ov_cimguiname": "igSetCursorPos", - "ret": "void", - "signature": "(const ImVec2)", - "stname": "" - } - ], - "igSetCursorPosX": [ - { - "args": "(float local_x)", - "argsT": [ - { - "name": "local_x", - "type": "float" - } - ], - "argsoriginal": "(float local_x)", - "call_args": "(local_x)", - "cimguiname": "igSetCursorPosX", - "defaults": {}, - "funcname": "SetCursorPosX", - "location": "imgui:460", - "namespace": "ImGui", - "ov_cimguiname": "igSetCursorPosX", - "ret": "void", - "signature": "(float)", - "stname": "" - } - ], - "igSetCursorPosY": [ - { - "args": "(float local_y)", - "argsT": [ - { - "name": "local_y", - "type": "float" - } - ], - "argsoriginal": "(float local_y)", - "call_args": "(local_y)", - "cimguiname": "igSetCursorPosY", - "defaults": {}, - "funcname": "SetCursorPosY", - "location": "imgui:461", - "namespace": "ImGui", - "ov_cimguiname": "igSetCursorPosY", - "ret": "void", - "signature": "(float)", - "stname": "" - } - ], - "igSetCursorScreenPos": [ - { - "args": "(const ImVec2 pos)", - "argsT": [ - { - "name": "pos", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& pos)", - "call_args": "(pos)", - "cimguiname": "igSetCursorScreenPos", - "defaults": {}, - "funcname": "SetCursorScreenPos", - "location": "imgui:464", - "namespace": "ImGui", - "ov_cimguiname": "igSetCursorScreenPos", - "ret": "void", - "signature": "(const ImVec2)", - "stname": "" - } - ], - "igSetDragDropPayload": [ - { - "args": "(const char* type,const void* data,size_t sz,ImGuiCond cond)", - "argsT": [ - { - "name": "type", - "type": "const char*" - }, - { - "name": "data", - "type": "const void*" - }, - { - "name": "sz", - "type": "size_t" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(const char* type,const void* data,size_t sz,ImGuiCond cond=0)", - "call_args": "(type,data,sz,cond)", - "cimguiname": "igSetDragDropPayload", - "defaults": { - "cond": "0" - }, - "funcname": "SetDragDropPayload", - "location": "imgui:838", - "namespace": "ImGui", - "ov_cimguiname": "igSetDragDropPayload", - "ret": "bool", - "signature": "(const char*,const void*,size_t,ImGuiCond)", - "stname": "" - } - ], - "igSetFocusID": [ - { - "args": "(ImGuiID id,ImGuiWindow* window)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiID id,ImGuiWindow* window)", - "call_args": "(id,window)", - "cimguiname": "igSetFocusID", - "defaults": {}, - "funcname": "SetFocusID", - "location": "imgui_internal:3025", - "namespace": "ImGui", - "ov_cimguiname": "igSetFocusID", - "ret": "void", - "signature": "(ImGuiID,ImGuiWindow*)", - "stname": "" - } - ], - "igSetHoveredID": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igSetHoveredID", - "defaults": {}, - "funcname": "SetHoveredID", - "location": "imgui_internal:3028", - "namespace": "ImGui", - "ov_cimguiname": "igSetHoveredID", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igSetItemAllowOverlap": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igSetItemAllowOverlap", - "defaults": {}, - "funcname": "SetItemAllowOverlap", - "location": "imgui:881", - "namespace": "ImGui", - "ov_cimguiname": "igSetItemAllowOverlap", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igSetItemDefaultFocus": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igSetItemDefaultFocus", - "defaults": {}, - "funcname": "SetItemDefaultFocus", - "location": "imgui:859", - "namespace": "ImGui", - "ov_cimguiname": "igSetItemDefaultFocus", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igSetItemKeyOwner": [ - { - "args": "(ImGuiKey key,ImGuiInputFlags flags)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - }, - { - "name": "flags", - "type": "ImGuiInputFlags" - } - ], - "argsoriginal": "(ImGuiKey key,ImGuiInputFlags flags=0)", - "call_args": "(key,flags)", - "cimguiname": "igSetItemKeyOwner", - "defaults": { - "flags": "0" - }, - "funcname": "SetItemKeyOwner", - "location": "imgui_internal:3139", - "namespace": "ImGui", - "ov_cimguiname": "igSetItemKeyOwner", - "ret": "void", - "signature": "(ImGuiKey,ImGuiInputFlags)", - "stname": "" - } - ], - "igSetKeyOwner": [ - { - "args": "(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - }, - { - "name": "owner_id", - "type": "ImGuiID" - }, - { - "name": "flags", - "type": "ImGuiInputFlags" - } - ], - "argsoriginal": "(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags=0)", - "call_args": "(key,owner_id,flags)", - "cimguiname": "igSetKeyOwner", - "defaults": { - "flags": "0" - }, - "funcname": "SetKeyOwner", - "location": "imgui_internal:3138", - "namespace": "ImGui", - "ov_cimguiname": "igSetKeyOwner", - "ret": "void", - "signature": "(ImGuiKey,ImGuiID,ImGuiInputFlags)", - "stname": "" - } - ], - "igSetKeyboardFocusHere": [ - { - "args": "(int offset)", - "argsT": [ - { - "name": "offset", - "type": "int" - } - ], - "argsoriginal": "(int offset=0)", - "call_args": "(offset)", - "cimguiname": "igSetKeyboardFocusHere", - "defaults": { - "offset": "0" - }, - "funcname": "SetKeyboardFocusHere", - "location": "imgui:860", - "namespace": "ImGui", - "ov_cimguiname": "igSetKeyboardFocusHere", - "ret": "void", - "signature": "(int)", - "stname": "" - } - ], - "igSetLastItemData": [ - { - "args": "(ImGuiID item_id,ImGuiItemFlags in_flags,ImGuiItemStatusFlags status_flags,const ImRect item_rect)", - "argsT": [ - { - "name": "item_id", - "type": "ImGuiID" - }, - { - "name": "in_flags", - "type": "ImGuiItemFlags" - }, - { - "name": "status_flags", - "type": "ImGuiItemStatusFlags" - }, - { - "name": "item_rect", - "type": "const ImRect" - } - ], - "argsoriginal": "(ImGuiID item_id,ImGuiItemFlags in_flags,ImGuiItemStatusFlags status_flags,const ImRect& item_rect)", - "call_args": "(item_id,in_flags,status_flags,item_rect)", - "cimguiname": "igSetLastItemData", - "defaults": {}, - "funcname": "SetLastItemData", - "location": "imgui_internal:3040", - "namespace": "ImGui", - "ov_cimguiname": "igSetLastItemData", - "ret": "void", - "signature": "(ImGuiID,ImGuiItemFlags,ImGuiItemStatusFlags,const ImRect)", - "stname": "" - } - ], - "igSetMouseCursor": [ - { - "args": "(ImGuiMouseCursor cursor_type)", - "argsT": [ - { - "name": "cursor_type", - "type": "ImGuiMouseCursor" - } - ], - "argsoriginal": "(ImGuiMouseCursor cursor_type)", - "call_args": "(cursor_type)", - "cimguiname": "igSetMouseCursor", - "defaults": {}, - "funcname": "SetMouseCursor", - "location": "imgui:947", - "namespace": "ImGui", - "ov_cimguiname": "igSetMouseCursor", - "ret": "void", - "signature": "(ImGuiMouseCursor)", - "stname": "" - } - ], - "igSetNavID": [ - { - "args": "(ImGuiID id,ImGuiNavLayer nav_layer,ImGuiID focus_scope_id,const ImRect rect_rel)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "nav_layer", - "type": "ImGuiNavLayer" - }, - { - "name": "focus_scope_id", - "type": "ImGuiID" - }, - { - "name": "rect_rel", - "type": "const ImRect" - } - ], - "argsoriginal": "(ImGuiID id,ImGuiNavLayer nav_layer,ImGuiID focus_scope_id,const ImRect& rect_rel)", - "call_args": "(id,nav_layer,focus_scope_id,rect_rel)", - "cimguiname": "igSetNavID", - "defaults": {}, - "funcname": "SetNavID", - "location": "imgui_internal:3095", - "namespace": "ImGui", - "ov_cimguiname": "igSetNavID", - "ret": "void", - "signature": "(ImGuiID,ImGuiNavLayer,ImGuiID,const ImRect)", - "stname": "" - } - ], - "igSetNavWindow": [ - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igSetNavWindow", - "defaults": {}, - "funcname": "SetNavWindow", - "location": "imgui_internal:3094", - "namespace": "ImGui", - "ov_cimguiname": "igSetNavWindow", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igSetNextFrameWantCaptureKeyboard": [ - { - "args": "(bool want_capture_keyboard)", - "argsT": [ - { - "name": "want_capture_keyboard", - "type": "bool" - } - ], - "argsoriginal": "(bool want_capture_keyboard)", - "call_args": "(want_capture_keyboard)", - "cimguiname": "igSetNextFrameWantCaptureKeyboard", - "defaults": {}, - "funcname": "SetNextFrameWantCaptureKeyboard", - "location": "imgui:927", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextFrameWantCaptureKeyboard", - "ret": "void", - "signature": "(bool)", - "stname": "" - } - ], - "igSetNextFrameWantCaptureMouse": [ - { - "args": "(bool want_capture_mouse)", - "argsT": [ - { - "name": "want_capture_mouse", - "type": "bool" - } - ], - "argsoriginal": "(bool want_capture_mouse)", - "call_args": "(want_capture_mouse)", - "cimguiname": "igSetNextFrameWantCaptureMouse", - "defaults": {}, - "funcname": "SetNextFrameWantCaptureMouse", - "location": "imgui:948", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextFrameWantCaptureMouse", - "ret": "void", - "signature": "(bool)", - "stname": "" - } - ], - "igSetNextItemOpen": [ - { - "args": "(bool is_open,ImGuiCond cond)", - "argsT": [ - { - "name": "is_open", - "type": "bool" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(bool is_open,ImGuiCond cond=0)", - "call_args": "(is_open,cond)", - "cimguiname": "igSetNextItemOpen", - "defaults": { - "cond": "0" - }, - "funcname": "SetNextItemOpen", - "location": "imgui:627", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextItemOpen", - "ret": "void", - "signature": "(bool,ImGuiCond)", - "stname": "" - } - ], - "igSetNextItemWidth": [ - { - "args": "(float item_width)", - "argsT": [ - { - "name": "item_width", - "type": "float" - } - ], - "argsoriginal": "(float item_width)", - "call_args": "(item_width)", - "cimguiname": "igSetNextItemWidth", - "defaults": {}, - "funcname": "SetNextItemWidth", - "location": "imgui:425", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextItemWidth", - "ret": "void", - "signature": "(float)", - "stname": "" - } - ], - "igSetNextWindowBgAlpha": [ - { - "args": "(float alpha)", - "argsT": [ - { - "name": "alpha", - "type": "float" - } - ], - "argsoriginal": "(float alpha)", - "call_args": "(alpha)", - "cimguiname": "igSetNextWindowBgAlpha", - "defaults": {}, - "funcname": "SetNextWindowBgAlpha", - "location": "imgui:374", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextWindowBgAlpha", - "ret": "void", - "signature": "(float)", - "stname": "" - } - ], - "igSetNextWindowClass": [ - { - "args": "(const ImGuiWindowClass* window_class)", - "argsT": [ - { - "name": "window_class", - "type": "const ImGuiWindowClass*" - } - ], - "argsoriginal": "(const ImGuiWindowClass* window_class)", - "call_args": "(window_class)", - "cimguiname": "igSetNextWindowClass", - "defaults": {}, - "funcname": "SetNextWindowClass", - "location": "imgui:818", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextWindowClass", - "ret": "void", - "signature": "(const ImGuiWindowClass*)", - "stname": "" - } - ], - "igSetNextWindowCollapsed": [ - { - "args": "(bool collapsed,ImGuiCond cond)", - "argsT": [ - { - "name": "collapsed", - "type": "bool" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(bool collapsed,ImGuiCond cond=0)", - "call_args": "(collapsed,cond)", - "cimguiname": "igSetNextWindowCollapsed", - "defaults": { - "cond": "0" - }, - "funcname": "SetNextWindowCollapsed", - "location": "imgui:371", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextWindowCollapsed", - "ret": "void", - "signature": "(bool,ImGuiCond)", - "stname": "" - } - ], - "igSetNextWindowContentSize": [ - { - "args": "(const ImVec2 size)", - "argsT": [ - { - "name": "size", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& size)", - "call_args": "(size)", - "cimguiname": "igSetNextWindowContentSize", - "defaults": {}, - "funcname": "SetNextWindowContentSize", - "location": "imgui:370", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextWindowContentSize", - "ret": "void", - "signature": "(const ImVec2)", - "stname": "" - } - ], - "igSetNextWindowDockID": [ - { - "args": "(ImGuiID dock_id,ImGuiCond cond)", - "argsT": [ - { - "name": "dock_id", - "type": "ImGuiID" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(ImGuiID dock_id,ImGuiCond cond=0)", - "call_args": "(dock_id,cond)", - "cimguiname": "igSetNextWindowDockID", - "defaults": { - "cond": "0" - }, - "funcname": "SetNextWindowDockID", - "location": "imgui:817", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextWindowDockID", - "ret": "void", - "signature": "(ImGuiID,ImGuiCond)", - "stname": "" - } - ], - "igSetNextWindowFocus": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igSetNextWindowFocus", - "defaults": {}, - "funcname": "SetNextWindowFocus", - "location": "imgui:372", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextWindowFocus", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igSetNextWindowPos": [ - { - "args": "(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)", - "argsT": [ - { - "name": "pos", - "type": "const ImVec2" - }, - { - "name": "cond", - "type": "ImGuiCond" - }, - { - "name": "pivot", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))", - "call_args": "(pos,cond,pivot)", - "cimguiname": "igSetNextWindowPos", - "defaults": { - "cond": "0", - "pivot": "ImVec2(0,0)" - }, - "funcname": "SetNextWindowPos", - "location": "imgui:367", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextWindowPos", - "ret": "void", - "signature": "(const ImVec2,ImGuiCond,const ImVec2)", - "stname": "" - } - ], - "igSetNextWindowScroll": [ - { - "args": "(const ImVec2 scroll)", - "argsT": [ - { - "name": "scroll", - "type": "const ImVec2" - } - ], - "argsoriginal": "(const ImVec2& scroll)", - "call_args": "(scroll)", - "cimguiname": "igSetNextWindowScroll", - "defaults": {}, - "funcname": "SetNextWindowScroll", - "location": "imgui:373", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextWindowScroll", - "ret": "void", - "signature": "(const ImVec2)", - "stname": "" - } - ], - "igSetNextWindowSize": [ - { - "args": "(const ImVec2 size,ImGuiCond cond)", - "argsT": [ - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(const ImVec2& size,ImGuiCond cond=0)", - "call_args": "(size,cond)", - "cimguiname": "igSetNextWindowSize", - "defaults": { - "cond": "0" - }, - "funcname": "SetNextWindowSize", - "location": "imgui:368", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextWindowSize", - "ret": "void", - "signature": "(const ImVec2,ImGuiCond)", - "stname": "" - } - ], - "igSetNextWindowSizeConstraints": [ - { - "args": "(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)", - "argsT": [ - { - "name": "size_min", - "type": "const ImVec2" - }, - { - "name": "size_max", - "type": "const ImVec2" - }, - { - "name": "custom_callback", - "type": "ImGuiSizeCallback" - }, - { - "name": "custom_callback_data", - "type": "void*" - } - ], - "argsoriginal": "(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void*)0),void* custom_callback_data=((void*)0))", - "call_args": "(size_min,size_max,custom_callback,custom_callback_data)", - "cimguiname": "igSetNextWindowSizeConstraints", - "defaults": { - "custom_callback": "NULL", - "custom_callback_data": "NULL" - }, - "funcname": "SetNextWindowSizeConstraints", - "location": "imgui:369", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextWindowSizeConstraints", - "ret": "void", - "signature": "(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)", - "stname": "" - } - ], - "igSetNextWindowViewport": [ - { - "args": "(ImGuiID viewport_id)", - "argsT": [ - { - "name": "viewport_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID viewport_id)", - "call_args": "(viewport_id)", - "cimguiname": "igSetNextWindowViewport", - "defaults": {}, - "funcname": "SetNextWindowViewport", - "location": "imgui:375", - "namespace": "ImGui", - "ov_cimguiname": "igSetNextWindowViewport", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igSetScrollFromPosX": [ - { - "args": "(float local_x,float center_x_ratio)", - "argsT": [ - { - "name": "local_x", - "type": "float" - }, - { - "name": "center_x_ratio", - "type": "float" - } - ], - "argsoriginal": "(float local_x,float center_x_ratio=0.5f)", - "call_args": "(local_x,center_x_ratio)", - "cimguiname": "igSetScrollFromPosX", - "defaults": { - "center_x_ratio": "0.5f" - }, - "funcname": "SetScrollFromPosX", - "location": "imgui:405", - "namespace": "ImGui", - "ov_cimguiname": "igSetScrollFromPosX_Float", - "ret": "void", - "signature": "(float,float)", - "stname": "" - }, - { - "args": "(ImGuiWindow* window,float local_x,float center_x_ratio)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "local_x", - "type": "float" - }, - { - "name": "center_x_ratio", - "type": "float" - } - ], - "argsoriginal": "(ImGuiWindow* window,float local_x,float center_x_ratio)", - "call_args": "(window,local_x,center_x_ratio)", - "cimguiname": "igSetScrollFromPosX", - "defaults": {}, - "funcname": "SetScrollFromPosX", - "location": "imgui_internal:3007", - "namespace": "ImGui", - "ov_cimguiname": "igSetScrollFromPosX_WindowPtr", - "ret": "void", - "signature": "(ImGuiWindow*,float,float)", - "stname": "" - } - ], - "igSetScrollFromPosY": [ - { - "args": "(float local_y,float center_y_ratio)", - "argsT": [ - { - "name": "local_y", - "type": "float" - }, - { - "name": "center_y_ratio", - "type": "float" - } - ], - "argsoriginal": "(float local_y,float center_y_ratio=0.5f)", - "call_args": "(local_y,center_y_ratio)", - "cimguiname": "igSetScrollFromPosY", - "defaults": { - "center_y_ratio": "0.5f" - }, - "funcname": "SetScrollFromPosY", - "location": "imgui:406", - "namespace": "ImGui", - "ov_cimguiname": "igSetScrollFromPosY_Float", - "ret": "void", - "signature": "(float,float)", - "stname": "" - }, - { - "args": "(ImGuiWindow* window,float local_y,float center_y_ratio)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "local_y", - "type": "float" - }, - { - "name": "center_y_ratio", - "type": "float" - } - ], - "argsoriginal": "(ImGuiWindow* window,float local_y,float center_y_ratio)", - "call_args": "(window,local_y,center_y_ratio)", - "cimguiname": "igSetScrollFromPosY", - "defaults": {}, - "funcname": "SetScrollFromPosY", - "location": "imgui_internal:3008", - "namespace": "ImGui", - "ov_cimguiname": "igSetScrollFromPosY_WindowPtr", - "ret": "void", - "signature": "(ImGuiWindow*,float,float)", - "stname": "" - } - ], - "igSetScrollHereX": [ - { - "args": "(float center_x_ratio)", - "argsT": [ - { - "name": "center_x_ratio", - "type": "float" - } - ], - "argsoriginal": "(float center_x_ratio=0.5f)", - "call_args": "(center_x_ratio)", - "cimguiname": "igSetScrollHereX", - "defaults": { - "center_x_ratio": "0.5f" - }, - "funcname": "SetScrollHereX", - "location": "imgui:403", - "namespace": "ImGui", - "ov_cimguiname": "igSetScrollHereX", - "ret": "void", - "signature": "(float)", - "stname": "" - } - ], - "igSetScrollHereY": [ - { - "args": "(float center_y_ratio)", - "argsT": [ - { - "name": "center_y_ratio", - "type": "float" - } - ], - "argsoriginal": "(float center_y_ratio=0.5f)", - "call_args": "(center_y_ratio)", - "cimguiname": "igSetScrollHereY", - "defaults": { - "center_y_ratio": "0.5f" - }, - "funcname": "SetScrollHereY", - "location": "imgui:404", - "namespace": "ImGui", - "ov_cimguiname": "igSetScrollHereY", - "ret": "void", - "signature": "(float)", - "stname": "" - } - ], - "igSetScrollX": [ - { - "args": "(float scroll_x)", - "argsT": [ - { - "name": "scroll_x", - "type": "float" - } - ], - "argsoriginal": "(float scroll_x)", - "call_args": "(scroll_x)", - "cimguiname": "igSetScrollX", - "defaults": {}, - "funcname": "SetScrollX", - "location": "imgui:399", - "namespace": "ImGui", - "ov_cimguiname": "igSetScrollX_Float", - "ret": "void", - "signature": "(float)", - "stname": "" - }, - { - "args": "(ImGuiWindow* window,float scroll_x)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "scroll_x", - "type": "float" - } - ], - "argsoriginal": "(ImGuiWindow* window,float scroll_x)", - "call_args": "(window,scroll_x)", - "cimguiname": "igSetScrollX", - "defaults": {}, - "funcname": "SetScrollX", - "location": "imgui_internal:3005", - "namespace": "ImGui", - "ov_cimguiname": "igSetScrollX_WindowPtr", - "ret": "void", - "signature": "(ImGuiWindow*,float)", - "stname": "" - } - ], - "igSetScrollY": [ - { - "args": "(float scroll_y)", - "argsT": [ - { - "name": "scroll_y", - "type": "float" - } - ], - "argsoriginal": "(float scroll_y)", - "call_args": "(scroll_y)", - "cimguiname": "igSetScrollY", - "defaults": {}, - "funcname": "SetScrollY", - "location": "imgui:400", - "namespace": "ImGui", - "ov_cimguiname": "igSetScrollY_Float", - "ret": "void", - "signature": "(float)", - "stname": "" - }, - { - "args": "(ImGuiWindow* window,float scroll_y)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "scroll_y", - "type": "float" - } - ], - "argsoriginal": "(ImGuiWindow* window,float scroll_y)", - "call_args": "(window,scroll_y)", - "cimguiname": "igSetScrollY", - "defaults": {}, - "funcname": "SetScrollY", - "location": "imgui_internal:3006", - "namespace": "ImGui", - "ov_cimguiname": "igSetScrollY_WindowPtr", - "ret": "void", - "signature": "(ImGuiWindow*,float)", - "stname": "" - } - ], - "igSetShortcutRouting": [ - { - "args": "(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags)", - "argsT": [ - { - "name": "key_chord", - "type": "ImGuiKeyChord" - }, - { - "name": "owner_id", - "type": "ImGuiID" - }, - { - "name": "flags", - "type": "ImGuiInputFlags" - } - ], - "argsoriginal": "(ImGuiKeyChord key_chord,ImGuiID owner_id=0,ImGuiInputFlags flags=0)", - "call_args": "(key_chord,owner_id,flags)", - "cimguiname": "igSetShortcutRouting", - "defaults": { - "flags": "0", - "owner_id": "0" - }, - "funcname": "SetShortcutRouting", - "location": "imgui_internal:3167", - "namespace": "ImGui", - "ov_cimguiname": "igSetShortcutRouting", - "ret": "bool", - "signature": "(ImGuiKeyChord,ImGuiID,ImGuiInputFlags)", - "stname": "" - } - ], - "igSetStateStorage": [ - { - "args": "(ImGuiStorage* storage)", - "argsT": [ - { - "name": "storage", - "type": "ImGuiStorage*" - } - ], - "argsoriginal": "(ImGuiStorage* storage)", - "call_args": "(storage)", - "cimguiname": "igSetStateStorage", - "defaults": {}, - "funcname": "SetStateStorage", - "location": "imgui:902", - "namespace": "ImGui", - "ov_cimguiname": "igSetStateStorage", - "ret": "void", - "signature": "(ImGuiStorage*)", - "stname": "" - } - ], - "igSetTabItemClosed": [ - { - "args": "(const char* tab_or_docked_window_label)", - "argsT": [ - { - "name": "tab_or_docked_window_label", - "type": "const char*" - } - ], - "argsoriginal": "(const char* tab_or_docked_window_label)", - "call_args": "(tab_or_docked_window_label)", - "cimguiname": "igSetTabItemClosed", - "defaults": {}, - "funcname": "SetTabItemClosed", - "location": "imgui:800", - "namespace": "ImGui", - "ov_cimguiname": "igSetTabItemClosed", - "ret": "void", - "signature": "(const char*)", - "stname": "" - } - ], - "igSetTooltip": [ - { - "args": "(const char* fmt,...)", - "argsT": [ - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const char* fmt,...)", - "call_args": "(fmt,...)", - "cimguiname": "igSetTooltip", - "defaults": {}, - "funcname": "SetTooltip", - "isvararg": "...)", - "location": "imgui:678", - "namespace": "ImGui", - "ov_cimguiname": "igSetTooltip", - "ret": "void", - "signature": "(const char*,...)", - "stname": "" - } - ], - "igSetTooltipV": [ - { - "args": "(const char* fmt,va_list args)", - "argsT": [ - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const char* fmt,va_list args)", - "call_args": "(fmt,args)", - "cimguiname": "igSetTooltipV", - "defaults": {}, - "funcname": "SetTooltipV", - "location": "imgui:679", - "namespace": "ImGui", - "ov_cimguiname": "igSetTooltipV", - "ret": "void", - "signature": "(const char*,va_list)", - "stname": "" - } - ], - "igSetWindowClipRectBeforeSetChannel": [ - { - "args": "(ImGuiWindow* window,const ImRect clip_rect)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "clip_rect", - "type": "const ImRect" - } - ], - "argsoriginal": "(ImGuiWindow* window,const ImRect& clip_rect)", - "call_args": "(window,clip_rect)", - "cimguiname": "igSetWindowClipRectBeforeSetChannel", - "defaults": {}, - "funcname": "SetWindowClipRectBeforeSetChannel", - "location": "imgui_internal:3243", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowClipRectBeforeSetChannel", - "ret": "void", - "signature": "(ImGuiWindow*,const ImRect)", - "stname": "" - } - ], - "igSetWindowCollapsed": [ - { - "args": "(bool collapsed,ImGuiCond cond)", - "argsT": [ - { - "name": "collapsed", - "type": "bool" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(bool collapsed,ImGuiCond cond=0)", - "call_args": "(collapsed,cond)", - "cimguiname": "igSetWindowCollapsed", - "defaults": { - "cond": "0" - }, - "funcname": "SetWindowCollapsed", - "location": "imgui:378", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowCollapsed_Bool", - "ret": "void", - "signature": "(bool,ImGuiCond)", - "stname": "" - }, - { - "args": "(const char* name,bool collapsed,ImGuiCond cond)", - "argsT": [ - { - "name": "name", - "type": "const char*" - }, - { - "name": "collapsed", - "type": "bool" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(const char* name,bool collapsed,ImGuiCond cond=0)", - "call_args": "(name,collapsed,cond)", - "cimguiname": "igSetWindowCollapsed", - "defaults": { - "cond": "0" - }, - "funcname": "SetWindowCollapsed", - "location": "imgui:383", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowCollapsed_Str", - "ret": "void", - "signature": "(const char*,bool,ImGuiCond)", - "stname": "" - }, - { - "args": "(ImGuiWindow* window,bool collapsed,ImGuiCond cond)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "collapsed", - "type": "bool" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(ImGuiWindow* window,bool collapsed,ImGuiCond cond=0)", - "call_args": "(window,collapsed,cond)", - "cimguiname": "igSetWindowCollapsed", - "defaults": { - "cond": "0" - }, - "funcname": "SetWindowCollapsed", - "location": "imgui_internal:2943", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowCollapsed_WindowPtr", - "ret": "void", - "signature": "(ImGuiWindow*,bool,ImGuiCond)", - "stname": "" - } - ], - "igSetWindowDock": [ - { - "args": "(ImGuiWindow* window,ImGuiID dock_id,ImGuiCond cond)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "dock_id", - "type": "ImGuiID" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(ImGuiWindow* window,ImGuiID dock_id,ImGuiCond cond)", - "call_args": "(window,dock_id,cond)", - "cimguiname": "igSetWindowDock", - "defaults": {}, - "funcname": "SetWindowDock", - "location": "imgui_internal:3197", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowDock", - "ret": "void", - "signature": "(ImGuiWindow*,ImGuiID,ImGuiCond)", - "stname": "" - } - ], - "igSetWindowFocus": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igSetWindowFocus", - "defaults": {}, - "funcname": "SetWindowFocus", - "location": "imgui:379", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowFocus_Nil", - "ret": "void", - "signature": "()", - "stname": "" - }, - { - "args": "(const char* name)", - "argsT": [ - { - "name": "name", - "type": "const char*" - } - ], - "argsoriginal": "(const char* name)", - "call_args": "(name)", - "cimguiname": "igSetWindowFocus", - "defaults": {}, - "funcname": "SetWindowFocus", - "location": "imgui:384", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowFocus_Str", - "ret": "void", - "signature": "(const char*)", - "stname": "" - } - ], - "igSetWindowFontScale": [ - { - "args": "(float scale)", - "argsT": [ - { - "name": "scale", - "type": "float" - } - ], - "argsoriginal": "(float scale)", - "call_args": "(scale)", - "cimguiname": "igSetWindowFontScale", - "defaults": {}, - "funcname": "SetWindowFontScale", - "location": "imgui:380", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowFontScale", - "ret": "void", - "signature": "(float)", - "stname": "" - } - ], - "igSetWindowHitTestHole": [ - { - "args": "(ImGuiWindow* window,const ImVec2 pos,const ImVec2 size)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "pos", - "type": "const ImVec2" - }, - { - "name": "size", - "type": "const ImVec2" - } - ], - "argsoriginal": "(ImGuiWindow* window,const ImVec2& pos,const ImVec2& size)", - "call_args": "(window,pos,size)", - "cimguiname": "igSetWindowHitTestHole", - "defaults": {}, - "funcname": "SetWindowHitTestHole", - "location": "imgui_internal:2944", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowHitTestHole", - "ret": "void", - "signature": "(ImGuiWindow*,const ImVec2,const ImVec2)", - "stname": "" - } - ], - "igSetWindowPos": [ - { - "args": "(const ImVec2 pos,ImGuiCond cond)", - "argsT": [ - { - "name": "pos", - "type": "const ImVec2" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(const ImVec2& pos,ImGuiCond cond=0)", - "call_args": "(pos,cond)", - "cimguiname": "igSetWindowPos", - "defaults": { - "cond": "0" - }, - "funcname": "SetWindowPos", - "location": "imgui:376", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowPos_Vec2", - "ret": "void", - "signature": "(const ImVec2,ImGuiCond)", - "stname": "" - }, - { - "args": "(const char* name,const ImVec2 pos,ImGuiCond cond)", - "argsT": [ - { - "name": "name", - "type": "const char*" - }, - { - "name": "pos", - "type": "const ImVec2" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(const char* name,const ImVec2& pos,ImGuiCond cond=0)", - "call_args": "(name,pos,cond)", - "cimguiname": "igSetWindowPos", - "defaults": { - "cond": "0" - }, - "funcname": "SetWindowPos", - "location": "imgui:381", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowPos_Str", - "ret": "void", - "signature": "(const char*,const ImVec2,ImGuiCond)", - "stname": "" - }, - { - "args": "(ImGuiWindow* window,const ImVec2 pos,ImGuiCond cond)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "pos", - "type": "const ImVec2" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(ImGuiWindow* window,const ImVec2& pos,ImGuiCond cond=0)", - "call_args": "(window,pos,cond)", - "cimguiname": "igSetWindowPos", - "defaults": { - "cond": "0" - }, - "funcname": "SetWindowPos", - "location": "imgui_internal:2941", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowPos_WindowPtr", - "ret": "void", - "signature": "(ImGuiWindow*,const ImVec2,ImGuiCond)", - "stname": "" - } - ], - "igSetWindowSize": [ - { - "args": "(const ImVec2 size,ImGuiCond cond)", - "argsT": [ - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(const ImVec2& size,ImGuiCond cond=0)", - "call_args": "(size,cond)", - "cimguiname": "igSetWindowSize", - "defaults": { - "cond": "0" - }, - "funcname": "SetWindowSize", - "location": "imgui:377", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowSize_Vec2", - "ret": "void", - "signature": "(const ImVec2,ImGuiCond)", - "stname": "" - }, - { - "args": "(const char* name,const ImVec2 size,ImGuiCond cond)", - "argsT": [ - { - "name": "name", - "type": "const char*" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(const char* name,const ImVec2& size,ImGuiCond cond=0)", - "call_args": "(name,size,cond)", - "cimguiname": "igSetWindowSize", - "defaults": { - "cond": "0" - }, - "funcname": "SetWindowSize", - "location": "imgui:382", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowSize_Str", - "ret": "void", - "signature": "(const char*,const ImVec2,ImGuiCond)", - "stname": "" - }, - { - "args": "(ImGuiWindow* window,const ImVec2 size,ImGuiCond cond)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "cond", - "type": "ImGuiCond" - } - ], - "argsoriginal": "(ImGuiWindow* window,const ImVec2& size,ImGuiCond cond=0)", - "call_args": "(window,size,cond)", - "cimguiname": "igSetWindowSize", - "defaults": { - "cond": "0" - }, - "funcname": "SetWindowSize", - "location": "imgui_internal:2942", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowSize_WindowPtr", - "ret": "void", - "signature": "(ImGuiWindow*,const ImVec2,ImGuiCond)", - "stname": "" - } - ], - "igSetWindowViewport": [ - { - "args": "(ImGuiWindow* window,ImGuiViewportP* viewport)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "viewport", - "type": "ImGuiViewportP*" - } - ], - "argsoriginal": "(ImGuiWindow* window,ImGuiViewportP* viewport)", - "call_args": "(window,viewport)", - "cimguiname": "igSetWindowViewport", - "defaults": {}, - "funcname": "SetWindowViewport", - "location": "imgui_internal:2984", - "namespace": "ImGui", - "ov_cimguiname": "igSetWindowViewport", - "ret": "void", - "signature": "(ImGuiWindow*,ImGuiViewportP*)", - "stname": "" - } - ], - "igShadeVertsLinearColorGradientKeepAlpha": [ - { - "args": "(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,ImVec2 gradient_p0,ImVec2 gradient_p1,ImU32 col0,ImU32 col1)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "vert_start_idx", - "type": "int" - }, - { - "name": "vert_end_idx", - "type": "int" - }, - { - "name": "gradient_p0", - "type": "ImVec2" - }, - { - "name": "gradient_p1", - "type": "ImVec2" - }, - { - "name": "col0", - "type": "ImU32" - }, - { - "name": "col1", - "type": "ImU32" - } - ], - "argsoriginal": "(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,ImVec2 gradient_p0,ImVec2 gradient_p1,ImU32 col0,ImU32 col1)", - "call_args": "(draw_list,vert_start_idx,vert_end_idx,gradient_p0,gradient_p1,col0,col1)", - "cimguiname": "igShadeVertsLinearColorGradientKeepAlpha", - "defaults": {}, - "funcname": "ShadeVertsLinearColorGradientKeepAlpha", - "location": "imgui_internal:3409", - "namespace": "ImGui", - "ov_cimguiname": "igShadeVertsLinearColorGradientKeepAlpha", - "ret": "void", - "signature": "(ImDrawList*,int,int,ImVec2,ImVec2,ImU32,ImU32)", - "stname": "" - } - ], - "igShadeVertsLinearUV": [ - { - "args": "(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,bool clamp)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "vert_start_idx", - "type": "int" - }, - { - "name": "vert_end_idx", - "type": "int" - }, - { - "name": "a", - "type": "const ImVec2" - }, - { - "name": "b", - "type": "const ImVec2" - }, - { - "name": "uv_a", - "type": "const ImVec2" - }, - { - "name": "uv_b", - "type": "const ImVec2" - }, - { - "name": "clamp", - "type": "bool" - } - ], - "argsoriginal": "(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,bool clamp)", - "call_args": "(draw_list,vert_start_idx,vert_end_idx,a,b,uv_a,uv_b,clamp)", - "cimguiname": "igShadeVertsLinearUV", - "defaults": {}, - "funcname": "ShadeVertsLinearUV", - "location": "imgui_internal:3410", - "namespace": "ImGui", - "ov_cimguiname": "igShadeVertsLinearUV", - "ret": "void", - "signature": "(ImDrawList*,int,int,const ImVec2,const ImVec2,const ImVec2,const ImVec2,bool)", - "stname": "" - } - ], - "igShortcut": [ - { - "args": "(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags)", - "argsT": [ - { - "name": "key_chord", - "type": "ImGuiKeyChord" - }, - { - "name": "owner_id", - "type": "ImGuiID" - }, - { - "name": "flags", - "type": "ImGuiInputFlags" - } - ], - "argsoriginal": "(ImGuiKeyChord key_chord,ImGuiID owner_id=0,ImGuiInputFlags flags=0)", - "call_args": "(key_chord,owner_id,flags)", - "cimguiname": "igShortcut", - "defaults": { - "flags": "0", - "owner_id": "0" - }, - "funcname": "Shortcut", - "location": "imgui_internal:3166", - "namespace": "ImGui", - "ov_cimguiname": "igShortcut", - "ret": "bool", - "signature": "(ImGuiKeyChord,ImGuiID,ImGuiInputFlags)", - "stname": "" - } - ], - "igShowAboutWindow": [ - { - "args": "(bool* p_open)", - "argsT": [ - { - "name": "p_open", - "type": "bool*" - } - ], - "argsoriginal": "(bool* p_open=((void*)0))", - "call_args": "(p_open)", - "cimguiname": "igShowAboutWindow", - "defaults": { - "p_open": "NULL" - }, - "funcname": "ShowAboutWindow", - "location": "imgui:312", - "namespace": "ImGui", - "ov_cimguiname": "igShowAboutWindow", - "ret": "void", - "signature": "(bool*)", - "stname": "" - } - ], - "igShowDebugLogWindow": [ - { - "args": "(bool* p_open)", - "argsT": [ - { - "name": "p_open", - "type": "bool*" - } - ], - "argsoriginal": "(bool* p_open=((void*)0))", - "call_args": "(p_open)", - "cimguiname": "igShowDebugLogWindow", - "defaults": { - "p_open": "NULL" - }, - "funcname": "ShowDebugLogWindow", - "location": "imgui:310", - "namespace": "ImGui", - "ov_cimguiname": "igShowDebugLogWindow", - "ret": "void", - "signature": "(bool*)", - "stname": "" - } - ], - "igShowDemoWindow": [ - { - "args": "(bool* p_open)", - "argsT": [ - { - "name": "p_open", - "type": "bool*" - } - ], - "argsoriginal": "(bool* p_open=((void*)0))", - "call_args": "(p_open)", - "cimguiname": "igShowDemoWindow", - "defaults": { - "p_open": "NULL" - }, - "funcname": "ShowDemoWindow", - "location": "imgui:308", - "namespace": "ImGui", - "ov_cimguiname": "igShowDemoWindow", - "ret": "void", - "signature": "(bool*)", - "stname": "" - } - ], - "igShowFontAtlas": [ - { - "args": "(ImFontAtlas* atlas)", - "argsT": [ - { - "name": "atlas", - "type": "ImFontAtlas*" - } - ], - "argsoriginal": "(ImFontAtlas* atlas)", - "call_args": "(atlas)", - "cimguiname": "igShowFontAtlas", - "defaults": {}, - "funcname": "ShowFontAtlas", - "location": "imgui_internal:3430", - "namespace": "ImGui", - "ov_cimguiname": "igShowFontAtlas", - "ret": "void", - "signature": "(ImFontAtlas*)", - "stname": "" - } - ], - "igShowFontSelector": [ - { - "args": "(const char* label)", - "argsT": [ - { - "name": "label", - "type": "const char*" - } - ], - "argsoriginal": "(const char* label)", - "call_args": "(label)", - "cimguiname": "igShowFontSelector", - "defaults": {}, - "funcname": "ShowFontSelector", - "location": "imgui:315", - "namespace": "ImGui", - "ov_cimguiname": "igShowFontSelector", - "ret": "void", - "signature": "(const char*)", - "stname": "" - } - ], - "igShowMetricsWindow": [ - { - "args": "(bool* p_open)", - "argsT": [ - { - "name": "p_open", - "type": "bool*" - } - ], - "argsoriginal": "(bool* p_open=((void*)0))", - "call_args": "(p_open)", - "cimguiname": "igShowMetricsWindow", - "defaults": { - "p_open": "NULL" - }, - "funcname": "ShowMetricsWindow", - "location": "imgui:309", - "namespace": "ImGui", - "ov_cimguiname": "igShowMetricsWindow", - "ret": "void", - "signature": "(bool*)", - "stname": "" - } - ], - "igShowStackToolWindow": [ - { - "args": "(bool* p_open)", - "argsT": [ - { - "name": "p_open", - "type": "bool*" - } - ], - "argsoriginal": "(bool* p_open=((void*)0))", - "call_args": "(p_open)", - "cimguiname": "igShowStackToolWindow", - "defaults": { - "p_open": "NULL" - }, - "funcname": "ShowStackToolWindow", - "location": "imgui:311", - "namespace": "ImGui", - "ov_cimguiname": "igShowStackToolWindow", - "ret": "void", - "signature": "(bool*)", - "stname": "" - } - ], - "igShowStyleEditor": [ - { - "args": "(ImGuiStyle* ref)", - "argsT": [ - { - "name": "ref", - "type": "ImGuiStyle*" - } - ], - "argsoriginal": "(ImGuiStyle* ref=((void*)0))", - "call_args": "(ref)", - "cimguiname": "igShowStyleEditor", - "defaults": { - "ref": "NULL" - }, - "funcname": "ShowStyleEditor", - "location": "imgui:313", - "namespace": "ImGui", - "ov_cimguiname": "igShowStyleEditor", - "ret": "void", - "signature": "(ImGuiStyle*)", - "stname": "" - } - ], - "igShowStyleSelector": [ - { - "args": "(const char* label)", - "argsT": [ - { - "name": "label", - "type": "const char*" - } - ], - "argsoriginal": "(const char* label)", - "call_args": "(label)", - "cimguiname": "igShowStyleSelector", - "defaults": {}, - "funcname": "ShowStyleSelector", - "location": "imgui:314", - "namespace": "ImGui", - "ov_cimguiname": "igShowStyleSelector", - "ret": "bool", - "signature": "(const char*)", - "stname": "" - } - ], - "igShowUserGuide": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igShowUserGuide", - "defaults": {}, - "funcname": "ShowUserGuide", - "location": "imgui:316", - "namespace": "ImGui", - "ov_cimguiname": "igShowUserGuide", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igShrinkWidths": [ - { - "args": "(ImGuiShrinkWidthItem* items,int count,float width_excess)", - "argsT": [ - { - "name": "items", - "type": "ImGuiShrinkWidthItem*" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "width_excess", - "type": "float" - } - ], - "argsoriginal": "(ImGuiShrinkWidthItem* items,int count,float width_excess)", - "call_args": "(items,count,width_excess)", - "cimguiname": "igShrinkWidths", - "defaults": {}, - "funcname": "ShrinkWidths", - "location": "imgui_internal:3046", - "namespace": "ImGui", - "ov_cimguiname": "igShrinkWidths", - "ret": "void", - "signature": "(ImGuiShrinkWidthItem*,int,float)", - "stname": "" - } - ], - "igShutdown": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igShutdown", - "defaults": {}, - "funcname": "Shutdown", - "location": "imgui_internal:2965", - "namespace": "ImGui", - "ov_cimguiname": "igShutdown", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igSliderAngle": [ - { - "args": "(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v_rad", - "type": "float*" - }, - { - "name": "v_degrees_min", - "type": "float" - }, - { - "name": "v_degrees_max", - "type": "float" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f,const char* format=\"%.0f deg\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v_rad,v_degrees_min,v_degrees_max,format,flags)", - "cimguiname": "igSliderAngle", - "defaults": { - "flags": "0", - "format": "\"%.0f deg\"", - "v_degrees_max": "+360.0f", - "v_degrees_min": "-360.0f" - }, - "funcname": "SliderAngle", - "location": "imgui:570", - "namespace": "ImGui", - "ov_cimguiname": "igSliderAngle", - "ret": "bool", - "signature": "(const char*,float*,float,float,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igSliderBehavior": [ - { - "args": "(const ImRect bb,ImGuiID id,ImGuiDataType data_type,void* p_v,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags,ImRect* out_grab_bb)", - "argsT": [ - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "p_v", - "type": "void*" - }, - { - "name": "p_min", - "type": "const void*" - }, - { - "name": "p_max", - "type": "const void*" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - }, - { - "name": "out_grab_bb", - "type": "ImRect*" - } - ], - "argsoriginal": "(const ImRect& bb,ImGuiID id,ImGuiDataType data_type,void* p_v,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags,ImRect* out_grab_bb)", - "call_args": "(bb,id,data_type,p_v,p_min,p_max,format,flags,out_grab_bb)", - "cimguiname": "igSliderBehavior", - "defaults": {}, - "funcname": "SliderBehavior", - "location": "imgui_internal:3368", - "namespace": "ImGui", - "ov_cimguiname": "igSliderBehavior", - "ret": "bool", - "signature": "(const ImRect,ImGuiID,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiSliderFlags,ImRect*)", - "stname": "" - } - ], - "igSliderFloat": [ - { - "args": "(const char* label,float* v,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "float*" - }, - { - "name": "v_min", - "type": "float" - }, - { - "name": "v_max", - "type": "float" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_min,v_max,format,flags)", - "cimguiname": "igSliderFloat", - "defaults": { - "flags": "0", - "format": "\"%.3f\"" - }, - "funcname": "SliderFloat", - "location": "imgui:566", - "namespace": "ImGui", - "ov_cimguiname": "igSliderFloat", - "ret": "bool", - "signature": "(const char*,float*,float,float,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igSliderFloat2": [ - { - "args": "(const char* label,float v[2],float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "float[2]" - }, - { - "name": "v_min", - "type": "float" - }, - { - "name": "v_max", - "type": "float" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_min,v_max,format,flags)", - "cimguiname": "igSliderFloat2", - "defaults": { - "flags": "0", - "format": "\"%.3f\"" - }, - "funcname": "SliderFloat2", - "location": "imgui:567", - "namespace": "ImGui", - "ov_cimguiname": "igSliderFloat2", - "ret": "bool", - "signature": "(const char*,float[2],float,float,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igSliderFloat3": [ - { - "args": "(const char* label,float v[3],float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "float[3]" - }, - { - "name": "v_min", - "type": "float" - }, - { - "name": "v_max", - "type": "float" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_min,v_max,format,flags)", - "cimguiname": "igSliderFloat3", - "defaults": { - "flags": "0", - "format": "\"%.3f\"" - }, - "funcname": "SliderFloat3", - "location": "imgui:568", - "namespace": "ImGui", - "ov_cimguiname": "igSliderFloat3", - "ret": "bool", - "signature": "(const char*,float[3],float,float,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igSliderFloat4": [ - { - "args": "(const char* label,float v[4],float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "float[4]" - }, - { - "name": "v_min", - "type": "float" - }, - { - "name": "v_max", - "type": "float" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_min,v_max,format,flags)", - "cimguiname": "igSliderFloat4", - "defaults": { - "flags": "0", - "format": "\"%.3f\"" - }, - "funcname": "SliderFloat4", - "location": "imgui:569", - "namespace": "ImGui", - "ov_cimguiname": "igSliderFloat4", - "ret": "bool", - "signature": "(const char*,float[4],float,float,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igSliderInt": [ - { - "args": "(const char* label,int* v,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "int*" - }, - { - "name": "v_min", - "type": "int" - }, - { - "name": "v_max", - "type": "int" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_min,v_max,format,flags)", - "cimguiname": "igSliderInt", - "defaults": { - "flags": "0", - "format": "\"%d\"" - }, - "funcname": "SliderInt", - "location": "imgui:571", - "namespace": "ImGui", - "ov_cimguiname": "igSliderInt", - "ret": "bool", - "signature": "(const char*,int*,int,int,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igSliderInt2": [ - { - "args": "(const char* label,int v[2],int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "int[2]" - }, - { - "name": "v_min", - "type": "int" - }, - { - "name": "v_max", - "type": "int" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_min,v_max,format,flags)", - "cimguiname": "igSliderInt2", - "defaults": { - "flags": "0", - "format": "\"%d\"" - }, - "funcname": "SliderInt2", - "location": "imgui:572", - "namespace": "ImGui", - "ov_cimguiname": "igSliderInt2", - "ret": "bool", - "signature": "(const char*,int[2],int,int,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igSliderInt3": [ - { - "args": "(const char* label,int v[3],int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "int[3]" - }, - { - "name": "v_min", - "type": "int" - }, - { - "name": "v_max", - "type": "int" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_min,v_max,format,flags)", - "cimguiname": "igSliderInt3", - "defaults": { - "flags": "0", - "format": "\"%d\"" - }, - "funcname": "SliderInt3", - "location": "imgui:573", - "namespace": "ImGui", - "ov_cimguiname": "igSliderInt3", - "ret": "bool", - "signature": "(const char*,int[3],int,int,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igSliderInt4": [ - { - "args": "(const char* label,int v[4],int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "v", - "type": "int[4]" - }, - { - "name": "v_min", - "type": "int" - }, - { - "name": "v_max", - "type": "int" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\",ImGuiSliderFlags flags=0)", - "call_args": "(label,v,v_min,v_max,format,flags)", - "cimguiname": "igSliderInt4", - "defaults": { - "flags": "0", - "format": "\"%d\"" - }, - "funcname": "SliderInt4", - "location": "imgui:574", - "namespace": "ImGui", - "ov_cimguiname": "igSliderInt4", - "ret": "bool", - "signature": "(const char*,int[4],int,int,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igSliderScalar": [ - { - "args": "(const char* label,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "p_data", - "type": "void*" - }, - { - "name": "p_min", - "type": "const void*" - }, - { - "name": "p_max", - "type": "const void*" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format=((void*)0),ImGuiSliderFlags flags=0)", - "call_args": "(label,data_type,p_data,p_min,p_max,format,flags)", - "cimguiname": "igSliderScalar", - "defaults": { - "flags": "0", - "format": "NULL" - }, - "funcname": "SliderScalar", - "location": "imgui:575", - "namespace": "ImGui", - "ov_cimguiname": "igSliderScalar", - "ret": "bool", - "signature": "(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igSliderScalarN": [ - { - "args": "(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "p_data", - "type": "void*" - }, - { - "name": "components", - "type": "int" - }, - { - "name": "p_min", - "type": "const void*" - }, - { - "name": "p_max", - "type": "const void*" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_min,const void* p_max,const char* format=((void*)0),ImGuiSliderFlags flags=0)", - "call_args": "(label,data_type,p_data,components,p_min,p_max,format,flags)", - "cimguiname": "igSliderScalarN", - "defaults": { - "flags": "0", - "format": "NULL" - }, - "funcname": "SliderScalarN", - "location": "imgui:576", - "namespace": "ImGui", - "ov_cimguiname": "igSliderScalarN", - "ret": "bool", - "signature": "(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igSmallButton": [ - { - "args": "(const char* label)", - "argsT": [ - { - "name": "label", - "type": "const char*" - } - ], - "argsoriginal": "(const char* label)", - "call_args": "(label)", - "cimguiname": "igSmallButton", - "defaults": {}, - "funcname": "SmallButton", - "location": "imgui:510", - "namespace": "ImGui", - "ov_cimguiname": "igSmallButton", - "ret": "bool", - "signature": "(const char*)", - "stname": "" - } - ], - "igSpacing": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igSpacing", - "defaults": {}, - "funcname": "Spacing", - "location": "imgui:450", - "namespace": "ImGui", - "ov_cimguiname": "igSpacing", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igSplitterBehavior": [ - { - "args": "(const ImRect bb,ImGuiID id,ImGuiAxis axis,float* size1,float* size2,float min_size1,float min_size2,float hover_extend,float hover_visibility_delay,ImU32 bg_col)", - "argsT": [ - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "axis", - "type": "ImGuiAxis" - }, - { - "name": "size1", - "type": "float*" - }, - { - "name": "size2", - "type": "float*" - }, - { - "name": "min_size1", - "type": "float" - }, - { - "name": "min_size2", - "type": "float" - }, - { - "name": "hover_extend", - "type": "float" - }, - { - "name": "hover_visibility_delay", - "type": "float" - }, - { - "name": "bg_col", - "type": "ImU32" - } - ], - "argsoriginal": "(const ImRect& bb,ImGuiID id,ImGuiAxis axis,float* size1,float* size2,float min_size1,float min_size2,float hover_extend=0.0f,float hover_visibility_delay=0.0f,ImU32 bg_col=0)", - "call_args": "(bb,id,axis,size1,size2,min_size1,min_size2,hover_extend,hover_visibility_delay,bg_col)", - "cimguiname": "igSplitterBehavior", - "defaults": { - "bg_col": "0", - "hover_extend": "0.0f", - "hover_visibility_delay": "0.0f" - }, - "funcname": "SplitterBehavior", - "location": "imgui_internal:3369", - "namespace": "ImGui", - "ov_cimguiname": "igSplitterBehavior", - "ret": "bool", - "signature": "(const ImRect,ImGuiID,ImGuiAxis,float*,float*,float,float,float,float,ImU32)", - "stname": "" - } - ], - "igStartMouseMovingWindow": [ - { - "args": "(ImGuiWindow* window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igStartMouseMovingWindow", - "defaults": {}, - "funcname": "StartMouseMovingWindow", - "location": "imgui_internal:2970", - "namespace": "ImGui", - "ov_cimguiname": "igStartMouseMovingWindow", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igStartMouseMovingWindowOrNode": [ - { - "args": "(ImGuiWindow* window,ImGuiDockNode* node,bool undock_floating_node)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "node", - "type": "ImGuiDockNode*" - }, - { - "name": "undock_floating_node", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiWindow* window,ImGuiDockNode* node,bool undock_floating_node)", - "call_args": "(window,node,undock_floating_node)", - "cimguiname": "igStartMouseMovingWindowOrNode", - "defaults": {}, - "funcname": "StartMouseMovingWindowOrNode", - "location": "imgui_internal:2971", - "namespace": "ImGui", - "ov_cimguiname": "igStartMouseMovingWindowOrNode", - "ret": "void", - "signature": "(ImGuiWindow*,ImGuiDockNode*,bool)", - "stname": "" - } - ], - "igStyleColorsClassic": [ - { - "args": "(ImGuiStyle* dst)", - "argsT": [ - { - "name": "dst", - "type": "ImGuiStyle*" - } - ], - "argsoriginal": "(ImGuiStyle* dst=((void*)0))", - "call_args": "(dst)", - "cimguiname": "igStyleColorsClassic", - "defaults": { - "dst": "NULL" - }, - "funcname": "StyleColorsClassic", - "location": "imgui:322", - "namespace": "ImGui", - "ov_cimguiname": "igStyleColorsClassic", - "ret": "void", - "signature": "(ImGuiStyle*)", - "stname": "" - } - ], - "igStyleColorsDark": [ - { - "args": "(ImGuiStyle* dst)", - "argsT": [ - { - "name": "dst", - "type": "ImGuiStyle*" - } - ], - "argsoriginal": "(ImGuiStyle* dst=((void*)0))", - "call_args": "(dst)", - "cimguiname": "igStyleColorsDark", - "defaults": { - "dst": "NULL" - }, - "funcname": "StyleColorsDark", - "location": "imgui:320", - "namespace": "ImGui", - "ov_cimguiname": "igStyleColorsDark", - "ret": "void", - "signature": "(ImGuiStyle*)", - "stname": "" - } - ], - "igStyleColorsLight": [ - { - "args": "(ImGuiStyle* dst)", - "argsT": [ - { - "name": "dst", - "type": "ImGuiStyle*" - } - ], - "argsoriginal": "(ImGuiStyle* dst=((void*)0))", - "call_args": "(dst)", - "cimguiname": "igStyleColorsLight", - "defaults": { - "dst": "NULL" - }, - "funcname": "StyleColorsLight", - "location": "imgui:321", - "namespace": "ImGui", - "ov_cimguiname": "igStyleColorsLight", - "ret": "void", - "signature": "(ImGuiStyle*)", - "stname": "" - } - ], - "igTabBarAddTab": [ - { - "args": "(ImGuiTabBar* tab_bar,ImGuiTabItemFlags tab_flags,ImGuiWindow* window)", - "argsT": [ - { - "name": "tab_bar", - "type": "ImGuiTabBar*" - }, - { - "name": "tab_flags", - "type": "ImGuiTabItemFlags" - }, - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiTabBar* tab_bar,ImGuiTabItemFlags tab_flags,ImGuiWindow* window)", - "call_args": "(tab_bar,tab_flags,window)", - "cimguiname": "igTabBarAddTab", - "defaults": {}, - "funcname": "TabBarAddTab", - "location": "imgui_internal:3311", - "namespace": "ImGui", - "ov_cimguiname": "igTabBarAddTab", - "ret": "void", - "signature": "(ImGuiTabBar*,ImGuiTabItemFlags,ImGuiWindow*)", - "stname": "" - } - ], - "igTabBarCloseTab": [ - { - "args": "(ImGuiTabBar* tab_bar,ImGuiTabItem* tab)", - "argsT": [ - { - "name": "tab_bar", - "type": "ImGuiTabBar*" - }, - { - "name": "tab", - "type": "ImGuiTabItem*" - } - ], - "argsoriginal": "(ImGuiTabBar* tab_bar,ImGuiTabItem* tab)", - "call_args": "(tab_bar,tab)", - "cimguiname": "igTabBarCloseTab", - "defaults": {}, - "funcname": "TabBarCloseTab", - "location": "imgui_internal:3313", - "namespace": "ImGui", - "ov_cimguiname": "igTabBarCloseTab", - "ret": "void", - "signature": "(ImGuiTabBar*,ImGuiTabItem*)", - "stname": "" - } - ], - "igTabBarFindMostRecentlySelectedTabForActiveWindow": [ - { - "args": "(ImGuiTabBar* tab_bar)", - "argsT": [ - { - "name": "tab_bar", - "type": "ImGuiTabBar*" - } - ], - "argsoriginal": "(ImGuiTabBar* tab_bar)", - "call_args": "(tab_bar)", - "cimguiname": "igTabBarFindMostRecentlySelectedTabForActiveWindow", - "defaults": {}, - "funcname": "TabBarFindMostRecentlySelectedTabForActiveWindow", - "location": "imgui_internal:3310", - "namespace": "ImGui", - "ov_cimguiname": "igTabBarFindMostRecentlySelectedTabForActiveWindow", - "ret": "ImGuiTabItem*", - "signature": "(ImGuiTabBar*)", - "stname": "" - } - ], - "igTabBarFindTabByID": [ - { - "args": "(ImGuiTabBar* tab_bar,ImGuiID tab_id)", - "argsT": [ - { - "name": "tab_bar", - "type": "ImGuiTabBar*" - }, - { - "name": "tab_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiTabBar* tab_bar,ImGuiID tab_id)", - "call_args": "(tab_bar,tab_id)", - "cimguiname": "igTabBarFindTabByID", - "defaults": {}, - "funcname": "TabBarFindTabByID", - "location": "imgui_internal:3309", - "namespace": "ImGui", - "ov_cimguiname": "igTabBarFindTabByID", - "ret": "ImGuiTabItem*", - "signature": "(ImGuiTabBar*,ImGuiID)", - "stname": "" - } - ], - "igTabBarProcessReorder": [ - { - "args": "(ImGuiTabBar* tab_bar)", - "argsT": [ - { - "name": "tab_bar", - "type": "ImGuiTabBar*" - } - ], - "argsoriginal": "(ImGuiTabBar* tab_bar)", - "call_args": "(tab_bar)", - "cimguiname": "igTabBarProcessReorder", - "defaults": {}, - "funcname": "TabBarProcessReorder", - "location": "imgui_internal:3316", - "namespace": "ImGui", - "ov_cimguiname": "igTabBarProcessReorder", - "ret": "bool", - "signature": "(ImGuiTabBar*)", - "stname": "" - } - ], - "igTabBarQueueReorder": [ - { - "args": "(ImGuiTabBar* tab_bar,const ImGuiTabItem* tab,int offset)", - "argsT": [ - { - "name": "tab_bar", - "type": "ImGuiTabBar*" - }, - { - "name": "tab", - "type": "const ImGuiTabItem*" - }, - { - "name": "offset", - "type": "int" - } - ], - "argsoriginal": "(ImGuiTabBar* tab_bar,const ImGuiTabItem* tab,int offset)", - "call_args": "(tab_bar,tab,offset)", - "cimguiname": "igTabBarQueueReorder", - "defaults": {}, - "funcname": "TabBarQueueReorder", - "location": "imgui_internal:3314", - "namespace": "ImGui", - "ov_cimguiname": "igTabBarQueueReorder", - "ret": "void", - "signature": "(ImGuiTabBar*,const ImGuiTabItem*,int)", - "stname": "" - } - ], - "igTabBarQueueReorderFromMousePos": [ - { - "args": "(ImGuiTabBar* tab_bar,const ImGuiTabItem* tab,ImVec2 mouse_pos)", - "argsT": [ - { - "name": "tab_bar", - "type": "ImGuiTabBar*" - }, - { - "name": "tab", - "type": "const ImGuiTabItem*" - }, - { - "name": "mouse_pos", - "type": "ImVec2" - } - ], - "argsoriginal": "(ImGuiTabBar* tab_bar,const ImGuiTabItem* tab,ImVec2 mouse_pos)", - "call_args": "(tab_bar,tab,mouse_pos)", - "cimguiname": "igTabBarQueueReorderFromMousePos", - "defaults": {}, - "funcname": "TabBarQueueReorderFromMousePos", - "location": "imgui_internal:3315", - "namespace": "ImGui", - "ov_cimguiname": "igTabBarQueueReorderFromMousePos", - "ret": "void", - "signature": "(ImGuiTabBar*,const ImGuiTabItem*,ImVec2)", - "stname": "" - } - ], - "igTabBarRemoveTab": [ - { - "args": "(ImGuiTabBar* tab_bar,ImGuiID tab_id)", - "argsT": [ - { - "name": "tab_bar", - "type": "ImGuiTabBar*" - }, - { - "name": "tab_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiTabBar* tab_bar,ImGuiID tab_id)", - "call_args": "(tab_bar,tab_id)", - "cimguiname": "igTabBarRemoveTab", - "defaults": {}, - "funcname": "TabBarRemoveTab", - "location": "imgui_internal:3312", - "namespace": "ImGui", - "ov_cimguiname": "igTabBarRemoveTab", - "ret": "void", - "signature": "(ImGuiTabBar*,ImGuiID)", - "stname": "" - } - ], - "igTabItemBackground": [ - { - "args": "(ImDrawList* draw_list,const ImRect bb,ImGuiTabItemFlags flags,ImU32 col)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "flags", - "type": "ImGuiTabItemFlags" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "argsoriginal": "(ImDrawList* draw_list,const ImRect& bb,ImGuiTabItemFlags flags,ImU32 col)", - "call_args": "(draw_list,bb,flags,col)", - "cimguiname": "igTabItemBackground", - "defaults": {}, - "funcname": "TabItemBackground", - "location": "imgui_internal:3320", - "namespace": "ImGui", - "ov_cimguiname": "igTabItemBackground", - "ret": "void", - "signature": "(ImDrawList*,const ImRect,ImGuiTabItemFlags,ImU32)", - "stname": "" - } - ], - "igTabItemButton": [ - { - "args": "(const char* label,ImGuiTabItemFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiTabItemFlags" - } - ], - "argsoriginal": "(const char* label,ImGuiTabItemFlags flags=0)", - "call_args": "(label,flags)", - "cimguiname": "igTabItemButton", - "defaults": { - "flags": "0" - }, - "funcname": "TabItemButton", - "location": "imgui:799", - "namespace": "ImGui", - "ov_cimguiname": "igTabItemButton", - "ret": "bool", - "signature": "(const char*,ImGuiTabItemFlags)", - "stname": "" - } - ], - "igTabItemCalcSize": [ - { - "args": "(ImVec2 *pOut,const char* label,bool has_close_button_or_unsaved_marker)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "label", - "type": "const char*" - }, - { - "name": "has_close_button_or_unsaved_marker", - "type": "bool" - } - ], - "argsoriginal": "(const char* label,bool has_close_button_or_unsaved_marker)", - "call_args": "(label,has_close_button_or_unsaved_marker)", - "cimguiname": "igTabItemCalcSize", - "defaults": {}, - "funcname": "TabItemCalcSize", - "location": "imgui_internal:3318", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igTabItemCalcSize_Str", - "ret": "void", - "signature": "(const char*,bool)", - "stname": "" - }, - { - "args": "(ImVec2 *pOut,ImGuiWindow* window)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window)", - "call_args": "(window)", - "cimguiname": "igTabItemCalcSize", - "defaults": {}, - "funcname": "TabItemCalcSize", - "location": "imgui_internal:3319", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igTabItemCalcSize_WindowPtr", - "ret": "void", - "signature": "(ImGuiWindow*)", - "stname": "" - } - ], - "igTabItemEx": [ - { - "args": "(ImGuiTabBar* tab_bar,const char* label,bool* p_open,ImGuiTabItemFlags flags,ImGuiWindow* docked_window)", - "argsT": [ - { - "name": "tab_bar", - "type": "ImGuiTabBar*" - }, - { - "name": "label", - "type": "const char*" - }, - { - "name": "p_open", - "type": "bool*" - }, - { - "name": "flags", - "type": "ImGuiTabItemFlags" - }, - { - "name": "docked_window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiTabBar* tab_bar,const char* label,bool* p_open,ImGuiTabItemFlags flags,ImGuiWindow* docked_window)", - "call_args": "(tab_bar,label,p_open,flags,docked_window)", - "cimguiname": "igTabItemEx", - "defaults": {}, - "funcname": "TabItemEx", - "location": "imgui_internal:3317", - "namespace": "ImGui", - "ov_cimguiname": "igTabItemEx", - "ret": "bool", - "signature": "(ImGuiTabBar*,const char*,bool*,ImGuiTabItemFlags,ImGuiWindow*)", - "stname": "" - } - ], - "igTabItemLabelAndCloseButton": [ - { - "args": "(ImDrawList* draw_list,const ImRect bb,ImGuiTabItemFlags flags,ImVec2 frame_padding,const char* label,ImGuiID tab_id,ImGuiID close_button_id,bool is_contents_visible,bool* out_just_closed,bool* out_text_clipped)", - "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "flags", - "type": "ImGuiTabItemFlags" - }, - { - "name": "frame_padding", - "type": "ImVec2" - }, - { - "name": "label", - "type": "const char*" - }, - { - "name": "tab_id", - "type": "ImGuiID" - }, - { - "name": "close_button_id", - "type": "ImGuiID" - }, - { - "name": "is_contents_visible", - "type": "bool" - }, - { - "name": "out_just_closed", - "type": "bool*" - }, - { - "name": "out_text_clipped", - "type": "bool*" - } - ], - "argsoriginal": "(ImDrawList* draw_list,const ImRect& bb,ImGuiTabItemFlags flags,ImVec2 frame_padding,const char* label,ImGuiID tab_id,ImGuiID close_button_id,bool is_contents_visible,bool* out_just_closed,bool* out_text_clipped)", - "call_args": "(draw_list,bb,flags,frame_padding,label,tab_id,close_button_id,is_contents_visible,out_just_closed,out_text_clipped)", - "cimguiname": "igTabItemLabelAndCloseButton", - "defaults": {}, - "funcname": "TabItemLabelAndCloseButton", - "location": "imgui_internal:3321", - "namespace": "ImGui", - "ov_cimguiname": "igTabItemLabelAndCloseButton", - "ret": "void", - "signature": "(ImDrawList*,const ImRect,ImGuiTabItemFlags,ImVec2,const char*,ImGuiID,ImGuiID,bool,bool*,bool*)", - "stname": "" - } - ], - "igTableBeginApplyRequests": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableBeginApplyRequests", - "defaults": {}, - "funcname": "TableBeginApplyRequests", - "location": "imgui_internal:3268", - "namespace": "ImGui", - "ov_cimguiname": "igTableBeginApplyRequests", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableBeginCell": [ - { - "args": "(ImGuiTable* table,int column_n)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - }, - { - "name": "column_n", - "type": "int" - } - ], - "argsoriginal": "(ImGuiTable* table,int column_n)", - "call_args": "(table,column_n)", - "cimguiname": "igTableBeginCell", - "defaults": {}, - "funcname": "TableBeginCell", - "location": "imgui_internal:3285", - "namespace": "ImGui", - "ov_cimguiname": "igTableBeginCell", - "ret": "void", - "signature": "(ImGuiTable*,int)", - "stname": "" - } - ], - "igTableBeginContextMenuPopup": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableBeginContextMenuPopup", - "defaults": {}, - "funcname": "TableBeginContextMenuPopup", - "location": "imgui_internal:3275", - "namespace": "ImGui", - "ov_cimguiname": "igTableBeginContextMenuPopup", - "ret": "bool", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableBeginInitMemory": [ - { - "args": "(ImGuiTable* table,int columns_count)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - }, - { - "name": "columns_count", - "type": "int" - } - ], - "argsoriginal": "(ImGuiTable* table,int columns_count)", - "call_args": "(table,columns_count)", - "cimguiname": "igTableBeginInitMemory", - "defaults": {}, - "funcname": "TableBeginInitMemory", - "location": "imgui_internal:3267", - "namespace": "ImGui", - "ov_cimguiname": "igTableBeginInitMemory", - "ret": "void", - "signature": "(ImGuiTable*,int)", - "stname": "" - } - ], - "igTableBeginRow": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableBeginRow", - "defaults": {}, - "funcname": "TableBeginRow", - "location": "imgui_internal:3283", - "namespace": "ImGui", - "ov_cimguiname": "igTableBeginRow", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableDrawBorders": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableDrawBorders", - "defaults": {}, - "funcname": "TableDrawBorders", - "location": "imgui_internal:3273", - "namespace": "ImGui", - "ov_cimguiname": "igTableDrawBorders", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableDrawContextMenu": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableDrawContextMenu", - "defaults": {}, - "funcname": "TableDrawContextMenu", - "location": "imgui_internal:3274", - "namespace": "ImGui", - "ov_cimguiname": "igTableDrawContextMenu", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableEndCell": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableEndCell", - "defaults": {}, - "funcname": "TableEndCell", - "location": "imgui_internal:3286", - "namespace": "ImGui", - "ov_cimguiname": "igTableEndCell", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableEndRow": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableEndRow", - "defaults": {}, - "funcname": "TableEndRow", - "location": "imgui_internal:3284", - "namespace": "ImGui", - "ov_cimguiname": "igTableEndRow", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableFindByID": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igTableFindByID", - "defaults": {}, - "funcname": "TableFindByID", - "location": "imgui_internal:3265", - "namespace": "ImGui", - "ov_cimguiname": "igTableFindByID", - "ret": "ImGuiTable*", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igTableFixColumnSortDirection": [ - { - "args": "(ImGuiTable* table,ImGuiTableColumn* column)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - }, - { - "name": "column", - "type": "ImGuiTableColumn*" - } - ], - "argsoriginal": "(ImGuiTable* table,ImGuiTableColumn* column)", - "call_args": "(table,column)", - "cimguiname": "igTableFixColumnSortDirection", - "defaults": {}, - "funcname": "TableFixColumnSortDirection", - "location": "imgui_internal:3281", - "namespace": "ImGui", - "ov_cimguiname": "igTableFixColumnSortDirection", - "ret": "void", - "signature": "(ImGuiTable*,ImGuiTableColumn*)", - "stname": "" - } - ], - "igTableGcCompactSettings": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igTableGcCompactSettings", - "defaults": {}, - "funcname": "TableGcCompactSettings", - "location": "imgui_internal:3296", - "namespace": "ImGui", - "ov_cimguiname": "igTableGcCompactSettings", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igTableGcCompactTransientBuffers": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableGcCompactTransientBuffers", - "defaults": {}, - "funcname": "TableGcCompactTransientBuffers", - "location": "imgui_internal:3294", - "namespace": "ImGui", - "ov_cimguiname": "igTableGcCompactTransientBuffers_TablePtr", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - }, - { - "args": "(ImGuiTableTempData* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTableTempData*" - } - ], - "argsoriginal": "(ImGuiTableTempData* table)", - "call_args": "(table)", - "cimguiname": "igTableGcCompactTransientBuffers", - "defaults": {}, - "funcname": "TableGcCompactTransientBuffers", - "location": "imgui_internal:3295", - "namespace": "ImGui", - "ov_cimguiname": "igTableGcCompactTransientBuffers_TableTempDataPtr", - "ret": "void", - "signature": "(ImGuiTableTempData*)", - "stname": "" - } - ], - "igTableGetBoundSettings": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableGetBoundSettings", - "defaults": {}, - "funcname": "TableGetBoundSettings", - "location": "imgui_internal:3302", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetBoundSettings", - "ret": "ImGuiTableSettings*", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableGetCellBgRect": [ - { - "args": "(ImRect *pOut,const ImGuiTable* table,int column_n)", - "argsT": [ - { - "name": "pOut", - "type": "ImRect*" - }, - { - "name": "table", - "type": "const ImGuiTable*" - }, - { - "name": "column_n", - "type": "int" - } - ], - "argsoriginal": "(const ImGuiTable* table,int column_n)", - "call_args": "(table,column_n)", - "cimguiname": "igTableGetCellBgRect", - "defaults": {}, - "funcname": "TableGetCellBgRect", - "location": "imgui_internal:3287", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igTableGetCellBgRect", - "ret": "void", - "signature": "(const ImGuiTable*,int)", - "stname": "" - } - ], - "igTableGetColumnCount": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igTableGetColumnCount", - "defaults": {}, - "funcname": "TableGetColumnCount", - "location": "imgui:774", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetColumnCount", - "ret": "int", - "signature": "()", - "stname": "" - } - ], - "igTableGetColumnFlags": [ - { - "args": "(int column_n)", - "argsT": [ - { - "name": "column_n", - "type": "int" - } - ], - "argsoriginal": "(int column_n=-1)", - "call_args": "(column_n)", - "cimguiname": "igTableGetColumnFlags", - "defaults": { - "column_n": "-1" - }, - "funcname": "TableGetColumnFlags", - "location": "imgui:778", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetColumnFlags", - "ret": "ImGuiTableColumnFlags", - "signature": "(int)", - "stname": "" - } - ], - "igTableGetColumnIndex": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igTableGetColumnIndex", - "defaults": {}, - "funcname": "TableGetColumnIndex", - "location": "imgui:775", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetColumnIndex", - "ret": "int", - "signature": "()", - "stname": "" - } - ], - "igTableGetColumnName": [ - { - "args": "(int column_n)", - "argsT": [ - { - "name": "column_n", - "type": "int" - } - ], - "argsoriginal": "(int column_n=-1)", - "call_args": "(column_n)", - "cimguiname": "igTableGetColumnName", - "defaults": { - "column_n": "-1" - }, - "funcname": "TableGetColumnName", - "location": "imgui:777", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetColumnName_Int", - "ret": "const char*", - "signature": "(int)", - "stname": "" - }, - { - "args": "(const ImGuiTable* table,int column_n)", - "argsT": [ - { - "name": "table", - "type": "const ImGuiTable*" - }, - { - "name": "column_n", - "type": "int" - } - ], - "argsoriginal": "(const ImGuiTable* table,int column_n)", - "call_args": "(table,column_n)", - "cimguiname": "igTableGetColumnName", - "defaults": {}, - "funcname": "TableGetColumnName", - "location": "imgui_internal:3288", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetColumnName_TablePtr", - "ret": "const char*", - "signature": "(const ImGuiTable*,int)", - "stname": "" - } - ], - "igTableGetColumnNextSortDirection": [ - { - "args": "(ImGuiTableColumn* column)", - "argsT": [ - { - "name": "column", - "type": "ImGuiTableColumn*" - } - ], - "argsoriginal": "(ImGuiTableColumn* column)", - "call_args": "(column)", - "cimguiname": "igTableGetColumnNextSortDirection", - "defaults": {}, - "funcname": "TableGetColumnNextSortDirection", - "location": "imgui_internal:3280", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetColumnNextSortDirection", - "ret": "ImGuiSortDirection", - "signature": "(ImGuiTableColumn*)", - "stname": "" - } - ], - "igTableGetColumnResizeID": [ - { - "args": "(const ImGuiTable* table,int column_n,int instance_no)", - "argsT": [ - { - "name": "table", - "type": "const ImGuiTable*" - }, - { - "name": "column_n", - "type": "int" - }, - { - "name": "instance_no", - "type": "int" - } - ], - "argsoriginal": "(const ImGuiTable* table,int column_n,int instance_no=0)", - "call_args": "(table,column_n,instance_no)", - "cimguiname": "igTableGetColumnResizeID", - "defaults": { - "instance_no": "0" - }, - "funcname": "TableGetColumnResizeID", - "location": "imgui_internal:3289", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetColumnResizeID", - "ret": "ImGuiID", - "signature": "(const ImGuiTable*,int,int)", - "stname": "" - } - ], - "igTableGetColumnWidthAuto": [ - { - "args": "(ImGuiTable* table,ImGuiTableColumn* column)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - }, - { - "name": "column", - "type": "ImGuiTableColumn*" - } - ], - "argsoriginal": "(ImGuiTable* table,ImGuiTableColumn* column)", - "call_args": "(table,column)", - "cimguiname": "igTableGetColumnWidthAuto", - "defaults": {}, - "funcname": "TableGetColumnWidthAuto", - "location": "imgui_internal:3282", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetColumnWidthAuto", - "ret": "float", - "signature": "(ImGuiTable*,ImGuiTableColumn*)", - "stname": "" - } - ], - "igTableGetHeaderRowHeight": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igTableGetHeaderRowHeight", - "defaults": {}, - "funcname": "TableGetHeaderRowHeight", - "location": "imgui_internal:3259", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetHeaderRowHeight", - "ret": "float", - "signature": "()", - "stname": "" - } - ], - "igTableGetHoveredColumn": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igTableGetHoveredColumn", - "defaults": {}, - "funcname": "TableGetHoveredColumn", - "location": "imgui_internal:3258", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetHoveredColumn", - "ret": "int", - "signature": "()", - "stname": "" - } - ], - "igTableGetInstanceData": [ - { - "args": "(ImGuiTable* table,int instance_no)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - }, - { - "name": "instance_no", - "type": "int" - } - ], - "argsoriginal": "(ImGuiTable* table,int instance_no)", - "call_args": "(table,instance_no)", - "cimguiname": "igTableGetInstanceData", - "defaults": {}, - "funcname": "TableGetInstanceData", - "location": "imgui_internal:3277", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetInstanceData", - "ret": "ImGuiTableInstanceData*", - "signature": "(ImGuiTable*,int)", - "stname": "" - } - ], - "igTableGetMaxColumnWidth": [ - { - "args": "(const ImGuiTable* table,int column_n)", - "argsT": [ - { - "name": "table", - "type": "const ImGuiTable*" - }, - { - "name": "column_n", - "type": "int" - } - ], - "argsoriginal": "(const ImGuiTable* table,int column_n)", - "call_args": "(table,column_n)", - "cimguiname": "igTableGetMaxColumnWidth", - "defaults": {}, - "funcname": "TableGetMaxColumnWidth", - "location": "imgui_internal:3290", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetMaxColumnWidth", - "ret": "float", - "signature": "(const ImGuiTable*,int)", - "stname": "" - } - ], - "igTableGetRowIndex": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igTableGetRowIndex", - "defaults": {}, - "funcname": "TableGetRowIndex", - "location": "imgui:776", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetRowIndex", - "ret": "int", - "signature": "()", - "stname": "" - } - ], - "igTableGetSortSpecs": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igTableGetSortSpecs", - "defaults": {}, - "funcname": "TableGetSortSpecs", - "location": "imgui:773", - "namespace": "ImGui", - "ov_cimguiname": "igTableGetSortSpecs", - "ret": "ImGuiTableSortSpecs*", - "signature": "()", - "stname": "" - } - ], - "igTableHeader": [ - { - "args": "(const char* label)", - "argsT": [ - { - "name": "label", - "type": "const char*" - } - ], - "argsoriginal": "(const char* label)", - "call_args": "(label)", - "cimguiname": "igTableHeader", - "defaults": {}, - "funcname": "TableHeader", - "location": "imgui:765", - "namespace": "ImGui", - "ov_cimguiname": "igTableHeader", - "ret": "void", - "signature": "(const char*)", - "stname": "" - } - ], - "igTableHeadersRow": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igTableHeadersRow", - "defaults": {}, - "funcname": "TableHeadersRow", - "location": "imgui:764", - "namespace": "ImGui", - "ov_cimguiname": "igTableHeadersRow", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igTableLoadSettings": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableLoadSettings", - "defaults": {}, - "funcname": "TableLoadSettings", - "location": "imgui_internal:3299", - "namespace": "ImGui", - "ov_cimguiname": "igTableLoadSettings", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableMergeDrawChannels": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableMergeDrawChannels", - "defaults": {}, - "funcname": "TableMergeDrawChannels", - "location": "imgui_internal:3276", - "namespace": "ImGui", - "ov_cimguiname": "igTableMergeDrawChannels", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableNextColumn": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igTableNextColumn", - "defaults": {}, - "funcname": "TableNextColumn", - "location": "imgui:751", - "namespace": "ImGui", - "ov_cimguiname": "igTableNextColumn", - "ret": "bool", - "signature": "()", - "stname": "" - } - ], - "igTableNextRow": [ - { - "args": "(ImGuiTableRowFlags row_flags,float min_row_height)", - "argsT": [ - { - "name": "row_flags", - "type": "ImGuiTableRowFlags" - }, - { - "name": "min_row_height", - "type": "float" - } - ], - "argsoriginal": "(ImGuiTableRowFlags row_flags=0,float min_row_height=0.0f)", - "call_args": "(row_flags,min_row_height)", - "cimguiname": "igTableNextRow", - "defaults": { - "min_row_height": "0.0f", - "row_flags": "0" - }, - "funcname": "TableNextRow", - "location": "imgui:750", - "namespace": "ImGui", - "ov_cimguiname": "igTableNextRow", - "ret": "void", - "signature": "(ImGuiTableRowFlags,float)", - "stname": "" - } - ], - "igTableOpenContextMenu": [ - { - "args": "(int column_n)", - "argsT": [ - { - "name": "column_n", - "type": "int" - } - ], - "argsoriginal": "(int column_n=-1)", - "call_args": "(column_n)", - "cimguiname": "igTableOpenContextMenu", - "defaults": { - "column_n": "-1" - }, - "funcname": "TableOpenContextMenu", - "location": "imgui_internal:3255", - "namespace": "ImGui", - "ov_cimguiname": "igTableOpenContextMenu", - "ret": "void", - "signature": "(int)", - "stname": "" - } - ], - "igTablePopBackgroundChannel": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igTablePopBackgroundChannel", - "defaults": {}, - "funcname": "TablePopBackgroundChannel", - "location": "imgui_internal:3261", - "namespace": "ImGui", - "ov_cimguiname": "igTablePopBackgroundChannel", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igTablePushBackgroundChannel": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igTablePushBackgroundChannel", - "defaults": {}, - "funcname": "TablePushBackgroundChannel", - "location": "imgui_internal:3260", - "namespace": "ImGui", - "ov_cimguiname": "igTablePushBackgroundChannel", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igTableRemove": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableRemove", - "defaults": {}, - "funcname": "TableRemove", - "location": "imgui_internal:3293", - "namespace": "ImGui", - "ov_cimguiname": "igTableRemove", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableResetSettings": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableResetSettings", - "defaults": {}, - "funcname": "TableResetSettings", - "location": "imgui_internal:3301", - "namespace": "ImGui", - "ov_cimguiname": "igTableResetSettings", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableSaveSettings": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableSaveSettings", - "defaults": {}, - "funcname": "TableSaveSettings", - "location": "imgui_internal:3300", - "namespace": "ImGui", - "ov_cimguiname": "igTableSaveSettings", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableSetBgColor": [ - { - "args": "(ImGuiTableBgTarget target,ImU32 color,int column_n)", - "argsT": [ - { - "name": "target", - "type": "ImGuiTableBgTarget" - }, - { - "name": "color", - "type": "ImU32" - }, - { - "name": "column_n", - "type": "int" - } - ], - "argsoriginal": "(ImGuiTableBgTarget target,ImU32 color,int column_n=-1)", - "call_args": "(target,color,column_n)", - "cimguiname": "igTableSetBgColor", - "defaults": { - "column_n": "-1" - }, - "funcname": "TableSetBgColor", - "location": "imgui:780", - "namespace": "ImGui", - "ov_cimguiname": "igTableSetBgColor", - "ret": "void", - "signature": "(ImGuiTableBgTarget,ImU32,int)", - "stname": "" - } - ], - "igTableSetColumnEnabled": [ - { - "args": "(int column_n,bool v)", - "argsT": [ - { - "name": "column_n", - "type": "int" - }, - { - "name": "v", - "type": "bool" - } - ], - "argsoriginal": "(int column_n,bool v)", - "call_args": "(column_n,v)", - "cimguiname": "igTableSetColumnEnabled", - "defaults": {}, - "funcname": "TableSetColumnEnabled", - "location": "imgui:779", - "namespace": "ImGui", - "ov_cimguiname": "igTableSetColumnEnabled", - "ret": "void", - "signature": "(int,bool)", - "stname": "" - } - ], - "igTableSetColumnIndex": [ - { - "args": "(int column_n)", - "argsT": [ - { - "name": "column_n", - "type": "int" - } - ], - "argsoriginal": "(int column_n)", - "call_args": "(column_n)", - "cimguiname": "igTableSetColumnIndex", - "defaults": {}, - "funcname": "TableSetColumnIndex", - "location": "imgui:752", - "namespace": "ImGui", - "ov_cimguiname": "igTableSetColumnIndex", - "ret": "bool", - "signature": "(int)", - "stname": "" - } - ], - "igTableSetColumnSortDirection": [ - { - "args": "(int column_n,ImGuiSortDirection sort_direction,bool append_to_sort_specs)", - "argsT": [ - { - "name": "column_n", - "type": "int" - }, - { - "name": "sort_direction", - "type": "ImGuiSortDirection" - }, - { - "name": "append_to_sort_specs", - "type": "bool" - } - ], - "argsoriginal": "(int column_n,ImGuiSortDirection sort_direction,bool append_to_sort_specs)", - "call_args": "(column_n,sort_direction,append_to_sort_specs)", - "cimguiname": "igTableSetColumnSortDirection", - "defaults": {}, - "funcname": "TableSetColumnSortDirection", - "location": "imgui_internal:3257", - "namespace": "ImGui", - "ov_cimguiname": "igTableSetColumnSortDirection", - "ret": "void", - "signature": "(int,ImGuiSortDirection,bool)", - "stname": "" - } - ], - "igTableSetColumnWidth": [ - { - "args": "(int column_n,float width)", - "argsT": [ - { - "name": "column_n", - "type": "int" - }, - { - "name": "width", - "type": "float" - } - ], - "argsoriginal": "(int column_n,float width)", - "call_args": "(column_n,width)", - "cimguiname": "igTableSetColumnWidth", - "defaults": {}, - "funcname": "TableSetColumnWidth", - "location": "imgui_internal:3256", - "namespace": "ImGui", - "ov_cimguiname": "igTableSetColumnWidth", - "ret": "void", - "signature": "(int,float)", - "stname": "" - } - ], - "igTableSetColumnWidthAutoAll": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableSetColumnWidthAutoAll", - "defaults": {}, - "funcname": "TableSetColumnWidthAutoAll", - "location": "imgui_internal:3292", - "namespace": "ImGui", - "ov_cimguiname": "igTableSetColumnWidthAutoAll", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableSetColumnWidthAutoSingle": [ - { - "args": "(ImGuiTable* table,int column_n)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - }, - { - "name": "column_n", - "type": "int" - } - ], - "argsoriginal": "(ImGuiTable* table,int column_n)", - "call_args": "(table,column_n)", - "cimguiname": "igTableSetColumnWidthAutoSingle", - "defaults": {}, - "funcname": "TableSetColumnWidthAutoSingle", - "location": "imgui_internal:3291", - "namespace": "ImGui", - "ov_cimguiname": "igTableSetColumnWidthAutoSingle", - "ret": "void", - "signature": "(ImGuiTable*,int)", - "stname": "" - } - ], - "igTableSettingsAddSettingsHandler": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igTableSettingsAddSettingsHandler", - "defaults": {}, - "funcname": "TableSettingsAddSettingsHandler", - "location": "imgui_internal:3303", - "namespace": "ImGui", - "ov_cimguiname": "igTableSettingsAddSettingsHandler", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igTableSettingsCreate": [ - { - "args": "(ImGuiID id,int columns_count)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "columns_count", - "type": "int" - } - ], - "argsoriginal": "(ImGuiID id,int columns_count)", - "call_args": "(id,columns_count)", - "cimguiname": "igTableSettingsCreate", - "defaults": {}, - "funcname": "TableSettingsCreate", - "location": "imgui_internal:3304", - "namespace": "ImGui", - "ov_cimguiname": "igTableSettingsCreate", - "ret": "ImGuiTableSettings*", - "signature": "(ImGuiID,int)", - "stname": "" - } - ], - "igTableSettingsFindByID": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igTableSettingsFindByID", - "defaults": {}, - "funcname": "TableSettingsFindByID", - "location": "imgui_internal:3305", - "namespace": "ImGui", - "ov_cimguiname": "igTableSettingsFindByID", - "ret": "ImGuiTableSettings*", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igTableSetupColumn": [ - { - "args": "(const char* label,ImGuiTableColumnFlags flags,float init_width_or_weight,ImGuiID user_id)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiTableColumnFlags" - }, - { - "name": "init_width_or_weight", - "type": "float" - }, - { - "name": "user_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(const char* label,ImGuiTableColumnFlags flags=0,float init_width_or_weight=0.0f,ImGuiID user_id=0)", - "call_args": "(label,flags,init_width_or_weight,user_id)", - "cimguiname": "igTableSetupColumn", - "defaults": { - "flags": "0", - "init_width_or_weight": "0.0f", - "user_id": "0" - }, - "funcname": "TableSetupColumn", - "location": "imgui:762", - "namespace": "ImGui", - "ov_cimguiname": "igTableSetupColumn", - "ret": "void", - "signature": "(const char*,ImGuiTableColumnFlags,float,ImGuiID)", - "stname": "" - } - ], - "igTableSetupDrawChannels": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableSetupDrawChannels", - "defaults": {}, - "funcname": "TableSetupDrawChannels", - "location": "imgui_internal:3269", - "namespace": "ImGui", - "ov_cimguiname": "igTableSetupDrawChannels", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableSetupScrollFreeze": [ - { - "args": "(int cols,int rows)", - "argsT": [ - { - "name": "cols", - "type": "int" - }, - { - "name": "rows", - "type": "int" - } - ], - "argsoriginal": "(int cols,int rows)", - "call_args": "(cols,rows)", - "cimguiname": "igTableSetupScrollFreeze", - "defaults": {}, - "funcname": "TableSetupScrollFreeze", - "location": "imgui:763", - "namespace": "ImGui", - "ov_cimguiname": "igTableSetupScrollFreeze", - "ret": "void", - "signature": "(int,int)", - "stname": "" - } - ], - "igTableSortSpecsBuild": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableSortSpecsBuild", - "defaults": {}, - "funcname": "TableSortSpecsBuild", - "location": "imgui_internal:3279", - "namespace": "ImGui", - "ov_cimguiname": "igTableSortSpecsBuild", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableSortSpecsSanitize": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableSortSpecsSanitize", - "defaults": {}, - "funcname": "TableSortSpecsSanitize", - "location": "imgui_internal:3278", - "namespace": "ImGui", - "ov_cimguiname": "igTableSortSpecsSanitize", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableUpdateBorders": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableUpdateBorders", - "defaults": {}, - "funcname": "TableUpdateBorders", - "location": "imgui_internal:3271", - "namespace": "ImGui", - "ov_cimguiname": "igTableUpdateBorders", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableUpdateColumnsWeightFromWidth": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableUpdateColumnsWeightFromWidth", - "defaults": {}, - "funcname": "TableUpdateColumnsWeightFromWidth", - "location": "imgui_internal:3272", - "namespace": "ImGui", - "ov_cimguiname": "igTableUpdateColumnsWeightFromWidth", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTableUpdateLayout": [ - { - "args": "(ImGuiTable* table)", - "argsT": [ - { - "name": "table", - "type": "ImGuiTable*" - } - ], - "argsoriginal": "(ImGuiTable* table)", - "call_args": "(table)", - "cimguiname": "igTableUpdateLayout", - "defaults": {}, - "funcname": "TableUpdateLayout", - "location": "imgui_internal:3270", - "namespace": "ImGui", - "ov_cimguiname": "igTableUpdateLayout", - "ret": "void", - "signature": "(ImGuiTable*)", - "stname": "" - } - ], - "igTempInputIsActive": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igTempInputIsActive", - "defaults": {}, - "funcname": "TempInputIsActive", - "location": "imgui_internal:3397", - "namespace": "ImGui", - "ov_cimguiname": "igTempInputIsActive", - "ret": "bool", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igTempInputScalar": [ - { - "args": "(const ImRect bb,ImGuiID id,const char* label,ImGuiDataType data_type,void* p_data,const char* format,const void* p_clamp_min,const void* p_clamp_max)", - "argsT": [ - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "label", - "type": "const char*" - }, - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "p_data", - "type": "void*" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "p_clamp_min", - "type": "const void*" - }, - { - "name": "p_clamp_max", - "type": "const void*" - } - ], - "argsoriginal": "(const ImRect& bb,ImGuiID id,const char* label,ImGuiDataType data_type,void* p_data,const char* format,const void* p_clamp_min=((void*)0),const void* p_clamp_max=((void*)0))", - "call_args": "(bb,id,label,data_type,p_data,format,p_clamp_min,p_clamp_max)", - "cimguiname": "igTempInputScalar", - "defaults": { - "p_clamp_max": "NULL", - "p_clamp_min": "NULL" - }, - "funcname": "TempInputScalar", - "location": "imgui_internal:3396", - "namespace": "ImGui", - "ov_cimguiname": "igTempInputScalar", - "ret": "bool", - "signature": "(const ImRect,ImGuiID,const char*,ImGuiDataType,void*,const char*,const void*,const void*)", - "stname": "" - } - ], - "igTempInputText": [ - { - "args": "(const ImRect bb,ImGuiID id,const char* label,char* buf,int buf_size,ImGuiInputTextFlags flags)", - "argsT": [ - { - "name": "bb", - "type": "const ImRect" - }, - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "label", - "type": "const char*" - }, - { - "name": "buf", - "type": "char*" - }, - { - "name": "buf_size", - "type": "int" - }, - { - "name": "flags", - "type": "ImGuiInputTextFlags" - } - ], - "argsoriginal": "(const ImRect& bb,ImGuiID id,const char* label,char* buf,int buf_size,ImGuiInputTextFlags flags)", - "call_args": "(bb,id,label,buf,buf_size,flags)", - "cimguiname": "igTempInputText", - "defaults": {}, - "funcname": "TempInputText", - "location": "imgui_internal:3395", - "namespace": "ImGui", - "ov_cimguiname": "igTempInputText", - "ret": "bool", - "signature": "(const ImRect,ImGuiID,const char*,char*,int,ImGuiInputTextFlags)", - "stname": "" - } - ], - "igTestKeyOwner": [ - { - "args": "(ImGuiKey key,ImGuiID owner_id)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - }, - { - "name": "owner_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiKey key,ImGuiID owner_id)", - "call_args": "(key,owner_id)", - "cimguiname": "igTestKeyOwner", - "defaults": {}, - "funcname": "TestKeyOwner", - "location": "imgui_internal:3140", - "namespace": "ImGui", - "ov_cimguiname": "igTestKeyOwner", - "ret": "bool", - "signature": "(ImGuiKey,ImGuiID)", - "stname": "" - } - ], - "igTestShortcutRouting": [ - { - "args": "(ImGuiKeyChord key_chord,ImGuiID owner_id)", - "argsT": [ - { - "name": "key_chord", - "type": "ImGuiKeyChord" - }, - { - "name": "owner_id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiKeyChord key_chord,ImGuiID owner_id)", - "call_args": "(key_chord,owner_id)", - "cimguiname": "igTestShortcutRouting", - "defaults": {}, - "funcname": "TestShortcutRouting", - "location": "imgui_internal:3168", - "namespace": "ImGui", - "ov_cimguiname": "igTestShortcutRouting", - "ret": "bool", - "signature": "(ImGuiKeyChord,ImGuiID)", - "stname": "" - } - ], - "igText": [ - { - "args": "(const char* fmt,...)", - "argsT": [ - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const char* fmt,...)", - "call_args": "(fmt,...)", - "cimguiname": "igText", - "defaults": {}, - "funcname": "Text", - "isvararg": "...)", - "location": "imgui:493", - "namespace": "ImGui", - "ov_cimguiname": "igText", - "ret": "void", - "signature": "(const char*,...)", - "stname": "" - } - ], - "igTextColored": [ - { - "args": "(const ImVec4 col,const char* fmt,...)", - "argsT": [ - { - "name": "col", - "type": "const ImVec4" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const ImVec4& col,const char* fmt,...)", - "call_args": "(col,fmt,...)", - "cimguiname": "igTextColored", - "defaults": {}, - "funcname": "TextColored", - "isvararg": "...)", - "location": "imgui:495", - "namespace": "ImGui", - "ov_cimguiname": "igTextColored", - "ret": "void", - "signature": "(const ImVec4,const char*,...)", - "stname": "" - } - ], - "igTextColoredV": [ - { - "args": "(const ImVec4 col,const char* fmt,va_list args)", - "argsT": [ - { - "name": "col", - "type": "const ImVec4" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const ImVec4& col,const char* fmt,va_list args)", - "call_args": "(col,fmt,args)", - "cimguiname": "igTextColoredV", - "defaults": {}, - "funcname": "TextColoredV", - "location": "imgui:496", - "namespace": "ImGui", - "ov_cimguiname": "igTextColoredV", - "ret": "void", - "signature": "(const ImVec4,const char*,va_list)", - "stname": "" - } - ], - "igTextDisabled": [ - { - "args": "(const char* fmt,...)", - "argsT": [ - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const char* fmt,...)", - "call_args": "(fmt,...)", - "cimguiname": "igTextDisabled", - "defaults": {}, - "funcname": "TextDisabled", - "isvararg": "...)", - "location": "imgui:497", - "namespace": "ImGui", - "ov_cimguiname": "igTextDisabled", - "ret": "void", - "signature": "(const char*,...)", - "stname": "" - } - ], - "igTextDisabledV": [ - { - "args": "(const char* fmt,va_list args)", - "argsT": [ - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const char* fmt,va_list args)", - "call_args": "(fmt,args)", - "cimguiname": "igTextDisabledV", - "defaults": {}, - "funcname": "TextDisabledV", - "location": "imgui:498", - "namespace": "ImGui", - "ov_cimguiname": "igTextDisabledV", - "ret": "void", - "signature": "(const char*,va_list)", - "stname": "" - } - ], - "igTextEx": [ - { - "args": "(const char* text,const char* text_end,ImGuiTextFlags flags)", - "argsT": [ - { - "name": "text", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiTextFlags" - } - ], - "argsoriginal": "(const char* text,const char* text_end=((void*)0),ImGuiTextFlags flags=0)", - "call_args": "(text,text_end,flags)", - "cimguiname": "igTextEx", - "defaults": { - "flags": "0", - "text_end": "NULL" - }, - "funcname": "TextEx", - "location": "imgui_internal:3349", - "namespace": "ImGui", - "ov_cimguiname": "igTextEx", - "ret": "void", - "signature": "(const char*,const char*,ImGuiTextFlags)", - "stname": "" - } - ], - "igTextUnformatted": [ - { - "args": "(const char* text,const char* text_end)", - "argsT": [ - { - "name": "text", - "type": "const char*" - }, - { - "name": "text_end", - "type": "const char*" - } - ], - "argsoriginal": "(const char* text,const char* text_end=((void*)0))", - "call_args": "(text,text_end)", - "cimguiname": "igTextUnformatted", - "defaults": { - "text_end": "NULL" - }, - "funcname": "TextUnformatted", - "location": "imgui:492", - "namespace": "ImGui", - "ov_cimguiname": "igTextUnformatted", - "ret": "void", - "signature": "(const char*,const char*)", - "stname": "" - } - ], - "igTextV": [ - { - "args": "(const char* fmt,va_list args)", - "argsT": [ - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const char* fmt,va_list args)", - "call_args": "(fmt,args)", - "cimguiname": "igTextV", - "defaults": {}, - "funcname": "TextV", - "location": "imgui:494", - "namespace": "ImGui", - "ov_cimguiname": "igTextV", - "ret": "void", - "signature": "(const char*,va_list)", - "stname": "" - } - ], - "igTextWrapped": [ - { - "args": "(const char* fmt,...)", - "argsT": [ - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const char* fmt,...)", - "call_args": "(fmt,...)", - "cimguiname": "igTextWrapped", - "defaults": {}, - "funcname": "TextWrapped", - "isvararg": "...)", - "location": "imgui:499", - "namespace": "ImGui", - "ov_cimguiname": "igTextWrapped", - "ret": "void", - "signature": "(const char*,...)", - "stname": "" - } - ], - "igTextWrappedV": [ - { - "args": "(const char* fmt,va_list args)", - "argsT": [ - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const char* fmt,va_list args)", - "call_args": "(fmt,args)", - "cimguiname": "igTextWrappedV", - "defaults": {}, - "funcname": "TextWrappedV", - "location": "imgui:500", - "namespace": "ImGui", - "ov_cimguiname": "igTextWrappedV", - "ret": "void", - "signature": "(const char*,va_list)", - "stname": "" - } - ], - "igTranslateWindowsInViewport": [ - { - "args": "(ImGuiViewportP* viewport,const ImVec2 old_pos,const ImVec2 new_pos)", - "argsT": [ - { - "name": "viewport", - "type": "ImGuiViewportP*" - }, - { - "name": "old_pos", - "type": "const ImVec2" - }, - { - "name": "new_pos", - "type": "const ImVec2" - } - ], - "argsoriginal": "(ImGuiViewportP* viewport,const ImVec2& old_pos,const ImVec2& new_pos)", - "call_args": "(viewport,old_pos,new_pos)", - "cimguiname": "igTranslateWindowsInViewport", - "defaults": {}, - "funcname": "TranslateWindowsInViewport", - "location": "imgui_internal:2981", - "namespace": "ImGui", - "ov_cimguiname": "igTranslateWindowsInViewport", - "ret": "void", - "signature": "(ImGuiViewportP*,const ImVec2,const ImVec2)", - "stname": "" - } - ], - "igTreeNode": [ - { - "args": "(const char* label)", - "argsT": [ - { - "name": "label", - "type": "const char*" - } - ], - "argsoriginal": "(const char* label)", - "call_args": "(label)", - "cimguiname": "igTreeNode", - "defaults": {}, - "funcname": "TreeNode", - "location": "imgui:611", - "namespace": "ImGui", - "ov_cimguiname": "igTreeNode_Str", - "ret": "bool", - "signature": "(const char*)", - "stname": "" - }, - { - "args": "(const char* str_id,const char* fmt,...)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const char* str_id,const char* fmt,...)", - "call_args": "(str_id,fmt,...)", - "cimguiname": "igTreeNode", - "defaults": {}, - "funcname": "TreeNode", - "isvararg": "...)", - "location": "imgui:612", - "namespace": "ImGui", - "ov_cimguiname": "igTreeNode_StrStr", - "ret": "bool", - "signature": "(const char*,const char*,...)", - "stname": "" - }, - { - "args": "(const void* ptr_id,const char* fmt,...)", - "argsT": [ - { - "name": "ptr_id", - "type": "const void*" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const void* ptr_id,const char* fmt,...)", - "call_args": "(ptr_id,fmt,...)", - "cimguiname": "igTreeNode", - "defaults": {}, - "funcname": "TreeNode", - "isvararg": "...)", - "location": "imgui:613", - "namespace": "ImGui", - "ov_cimguiname": "igTreeNode_Ptr", - "ret": "bool", - "signature": "(const void*,const char*,...)", - "stname": "" - } - ], - "igTreeNodeBehavior": [ - { - "args": "(ImGuiID id,ImGuiTreeNodeFlags flags,const char* label,const char* label_end)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "flags", - "type": "ImGuiTreeNodeFlags" - }, - { - "name": "label", - "type": "const char*" - }, - { - "name": "label_end", - "type": "const char*" - } - ], - "argsoriginal": "(ImGuiID id,ImGuiTreeNodeFlags flags,const char* label,const char* label_end=((void*)0))", - "call_args": "(id,flags,label,label_end)", - "cimguiname": "igTreeNodeBehavior", - "defaults": { - "label_end": "NULL" - }, - "funcname": "TreeNodeBehavior", - "location": "imgui_internal:3370", - "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeBehavior", - "ret": "bool", - "signature": "(ImGuiID,ImGuiTreeNodeFlags,const char*,const char*)", - "stname": "" - } - ], - "igTreeNodeEx": [ - { - "args": "(const char* label,ImGuiTreeNodeFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiTreeNodeFlags" - } - ], - "argsoriginal": "(const char* label,ImGuiTreeNodeFlags flags=0)", - "call_args": "(label,flags)", - "cimguiname": "igTreeNodeEx", - "defaults": { - "flags": "0" - }, - "funcname": "TreeNodeEx", - "location": "imgui:616", - "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeEx_Str", - "ret": "bool", - "signature": "(const char*,ImGuiTreeNodeFlags)", - "stname": "" - }, - { - "args": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiTreeNodeFlags" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", - "call_args": "(str_id,flags,fmt,...)", - "cimguiname": "igTreeNodeEx", - "defaults": {}, - "funcname": "TreeNodeEx", - "isvararg": "...)", - "location": "imgui:617", - "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeEx_StrStr", - "ret": "bool", - "signature": "(const char*,ImGuiTreeNodeFlags,const char*,...)", - "stname": "" - }, - { - "args": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", - "argsT": [ - { - "name": "ptr_id", - "type": "const void*" - }, - { - "name": "flags", - "type": "ImGuiTreeNodeFlags" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "...", - "type": "..." - } - ], - "argsoriginal": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", - "call_args": "(ptr_id,flags,fmt,...)", - "cimguiname": "igTreeNodeEx", - "defaults": {}, - "funcname": "TreeNodeEx", - "isvararg": "...)", - "location": "imgui:618", - "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeEx_Ptr", - "ret": "bool", - "signature": "(const void*,ImGuiTreeNodeFlags,const char*,...)", - "stname": "" - } - ], - "igTreeNodeExV": [ - { - "args": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiTreeNodeFlags" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", - "call_args": "(str_id,flags,fmt,args)", - "cimguiname": "igTreeNodeExV", - "defaults": {}, - "funcname": "TreeNodeExV", - "location": "imgui:619", - "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeExV_Str", - "ret": "bool", - "signature": "(const char*,ImGuiTreeNodeFlags,const char*,va_list)", - "stname": "" - }, - { - "args": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", - "argsT": [ - { - "name": "ptr_id", - "type": "const void*" - }, - { - "name": "flags", - "type": "ImGuiTreeNodeFlags" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", - "call_args": "(ptr_id,flags,fmt,args)", - "cimguiname": "igTreeNodeExV", - "defaults": {}, - "funcname": "TreeNodeExV", - "location": "imgui:620", - "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeExV_Ptr", - "ret": "bool", - "signature": "(const void*,ImGuiTreeNodeFlags,const char*,va_list)", - "stname": "" - } - ], - "igTreeNodeSetOpen": [ - { - "args": "(ImGuiID id,bool open)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "open", - "type": "bool" - } - ], - "argsoriginal": "(ImGuiID id,bool open)", - "call_args": "(id,open)", - "cimguiname": "igTreeNodeSetOpen", - "defaults": {}, - "funcname": "TreeNodeSetOpen", - "location": "imgui_internal:3372", - "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeSetOpen", - "ret": "void", - "signature": "(ImGuiID,bool)", - "stname": "" - } - ], - "igTreeNodeUpdateNextOpen": [ - { - "args": "(ImGuiID id,ImGuiTreeNodeFlags flags)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "flags", - "type": "ImGuiTreeNodeFlags" - } - ], - "argsoriginal": "(ImGuiID id,ImGuiTreeNodeFlags flags)", - "call_args": "(id,flags)", - "cimguiname": "igTreeNodeUpdateNextOpen", - "defaults": {}, - "funcname": "TreeNodeUpdateNextOpen", - "location": "imgui_internal:3373", - "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeUpdateNextOpen", - "ret": "bool", - "signature": "(ImGuiID,ImGuiTreeNodeFlags)", - "stname": "" - } - ], - "igTreeNodeV": [ - { - "args": "(const char* str_id,const char* fmt,va_list args)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const char* str_id,const char* fmt,va_list args)", - "call_args": "(str_id,fmt,args)", - "cimguiname": "igTreeNodeV", - "defaults": {}, - "funcname": "TreeNodeV", - "location": "imgui:614", - "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeV_Str", - "ret": "bool", - "signature": "(const char*,const char*,va_list)", - "stname": "" - }, - { - "args": "(const void* ptr_id,const char* fmt,va_list args)", - "argsT": [ - { - "name": "ptr_id", - "type": "const void*" - }, - { - "name": "fmt", - "type": "const char*" - }, - { - "name": "args", - "type": "va_list" - } - ], - "argsoriginal": "(const void* ptr_id,const char* fmt,va_list args)", - "call_args": "(ptr_id,fmt,args)", - "cimguiname": "igTreeNodeV", - "defaults": {}, - "funcname": "TreeNodeV", - "location": "imgui:615", - "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeV_Ptr", - "ret": "bool", - "signature": "(const void*,const char*,va_list)", - "stname": "" - } - ], - "igTreePop": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igTreePop", - "defaults": {}, - "funcname": "TreePop", - "location": "imgui:623", - "namespace": "ImGui", - "ov_cimguiname": "igTreePop", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igTreePush": [ - { - "args": "(const char* str_id)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - } - ], - "argsoriginal": "(const char* str_id)", - "call_args": "(str_id)", - "cimguiname": "igTreePush", - "defaults": {}, - "funcname": "TreePush", - "location": "imgui:621", - "namespace": "ImGui", - "ov_cimguiname": "igTreePush_Str", - "ret": "void", - "signature": "(const char*)", - "stname": "" - }, - { - "args": "(const void* ptr_id)", - "argsT": [ - { - "name": "ptr_id", - "type": "const void*" - } - ], - "argsoriginal": "(const void* ptr_id)", - "call_args": "(ptr_id)", - "cimguiname": "igTreePush", - "defaults": {}, - "funcname": "TreePush", - "location": "imgui:622", - "namespace": "ImGui", - "ov_cimguiname": "igTreePush_Ptr", - "ret": "void", - "signature": "(const void*)", - "stname": "" - } - ], - "igTreePushOverrideID": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igTreePushOverrideID", - "defaults": {}, - "funcname": "TreePushOverrideID", - "location": "imgui_internal:3371", - "namespace": "ImGui", - "ov_cimguiname": "igTreePushOverrideID", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igUnindent": [ - { - "args": "(float indent_w)", - "argsT": [ - { - "name": "indent_w", - "type": "float" - } - ], - "argsoriginal": "(float indent_w=0.0f)", - "call_args": "(indent_w)", - "cimguiname": "igUnindent", - "defaults": { - "indent_w": "0.0f" - }, - "funcname": "Unindent", - "location": "imgui:453", - "namespace": "ImGui", - "ov_cimguiname": "igUnindent", - "ret": "void", - "signature": "(float)", - "stname": "" - } - ], - "igUpdateHoveredWindowAndCaptureFlags": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igUpdateHoveredWindowAndCaptureFlags", - "defaults": {}, - "funcname": "UpdateHoveredWindowAndCaptureFlags", - "location": "imgui_internal:2969", - "namespace": "ImGui", - "ov_cimguiname": "igUpdateHoveredWindowAndCaptureFlags", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igUpdateInputEvents": [ - { - "args": "(bool trickle_fast_inputs)", - "argsT": [ - { - "name": "trickle_fast_inputs", - "type": "bool" - } - ], - "argsoriginal": "(bool trickle_fast_inputs)", - "call_args": "(trickle_fast_inputs)", - "cimguiname": "igUpdateInputEvents", - "defaults": {}, - "funcname": "UpdateInputEvents", - "location": "imgui_internal:2968", - "namespace": "ImGui", - "ov_cimguiname": "igUpdateInputEvents", - "ret": "void", - "signature": "(bool)", - "stname": "" - } - ], - "igUpdateMouseMovingWindowEndFrame": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igUpdateMouseMovingWindowEndFrame", - "defaults": {}, - "funcname": "UpdateMouseMovingWindowEndFrame", - "location": "imgui_internal:2973", - "namespace": "ImGui", - "ov_cimguiname": "igUpdateMouseMovingWindowEndFrame", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igUpdateMouseMovingWindowNewFrame": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igUpdateMouseMovingWindowNewFrame", - "defaults": {}, - "funcname": "UpdateMouseMovingWindowNewFrame", - "location": "imgui_internal:2972", - "namespace": "ImGui", - "ov_cimguiname": "igUpdateMouseMovingWindowNewFrame", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igUpdatePlatformWindows": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igUpdatePlatformWindows", - "defaults": {}, - "funcname": "UpdatePlatformWindows", - "location": "imgui:981", - "namespace": "ImGui", - "ov_cimguiname": "igUpdatePlatformWindows", - "ret": "void", - "signature": "()", - "stname": "" - } - ], - "igUpdateWindowParentAndRootLinks": [ - { - "args": "(ImGuiWindow* window,ImGuiWindowFlags flags,ImGuiWindow* parent_window)", - "argsT": [ - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "flags", - "type": "ImGuiWindowFlags" - }, - { - "name": "parent_window", - "type": "ImGuiWindow*" - } - ], - "argsoriginal": "(ImGuiWindow* window,ImGuiWindowFlags flags,ImGuiWindow* parent_window)", - "call_args": "(window,flags,parent_window)", - "cimguiname": "igUpdateWindowParentAndRootLinks", - "defaults": {}, - "funcname": "UpdateWindowParentAndRootLinks", - "location": "imgui_internal:2935", - "namespace": "ImGui", - "ov_cimguiname": "igUpdateWindowParentAndRootLinks", - "ret": "void", - "signature": "(ImGuiWindow*,ImGuiWindowFlags,ImGuiWindow*)", - "stname": "" - } - ], - "igVSliderFloat": [ - { - "args": "(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "v", - "type": "float*" - }, - { - "name": "v_min", - "type": "float" - }, - { - "name": "v_max", - "type": "float" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", - "call_args": "(label,size,v,v_min,v_max,format,flags)", - "cimguiname": "igVSliderFloat", - "defaults": { - "flags": "0", - "format": "\"%.3f\"" - }, - "funcname": "VSliderFloat", - "location": "imgui:577", - "namespace": "ImGui", - "ov_cimguiname": "igVSliderFloat", - "ret": "bool", - "signature": "(const char*,const ImVec2,float*,float,float,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igVSliderInt": [ - { - "args": "(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "v", - "type": "int*" - }, - { - "name": "v_min", - "type": "int" - }, - { - "name": "v_max", - "type": "int" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\",ImGuiSliderFlags flags=0)", - "call_args": "(label,size,v,v_min,v_max,format,flags)", - "cimguiname": "igVSliderInt", - "defaults": { - "flags": "0", - "format": "\"%d\"" - }, - "funcname": "VSliderInt", - "location": "imgui:578", - "namespace": "ImGui", - "ov_cimguiname": "igVSliderInt", - "ret": "bool", - "signature": "(const char*,const ImVec2,int*,int,int,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igVSliderScalar": [ - { - "args": "(const char* label,const ImVec2 size,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)", - "argsT": [ - { - "name": "label", - "type": "const char*" - }, - { - "name": "size", - "type": "const ImVec2" - }, - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "p_data", - "type": "void*" - }, - { - "name": "p_min", - "type": "const void*" - }, - { - "name": "p_max", - "type": "const void*" - }, - { - "name": "format", - "type": "const char*" - }, - { - "name": "flags", - "type": "ImGuiSliderFlags" - } - ], - "argsoriginal": "(const char* label,const ImVec2& size,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format=((void*)0),ImGuiSliderFlags flags=0)", - "call_args": "(label,size,data_type,p_data,p_min,p_max,format,flags)", - "cimguiname": "igVSliderScalar", - "defaults": { - "flags": "0", - "format": "NULL" - }, - "funcname": "VSliderScalar", - "location": "imgui:579", - "namespace": "ImGui", - "ov_cimguiname": "igVSliderScalar", - "ret": "bool", - "signature": "(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiSliderFlags)", - "stname": "" - } - ], - "igValue": [ - { - "args": "(const char* prefix,bool b)", - "argsT": [ - { - "name": "prefix", - "type": "const char*" - }, - { - "name": "b", - "type": "bool" - } - ], - "argsoriginal": "(const char* prefix,bool b)", - "call_args": "(prefix,b)", - "cimguiname": "igValue", - "defaults": {}, - "funcname": "Value", - "location": "imgui:655", - "namespace": "ImGui", - "ov_cimguiname": "igValue_Bool", - "ret": "void", - "signature": "(const char*,bool)", - "stname": "" - }, - { - "args": "(const char* prefix,int v)", - "argsT": [ - { - "name": "prefix", - "type": "const char*" - }, - { - "name": "v", - "type": "int" - } - ], - "argsoriginal": "(const char* prefix,int v)", - "call_args": "(prefix,v)", - "cimguiname": "igValue", - "defaults": {}, - "funcname": "Value", - "location": "imgui:656", - "namespace": "ImGui", - "ov_cimguiname": "igValue_Int", - "ret": "void", - "signature": "(const char*,int)", - "stname": "" - }, - { - "args": "(const char* prefix,unsigned int v)", - "argsT": [ - { - "name": "prefix", - "type": "const char*" - }, - { - "name": "v", - "type": "unsigned int" - } - ], - "argsoriginal": "(const char* prefix,unsigned int v)", - "call_args": "(prefix,v)", - "cimguiname": "igValue", - "defaults": {}, - "funcname": "Value", - "location": "imgui:657", - "namespace": "ImGui", - "ov_cimguiname": "igValue_Uint", - "ret": "void", - "signature": "(const char*,unsigned int)", - "stname": "" - }, - { - "args": "(const char* prefix,float v,const char* float_format)", - "argsT": [ - { - "name": "prefix", - "type": "const char*" - }, - { - "name": "v", - "type": "float" - }, - { - "name": "float_format", - "type": "const char*" - } - ], - "argsoriginal": "(const char* prefix,float v,const char* float_format=((void*)0))", - "call_args": "(prefix,v,float_format)", - "cimguiname": "igValue", - "defaults": { - "float_format": "NULL" - }, - "funcname": "Value", - "location": "imgui:658", - "namespace": "ImGui", - "ov_cimguiname": "igValue_Float", - "ret": "void", - "signature": "(const char*,float,const char*)", - "stname": "" - } - ], - "igWindowRectAbsToRel": [ - { - "args": "(ImRect *pOut,ImGuiWindow* window,const ImRect r)", - "argsT": [ - { - "name": "pOut", - "type": "ImRect*" - }, - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "r", - "type": "const ImRect" - } - ], - "argsoriginal": "(ImGuiWindow* window,const ImRect& r)", - "call_args": "(window,r)", - "cimguiname": "igWindowRectAbsToRel", - "defaults": {}, - "funcname": "WindowRectAbsToRel", - "location": "imgui_internal:2945", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igWindowRectAbsToRel", - "ret": "void", - "signature": "(ImGuiWindow*,const ImRect)", - "stname": "" - } - ], - "igWindowRectRelToAbs": [ - { - "args": "(ImRect *pOut,ImGuiWindow* window,const ImRect r)", - "argsT": [ - { - "name": "pOut", - "type": "ImRect*" - }, - { - "name": "window", - "type": "ImGuiWindow*" - }, - { - "name": "r", - "type": "const ImRect" - } - ], - "argsoriginal": "(ImGuiWindow* window,const ImRect& r)", - "call_args": "(window,r)", - "cimguiname": "igWindowRectRelToAbs", - "defaults": {}, - "funcname": "WindowRectRelToAbs", - "location": "imgui_internal:2946", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igWindowRectRelToAbs", - "ret": "void", - "signature": "(ImGuiWindow*,const ImRect)", - "stname": "" - } - ] +{ + "ImBitArray_ClearAllBits": [ + { + "args": "(ImBitArray* self)", + "argsT": [ + { + "name": "self", + "type": "ImBitArray*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImBitArray_ClearAllBits", + "defaults": {}, + "funcname": "ClearAllBits", + "location": "imgui_internal:603", + "ov_cimguiname": "ImBitArray_ClearAllBits", + "ret": "void", + "signature": "()", + "stname": "ImBitArray", + "templated": true + } + ], + "ImBitArray_ClearBit": [ + { + "args": "(ImBitArray* self,int n)", + "argsT": [ + { + "name": "self", + "type": "ImBitArray*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(int n)", + "call_args": "(n)", + "cimguiname": "ImBitArray_ClearBit", + "defaults": {}, + "funcname": "ClearBit", + "location": "imgui_internal:607", + "ov_cimguiname": "ImBitArray_ClearBit", + "ret": "void", + "signature": "(int)", + "stname": "ImBitArray", + "templated": true + } + ], + "ImBitArray_ImBitArray": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImBitArray_ImBitArray", + "constructor": true, + "defaults": {}, + "funcname": "ImBitArray", + "location": "imgui_internal:602", + "ov_cimguiname": "ImBitArray_ImBitArray", + "signature": "()", + "stname": "ImBitArray", + "templated": true + } + ], + "ImBitArray_SetAllBits": [ + { + "args": "(ImBitArray* self)", + "argsT": [ + { + "name": "self", + "type": "ImBitArray*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImBitArray_SetAllBits", + "defaults": {}, + "funcname": "SetAllBits", + "location": "imgui_internal:604", + "ov_cimguiname": "ImBitArray_SetAllBits", + "ret": "void", + "signature": "()", + "stname": "ImBitArray", + "templated": true + } + ], + "ImBitArray_SetBit": [ + { + "args": "(ImBitArray* self,int n)", + "argsT": [ + { + "name": "self", + "type": "ImBitArray*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(int n)", + "call_args": "(n)", + "cimguiname": "ImBitArray_SetBit", + "defaults": {}, + "funcname": "SetBit", + "location": "imgui_internal:606", + "ov_cimguiname": "ImBitArray_SetBit", + "ret": "void", + "signature": "(int)", + "stname": "ImBitArray", + "templated": true + } + ], + "ImBitArray_SetBitRange": [ + { + "args": "(ImBitArray* self,int n,int n2)", + "argsT": [ + { + "name": "self", + "type": "ImBitArray*" + }, + { + "name": "n", + "type": "int" + }, + { + "name": "n2", + "type": "int" + } + ], + "argsoriginal": "(int n,int n2)", + "call_args": "(n,n2)", + "cimguiname": "ImBitArray_SetBitRange", + "defaults": {}, + "funcname": "SetBitRange", + "location": "imgui_internal:608", + "ov_cimguiname": "ImBitArray_SetBitRange", + "ret": "void", + "signature": "(int,int)", + "stname": "ImBitArray", + "templated": true + } + ], + "ImBitArray_TestBit": [ + { + "args": "(ImBitArray* self,int n)", + "argsT": [ + { + "name": "self", + "type": "ImBitArray*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(int n)", + "call_args": "(n)", + "cimguiname": "ImBitArray_TestBit", + "defaults": {}, + "funcname": "TestBit", + "location": "imgui_internal:605", + "ov_cimguiname": "ImBitArray_TestBit", + "ret": "bool", + "signature": "(int)const", + "stname": "ImBitArray", + "templated": true + } + ], + "ImBitArray_destroy": [ + { + "args": "(ImBitArray* self)", + "argsT": [ + { + "name": "self", + "type": "ImBitArray*" + } + ], + "call_args": "(self)", + "cimguiname": "ImBitArray_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:602", + "ov_cimguiname": "ImBitArray_destroy", + "ret": "void", + "signature": "(ImBitArray*)", + "stname": "ImBitArray", + "templated": true + } + ], + "ImBitVector_Clear": [ + { + "args": "(ImBitVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImBitVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImBitVector_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui_internal:618", + "ov_cimguiname": "ImBitVector_Clear", + "ret": "void", + "signature": "()", + "stname": "ImBitVector" + } + ], + "ImBitVector_ClearBit": [ + { + "args": "(ImBitVector* self,int n)", + "argsT": [ + { + "name": "self", + "type": "ImBitVector*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(int n)", + "call_args": "(n)", + "cimguiname": "ImBitVector_ClearBit", + "defaults": {}, + "funcname": "ClearBit", + "location": "imgui_internal:621", + "ov_cimguiname": "ImBitVector_ClearBit", + "ret": "void", + "signature": "(int)", + "stname": "ImBitVector" + } + ], + "ImBitVector_Create": [ + { + "args": "(ImBitVector* self,int sz)", + "argsT": [ + { + "name": "self", + "type": "ImBitVector*" + }, + { + "name": "sz", + "type": "int" + } + ], + "argsoriginal": "(int sz)", + "call_args": "(sz)", + "cimguiname": "ImBitVector_Create", + "defaults": {}, + "funcname": "Create", + "location": "imgui_internal:617", + "ov_cimguiname": "ImBitVector_Create", + "ret": "void", + "signature": "(int)", + "stname": "ImBitVector" + } + ], + "ImBitVector_SetBit": [ + { + "args": "(ImBitVector* self,int n)", + "argsT": [ + { + "name": "self", + "type": "ImBitVector*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(int n)", + "call_args": "(n)", + "cimguiname": "ImBitVector_SetBit", + "defaults": {}, + "funcname": "SetBit", + "location": "imgui_internal:620", + "ov_cimguiname": "ImBitVector_SetBit", + "ret": "void", + "signature": "(int)", + "stname": "ImBitVector" + } + ], + "ImBitVector_TestBit": [ + { + "args": "(ImBitVector* self,int n)", + "argsT": [ + { + "name": "self", + "type": "ImBitVector*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(int n)", + "call_args": "(n)", + "cimguiname": "ImBitVector_TestBit", + "defaults": {}, + "funcname": "TestBit", + "location": "imgui_internal:619", + "ov_cimguiname": "ImBitVector_TestBit", + "ret": "bool", + "signature": "(int)const", + "stname": "ImBitVector" + } + ], + "ImChunkStream_alloc_chunk": [ + { + "args": "(ImChunkStream* self,size_t sz)", + "argsT": [ + { + "name": "self", + "type": "ImChunkStream*" + }, + { + "name": "sz", + "type": "size_t" + } + ], + "argsoriginal": "(size_t sz)", + "call_args": "(sz)", + "cimguiname": "ImChunkStream_alloc_chunk", + "defaults": {}, + "funcname": "alloc_chunk", + "location": "imgui_internal:722", + "ov_cimguiname": "ImChunkStream_alloc_chunk", + "ret": "T*", + "signature": "(size_t)", + "stname": "ImChunkStream", + "templated": true + } + ], + "ImChunkStream_begin": [ + { + "args": "(ImChunkStream* self)", + "argsT": [ + { + "name": "self", + "type": "ImChunkStream*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImChunkStream_begin", + "defaults": {}, + "funcname": "begin", + "location": "imgui_internal:723", + "ov_cimguiname": "ImChunkStream_begin", + "ret": "T*", + "signature": "()", + "stname": "ImChunkStream", + "templated": true + } + ], + "ImChunkStream_chunk_size": [ + { + "args": "(ImChunkStream* self,const T* p)", + "argsT": [ + { + "name": "self", + "type": "ImChunkStream*" + }, + { + "name": "p", + "type": "const T*" + } + ], + "argsoriginal": "(const T* p)", + "call_args": "(p)", + "cimguiname": "ImChunkStream_chunk_size", + "defaults": {}, + "funcname": "chunk_size", + "location": "imgui_internal:725", + "ov_cimguiname": "ImChunkStream_chunk_size", + "ret": "int", + "signature": "(const T*)", + "stname": "ImChunkStream", + "templated": true + } + ], + "ImChunkStream_clear": [ + { + "args": "(ImChunkStream* self)", + "argsT": [ + { + "name": "self", + "type": "ImChunkStream*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImChunkStream_clear", + "defaults": {}, + "funcname": "clear", + "location": "imgui_internal:719", + "ov_cimguiname": "ImChunkStream_clear", + "ret": "void", + "signature": "()", + "stname": "ImChunkStream", + "templated": true + } + ], + "ImChunkStream_empty": [ + { + "args": "(ImChunkStream* self)", + "argsT": [ + { + "name": "self", + "type": "ImChunkStream*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImChunkStream_empty", + "defaults": {}, + "funcname": "empty", + "location": "imgui_internal:720", + "ov_cimguiname": "ImChunkStream_empty", + "ret": "bool", + "signature": "()const", + "stname": "ImChunkStream", + "templated": true + } + ], + "ImChunkStream_end": [ + { + "args": "(ImChunkStream* self)", + "argsT": [ + { + "name": "self", + "type": "ImChunkStream*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImChunkStream_end", + "defaults": {}, + "funcname": "end", + "location": "imgui_internal:726", + "ov_cimguiname": "ImChunkStream_end", + "ret": "T*", + "signature": "()", + "stname": "ImChunkStream", + "templated": true + } + ], + "ImChunkStream_next_chunk": [ + { + "args": "(ImChunkStream* self,T* p)", + "argsT": [ + { + "name": "self", + "type": "ImChunkStream*" + }, + { + "name": "p", + "type": "T*" + } + ], + "argsoriginal": "(T* p)", + "call_args": "(p)", + "cimguiname": "ImChunkStream_next_chunk", + "defaults": {}, + "funcname": "next_chunk", + "location": "imgui_internal:724", + "ov_cimguiname": "ImChunkStream_next_chunk", + "ret": "T*", + "signature": "(T*)", + "stname": "ImChunkStream", + "templated": true + } + ], + "ImChunkStream_offset_from_ptr": [ + { + "args": "(ImChunkStream* self,const T* p)", + "argsT": [ + { + "name": "self", + "type": "ImChunkStream*" + }, + { + "name": "p", + "type": "const T*" + } + ], + "argsoriginal": "(const T* p)", + "call_args": "(p)", + "cimguiname": "ImChunkStream_offset_from_ptr", + "defaults": {}, + "funcname": "offset_from_ptr", + "location": "imgui_internal:727", + "ov_cimguiname": "ImChunkStream_offset_from_ptr", + "ret": "int", + "signature": "(const T*)", + "stname": "ImChunkStream", + "templated": true + } + ], + "ImChunkStream_ptr_from_offset": [ + { + "args": "(ImChunkStream* self,int off)", + "argsT": [ + { + "name": "self", + "type": "ImChunkStream*" + }, + { + "name": "off", + "type": "int" + } + ], + "argsoriginal": "(int off)", + "call_args": "(off)", + "cimguiname": "ImChunkStream_ptr_from_offset", + "defaults": {}, + "funcname": "ptr_from_offset", + "location": "imgui_internal:728", + "ov_cimguiname": "ImChunkStream_ptr_from_offset", + "ret": "T*", + "signature": "(int)", + "stname": "ImChunkStream", + "templated": true + } + ], + "ImChunkStream_size": [ + { + "args": "(ImChunkStream* self)", + "argsT": [ + { + "name": "self", + "type": "ImChunkStream*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImChunkStream_size", + "defaults": {}, + "funcname": "size", + "location": "imgui_internal:721", + "ov_cimguiname": "ImChunkStream_size", + "ret": "int", + "signature": "()const", + "stname": "ImChunkStream", + "templated": true + } + ], + "ImChunkStream_swap": [ + { + "args": "(ImChunkStream* self,ImChunkStream_T * rhs)", + "argsT": [ + { + "name": "self", + "type": "ImChunkStream*" + }, + { + "name": "rhs", + "reftoptr": true, + "type": "ImChunkStream_T *" + } + ], + "argsoriginal": "(ImChunkStream& rhs)", + "call_args": "(*rhs)", + "cimguiname": "ImChunkStream_swap", + "defaults": {}, + "funcname": "swap", + "location": "imgui_internal:729", + "ov_cimguiname": "ImChunkStream_swap", + "ret": "void", + "signature": "(ImChunkStream_T *)", + "stname": "ImChunkStream", + "templated": true + } + ], + "ImColor_HSV": [ + { + "args": "(ImColor *pOut,float h,float s,float v,float a)", + "argsT": [ + { + "name": "pOut", + "type": "ImColor*" + }, + { + "name": "h", + "type": "float" + }, + { + "name": "s", + "type": "float" + }, + { + "name": "v", + "type": "float" + }, + { + "name": "a", + "type": "float" + } + ], + "argsoriginal": "(float h,float s,float v,float a=1.0f)", + "call_args": "(h,s,v,a)", + "cimguiname": "ImColor_HSV", + "defaults": { + "a": "1.0f" + }, + "funcname": "HSV", + "is_static_function": true, + "location": "imgui:2876", + "nonUDT": 1, + "ov_cimguiname": "ImColor_HSV", + "ret": "void", + "signature": "(float,float,float,float)", + "stname": "ImColor" + } + ], + "ImColor_ImColor": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImColor_ImColor", + "constructor": true, + "defaults": {}, + "funcname": "ImColor", + "location": "imgui:2866", + "ov_cimguiname": "ImColor_ImColor_Nil", + "signature": "()", + "stname": "ImColor" + }, + { + "args": "(float r,float g,float b,float a)", + "argsT": [ + { + "name": "r", + "type": "float" + }, + { + "name": "g", + "type": "float" + }, + { + "name": "b", + "type": "float" + }, + { + "name": "a", + "type": "float" + } + ], + "argsoriginal": "(float r,float g,float b,float a=1.0f)", + "call_args": "(r,g,b,a)", + "cimguiname": "ImColor_ImColor", + "constructor": true, + "defaults": { + "a": "1.0f" + }, + "funcname": "ImColor", + "location": "imgui:2867", + "ov_cimguiname": "ImColor_ImColor_Float", + "signature": "(float,float,float,float)", + "stname": "ImColor" + }, + { + "args": "(const ImVec4 col)", + "argsT": [ + { + "name": "col", + "type": "const ImVec4" + } + ], + "argsoriginal": "(const ImVec4& col)", + "call_args": "(col)", + "cimguiname": "ImColor_ImColor", + "constructor": true, + "defaults": {}, + "funcname": "ImColor", + "location": "imgui:2868", + "ov_cimguiname": "ImColor_ImColor_Vec4", + "signature": "(const ImVec4)", + "stname": "ImColor" + }, + { + "args": "(int r,int g,int b,int a)", + "argsT": [ + { + "name": "r", + "type": "int" + }, + { + "name": "g", + "type": "int" + }, + { + "name": "b", + "type": "int" + }, + { + "name": "a", + "type": "int" + } + ], + "argsoriginal": "(int r,int g,int b,int a=255)", + "call_args": "(r,g,b,a)", + "cimguiname": "ImColor_ImColor", + "constructor": true, + "defaults": { + "a": "255" + }, + "funcname": "ImColor", + "location": "imgui:2869", + "ov_cimguiname": "ImColor_ImColor_Int", + "signature": "(int,int,int,int)", + "stname": "ImColor" + }, + { + "args": "(ImU32 rgba)", + "argsT": [ + { + "name": "rgba", + "type": "ImU32" + } + ], + "argsoriginal": "(ImU32 rgba)", + "call_args": "(rgba)", + "cimguiname": "ImColor_ImColor", + "constructor": true, + "defaults": {}, + "funcname": "ImColor", + "location": "imgui:2870", + "ov_cimguiname": "ImColor_ImColor_U32", + "signature": "(ImU32)", + "stname": "ImColor" + } + ], + "ImColor_SetHSV": [ + { + "args": "(ImColor* self,float h,float s,float v,float a)", + "argsT": [ + { + "name": "self", + "type": "ImColor*" + }, + { + "name": "h", + "type": "float" + }, + { + "name": "s", + "type": "float" + }, + { + "name": "v", + "type": "float" + }, + { + "name": "a", + "type": "float" + } + ], + "argsoriginal": "(float h,float s,float v,float a=1.0f)", + "call_args": "(h,s,v,a)", + "cimguiname": "ImColor_SetHSV", + "defaults": { + "a": "1.0f" + }, + "funcname": "SetHSV", + "location": "imgui:2875", + "ov_cimguiname": "ImColor_SetHSV", + "ret": "void", + "signature": "(float,float,float,float)", + "stname": "ImColor" + } + ], + "ImColor_destroy": [ + { + "args": "(ImColor* self)", + "argsT": [ + { + "name": "self", + "type": "ImColor*" + } + ], + "call_args": "(self)", + "cimguiname": "ImColor_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2866", + "ov_cimguiname": "ImColor_destroy", + "ret": "void", + "signature": "(ImColor*)", + "stname": "ImColor" + } + ], + "ImDrawCmd_GetTexID": [ + { + "args": "(ImDrawCmd* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawCmd*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawCmd_GetTexID", + "defaults": {}, + "funcname": "GetTexID", + "location": "imgui:3074", + "ov_cimguiname": "ImDrawCmd_GetTexID", + "ret": "ImTextureID", + "signature": "()const", + "stname": "ImDrawCmd" + } + ], + "ImDrawCmd_ImDrawCmd": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawCmd_ImDrawCmd", + "constructor": true, + "defaults": {}, + "funcname": "ImDrawCmd", + "location": "imgui:3071", + "ov_cimguiname": "ImDrawCmd_ImDrawCmd", + "signature": "()", + "stname": "ImDrawCmd" + } + ], + "ImDrawCmd_destroy": [ + { + "args": "(ImDrawCmd* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawCmd*" + } + ], + "call_args": "(self)", + "cimguiname": "ImDrawCmd_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3071", + "ov_cimguiname": "ImDrawCmd_destroy", + "ret": "void", + "signature": "(ImDrawCmd*)", + "stname": "ImDrawCmd" + } + ], + "ImDrawDataBuilder_ImDrawDataBuilder": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawDataBuilder_ImDrawDataBuilder", + "constructor": true, + "defaults": {}, + "funcname": "ImDrawDataBuilder", + "location": "imgui_internal:808", + "ov_cimguiname": "ImDrawDataBuilder_ImDrawDataBuilder", + "signature": "()", + "stname": "ImDrawDataBuilder" + } + ], + "ImDrawDataBuilder_destroy": [ + { + "args": "(ImDrawDataBuilder* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawDataBuilder*" + } + ], + "call_args": "(self)", + "cimguiname": "ImDrawDataBuilder_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:808", + "ov_cimguiname": "ImDrawDataBuilder_destroy", + "ret": "void", + "signature": "(ImDrawDataBuilder*)", + "stname": "ImDrawDataBuilder" + } + ], + "ImDrawData_AddDrawList": [ + { + "args": "(ImDrawData* self,ImDrawList* draw_list)", + "argsT": [ + { + "name": "self", + "type": "ImDrawData*" + }, + { + "name": "draw_list", + "type": "ImDrawList*" + } + ], + "argsoriginal": "(ImDrawList* draw_list)", + "call_args": "(draw_list)", + "cimguiname": "ImDrawData_AddDrawList", + "defaults": {}, + "funcname": "AddDrawList", + "location": "imgui:3334", + "ov_cimguiname": "ImDrawData_AddDrawList", + "ret": "void", + "signature": "(ImDrawList*)", + "stname": "ImDrawData" + } + ], + "ImDrawData_Clear": [ + { + "args": "(ImDrawData* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawData*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawData_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui:3333", + "ov_cimguiname": "ImDrawData_Clear", + "ret": "void", + "signature": "()", + "stname": "ImDrawData" + } + ], + "ImDrawData_DeIndexAllBuffers": [ + { + "args": "(ImDrawData* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawData*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawData_DeIndexAllBuffers", + "defaults": {}, + "funcname": "DeIndexAllBuffers", + "location": "imgui:3335", + "ov_cimguiname": "ImDrawData_DeIndexAllBuffers", + "ret": "void", + "signature": "()", + "stname": "ImDrawData" + } + ], + "ImDrawData_ImDrawData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawData_ImDrawData", + "constructor": true, + "defaults": {}, + "funcname": "ImDrawData", + "location": "imgui:3332", + "ov_cimguiname": "ImDrawData_ImDrawData", + "signature": "()", + "stname": "ImDrawData" + } + ], + "ImDrawData_ScaleClipRects": [ + { + "args": "(ImDrawData* self,const ImVec2 fb_scale)", + "argsT": [ + { + "name": "self", + "type": "ImDrawData*" + }, + { + "name": "fb_scale", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& fb_scale)", + "call_args": "(fb_scale)", + "cimguiname": "ImDrawData_ScaleClipRects", + "defaults": {}, + "funcname": "ScaleClipRects", + "location": "imgui:3336", + "ov_cimguiname": "ImDrawData_ScaleClipRects", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "ImDrawData" + } + ], + "ImDrawData_destroy": [ + { + "args": "(ImDrawData* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImDrawData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3332", + "ov_cimguiname": "ImDrawData_destroy", + "ret": "void", + "signature": "(ImDrawData*)", + "stname": "ImDrawData" + } + ], + "ImDrawListSharedData_ImDrawListSharedData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawListSharedData_ImDrawListSharedData", + "constructor": true, + "defaults": {}, + "funcname": "ImDrawListSharedData", + "location": "imgui_internal:799", + "ov_cimguiname": "ImDrawListSharedData_ImDrawListSharedData", + "signature": "()", + "stname": "ImDrawListSharedData" + } + ], + "ImDrawListSharedData_SetCircleTessellationMaxError": [ + { + "args": "(ImDrawListSharedData* self,float max_error)", + "argsT": [ + { + "name": "self", + "type": "ImDrawListSharedData*" + }, + { + "name": "max_error", + "type": "float" + } + ], + "argsoriginal": "(float max_error)", + "call_args": "(max_error)", + "cimguiname": "ImDrawListSharedData_SetCircleTessellationMaxError", + "defaults": {}, + "funcname": "SetCircleTessellationMaxError", + "location": "imgui_internal:800", + "ov_cimguiname": "ImDrawListSharedData_SetCircleTessellationMaxError", + "ret": "void", + "signature": "(float)", + "stname": "ImDrawListSharedData" + } + ], + "ImDrawListSharedData_destroy": [ + { + "args": "(ImDrawListSharedData* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawListSharedData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImDrawListSharedData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:799", + "ov_cimguiname": "ImDrawListSharedData_destroy", + "ret": "void", + "signature": "(ImDrawListSharedData*)", + "stname": "ImDrawListSharedData" + } + ], + "ImDrawListSplitter_Clear": [ + { + "args": "(ImDrawListSplitter* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawListSplitter*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawListSplitter_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui:3119", + "ov_cimguiname": "ImDrawListSplitter_Clear", + "ret": "void", + "signature": "()", + "stname": "ImDrawListSplitter" + } + ], + "ImDrawListSplitter_ClearFreeMemory": [ + { + "args": "(ImDrawListSplitter* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawListSplitter*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawListSplitter_ClearFreeMemory", + "defaults": {}, + "funcname": "ClearFreeMemory", + "location": "imgui:3120", + "ov_cimguiname": "ImDrawListSplitter_ClearFreeMemory", + "ret": "void", + "signature": "()", + "stname": "ImDrawListSplitter" + } + ], + "ImDrawListSplitter_ImDrawListSplitter": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawListSplitter_ImDrawListSplitter", + "constructor": true, + "defaults": {}, + "funcname": "ImDrawListSplitter", + "location": "imgui:3117", + "ov_cimguiname": "ImDrawListSplitter_ImDrawListSplitter", + "signature": "()", + "stname": "ImDrawListSplitter" + } + ], + "ImDrawListSplitter_Merge": [ + { + "args": "(ImDrawListSplitter* self,ImDrawList* draw_list)", + "argsT": [ + { + "name": "self", + "type": "ImDrawListSplitter*" + }, + { + "name": "draw_list", + "type": "ImDrawList*" + } + ], + "argsoriginal": "(ImDrawList* draw_list)", + "call_args": "(draw_list)", + "cimguiname": "ImDrawListSplitter_Merge", + "defaults": {}, + "funcname": "Merge", + "location": "imgui:3122", + "ov_cimguiname": "ImDrawListSplitter_Merge", + "ret": "void", + "signature": "(ImDrawList*)", + "stname": "ImDrawListSplitter" + } + ], + "ImDrawListSplitter_SetCurrentChannel": [ + { + "args": "(ImDrawListSplitter* self,ImDrawList* draw_list,int channel_idx)", + "argsT": [ + { + "name": "self", + "type": "ImDrawListSplitter*" + }, + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "channel_idx", + "type": "int" + } + ], + "argsoriginal": "(ImDrawList* draw_list,int channel_idx)", + "call_args": "(draw_list,channel_idx)", + "cimguiname": "ImDrawListSplitter_SetCurrentChannel", + "defaults": {}, + "funcname": "SetCurrentChannel", + "location": "imgui:3123", + "ov_cimguiname": "ImDrawListSplitter_SetCurrentChannel", + "ret": "void", + "signature": "(ImDrawList*,int)", + "stname": "ImDrawListSplitter" + } + ], + "ImDrawListSplitter_Split": [ + { + "args": "(ImDrawListSplitter* self,ImDrawList* draw_list,int count)", + "argsT": [ + { + "name": "self", + "type": "ImDrawListSplitter*" + }, + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "count", + "type": "int" + } + ], + "argsoriginal": "(ImDrawList* draw_list,int count)", + "call_args": "(draw_list,count)", + "cimguiname": "ImDrawListSplitter_Split", + "defaults": {}, + "funcname": "Split", + "location": "imgui:3121", + "ov_cimguiname": "ImDrawListSplitter_Split", + "ret": "void", + "signature": "(ImDrawList*,int)", + "stname": "ImDrawListSplitter" + } + ], + "ImDrawListSplitter_destroy": [ + { + "args": "(ImDrawListSplitter* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawListSplitter*" + } + ], + "call_args": "(self)", + "cimguiname": "ImDrawListSplitter_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3118", + "ov_cimguiname": "ImDrawListSplitter_destroy", + "realdestructor": true, + "ret": "void", + "signature": "(ImDrawListSplitter*)", + "stname": "ImDrawListSplitter" + } + ], + "ImDrawList_AddBezierCubic": [ + { + "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col,float thickness,int num_segments)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p1", + "type": "const ImVec2" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "p4", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "thickness", + "type": "float" + }, + { + "name": "num_segments", + "type": "int" + } + ], + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,ImU32 col,float thickness,int num_segments=0)", + "call_args": "(p1,p2,p3,p4,col,thickness,num_segments)", + "cimguiname": "ImDrawList_AddBezierCubic", + "defaults": { + "num_segments": "0" + }, + "funcname": "AddBezierCubic", + "location": "imgui:3224", + "ov_cimguiname": "ImDrawList_AddBezierCubic", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddBezierQuadratic": [ + { + "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,ImU32 col,float thickness,int num_segments)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p1", + "type": "const ImVec2" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "thickness", + "type": "float" + }, + { + "name": "num_segments", + "type": "int" + } + ], + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,ImU32 col,float thickness,int num_segments=0)", + "call_args": "(p1,p2,p3,col,thickness,num_segments)", + "cimguiname": "ImDrawList_AddBezierQuadratic", + "defaults": { + "num_segments": "0" + }, + "funcname": "AddBezierQuadratic", + "location": "imgui:3225", + "ov_cimguiname": "ImDrawList_AddBezierQuadratic", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddCallback": [ + { + "args": "(ImDrawList* self,ImDrawCallback callback,void* userdata,size_t userdata_size)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "callback", + "type": "ImDrawCallback" + }, + { + "name": "userdata", + "type": "void*" + }, + { + "name": "userdata_size", + "type": "size_t" + } + ], + "argsoriginal": "(ImDrawCallback callback,void* userdata,size_t userdata_size=0)", + "call_args": "(callback,userdata,userdata_size)", + "cimguiname": "ImDrawList_AddCallback", + "defaults": { + "userdata_size": "0" + }, + "funcname": "AddCallback", + "location": "imgui:3267", + "ov_cimguiname": "ImDrawList_AddCallback", + "ret": "void", + "signature": "(ImDrawCallback,void*,size_t)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddCircle": [ + { + "args": "(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments,float thickness)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "center", + "type": "const ImVec2" + }, + { + "name": "radius", + "type": "float" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "num_segments", + "type": "int" + }, + { + "name": "thickness", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& center,float radius,ImU32 col,int num_segments=0,float thickness=1.0f)", + "call_args": "(center,radius,col,num_segments,thickness)", + "cimguiname": "ImDrawList_AddCircle", + "defaults": { + "num_segments": "0", + "thickness": "1.0f" + }, + "funcname": "AddCircle", + "location": "imgui:3216", + "ov_cimguiname": "ImDrawList_AddCircle", + "ret": "void", + "signature": "(const ImVec2,float,ImU32,int,float)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddCircleFilled": [ + { + "args": "(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "center", + "type": "const ImVec2" + }, + { + "name": "radius", + "type": "float" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "num_segments", + "type": "int" + } + ], + "argsoriginal": "(const ImVec2& center,float radius,ImU32 col,int num_segments=0)", + "call_args": "(center,radius,col,num_segments)", + "cimguiname": "ImDrawList_AddCircleFilled", + "defaults": { + "num_segments": "0" + }, + "funcname": "AddCircleFilled", + "location": "imgui:3217", + "ov_cimguiname": "ImDrawList_AddCircleFilled", + "ret": "void", + "signature": "(const ImVec2,float,ImU32,int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddConcavePolyFilled": [ + { + "args": "(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "points", + "type": "const ImVec2*" + }, + { + "name": "num_points", + "type": "int" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(const ImVec2* points,int num_points,ImU32 col)", + "call_args": "(points,num_points,col)", + "cimguiname": "ImDrawList_AddConcavePolyFilled", + "defaults": {}, + "funcname": "AddConcavePolyFilled", + "location": "imgui:3232", + "ov_cimguiname": "ImDrawList_AddConcavePolyFilled", + "ret": "void", + "signature": "(const ImVec2*,int,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddConvexPolyFilled": [ + { + "args": "(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "points", + "type": "const ImVec2*" + }, + { + "name": "num_points", + "type": "int" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(const ImVec2* points,int num_points,ImU32 col)", + "call_args": "(points,num_points,col)", + "cimguiname": "ImDrawList_AddConvexPolyFilled", + "defaults": {}, + "funcname": "AddConvexPolyFilled", + "location": "imgui:3231", + "ov_cimguiname": "ImDrawList_AddConvexPolyFilled", + "ret": "void", + "signature": "(const ImVec2*,int,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddDrawCmd": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_AddDrawCmd", + "defaults": {}, + "funcname": "AddDrawCmd", + "location": "imgui:3270", + "ov_cimguiname": "ImDrawList_AddDrawCmd", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddEllipse": [ + { + "args": "(ImDrawList* self,const ImVec2 center,const ImVec2 radius,ImU32 col,float rot,int num_segments,float thickness)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "center", + "type": "const ImVec2" + }, + { + "name": "radius", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "rot", + "type": "float" + }, + { + "name": "num_segments", + "type": "int" + }, + { + "name": "thickness", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& center,const ImVec2& radius,ImU32 col,float rot=0.0f,int num_segments=0,float thickness=1.0f)", + "call_args": "(center,radius,col,rot,num_segments,thickness)", + "cimguiname": "ImDrawList_AddEllipse", + "defaults": { + "num_segments": "0", + "rot": "0.0f", + "thickness": "1.0f" + }, + "funcname": "AddEllipse", + "location": "imgui:3220", + "ov_cimguiname": "ImDrawList_AddEllipse", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImU32,float,int,float)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddEllipseFilled": [ + { + "args": "(ImDrawList* self,const ImVec2 center,const ImVec2 radius,ImU32 col,float rot,int num_segments)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "center", + "type": "const ImVec2" + }, + { + "name": "radius", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "rot", + "type": "float" + }, + { + "name": "num_segments", + "type": "int" + } + ], + "argsoriginal": "(const ImVec2& center,const ImVec2& radius,ImU32 col,float rot=0.0f,int num_segments=0)", + "call_args": "(center,radius,col,rot,num_segments)", + "cimguiname": "ImDrawList_AddEllipseFilled", + "defaults": { + "num_segments": "0", + "rot": "0.0f" + }, + "funcname": "AddEllipseFilled", + "location": "imgui:3221", + "ov_cimguiname": "ImDrawList_AddEllipseFilled", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImU32,float,int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddImage": [ + { + "args": "(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p_min,const ImVec2 p_max,const ImVec2 uv_min,const ImVec2 uv_max,ImU32 col)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "user_texture_id", + "type": "ImTextureID" + }, + { + "name": "p_min", + "type": "const ImVec2" + }, + { + "name": "p_max", + "type": "const ImVec2" + }, + { + "name": "uv_min", + "type": "const ImVec2" + }, + { + "name": "uv_max", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& p_min,const ImVec2& p_max,const ImVec2& uv_min=ImVec2(0,0),const ImVec2& uv_max=ImVec2(1,1),ImU32 col=(((ImU32)(255)<<24)|((ImU32)(255)<<16)|((ImU32)(255)<<8)|((ImU32)(255)<<0)))", + "call_args": "(user_texture_id,p_min,p_max,uv_min,uv_max,col)", + "cimguiname": "ImDrawList_AddImage", + "defaults": { + "col": "4294967295", + "uv_max": "ImVec2(1,1)", + "uv_min": "ImVec2(0,0)" + }, + "funcname": "AddImage", + "location": "imgui:3238", + "ov_cimguiname": "ImDrawList_AddImage", + "ret": "void", + "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddImageQuad": [ + { + "args": "(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,const ImVec2 uv1,const ImVec2 uv2,const ImVec2 uv3,const ImVec2 uv4,ImU32 col)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "user_texture_id", + "type": "ImTextureID" + }, + { + "name": "p1", + "type": "const ImVec2" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "p4", + "type": "const ImVec2" + }, + { + "name": "uv1", + "type": "const ImVec2" + }, + { + "name": "uv2", + "type": "const ImVec2" + }, + { + "name": "uv3", + "type": "const ImVec2" + }, + { + "name": "uv4", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,const ImVec2& uv1=ImVec2(0,0),const ImVec2& uv2=ImVec2(1,0),const ImVec2& uv3=ImVec2(1,1),const ImVec2& uv4=ImVec2(0,1),ImU32 col=(((ImU32)(255)<<24)|((ImU32)(255)<<16)|((ImU32)(255)<<8)|((ImU32)(255)<<0)))", + "call_args": "(user_texture_id,p1,p2,p3,p4,uv1,uv2,uv3,uv4,col)", + "cimguiname": "ImDrawList_AddImageQuad", + "defaults": { + "col": "4294967295", + "uv1": "ImVec2(0,0)", + "uv2": "ImVec2(1,0)", + "uv3": "ImVec2(1,1)", + "uv4": "ImVec2(0,1)" + }, + "funcname": "AddImageQuad", + "location": "imgui:3239", + "ov_cimguiname": "ImDrawList_AddImageQuad", + "ret": "void", + "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddImageRounded": [ + { + "args": "(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p_min,const ImVec2 p_max,const ImVec2 uv_min,const ImVec2 uv_max,ImU32 col,float rounding,ImDrawFlags flags)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "user_texture_id", + "type": "ImTextureID" + }, + { + "name": "p_min", + "type": "const ImVec2" + }, + { + "name": "p_max", + "type": "const ImVec2" + }, + { + "name": "uv_min", + "type": "const ImVec2" + }, + { + "name": "uv_max", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "rounding", + "type": "float" + }, + { + "name": "flags", + "type": "ImDrawFlags" + } + ], + "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& p_min,const ImVec2& p_max,const ImVec2& uv_min,const ImVec2& uv_max,ImU32 col,float rounding,ImDrawFlags flags=0)", + "call_args": "(user_texture_id,p_min,p_max,uv_min,uv_max,col,rounding,flags)", + "cimguiname": "ImDrawList_AddImageRounded", + "defaults": { + "flags": "0" + }, + "funcname": "AddImageRounded", + "location": "imgui:3240", + "ov_cimguiname": "ImDrawList_AddImageRounded", + "ret": "void", + "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,ImDrawFlags)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddLine": [ + { + "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,ImU32 col,float thickness)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p1", + "type": "const ImVec2" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "thickness", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,ImU32 col,float thickness=1.0f)", + "call_args": "(p1,p2,col,thickness)", + "cimguiname": "ImDrawList_AddLine", + "defaults": { + "thickness": "1.0f" + }, + "funcname": "AddLine", + "location": "imgui:3208", + "ov_cimguiname": "ImDrawList_AddLine", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImU32,float)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddNgon": [ + { + "args": "(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments,float thickness)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "center", + "type": "const ImVec2" + }, + { + "name": "radius", + "type": "float" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "num_segments", + "type": "int" + }, + { + "name": "thickness", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& center,float radius,ImU32 col,int num_segments,float thickness=1.0f)", + "call_args": "(center,radius,col,num_segments,thickness)", + "cimguiname": "ImDrawList_AddNgon", + "defaults": { + "thickness": "1.0f" + }, + "funcname": "AddNgon", + "location": "imgui:3218", + "ov_cimguiname": "ImDrawList_AddNgon", + "ret": "void", + "signature": "(const ImVec2,float,ImU32,int,float)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddNgonFilled": [ + { + "args": "(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "center", + "type": "const ImVec2" + }, + { + "name": "radius", + "type": "float" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "num_segments", + "type": "int" + } + ], + "argsoriginal": "(const ImVec2& center,float radius,ImU32 col,int num_segments)", + "call_args": "(center,radius,col,num_segments)", + "cimguiname": "ImDrawList_AddNgonFilled", + "defaults": {}, + "funcname": "AddNgonFilled", + "location": "imgui:3219", + "ov_cimguiname": "ImDrawList_AddNgonFilled", + "ret": "void", + "signature": "(const ImVec2,float,ImU32,int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddPolyline": [ + { + "args": "(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col,ImDrawFlags flags,float thickness)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "points", + "type": "const ImVec2*" + }, + { + "name": "num_points", + "type": "int" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "flags", + "type": "ImDrawFlags" + }, + { + "name": "thickness", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2* points,int num_points,ImU32 col,ImDrawFlags flags,float thickness)", + "call_args": "(points,num_points,col,flags,thickness)", + "cimguiname": "ImDrawList_AddPolyline", + "defaults": {}, + "funcname": "AddPolyline", + "location": "imgui:3230", + "ov_cimguiname": "ImDrawList_AddPolyline", + "ret": "void", + "signature": "(const ImVec2*,int,ImU32,ImDrawFlags,float)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddQuad": [ + { + "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col,float thickness)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p1", + "type": "const ImVec2" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "p4", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "thickness", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,ImU32 col,float thickness=1.0f)", + "call_args": "(p1,p2,p3,p4,col,thickness)", + "cimguiname": "ImDrawList_AddQuad", + "defaults": { + "thickness": "1.0f" + }, + "funcname": "AddQuad", + "location": "imgui:3212", + "ov_cimguiname": "ImDrawList_AddQuad", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddQuadFilled": [ + { + "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p1", + "type": "const ImVec2" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "p4", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,ImU32 col)", + "call_args": "(p1,p2,p3,p4,col)", + "cimguiname": "ImDrawList_AddQuadFilled", + "defaults": {}, + "funcname": "AddQuadFilled", + "location": "imgui:3213", + "ov_cimguiname": "ImDrawList_AddQuadFilled", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddRect": [ + { + "args": "(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col,float rounding,ImDrawFlags flags,float thickness)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p_min", + "type": "const ImVec2" + }, + { + "name": "p_max", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "rounding", + "type": "float" + }, + { + "name": "flags", + "type": "ImDrawFlags" + }, + { + "name": "thickness", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& p_min,const ImVec2& p_max,ImU32 col,float rounding=0.0f,ImDrawFlags flags=0,float thickness=1.0f)", + "call_args": "(p_min,p_max,col,rounding,flags,thickness)", + "cimguiname": "ImDrawList_AddRect", + "defaults": { + "flags": "0", + "rounding": "0.0f", + "thickness": "1.0f" + }, + "funcname": "AddRect", + "location": "imgui:3209", + "ov_cimguiname": "ImDrawList_AddRect", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImU32,float,ImDrawFlags,float)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddRectFilled": [ + { + "args": "(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col,float rounding,ImDrawFlags flags)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p_min", + "type": "const ImVec2" + }, + { + "name": "p_max", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "rounding", + "type": "float" + }, + { + "name": "flags", + "type": "ImDrawFlags" + } + ], + "argsoriginal": "(const ImVec2& p_min,const ImVec2& p_max,ImU32 col,float rounding=0.0f,ImDrawFlags flags=0)", + "call_args": "(p_min,p_max,col,rounding,flags)", + "cimguiname": "ImDrawList_AddRectFilled", + "defaults": { + "flags": "0", + "rounding": "0.0f" + }, + "funcname": "AddRectFilled", + "location": "imgui:3210", + "ov_cimguiname": "ImDrawList_AddRectFilled", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImU32,float,ImDrawFlags)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddRectFilledMultiColor": [ + { + "args": "(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p_min", + "type": "const ImVec2" + }, + { + "name": "p_max", + "type": "const ImVec2" + }, + { + "name": "col_upr_left", + "type": "ImU32" + }, + { + "name": "col_upr_right", + "type": "ImU32" + }, + { + "name": "col_bot_right", + "type": "ImU32" + }, + { + "name": "col_bot_left", + "type": "ImU32" + } + ], + "argsoriginal": "(const ImVec2& p_min,const ImVec2& p_max,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)", + "call_args": "(p_min,p_max,col_upr_left,col_upr_right,col_bot_right,col_bot_left)", + "cimguiname": "ImDrawList_AddRectFilledMultiColor", + "defaults": {}, + "funcname": "AddRectFilledMultiColor", + "location": "imgui:3211", + "ov_cimguiname": "ImDrawList_AddRectFilledMultiColor", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddText": [ + { + "args": "(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "text_begin", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + } + ], + "argsoriginal": "(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void*)0))", + "call_args": "(pos,col,text_begin,text_end)", + "cimguiname": "ImDrawList_AddText", + "defaults": { + "text_end": "NULL" + }, + "funcname": "AddText", + "location": "imgui:3222", + "ov_cimguiname": "ImDrawList_AddText_Vec2", + "ret": "void", + "signature": "(const ImVec2,ImU32,const char*,const char*)", + "stname": "ImDrawList" + }, + { + "args": "(ImDrawList* self,ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "font", + "type": "ImFont*" + }, + { + "name": "font_size", + "type": "float" + }, + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "text_begin", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + }, + { + "name": "wrap_width", + "type": "float" + }, + { + "name": "cpu_fine_clip_rect", + "type": "const ImVec4*" + } + ], + "argsoriginal": "(ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void*)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void*)0))", + "call_args": "(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)", + "cimguiname": "ImDrawList_AddText", + "defaults": { + "cpu_fine_clip_rect": "NULL", + "text_end": "NULL", + "wrap_width": "0.0f" + }, + "funcname": "AddText", + "location": "imgui:3223", + "ov_cimguiname": "ImDrawList_AddText_FontPtr", + "ret": "void", + "signature": "(ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddTriangle": [ + { + "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,ImU32 col,float thickness)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p1", + "type": "const ImVec2" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "thickness", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,ImU32 col,float thickness=1.0f)", + "call_args": "(p1,p2,p3,col,thickness)", + "cimguiname": "ImDrawList_AddTriangle", + "defaults": { + "thickness": "1.0f" + }, + "funcname": "AddTriangle", + "location": "imgui:3214", + "ov_cimguiname": "ImDrawList_AddTriangle", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32,float)", + "stname": "ImDrawList" + } + ], + "ImDrawList_AddTriangleFilled": [ + { + "args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,ImU32 col)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p1", + "type": "const ImVec2" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,ImU32 col)", + "call_args": "(p1,p2,p3,col)", + "cimguiname": "ImDrawList_AddTriangleFilled", + "defaults": {}, + "funcname": "AddTriangleFilled", + "location": "imgui:3215", + "ov_cimguiname": "ImDrawList_AddTriangleFilled", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_ChannelsMerge": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_ChannelsMerge", + "defaults": {}, + "funcname": "ChannelsMerge", + "location": "imgui:3280", + "ov_cimguiname": "ImDrawList_ChannelsMerge", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList_ChannelsSetCurrent": [ + { + "args": "(ImDrawList* self,int n)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(int n)", + "call_args": "(n)", + "cimguiname": "ImDrawList_ChannelsSetCurrent", + "defaults": {}, + "funcname": "ChannelsSetCurrent", + "location": "imgui:3281", + "ov_cimguiname": "ImDrawList_ChannelsSetCurrent", + "ret": "void", + "signature": "(int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_ChannelsSplit": [ + { + "args": "(ImDrawList* self,int count)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "count", + "type": "int" + } + ], + "argsoriginal": "(int count)", + "call_args": "(count)", + "cimguiname": "ImDrawList_ChannelsSplit", + "defaults": {}, + "funcname": "ChannelsSplit", + "location": "imgui:3279", + "ov_cimguiname": "ImDrawList_ChannelsSplit", + "ret": "void", + "signature": "(int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_CloneOutput": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_CloneOutput", + "defaults": {}, + "funcname": "CloneOutput", + "location": "imgui:3271", + "ov_cimguiname": "ImDrawList_CloneOutput", + "ret": "ImDrawList*", + "signature": "()const", + "stname": "ImDrawList" + } + ], + "ImDrawList_GetClipRectMax": [ + { + "args": "(ImVec2 *pOut,ImDrawList* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_GetClipRectMax", + "defaults": {}, + "funcname": "GetClipRectMax", + "location": "imgui:3199", + "nonUDT": 1, + "ov_cimguiname": "ImDrawList_GetClipRectMax", + "ret": "void", + "signature": "()const", + "stname": "ImDrawList" + } + ], + "ImDrawList_GetClipRectMin": [ + { + "args": "(ImVec2 *pOut,ImDrawList* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_GetClipRectMin", + "defaults": {}, + "funcname": "GetClipRectMin", + "location": "imgui:3198", + "nonUDT": 1, + "ov_cimguiname": "ImDrawList_GetClipRectMin", + "ret": "void", + "signature": "()const", + "stname": "ImDrawList" + } + ], + "ImDrawList_ImDrawList": [ + { + "args": "(ImDrawListSharedData* shared_data)", + "argsT": [ + { + "name": "shared_data", + "type": "ImDrawListSharedData*" + } + ], + "argsoriginal": "(ImDrawListSharedData* shared_data)", + "call_args": "(shared_data)", + "cimguiname": "ImDrawList_ImDrawList", + "constructor": true, + "defaults": {}, + "funcname": "ImDrawList", + "location": "imgui:3190", + "ov_cimguiname": "ImDrawList_ImDrawList", + "signature": "(ImDrawListSharedData*)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PathArcTo": [ + { + "args": "(ImDrawList* self,const ImVec2 center,float radius,float a_min,float a_max,int num_segments)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "center", + "type": "const ImVec2" + }, + { + "name": "radius", + "type": "float" + }, + { + "name": "a_min", + "type": "float" + }, + { + "name": "a_max", + "type": "float" + }, + { + "name": "num_segments", + "type": "int" + } + ], + "argsoriginal": "(const ImVec2& center,float radius,float a_min,float a_max,int num_segments=0)", + "call_args": "(center,radius,a_min,a_max,num_segments)", + "cimguiname": "ImDrawList_PathArcTo", + "defaults": { + "num_segments": "0" + }, + "funcname": "PathArcTo", + "location": "imgui:3251", + "ov_cimguiname": "ImDrawList_PathArcTo", + "ret": "void", + "signature": "(const ImVec2,float,float,float,int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PathArcToFast": [ + { + "args": "(ImDrawList* self,const ImVec2 center,float radius,int a_min_of_12,int a_max_of_12)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "center", + "type": "const ImVec2" + }, + { + "name": "radius", + "type": "float" + }, + { + "name": "a_min_of_12", + "type": "int" + }, + { + "name": "a_max_of_12", + "type": "int" + } + ], + "argsoriginal": "(const ImVec2& center,float radius,int a_min_of_12,int a_max_of_12)", + "call_args": "(center,radius,a_min_of_12,a_max_of_12)", + "cimguiname": "ImDrawList_PathArcToFast", + "defaults": {}, + "funcname": "PathArcToFast", + "location": "imgui:3252", + "ov_cimguiname": "ImDrawList_PathArcToFast", + "ret": "void", + "signature": "(const ImVec2,float,int,int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PathBezierCubicCurveTo": [ + { + "args": "(ImDrawList* self,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,int num_segments)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "p4", + "type": "const ImVec2" + }, + { + "name": "num_segments", + "type": "int" + } + ], + "argsoriginal": "(const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,int num_segments=0)", + "call_args": "(p2,p3,p4,num_segments)", + "cimguiname": "ImDrawList_PathBezierCubicCurveTo", + "defaults": { + "num_segments": "0" + }, + "funcname": "PathBezierCubicCurveTo", + "location": "imgui:3254", + "ov_cimguiname": "ImDrawList_PathBezierCubicCurveTo", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PathBezierQuadraticCurveTo": [ + { + "args": "(ImDrawList* self,const ImVec2 p2,const ImVec2 p3,int num_segments)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "num_segments", + "type": "int" + } + ], + "argsoriginal": "(const ImVec2& p2,const ImVec2& p3,int num_segments=0)", + "call_args": "(p2,p3,num_segments)", + "cimguiname": "ImDrawList_PathBezierQuadraticCurveTo", + "defaults": { + "num_segments": "0" + }, + "funcname": "PathBezierQuadraticCurveTo", + "location": "imgui:3255", + "ov_cimguiname": "ImDrawList_PathBezierQuadraticCurveTo", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PathClear": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_PathClear", + "defaults": {}, + "funcname": "PathClear", + "location": "imgui:3245", + "ov_cimguiname": "ImDrawList_PathClear", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList_PathEllipticalArcTo": [ + { + "args": "(ImDrawList* self,const ImVec2 center,const ImVec2 radius,float rot,float a_min,float a_max,int num_segments)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "center", + "type": "const ImVec2" + }, + { + "name": "radius", + "type": "const ImVec2" + }, + { + "name": "rot", + "type": "float" + }, + { + "name": "a_min", + "type": "float" + }, + { + "name": "a_max", + "type": "float" + }, + { + "name": "num_segments", + "type": "int" + } + ], + "argsoriginal": "(const ImVec2& center,const ImVec2& radius,float rot,float a_min,float a_max,int num_segments=0)", + "call_args": "(center,radius,rot,a_min,a_max,num_segments)", + "cimguiname": "ImDrawList_PathEllipticalArcTo", + "defaults": { + "num_segments": "0" + }, + "funcname": "PathEllipticalArcTo", + "location": "imgui:3253", + "ov_cimguiname": "ImDrawList_PathEllipticalArcTo", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,float,float,float,int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PathFillConcave": [ + { + "args": "(ImDrawList* self,ImU32 col)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(ImU32 col)", + "call_args": "(col)", + "cimguiname": "ImDrawList_PathFillConcave", + "defaults": {}, + "funcname": "PathFillConcave", + "location": "imgui:3249", + "ov_cimguiname": "ImDrawList_PathFillConcave", + "ret": "void", + "signature": "(ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PathFillConvex": [ + { + "args": "(ImDrawList* self,ImU32 col)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(ImU32 col)", + "call_args": "(col)", + "cimguiname": "ImDrawList_PathFillConvex", + "defaults": {}, + "funcname": "PathFillConvex", + "location": "imgui:3248", + "ov_cimguiname": "ImDrawList_PathFillConvex", + "ret": "void", + "signature": "(ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PathLineTo": [ + { + "args": "(ImDrawList* self,const ImVec2 pos)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "pos", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& pos)", + "call_args": "(pos)", + "cimguiname": "ImDrawList_PathLineTo", + "defaults": {}, + "funcname": "PathLineTo", + "location": "imgui:3246", + "ov_cimguiname": "ImDrawList_PathLineTo", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PathLineToMergeDuplicate": [ + { + "args": "(ImDrawList* self,const ImVec2 pos)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "pos", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& pos)", + "call_args": "(pos)", + "cimguiname": "ImDrawList_PathLineToMergeDuplicate", + "defaults": {}, + "funcname": "PathLineToMergeDuplicate", + "location": "imgui:3247", + "ov_cimguiname": "ImDrawList_PathLineToMergeDuplicate", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PathRect": [ + { + "args": "(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,ImDrawFlags flags)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "rect_min", + "type": "const ImVec2" + }, + { + "name": "rect_max", + "type": "const ImVec2" + }, + { + "name": "rounding", + "type": "float" + }, + { + "name": "flags", + "type": "ImDrawFlags" + } + ], + "argsoriginal": "(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,ImDrawFlags flags=0)", + "call_args": "(rect_min,rect_max,rounding,flags)", + "cimguiname": "ImDrawList_PathRect", + "defaults": { + "flags": "0", + "rounding": "0.0f" + }, + "funcname": "PathRect", + "location": "imgui:3256", + "ov_cimguiname": "ImDrawList_PathRect", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,float,ImDrawFlags)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PathStroke": [ + { + "args": "(ImDrawList* self,ImU32 col,ImDrawFlags flags,float thickness)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "flags", + "type": "ImDrawFlags" + }, + { + "name": "thickness", + "type": "float" + } + ], + "argsoriginal": "(ImU32 col,ImDrawFlags flags=0,float thickness=1.0f)", + "call_args": "(col,flags,thickness)", + "cimguiname": "ImDrawList_PathStroke", + "defaults": { + "flags": "0", + "thickness": "1.0f" + }, + "funcname": "PathStroke", + "location": "imgui:3250", + "ov_cimguiname": "ImDrawList_PathStroke", + "ret": "void", + "signature": "(ImU32,ImDrawFlags,float)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PopClipRect": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_PopClipRect", + "defaults": {}, + "funcname": "PopClipRect", + "location": "imgui:3195", + "ov_cimguiname": "ImDrawList_PopClipRect", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList_PopTextureID": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_PopTextureID", + "defaults": {}, + "funcname": "PopTextureID", + "location": "imgui:3197", + "ov_cimguiname": "ImDrawList_PopTextureID", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList_PrimQuadUV": [ + { + "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + }, + { + "name": "c", + "type": "const ImVec2" + }, + { + "name": "d", + "type": "const ImVec2" + }, + { + "name": "uv_a", + "type": "const ImVec2" + }, + { + "name": "uv_b", + "type": "const ImVec2" + }, + { + "name": "uv_c", + "type": "const ImVec2" + }, + { + "name": "uv_d", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)", + "call_args": "(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)", + "cimguiname": "ImDrawList_PrimQuadUV", + "defaults": {}, + "funcname": "PrimQuadUV", + "location": "imgui:3290", + "ov_cimguiname": "ImDrawList_PrimQuadUV", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PrimRect": [ + { + "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(const ImVec2& a,const ImVec2& b,ImU32 col)", + "call_args": "(a,b,col)", + "cimguiname": "ImDrawList_PrimRect", + "defaults": {}, + "funcname": "PrimRect", + "location": "imgui:3288", + "ov_cimguiname": "ImDrawList_PrimRect", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PrimRectUV": [ + { + "args": "(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + }, + { + "name": "uv_a", + "type": "const ImVec2" + }, + { + "name": "uv_b", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)", + "call_args": "(a,b,uv_a,uv_b,col)", + "cimguiname": "ImDrawList_PrimRectUV", + "defaults": {}, + "funcname": "PrimRectUV", + "location": "imgui:3289", + "ov_cimguiname": "ImDrawList_PrimRectUV", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PrimReserve": [ + { + "args": "(ImDrawList* self,int idx_count,int vtx_count)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "idx_count", + "type": "int" + }, + { + "name": "vtx_count", + "type": "int" + } + ], + "argsoriginal": "(int idx_count,int vtx_count)", + "call_args": "(idx_count,vtx_count)", + "cimguiname": "ImDrawList_PrimReserve", + "defaults": {}, + "funcname": "PrimReserve", + "location": "imgui:3286", + "ov_cimguiname": "ImDrawList_PrimReserve", + "ret": "void", + "signature": "(int,int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PrimUnreserve": [ + { + "args": "(ImDrawList* self,int idx_count,int vtx_count)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "idx_count", + "type": "int" + }, + { + "name": "vtx_count", + "type": "int" + } + ], + "argsoriginal": "(int idx_count,int vtx_count)", + "call_args": "(idx_count,vtx_count)", + "cimguiname": "ImDrawList_PrimUnreserve", + "defaults": {}, + "funcname": "PrimUnreserve", + "location": "imgui:3287", + "ov_cimguiname": "ImDrawList_PrimUnreserve", + "ret": "void", + "signature": "(int,int)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PrimVtx": [ + { + "args": "(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "uv", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(const ImVec2& pos,const ImVec2& uv,ImU32 col)", + "call_args": "(pos,uv,col)", + "cimguiname": "ImDrawList_PrimVtx", + "defaults": {}, + "funcname": "PrimVtx", + "location": "imgui:3293", + "ov_cimguiname": "ImDrawList_PrimVtx", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PrimWriteIdx": [ + { + "args": "(ImDrawList* self,ImDrawIdx idx)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "idx", + "type": "ImDrawIdx" + } + ], + "argsoriginal": "(ImDrawIdx idx)", + "call_args": "(idx)", + "cimguiname": "ImDrawList_PrimWriteIdx", + "defaults": {}, + "funcname": "PrimWriteIdx", + "location": "imgui:3292", + "ov_cimguiname": "ImDrawList_PrimWriteIdx", + "ret": "void", + "signature": "(ImDrawIdx)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PrimWriteVtx": [ + { + "args": "(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "uv", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(const ImVec2& pos,const ImVec2& uv,ImU32 col)", + "call_args": "(pos,uv,col)", + "cimguiname": "ImDrawList_PrimWriteVtx", + "defaults": {}, + "funcname": "PrimWriteVtx", + "location": "imgui:3291", + "ov_cimguiname": "ImDrawList_PrimWriteVtx", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImU32)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PushClipRect": [ + { + "args": "(ImDrawList* self,const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "clip_rect_min", + "type": "const ImVec2" + }, + { + "name": "clip_rect_max", + "type": "const ImVec2" + }, + { + "name": "intersect_with_current_clip_rect", + "type": "bool" + } + ], + "argsoriginal": "(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect=false)", + "call_args": "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)", + "cimguiname": "ImDrawList_PushClipRect", + "defaults": { + "intersect_with_current_clip_rect": "false" + }, + "funcname": "PushClipRect", + "location": "imgui:3193", + "ov_cimguiname": "ImDrawList_PushClipRect", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,bool)", + "stname": "ImDrawList" + } + ], + "ImDrawList_PushClipRectFullScreen": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList_PushClipRectFullScreen", + "defaults": {}, + "funcname": "PushClipRectFullScreen", + "location": "imgui:3194", + "ov_cimguiname": "ImDrawList_PushClipRectFullScreen", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList_PushTextureID": [ + { + "args": "(ImDrawList* self,ImTextureID texture_id)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "texture_id", + "type": "ImTextureID" + } + ], + "argsoriginal": "(ImTextureID texture_id)", + "call_args": "(texture_id)", + "cimguiname": "ImDrawList_PushTextureID", + "defaults": {}, + "funcname": "PushTextureID", + "location": "imgui:3196", + "ov_cimguiname": "ImDrawList_PushTextureID", + "ret": "void", + "signature": "(ImTextureID)", + "stname": "ImDrawList" + } + ], + "ImDrawList__CalcCircleAutoSegmentCount": [ + { + "args": "(ImDrawList* self,float radius)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "radius", + "type": "float" + } + ], + "argsoriginal": "(float radius)", + "call_args": "(radius)", + "cimguiname": "ImDrawList__CalcCircleAutoSegmentCount", + "defaults": {}, + "funcname": "_CalcCircleAutoSegmentCount", + "location": "imgui:3311", + "ov_cimguiname": "ImDrawList__CalcCircleAutoSegmentCount", + "ret": "int", + "signature": "(float)const", + "stname": "ImDrawList" + } + ], + "ImDrawList__ClearFreeMemory": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList__ClearFreeMemory", + "defaults": {}, + "funcname": "_ClearFreeMemory", + "location": "imgui:3304", + "ov_cimguiname": "ImDrawList__ClearFreeMemory", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList__OnChangedClipRect": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList__OnChangedClipRect", + "defaults": {}, + "funcname": "_OnChangedClipRect", + "location": "imgui:3307", + "ov_cimguiname": "ImDrawList__OnChangedClipRect", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList__OnChangedTextureID": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList__OnChangedTextureID", + "defaults": {}, + "funcname": "_OnChangedTextureID", + "location": "imgui:3308", + "ov_cimguiname": "ImDrawList__OnChangedTextureID", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList__OnChangedVtxOffset": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList__OnChangedVtxOffset", + "defaults": {}, + "funcname": "_OnChangedVtxOffset", + "location": "imgui:3309", + "ov_cimguiname": "ImDrawList__OnChangedVtxOffset", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList__PathArcToFastEx": [ + { + "args": "(ImDrawList* self,const ImVec2 center,float radius,int a_min_sample,int a_max_sample,int a_step)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "center", + "type": "const ImVec2" + }, + { + "name": "radius", + "type": "float" + }, + { + "name": "a_min_sample", + "type": "int" + }, + { + "name": "a_max_sample", + "type": "int" + }, + { + "name": "a_step", + "type": "int" + } + ], + "argsoriginal": "(const ImVec2& center,float radius,int a_min_sample,int a_max_sample,int a_step)", + "call_args": "(center,radius,a_min_sample,a_max_sample,a_step)", + "cimguiname": "ImDrawList__PathArcToFastEx", + "defaults": {}, + "funcname": "_PathArcToFastEx", + "location": "imgui:3312", + "ov_cimguiname": "ImDrawList__PathArcToFastEx", + "ret": "void", + "signature": "(const ImVec2,float,int,int,int)", + "stname": "ImDrawList" + } + ], + "ImDrawList__PathArcToN": [ + { + "args": "(ImDrawList* self,const ImVec2 center,float radius,float a_min,float a_max,int num_segments)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "center", + "type": "const ImVec2" + }, + { + "name": "radius", + "type": "float" + }, + { + "name": "a_min", + "type": "float" + }, + { + "name": "a_max", + "type": "float" + }, + { + "name": "num_segments", + "type": "int" + } + ], + "argsoriginal": "(const ImVec2& center,float radius,float a_min,float a_max,int num_segments)", + "call_args": "(center,radius,a_min,a_max,num_segments)", + "cimguiname": "ImDrawList__PathArcToN", + "defaults": {}, + "funcname": "_PathArcToN", + "location": "imgui:3313", + "ov_cimguiname": "ImDrawList__PathArcToN", + "ret": "void", + "signature": "(const ImVec2,float,float,float,int)", + "stname": "ImDrawList" + } + ], + "ImDrawList__PopUnusedDrawCmd": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList__PopUnusedDrawCmd", + "defaults": {}, + "funcname": "_PopUnusedDrawCmd", + "location": "imgui:3305", + "ov_cimguiname": "ImDrawList__PopUnusedDrawCmd", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList__ResetForNewFrame": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList__ResetForNewFrame", + "defaults": {}, + "funcname": "_ResetForNewFrame", + "location": "imgui:3303", + "ov_cimguiname": "ImDrawList__ResetForNewFrame", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList__SetTextureID": [ + { + "args": "(ImDrawList* self,ImTextureID texture_id)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + }, + { + "name": "texture_id", + "type": "ImTextureID" + } + ], + "argsoriginal": "(ImTextureID texture_id)", + "call_args": "(texture_id)", + "cimguiname": "ImDrawList__SetTextureID", + "defaults": {}, + "funcname": "_SetTextureID", + "location": "imgui:3310", + "ov_cimguiname": "ImDrawList__SetTextureID", + "ret": "void", + "signature": "(ImTextureID)", + "stname": "ImDrawList" + } + ], + "ImDrawList__TryMergeDrawCmds": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList__TryMergeDrawCmds", + "defaults": {}, + "funcname": "_TryMergeDrawCmds", + "location": "imgui:3306", + "ov_cimguiname": "ImDrawList__TryMergeDrawCmds", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList_destroy": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "call_args": "(self)", + "cimguiname": "ImDrawList_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3191", + "ov_cimguiname": "ImDrawList_destroy", + "realdestructor": true, + "ret": "void", + "signature": "(ImDrawList*)", + "stname": "ImDrawList" + } + ], + "ImFontAtlasCustomRect_ImFontAtlasCustomRect": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlasCustomRect_ImFontAtlasCustomRect", + "constructor": true, + "defaults": {}, + "funcname": "ImFontAtlasCustomRect", + "location": "imgui:3411", + "ov_cimguiname": "ImFontAtlasCustomRect_ImFontAtlasCustomRect", + "signature": "()", + "stname": "ImFontAtlasCustomRect" + } + ], + "ImFontAtlasCustomRect_IsPacked": [ + { + "args": "(ImFontAtlasCustomRect* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlasCustomRect*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlasCustomRect_IsPacked", + "defaults": {}, + "funcname": "IsPacked", + "location": "imgui:3412", + "ov_cimguiname": "ImFontAtlasCustomRect_IsPacked", + "ret": "bool", + "signature": "()const", + "stname": "ImFontAtlasCustomRect" + } + ], + "ImFontAtlasCustomRect_destroy": [ + { + "args": "(ImFontAtlasCustomRect* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlasCustomRect*" + } + ], + "call_args": "(self)", + "cimguiname": "ImFontAtlasCustomRect_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3411", + "ov_cimguiname": "ImFontAtlasCustomRect_destroy", + "ret": "void", + "signature": "(ImFontAtlasCustomRect*)", + "stname": "ImFontAtlasCustomRect" + } + ], + "ImFontAtlas_AddCustomRectFontGlyph": [ + { + "args": "(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "font", + "type": "ImFont*" + }, + { + "name": "id", + "type": "ImWchar" + }, + { + "name": "width", + "type": "int" + }, + { + "name": "height", + "type": "int" + }, + { + "name": "advance_x", + "type": "float" + }, + { + "name": "offset", + "type": "const ImVec2" + } + ], + "argsoriginal": "(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))", + "call_args": "(font,id,width,height,advance_x,offset)", + "cimguiname": "ImFontAtlas_AddCustomRectFontGlyph", + "defaults": { + "offset": "ImVec2(0,0)" + }, + "funcname": "AddCustomRectFontGlyph", + "location": "imgui:3497", + "ov_cimguiname": "ImFontAtlas_AddCustomRectFontGlyph", + "ret": "int", + "signature": "(ImFont*,ImWchar,int,int,float,const ImVec2)", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_AddCustomRectRegular": [ + { + "args": "(ImFontAtlas* self,int width,int height)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "width", + "type": "int" + }, + { + "name": "height", + "type": "int" + } + ], + "argsoriginal": "(int width,int height)", + "call_args": "(width,height)", + "cimguiname": "ImFontAtlas_AddCustomRectRegular", + "defaults": {}, + "funcname": "AddCustomRectRegular", + "location": "imgui:3496", + "ov_cimguiname": "ImFontAtlas_AddCustomRectRegular", + "ret": "int", + "signature": "(int,int)", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_AddFont": [ + { + "args": "(ImFontAtlas* self,const ImFontConfig* font_cfg)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "font_cfg", + "type": "const ImFontConfig*" + } + ], + "argsoriginal": "(const ImFontConfig* font_cfg)", + "call_args": "(font_cfg)", + "cimguiname": "ImFontAtlas_AddFont", + "defaults": {}, + "funcname": "AddFont", + "location": "imgui:3445", + "ov_cimguiname": "ImFontAtlas_AddFont", + "ret": "ImFont*", + "signature": "(const ImFontConfig*)", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_AddFontDefault": [ + { + "args": "(ImFontAtlas* self,const ImFontConfig* font_cfg)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "font_cfg", + "type": "const ImFontConfig*" + } + ], + "argsoriginal": "(const ImFontConfig* font_cfg=((void*)0))", + "call_args": "(font_cfg)", + "cimguiname": "ImFontAtlas_AddFontDefault", + "defaults": { + "font_cfg": "NULL" + }, + "funcname": "AddFontDefault", + "location": "imgui:3446", + "ov_cimguiname": "ImFontAtlas_AddFontDefault", + "ret": "ImFont*", + "signature": "(const ImFontConfig*)", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_AddFontFromFileTTF": [ + { + "args": "(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "filename", + "type": "const char*" + }, + { + "name": "size_pixels", + "type": "float" + }, + { + "name": "font_cfg", + "type": "const ImFontConfig*" + }, + { + "name": "glyph_ranges", + "type": "const ImWchar*" + } + ], + "argsoriginal": "(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", + "call_args": "(filename,size_pixels,font_cfg,glyph_ranges)", + "cimguiname": "ImFontAtlas_AddFontFromFileTTF", + "defaults": { + "font_cfg": "NULL", + "glyph_ranges": "NULL" + }, + "funcname": "AddFontFromFileTTF", + "location": "imgui:3447", + "ov_cimguiname": "ImFontAtlas_AddFontFromFileTTF", + "ret": "ImFont*", + "signature": "(const char*,float,const ImFontConfig*,const ImWchar*)", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF": [ + { + "args": "(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "compressed_font_data_base85", + "type": "const char*" + }, + { + "name": "size_pixels", + "type": "float" + }, + { + "name": "font_cfg", + "type": "const ImFontConfig*" + }, + { + "name": "glyph_ranges", + "type": "const ImWchar*" + } + ], + "argsoriginal": "(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", + "call_args": "(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)", + "cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF", + "defaults": { + "font_cfg": "NULL", + "glyph_ranges": "NULL" + }, + "funcname": "AddFontFromMemoryCompressedBase85TTF", + "location": "imgui:3450", + "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF", + "ret": "ImFont*", + "signature": "(const char*,float,const ImFontConfig*,const ImWchar*)", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_AddFontFromMemoryCompressedTTF": [ + { + "args": "(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_data_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "compressed_font_data", + "type": "const void*" + }, + { + "name": "compressed_font_data_size", + "type": "int" + }, + { + "name": "size_pixels", + "type": "float" + }, + { + "name": "font_cfg", + "type": "const ImFontConfig*" + }, + { + "name": "glyph_ranges", + "type": "const ImWchar*" + } + ], + "argsoriginal": "(const void* compressed_font_data,int compressed_font_data_size,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", + "call_args": "(compressed_font_data,compressed_font_data_size,size_pixels,font_cfg,glyph_ranges)", + "cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedTTF", + "defaults": { + "font_cfg": "NULL", + "glyph_ranges": "NULL" + }, + "funcname": "AddFontFromMemoryCompressedTTF", + "location": "imgui:3449", + "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedTTF", + "ret": "ImFont*", + "signature": "(const void*,int,float,const ImFontConfig*,const ImWchar*)", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_AddFontFromMemoryTTF": [ + { + "args": "(ImFontAtlas* self,void* font_data,int font_data_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "font_data", + "type": "void*" + }, + { + "name": "font_data_size", + "type": "int" + }, + { + "name": "size_pixels", + "type": "float" + }, + { + "name": "font_cfg", + "type": "const ImFontConfig*" + }, + { + "name": "glyph_ranges", + "type": "const ImWchar*" + } + ], + "argsoriginal": "(void* font_data,int font_data_size,float size_pixels,const ImFontConfig* font_cfg=((void*)0),const ImWchar* glyph_ranges=((void*)0))", + "call_args": "(font_data,font_data_size,size_pixels,font_cfg,glyph_ranges)", + "cimguiname": "ImFontAtlas_AddFontFromMemoryTTF", + "defaults": { + "font_cfg": "NULL", + "glyph_ranges": "NULL" + }, + "funcname": "AddFontFromMemoryTTF", + "location": "imgui:3448", + "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryTTF", + "ret": "ImFont*", + "signature": "(void*,int,float,const ImFontConfig*,const ImWchar*)", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_Build": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_Build", + "defaults": {}, + "funcname": "Build", + "location": "imgui:3461", + "ov_cimguiname": "ImFontAtlas_Build", + "ret": "bool", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_CalcCustomRectUV": [ + { + "args": "(ImFontAtlas* self,const ImFontAtlasCustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "rect", + "type": "const ImFontAtlasCustomRect*" + }, + { + "name": "out_uv_min", + "type": "ImVec2*" + }, + { + "name": "out_uv_max", + "type": "ImVec2*" + } + ], + "argsoriginal": "(const ImFontAtlasCustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)", + "call_args": "(rect,out_uv_min,out_uv_max)", + "cimguiname": "ImFontAtlas_CalcCustomRectUV", + "defaults": {}, + "funcname": "CalcCustomRectUV", + "location": "imgui:3501", + "ov_cimguiname": "ImFontAtlas_CalcCustomRectUV", + "ret": "void", + "signature": "(const ImFontAtlasCustomRect*,ImVec2*,ImVec2*)const", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_Clear": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui:3454", + "ov_cimguiname": "ImFontAtlas_Clear", + "ret": "void", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_ClearFonts": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_ClearFonts", + "defaults": {}, + "funcname": "ClearFonts", + "location": "imgui:3453", + "ov_cimguiname": "ImFontAtlas_ClearFonts", + "ret": "void", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_ClearInputData": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_ClearInputData", + "defaults": {}, + "funcname": "ClearInputData", + "location": "imgui:3451", + "ov_cimguiname": "ImFontAtlas_ClearInputData", + "ret": "void", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_ClearTexData": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_ClearTexData", + "defaults": {}, + "funcname": "ClearTexData", + "location": "imgui:3452", + "ov_cimguiname": "ImFontAtlas_ClearTexData", + "ret": "void", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetCustomRectByIndex": [ + { + "args": "(ImFontAtlas* self,int index)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "index", + "type": "int" + } + ], + "argsoriginal": "(int index)", + "call_args": "(index)", + "cimguiname": "ImFontAtlas_GetCustomRectByIndex", + "defaults": {}, + "funcname": "GetCustomRectByIndex", + "location": "imgui:3498", + "ov_cimguiname": "ImFontAtlas_GetCustomRectByIndex", + "ret": "ImFontAtlasCustomRect*", + "signature": "(int)", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesChineseFull": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesChineseFull", + "defaults": {}, + "funcname": "GetGlyphRangesChineseFull", + "location": "imgui:3479", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesChineseFull", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon", + "defaults": {}, + "funcname": "GetGlyphRangesChineseSimplifiedCommon", + "location": "imgui:3480", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesCyrillic": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesCyrillic", + "defaults": {}, + "funcname": "GetGlyphRangesCyrillic", + "location": "imgui:3481", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesCyrillic", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesDefault": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesDefault", + "defaults": {}, + "funcname": "GetGlyphRangesDefault", + "location": "imgui:3475", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesDefault", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesGreek": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesGreek", + "defaults": {}, + "funcname": "GetGlyphRangesGreek", + "location": "imgui:3476", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesGreek", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesJapanese": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesJapanese", + "defaults": {}, + "funcname": "GetGlyphRangesJapanese", + "location": "imgui:3478", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesJapanese", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesKorean": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesKorean", + "defaults": {}, + "funcname": "GetGlyphRangesKorean", + "location": "imgui:3477", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesKorean", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesThai": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesThai", + "defaults": {}, + "funcname": "GetGlyphRangesThai", + "location": "imgui:3482", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesThai", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetGlyphRangesVietnamese": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesVietnamese", + "defaults": {}, + "funcname": "GetGlyphRangesVietnamese", + "location": "imgui:3483", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesVietnamese", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetMouseCursorTexData": [ + { + "args": "(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "cursor", + "type": "ImGuiMouseCursor" + }, + { + "name": "out_offset", + "type": "ImVec2*" + }, + { + "name": "out_size", + "type": "ImVec2*" + }, + { + "name": "out_uv_border", + "type": "ImVec2[2]" + }, + { + "name": "out_uv_fill", + "type": "ImVec2[2]" + } + ], + "argsoriginal": "(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])", + "call_args": "(cursor,out_offset,out_size,out_uv_border,out_uv_fill)", + "cimguiname": "ImFontAtlas_GetMouseCursorTexData", + "defaults": {}, + "funcname": "GetMouseCursorTexData", + "location": "imgui:3502", + "ov_cimguiname": "ImFontAtlas_GetMouseCursorTexData", + "ret": "bool", + "signature": "(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetTexDataAsAlpha8": [ + { + "args": "(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "out_pixels", + "type": "unsigned char**" + }, + { + "name": "out_width", + "type": "int*" + }, + { + "name": "out_height", + "type": "int*" + }, + { + "name": "out_bytes_per_pixel", + "type": "int*" + } + ], + "argsoriginal": "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void*)0))", + "call_args": "(out_pixels,out_width,out_height,out_bytes_per_pixel)", + "cimguiname": "ImFontAtlas_GetTexDataAsAlpha8", + "defaults": { + "out_bytes_per_pixel": "NULL" + }, + "funcname": "GetTexDataAsAlpha8", + "location": "imgui:3462", + "ov_cimguiname": "ImFontAtlas_GetTexDataAsAlpha8", + "ret": "void", + "signature": "(unsigned char**,int*,int*,int*)", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_GetTexDataAsRGBA32": [ + { + "args": "(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "out_pixels", + "type": "unsigned char**" + }, + { + "name": "out_width", + "type": "int*" + }, + { + "name": "out_height", + "type": "int*" + }, + { + "name": "out_bytes_per_pixel", + "type": "int*" + } + ], + "argsoriginal": "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void*)0))", + "call_args": "(out_pixels,out_width,out_height,out_bytes_per_pixel)", + "cimguiname": "ImFontAtlas_GetTexDataAsRGBA32", + "defaults": { + "out_bytes_per_pixel": "NULL" + }, + "funcname": "GetTexDataAsRGBA32", + "location": "imgui:3463", + "ov_cimguiname": "ImFontAtlas_GetTexDataAsRGBA32", + "ret": "void", + "signature": "(unsigned char**,int*,int*,int*)", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_ImFontAtlas": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_ImFontAtlas", + "constructor": true, + "defaults": {}, + "funcname": "ImFontAtlas", + "location": "imgui:3443", + "ov_cimguiname": "ImFontAtlas_ImFontAtlas", + "signature": "()", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_IsBuilt": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_IsBuilt", + "defaults": {}, + "funcname": "IsBuilt", + "location": "imgui:3464", + "ov_cimguiname": "ImFontAtlas_IsBuilt", + "ret": "bool", + "signature": "()const", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_SetTexID": [ + { + "args": "(ImFontAtlas* self,ImTextureID id)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + }, + { + "name": "id", + "type": "ImTextureID" + } + ], + "argsoriginal": "(ImTextureID id)", + "call_args": "(id)", + "cimguiname": "ImFontAtlas_SetTexID", + "defaults": {}, + "funcname": "SetTexID", + "location": "imgui:3465", + "ov_cimguiname": "ImFontAtlas_SetTexID", + "ret": "void", + "signature": "(ImTextureID)", + "stname": "ImFontAtlas" + } + ], + "ImFontAtlas_destroy": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "call_args": "(self)", + "cimguiname": "ImFontAtlas_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3444", + "ov_cimguiname": "ImFontAtlas_destroy", + "realdestructor": true, + "ret": "void", + "signature": "(ImFontAtlas*)", + "stname": "ImFontAtlas" + } + ], + "ImFontConfig_ImFontConfig": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontConfig_ImFontConfig", + "constructor": true, + "defaults": {}, + "funcname": "ImFontConfig", + "location": "imgui:3368", + "ov_cimguiname": "ImFontConfig_ImFontConfig", + "signature": "()", + "stname": "ImFontConfig" + } + ], + "ImFontConfig_destroy": [ + { + "args": "(ImFontConfig* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontConfig*" + } + ], + "call_args": "(self)", + "cimguiname": "ImFontConfig_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3368", + "ov_cimguiname": "ImFontConfig_destroy", + "ret": "void", + "signature": "(ImFontConfig*)", + "stname": "ImFontConfig" + } + ], + "ImFontGlyphRangesBuilder_AddChar": [ + { + "args": "(ImFontGlyphRangesBuilder* self,ImWchar c)", + "argsT": [ + { + "name": "self", + "type": "ImFontGlyphRangesBuilder*" + }, + { + "name": "c", + "type": "ImWchar" + } + ], + "argsoriginal": "(ImWchar c)", + "call_args": "(c)", + "cimguiname": "ImFontGlyphRangesBuilder_AddChar", + "defaults": {}, + "funcname": "AddChar", + "location": "imgui:3393", + "ov_cimguiname": "ImFontGlyphRangesBuilder_AddChar", + "ret": "void", + "signature": "(ImWchar)", + "stname": "ImFontGlyphRangesBuilder" + } + ], + "ImFontGlyphRangesBuilder_AddRanges": [ + { + "args": "(ImFontGlyphRangesBuilder* self,const ImWchar* ranges)", + "argsT": [ + { + "name": "self", + "type": "ImFontGlyphRangesBuilder*" + }, + { + "name": "ranges", + "type": "const ImWchar*" + } + ], + "argsoriginal": "(const ImWchar* ranges)", + "call_args": "(ranges)", + "cimguiname": "ImFontGlyphRangesBuilder_AddRanges", + "defaults": {}, + "funcname": "AddRanges", + "location": "imgui:3395", + "ov_cimguiname": "ImFontGlyphRangesBuilder_AddRanges", + "ret": "void", + "signature": "(const ImWchar*)", + "stname": "ImFontGlyphRangesBuilder" + } + ], + "ImFontGlyphRangesBuilder_AddText": [ + { + "args": "(ImFontGlyphRangesBuilder* self,const char* text,const char* text_end)", + "argsT": [ + { + "name": "self", + "type": "ImFontGlyphRangesBuilder*" + }, + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* text,const char* text_end=((void*)0))", + "call_args": "(text,text_end)", + "cimguiname": "ImFontGlyphRangesBuilder_AddText", + "defaults": { + "text_end": "NULL" + }, + "funcname": "AddText", + "location": "imgui:3394", + "ov_cimguiname": "ImFontGlyphRangesBuilder_AddText", + "ret": "void", + "signature": "(const char*,const char*)", + "stname": "ImFontGlyphRangesBuilder" + } + ], + "ImFontGlyphRangesBuilder_BuildRanges": [ + { + "args": "(ImFontGlyphRangesBuilder* self,ImVector_ImWchar* out_ranges)", + "argsT": [ + { + "name": "self", + "type": "ImFontGlyphRangesBuilder*" + }, + { + "name": "out_ranges", + "type": "ImVector_ImWchar*" + } + ], + "argsoriginal": "(ImVector* out_ranges)", + "call_args": "(out_ranges)", + "cimguiname": "ImFontGlyphRangesBuilder_BuildRanges", + "defaults": {}, + "funcname": "BuildRanges", + "location": "imgui:3396", + "ov_cimguiname": "ImFontGlyphRangesBuilder_BuildRanges", + "ret": "void", + "signature": "(ImVector_ImWchar*)", + "stname": "ImFontGlyphRangesBuilder" + } + ], + "ImFontGlyphRangesBuilder_Clear": [ + { + "args": "(ImFontGlyphRangesBuilder* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontGlyphRangesBuilder*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontGlyphRangesBuilder_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui:3390", + "ov_cimguiname": "ImFontGlyphRangesBuilder_Clear", + "ret": "void", + "signature": "()", + "stname": "ImFontGlyphRangesBuilder" + } + ], + "ImFontGlyphRangesBuilder_GetBit": [ + { + "args": "(ImFontGlyphRangesBuilder* self,size_t n)", + "argsT": [ + { + "name": "self", + "type": "ImFontGlyphRangesBuilder*" + }, + { + "name": "n", + "type": "size_t" + } + ], + "argsoriginal": "(size_t n)", + "call_args": "(n)", + "cimguiname": "ImFontGlyphRangesBuilder_GetBit", + "defaults": {}, + "funcname": "GetBit", + "location": "imgui:3391", + "ov_cimguiname": "ImFontGlyphRangesBuilder_GetBit", + "ret": "bool", + "signature": "(size_t)const", + "stname": "ImFontGlyphRangesBuilder" + } + ], + "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder", + "constructor": true, + "defaults": {}, + "funcname": "ImFontGlyphRangesBuilder", + "location": "imgui:3389", + "ov_cimguiname": "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder", + "signature": "()", + "stname": "ImFontGlyphRangesBuilder" + } + ], + "ImFontGlyphRangesBuilder_SetBit": [ + { + "args": "(ImFontGlyphRangesBuilder* self,size_t n)", + "argsT": [ + { + "name": "self", + "type": "ImFontGlyphRangesBuilder*" + }, + { + "name": "n", + "type": "size_t" + } + ], + "argsoriginal": "(size_t n)", + "call_args": "(n)", + "cimguiname": "ImFontGlyphRangesBuilder_SetBit", + "defaults": {}, + "funcname": "SetBit", + "location": "imgui:3392", + "ov_cimguiname": "ImFontGlyphRangesBuilder_SetBit", + "ret": "void", + "signature": "(size_t)", + "stname": "ImFontGlyphRangesBuilder" + } + ], + "ImFontGlyphRangesBuilder_destroy": [ + { + "args": "(ImFontGlyphRangesBuilder* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontGlyphRangesBuilder*" + } + ], + "call_args": "(self)", + "cimguiname": "ImFontGlyphRangesBuilder_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3389", + "ov_cimguiname": "ImFontGlyphRangesBuilder_destroy", + "ret": "void", + "signature": "(ImFontGlyphRangesBuilder*)", + "stname": "ImFontGlyphRangesBuilder" + } + ], + "ImFont_AddGlyph": [ + { + "args": "(ImFont* self,const ImFontConfig* src_cfg,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + }, + { + "name": "src_cfg", + "type": "const ImFontConfig*" + }, + { + "name": "c", + "type": "ImWchar" + }, + { + "name": "x0", + "type": "float" + }, + { + "name": "y0", + "type": "float" + }, + { + "name": "x1", + "type": "float" + }, + { + "name": "y1", + "type": "float" + }, + { + "name": "u0", + "type": "float" + }, + { + "name": "v0", + "type": "float" + }, + { + "name": "u1", + "type": "float" + }, + { + "name": "v1", + "type": "float" + }, + { + "name": "advance_x", + "type": "float" + } + ], + "argsoriginal": "(const ImFontConfig* src_cfg,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)", + "call_args": "(src_cfg,c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)", + "cimguiname": "ImFont_AddGlyph", + "defaults": {}, + "funcname": "AddGlyph", + "location": "imgui:3593", + "ov_cimguiname": "ImFont_AddGlyph", + "ret": "void", + "signature": "(const ImFontConfig*,ImWchar,float,float,float,float,float,float,float,float,float)", + "stname": "ImFont" + } + ], + "ImFont_AddRemapChar": [ + { + "args": "(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + }, + { + "name": "dst", + "type": "ImWchar" + }, + { + "name": "src", + "type": "ImWchar" + }, + { + "name": "overwrite_dst", + "type": "bool" + } + ], + "argsoriginal": "(ImWchar dst,ImWchar src,bool overwrite_dst=true)", + "call_args": "(dst,src,overwrite_dst)", + "cimguiname": "ImFont_AddRemapChar", + "defaults": { + "overwrite_dst": "true" + }, + "funcname": "AddRemapChar", + "location": "imgui:3594", + "ov_cimguiname": "ImFont_AddRemapChar", + "ret": "void", + "signature": "(ImWchar,ImWchar,bool)", + "stname": "ImFont" + } + ], + "ImFont_BuildLookupTable": [ + { + "args": "(ImFont* self)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFont_BuildLookupTable", + "defaults": {}, + "funcname": "BuildLookupTable", + "location": "imgui:3590", + "ov_cimguiname": "ImFont_BuildLookupTable", + "ret": "void", + "signature": "()", + "stname": "ImFont" + } + ], + "ImFont_CalcTextSizeA": [ + { + "args": "(ImVec2 *pOut,ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImFont*" + }, + { + "name": "size", + "type": "float" + }, + { + "name": "max_width", + "type": "float" + }, + { + "name": "wrap_width", + "type": "float" + }, + { + "name": "text_begin", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + }, + { + "name": "remaining", + "type": "const char**" + } + ], + "argsoriginal": "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void*)0),const char** remaining=((void*)0))", + "call_args": "(size,max_width,wrap_width,text_begin,text_end,remaining)", + "cimguiname": "ImFont_CalcTextSizeA", + "defaults": { + "remaining": "NULL", + "text_end": "NULL" + }, + "funcname": "CalcTextSizeA", + "location": "imgui:3584", + "nonUDT": 1, + "ov_cimguiname": "ImFont_CalcTextSizeA", + "ret": "void", + "signature": "(float,float,float,const char*,const char*,const char**)", + "stname": "ImFont" + } + ], + "ImFont_CalcWordWrapPositionA": [ + { + "args": "(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + }, + { + "name": "scale", + "type": "float" + }, + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + }, + { + "name": "wrap_width", + "type": "float" + } + ], + "argsoriginal": "(float scale,const char* text,const char* text_end,float wrap_width)", + "call_args": "(scale,text,text_end,wrap_width)", + "cimguiname": "ImFont_CalcWordWrapPositionA", + "defaults": {}, + "funcname": "CalcWordWrapPositionA", + "location": "imgui:3585", + "ov_cimguiname": "ImFont_CalcWordWrapPositionA", + "ret": "const char*", + "signature": "(float,const char*,const char*,float)", + "stname": "ImFont" + } + ], + "ImFont_ClearOutputData": [ + { + "args": "(ImFont* self)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFont_ClearOutputData", + "defaults": {}, + "funcname": "ClearOutputData", + "location": "imgui:3591", + "ov_cimguiname": "ImFont_ClearOutputData", + "ret": "void", + "signature": "()", + "stname": "ImFont" + } + ], + "ImFont_FindGlyph": [ + { + "args": "(ImFont* self,ImWchar c)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + }, + { + "name": "c", + "type": "ImWchar" + } + ], + "argsoriginal": "(ImWchar c)", + "call_args": "(c)", + "cimguiname": "ImFont_FindGlyph", + "defaults": {}, + "funcname": "FindGlyph", + "location": "imgui:3576", + "ov_cimguiname": "ImFont_FindGlyph", + "ret": "const ImFontGlyph*", + "signature": "(ImWchar)", + "stname": "ImFont" + } + ], + "ImFont_FindGlyphNoFallback": [ + { + "args": "(ImFont* self,ImWchar c)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + }, + { + "name": "c", + "type": "ImWchar" + } + ], + "argsoriginal": "(ImWchar c)", + "call_args": "(c)", + "cimguiname": "ImFont_FindGlyphNoFallback", + "defaults": {}, + "funcname": "FindGlyphNoFallback", + "location": "imgui:3577", + "ov_cimguiname": "ImFont_FindGlyphNoFallback", + "ret": "const ImFontGlyph*", + "signature": "(ImWchar)", + "stname": "ImFont" + } + ], + "ImFont_GetCharAdvance": [ + { + "args": "(ImFont* self,ImWchar c)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + }, + { + "name": "c", + "type": "ImWchar" + } + ], + "argsoriginal": "(ImWchar c)", + "call_args": "(c)", + "cimguiname": "ImFont_GetCharAdvance", + "defaults": {}, + "funcname": "GetCharAdvance", + "location": "imgui:3578", + "ov_cimguiname": "ImFont_GetCharAdvance", + "ret": "float", + "signature": "(ImWchar)", + "stname": "ImFont" + } + ], + "ImFont_GetDebugName": [ + { + "args": "(ImFont* self)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFont_GetDebugName", + "defaults": {}, + "funcname": "GetDebugName", + "location": "imgui:3580", + "ov_cimguiname": "ImFont_GetDebugName", + "ret": "const char*", + "signature": "()const", + "stname": "ImFont" + } + ], + "ImFont_GrowIndex": [ + { + "args": "(ImFont* self,int new_size)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + }, + { + "name": "new_size", + "type": "int" + } + ], + "argsoriginal": "(int new_size)", + "call_args": "(new_size)", + "cimguiname": "ImFont_GrowIndex", + "defaults": {}, + "funcname": "GrowIndex", + "location": "imgui:3592", + "ov_cimguiname": "ImFont_GrowIndex", + "ret": "void", + "signature": "(int)", + "stname": "ImFont" + } + ], + "ImFont_ImFont": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFont_ImFont", + "constructor": true, + "defaults": {}, + "funcname": "ImFont", + "location": "imgui:3574", + "ov_cimguiname": "ImFont_ImFont", + "signature": "()", + "stname": "ImFont" + } + ], + "ImFont_IsGlyphRangeUnused": [ + { + "args": "(ImFont* self,unsigned int c_begin,unsigned int c_last)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + }, + { + "name": "c_begin", + "type": "unsigned int" + }, + { + "name": "c_last", + "type": "unsigned int" + } + ], + "argsoriginal": "(unsigned int c_begin,unsigned int c_last)", + "call_args": "(c_begin,c_last)", + "cimguiname": "ImFont_IsGlyphRangeUnused", + "defaults": {}, + "funcname": "IsGlyphRangeUnused", + "location": "imgui:3596", + "ov_cimguiname": "ImFont_IsGlyphRangeUnused", + "ret": "bool", + "signature": "(unsigned int,unsigned int)", + "stname": "ImFont" + } + ], + "ImFont_IsLoaded": [ + { + "args": "(ImFont* self)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFont_IsLoaded", + "defaults": {}, + "funcname": "IsLoaded", + "location": "imgui:3579", + "ov_cimguiname": "ImFont_IsLoaded", + "ret": "bool", + "signature": "()const", + "stname": "ImFont" + } + ], + "ImFont_RenderChar": [ + { + "args": "(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,ImWchar c)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + }, + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "size", + "type": "float" + }, + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "c", + "type": "ImWchar" + } + ], + "argsoriginal": "(ImDrawList* draw_list,float size,const ImVec2& pos,ImU32 col,ImWchar c)", + "call_args": "(draw_list,size,pos,col,c)", + "cimguiname": "ImFont_RenderChar", + "defaults": {}, + "funcname": "RenderChar", + "location": "imgui:3586", + "ov_cimguiname": "ImFont_RenderChar", + "ret": "void", + "signature": "(ImDrawList*,float,const ImVec2,ImU32,ImWchar)", + "stname": "ImFont" + } + ], + "ImFont_RenderText": [ + { + "args": "(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + }, + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "size", + "type": "float" + }, + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "clip_rect", + "type": "const ImVec4" + }, + { + "name": "text_begin", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + }, + { + "name": "wrap_width", + "type": "float" + }, + { + "name": "cpu_fine_clip", + "type": "bool" + } + ], + "argsoriginal": "(ImDrawList* draw_list,float size,const ImVec2& pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)", + "call_args": "(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)", + "cimguiname": "ImFont_RenderText", + "defaults": { + "cpu_fine_clip": "false", + "wrap_width": "0.0f" + }, + "funcname": "RenderText", + "location": "imgui:3587", + "ov_cimguiname": "ImFont_RenderText", + "ret": "void", + "signature": "(ImDrawList*,float,const ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)", + "stname": "ImFont" + } + ], + "ImFont_SetGlyphVisible": [ + { + "args": "(ImFont* self,ImWchar c,bool visible)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + }, + { + "name": "c", + "type": "ImWchar" + }, + { + "name": "visible", + "type": "bool" + } + ], + "argsoriginal": "(ImWchar c,bool visible)", + "call_args": "(c,visible)", + "cimguiname": "ImFont_SetGlyphVisible", + "defaults": {}, + "funcname": "SetGlyphVisible", + "location": "imgui:3595", + "ov_cimguiname": "ImFont_SetGlyphVisible", + "ret": "void", + "signature": "(ImWchar,bool)", + "stname": "ImFont" + } + ], + "ImFont_destroy": [ + { + "args": "(ImFont* self)", + "argsT": [ + { + "name": "self", + "type": "ImFont*" + } + ], + "call_args": "(self)", + "cimguiname": "ImFont_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3575", + "ov_cimguiname": "ImFont_destroy", + "realdestructor": true, + "ret": "void", + "signature": "(ImFont*)", + "stname": "ImFont" + } + ], + "ImGuiBoxSelectState_ImGuiBoxSelectState": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiBoxSelectState_ImGuiBoxSelectState", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiBoxSelectState", + "location": "imgui_internal:1772", + "ov_cimguiname": "ImGuiBoxSelectState_ImGuiBoxSelectState", + "signature": "()", + "stname": "ImGuiBoxSelectState" + } + ], + "ImGuiBoxSelectState_destroy": [ + { + "args": "(ImGuiBoxSelectState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiBoxSelectState*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiBoxSelectState_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1772", + "ov_cimguiname": "ImGuiBoxSelectState_destroy", + "ret": "void", + "signature": "(ImGuiBoxSelectState*)", + "stname": "ImGuiBoxSelectState" + } + ], + "ImGuiComboPreviewData_ImGuiComboPreviewData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiComboPreviewData_ImGuiComboPreviewData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiComboPreviewData", + "location": "imgui_internal:1069", + "ov_cimguiname": "ImGuiComboPreviewData_ImGuiComboPreviewData", + "signature": "()", + "stname": "ImGuiComboPreviewData" + } + ], + "ImGuiComboPreviewData_destroy": [ + { + "args": "(ImGuiComboPreviewData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiComboPreviewData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiComboPreviewData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1069", + "ov_cimguiname": "ImGuiComboPreviewData_destroy", + "ret": "void", + "signature": "(ImGuiComboPreviewData*)", + "stname": "ImGuiComboPreviewData" + } + ], + "ImGuiContextHook_ImGuiContextHook": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiContextHook_ImGuiContextHook", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiContextHook", + "location": "imgui_internal:2215", + "ov_cimguiname": "ImGuiContextHook_ImGuiContextHook", + "signature": "()", + "stname": "ImGuiContextHook" + } + ], + "ImGuiContextHook_destroy": [ + { + "args": "(ImGuiContextHook* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiContextHook*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiContextHook_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:2215", + "ov_cimguiname": "ImGuiContextHook_destroy", + "ret": "void", + "signature": "(ImGuiContextHook*)", + "stname": "ImGuiContextHook" + } + ], + "ImGuiContext_ImGuiContext": [ + { + "args": "(ImFontAtlas* shared_font_atlas)", + "argsT": [ + { + "name": "shared_font_atlas", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "(ImFontAtlas* shared_font_atlas)", + "call_args": "(shared_font_atlas)", + "cimguiname": "ImGuiContext_ImGuiContext", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiContext", + "location": "imgui_internal:2603", + "ov_cimguiname": "ImGuiContext_ImGuiContext", + "signature": "(ImFontAtlas*)", + "stname": "ImGuiContext" + } + ], + "ImGuiContext_destroy": [ + { + "args": "(ImGuiContext* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiContext*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiContext_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:2603", + "ov_cimguiname": "ImGuiContext_destroy", + "ret": "void", + "signature": "(ImGuiContext*)", + "stname": "ImGuiContext" + } + ], + "ImGuiDataVarInfo_GetVarPtr": [ + { + "args": "(ImGuiDataVarInfo* self,void* parent)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDataVarInfo*" + }, + { + "name": "parent", + "type": "void*" + } + ], + "argsoriginal": "(void* parent)", + "call_args": "(parent)", + "cimguiname": "ImGuiDataVarInfo_GetVarPtr", + "defaults": {}, + "funcname": "GetVarPtr", + "location": "imgui_internal:820", + "ov_cimguiname": "ImGuiDataVarInfo_GetVarPtr", + "ret": "void*", + "signature": "(void*)const", + "stname": "ImGuiDataVarInfo" + } + ], + "ImGuiDebugAllocInfo_ImGuiDebugAllocInfo": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiDebugAllocInfo_ImGuiDebugAllocInfo", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiDebugAllocInfo", + "location": "imgui_internal:2155", + "ov_cimguiname": "ImGuiDebugAllocInfo_ImGuiDebugAllocInfo", + "signature": "()", + "stname": "ImGuiDebugAllocInfo" + } + ], + "ImGuiDebugAllocInfo_destroy": [ + { + "args": "(ImGuiDebugAllocInfo* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDebugAllocInfo*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiDebugAllocInfo_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:2155", + "ov_cimguiname": "ImGuiDebugAllocInfo_destroy", + "ret": "void", + "signature": "(ImGuiDebugAllocInfo*)", + "stname": "ImGuiDebugAllocInfo" + } + ], + "ImGuiDockContext_ImGuiDockContext": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiDockContext_ImGuiDockContext", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiDockContext", + "location": "imgui_internal:1972", + "ov_cimguiname": "ImGuiDockContext_ImGuiDockContext", + "signature": "()", + "stname": "ImGuiDockContext" + } + ], + "ImGuiDockContext_destroy": [ + { + "args": "(ImGuiDockContext* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDockContext*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiDockContext_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1972", + "ov_cimguiname": "ImGuiDockContext_destroy", + "ret": "void", + "signature": "(ImGuiDockContext*)", + "stname": "ImGuiDockContext" + } + ], + "ImGuiDockNode_ImGuiDockNode": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "ImGuiDockNode_ImGuiDockNode", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiDockNode", + "location": "imgui_internal:1926", + "ov_cimguiname": "ImGuiDockNode_ImGuiDockNode", + "signature": "(ImGuiID)", + "stname": "ImGuiDockNode" + } + ], + "ImGuiDockNode_IsCentralNode": [ + { + "args": "(ImGuiDockNode* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiDockNode_IsCentralNode", + "defaults": {}, + "funcname": "IsCentralNode", + "location": "imgui_internal:1931", + "ov_cimguiname": "ImGuiDockNode_IsCentralNode", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiDockNode" + } + ], + "ImGuiDockNode_IsDockSpace": [ + { + "args": "(ImGuiDockNode* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiDockNode_IsDockSpace", + "defaults": {}, + "funcname": "IsDockSpace", + "location": "imgui_internal:1929", + "ov_cimguiname": "ImGuiDockNode_IsDockSpace", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiDockNode" + } + ], + "ImGuiDockNode_IsEmpty": [ + { + "args": "(ImGuiDockNode* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiDockNode_IsEmpty", + "defaults": {}, + "funcname": "IsEmpty", + "location": "imgui_internal:1936", + "ov_cimguiname": "ImGuiDockNode_IsEmpty", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiDockNode" + } + ], + "ImGuiDockNode_IsFloatingNode": [ + { + "args": "(ImGuiDockNode* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiDockNode_IsFloatingNode", + "defaults": {}, + "funcname": "IsFloatingNode", + "location": "imgui_internal:1930", + "ov_cimguiname": "ImGuiDockNode_IsFloatingNode", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiDockNode" + } + ], + "ImGuiDockNode_IsHiddenTabBar": [ + { + "args": "(ImGuiDockNode* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiDockNode_IsHiddenTabBar", + "defaults": {}, + "funcname": "IsHiddenTabBar", + "location": "imgui_internal:1932", + "ov_cimguiname": "ImGuiDockNode_IsHiddenTabBar", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiDockNode" + } + ], + "ImGuiDockNode_IsLeafNode": [ + { + "args": "(ImGuiDockNode* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiDockNode_IsLeafNode", + "defaults": {}, + "funcname": "IsLeafNode", + "location": "imgui_internal:1935", + "ov_cimguiname": "ImGuiDockNode_IsLeafNode", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiDockNode" + } + ], + "ImGuiDockNode_IsNoTabBar": [ + { + "args": "(ImGuiDockNode* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiDockNode_IsNoTabBar", + "defaults": {}, + "funcname": "IsNoTabBar", + "location": "imgui_internal:1933", + "ov_cimguiname": "ImGuiDockNode_IsNoTabBar", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiDockNode" + } + ], + "ImGuiDockNode_IsRootNode": [ + { + "args": "(ImGuiDockNode* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiDockNode_IsRootNode", + "defaults": {}, + "funcname": "IsRootNode", + "location": "imgui_internal:1928", + "ov_cimguiname": "ImGuiDockNode_IsRootNode", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiDockNode" + } + ], + "ImGuiDockNode_IsSplitNode": [ + { + "args": "(ImGuiDockNode* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiDockNode_IsSplitNode", + "defaults": {}, + "funcname": "IsSplitNode", + "location": "imgui_internal:1934", + "ov_cimguiname": "ImGuiDockNode_IsSplitNode", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiDockNode" + } + ], + "ImGuiDockNode_Rect": [ + { + "args": "(ImRect *pOut,ImGuiDockNode* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImRect*" + }, + { + "name": "self", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiDockNode_Rect", + "defaults": {}, + "funcname": "Rect", + "location": "imgui_internal:1937", + "nonUDT": 1, + "ov_cimguiname": "ImGuiDockNode_Rect", + "ret": "void", + "signature": "()const", + "stname": "ImGuiDockNode" + } + ], + "ImGuiDockNode_SetLocalFlags": [ + { + "args": "(ImGuiDockNode* self,ImGuiDockNodeFlags flags)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDockNode*" + }, + { + "name": "flags", + "type": "ImGuiDockNodeFlags" + } + ], + "argsoriginal": "(ImGuiDockNodeFlags flags)", + "call_args": "(flags)", + "cimguiname": "ImGuiDockNode_SetLocalFlags", + "defaults": {}, + "funcname": "SetLocalFlags", + "location": "imgui_internal:1939", + "ov_cimguiname": "ImGuiDockNode_SetLocalFlags", + "ret": "void", + "signature": "(ImGuiDockNodeFlags)", + "stname": "ImGuiDockNode" + } + ], + "ImGuiDockNode_UpdateMergedFlags": [ + { + "args": "(ImGuiDockNode* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiDockNode_UpdateMergedFlags", + "defaults": {}, + "funcname": "UpdateMergedFlags", + "location": "imgui_internal:1940", + "ov_cimguiname": "ImGuiDockNode_UpdateMergedFlags", + "ret": "void", + "signature": "()", + "stname": "ImGuiDockNode" + } + ], + "ImGuiDockNode_destroy": [ + { + "args": "(ImGuiDockNode* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiDockNode*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiDockNode_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1927", + "ov_cimguiname": "ImGuiDockNode_destroy", + "realdestructor": true, + "ret": "void", + "signature": "(ImGuiDockNode*)", + "stname": "ImGuiDockNode" + } + ], + "ImGuiErrorRecoveryState_ImGuiErrorRecoveryState": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiErrorRecoveryState_ImGuiErrorRecoveryState", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiErrorRecoveryState", + "location": "imgui_internal:1307", + "ov_cimguiname": "ImGuiErrorRecoveryState_ImGuiErrorRecoveryState", + "signature": "()", + "stname": "ImGuiErrorRecoveryState" + } + ], + "ImGuiErrorRecoveryState_destroy": [ + { + "args": "(ImGuiErrorRecoveryState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiErrorRecoveryState*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiErrorRecoveryState_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1307", + "ov_cimguiname": "ImGuiErrorRecoveryState_destroy", + "ret": "void", + "signature": "(ImGuiErrorRecoveryState*)", + "stname": "ImGuiErrorRecoveryState" + } + ], + "ImGuiFreeType_GetBuilderForFreeType": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiFreeType_GetBuilderForFreeType", + "defaults": {}, + "funcname": "GetBuilderForFreeType", + "location": "imgui_freetype:46", + "namespace": "ImGuiFreeType", + "ov_cimguiname": "ImGuiFreeType_GetBuilderForFreeType", + "ret": "const ImFontBuilderIO*", + "signature": "()", + "stname": "" + } + ], + "ImGuiFreeType_SetAllocatorFunctions": [ + { + "args": "(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)", + "argsT": [ + { + "name": "alloc_func", + "ret": "void*", + "signature": "(size_t sz,void* user_data)", + "type": "void*(*)(size_t sz,void* user_data)" + }, + { + "name": "free_func", + "ret": "void", + "signature": "(void* ptr,void* user_data)", + "type": "void(*)(void* ptr,void* user_data)" + }, + { + "name": "user_data", + "type": "void*" + } + ], + "argsoriginal": "(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=nullptr)", + "call_args": "(alloc_func,free_func,user_data)", + "cimguiname": "ImGuiFreeType_SetAllocatorFunctions", + "defaults": { + "user_data": "nullptr" + }, + "funcname": "SetAllocatorFunctions", + "location": "imgui_freetype:50", + "namespace": "ImGuiFreeType", + "ov_cimguiname": "ImGuiFreeType_SetAllocatorFunctions", + "ret": "void", + "signature": "(void*(*)(size_t,void*),void(*)(void*,void*),void*)", + "stname": "" + } + ], + "ImGuiIDStackTool_ImGuiIDStackTool": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiIDStackTool_ImGuiIDStackTool", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiIDStackTool", + "location": "imgui_internal:2197", + "ov_cimguiname": "ImGuiIDStackTool_ImGuiIDStackTool", + "signature": "()", + "stname": "ImGuiIDStackTool" + } + ], + "ImGuiIDStackTool_destroy": [ + { + "args": "(ImGuiIDStackTool* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIDStackTool*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiIDStackTool_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:2197", + "ov_cimguiname": "ImGuiIDStackTool_destroy", + "ret": "void", + "signature": "(ImGuiIDStackTool*)", + "stname": "ImGuiIDStackTool" + } + ], + "ImGuiIO_AddFocusEvent": [ + { + "args": "(ImGuiIO* self,bool focused)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "focused", + "type": "bool" + } + ], + "argsoriginal": "(bool focused)", + "call_args": "(focused)", + "cimguiname": "ImGuiIO_AddFocusEvent", + "defaults": {}, + "funcname": "AddFocusEvent", + "location": "imgui:2426", + "ov_cimguiname": "ImGuiIO_AddFocusEvent", + "ret": "void", + "signature": "(bool)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddInputCharacter": [ + { + "args": "(ImGuiIO* self,unsigned int c)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "c", + "type": "unsigned int" + } + ], + "argsoriginal": "(unsigned int c)", + "call_args": "(c)", + "cimguiname": "ImGuiIO_AddInputCharacter", + "defaults": {}, + "funcname": "AddInputCharacter", + "location": "imgui:2427", + "ov_cimguiname": "ImGuiIO_AddInputCharacter", + "ret": "void", + "signature": "(unsigned int)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddInputCharacterUTF16": [ + { + "args": "(ImGuiIO* self,ImWchar16 c)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "c", + "type": "ImWchar16" + } + ], + "argsoriginal": "(ImWchar16 c)", + "call_args": "(c)", + "cimguiname": "ImGuiIO_AddInputCharacterUTF16", + "defaults": {}, + "funcname": "AddInputCharacterUTF16", + "location": "imgui:2428", + "ov_cimguiname": "ImGuiIO_AddInputCharacterUTF16", + "ret": "void", + "signature": "(ImWchar16)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddInputCharactersUTF8": [ + { + "args": "(ImGuiIO* self,const char* str)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "str", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str)", + "call_args": "(str)", + "cimguiname": "ImGuiIO_AddInputCharactersUTF8", + "defaults": {}, + "funcname": "AddInputCharactersUTF8", + "location": "imgui:2429", + "ov_cimguiname": "ImGuiIO_AddInputCharactersUTF8", + "ret": "void", + "signature": "(const char*)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddKeyAnalogEvent": [ + { + "args": "(ImGuiIO* self,ImGuiKey key,bool down,float v)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "down", + "type": "bool" + }, + { + "name": "v", + "type": "float" + } + ], + "argsoriginal": "(ImGuiKey key,bool down,float v)", + "call_args": "(key,down,v)", + "cimguiname": "ImGuiIO_AddKeyAnalogEvent", + "defaults": {}, + "funcname": "AddKeyAnalogEvent", + "location": "imgui:2420", + "ov_cimguiname": "ImGuiIO_AddKeyAnalogEvent", + "ret": "void", + "signature": "(ImGuiKey,bool,float)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddKeyEvent": [ + { + "args": "(ImGuiIO* self,ImGuiKey key,bool down)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "down", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiKey key,bool down)", + "call_args": "(key,down)", + "cimguiname": "ImGuiIO_AddKeyEvent", + "defaults": {}, + "funcname": "AddKeyEvent", + "location": "imgui:2419", + "ov_cimguiname": "ImGuiIO_AddKeyEvent", + "ret": "void", + "signature": "(ImGuiKey,bool)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddMouseButtonEvent": [ + { + "args": "(ImGuiIO* self,int button,bool down)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "button", + "type": "int" + }, + { + "name": "down", + "type": "bool" + } + ], + "argsoriginal": "(int button,bool down)", + "call_args": "(button,down)", + "cimguiname": "ImGuiIO_AddMouseButtonEvent", + "defaults": {}, + "funcname": "AddMouseButtonEvent", + "location": "imgui:2422", + "ov_cimguiname": "ImGuiIO_AddMouseButtonEvent", + "ret": "void", + "signature": "(int,bool)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddMousePosEvent": [ + { + "args": "(ImGuiIO* self,float x,float y)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ], + "argsoriginal": "(float x,float y)", + "call_args": "(x,y)", + "cimguiname": "ImGuiIO_AddMousePosEvent", + "defaults": {}, + "funcname": "AddMousePosEvent", + "location": "imgui:2421", + "ov_cimguiname": "ImGuiIO_AddMousePosEvent", + "ret": "void", + "signature": "(float,float)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddMouseSourceEvent": [ + { + "args": "(ImGuiIO* self,ImGuiMouseSource source)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "source", + "type": "ImGuiMouseSource" + } + ], + "argsoriginal": "(ImGuiMouseSource source)", + "call_args": "(source)", + "cimguiname": "ImGuiIO_AddMouseSourceEvent", + "defaults": {}, + "funcname": "AddMouseSourceEvent", + "location": "imgui:2424", + "ov_cimguiname": "ImGuiIO_AddMouseSourceEvent", + "ret": "void", + "signature": "(ImGuiMouseSource)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddMouseViewportEvent": [ + { + "args": "(ImGuiIO* self,ImGuiID id)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "ImGuiIO_AddMouseViewportEvent", + "defaults": {}, + "funcname": "AddMouseViewportEvent", + "location": "imgui:2425", + "ov_cimguiname": "ImGuiIO_AddMouseViewportEvent", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddMouseWheelEvent": [ + { + "args": "(ImGuiIO* self,float wheel_x,float wheel_y)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "wheel_x", + "type": "float" + }, + { + "name": "wheel_y", + "type": "float" + } + ], + "argsoriginal": "(float wheel_x,float wheel_y)", + "call_args": "(wheel_x,wheel_y)", + "cimguiname": "ImGuiIO_AddMouseWheelEvent", + "defaults": {}, + "funcname": "AddMouseWheelEvent", + "location": "imgui:2423", + "ov_cimguiname": "ImGuiIO_AddMouseWheelEvent", + "ret": "void", + "signature": "(float,float)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_ClearEventsQueue": [ + { + "args": "(ImGuiIO* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiIO_ClearEventsQueue", + "defaults": {}, + "funcname": "ClearEventsQueue", + "location": "imgui:2433", + "ov_cimguiname": "ImGuiIO_ClearEventsQueue", + "ret": "void", + "signature": "()", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_ClearInputKeys": [ + { + "args": "(ImGuiIO* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiIO_ClearInputKeys", + "defaults": {}, + "funcname": "ClearInputKeys", + "location": "imgui:2434", + "ov_cimguiname": "ImGuiIO_ClearInputKeys", + "ret": "void", + "signature": "()", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_ClearInputMouse": [ + { + "args": "(ImGuiIO* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiIO_ClearInputMouse", + "defaults": {}, + "funcname": "ClearInputMouse", + "location": "imgui:2435", + "ov_cimguiname": "ImGuiIO_ClearInputMouse", + "ret": "void", + "signature": "()", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_ImGuiIO": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiIO_ImGuiIO", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiIO", + "location": "imgui:2524", + "ov_cimguiname": "ImGuiIO_ImGuiIO", + "signature": "()", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_SetAppAcceptingEvents": [ + { + "args": "(ImGuiIO* self,bool accepting_events)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "accepting_events", + "type": "bool" + } + ], + "argsoriginal": "(bool accepting_events)", + "call_args": "(accepting_events)", + "cimguiname": "ImGuiIO_SetAppAcceptingEvents", + "defaults": {}, + "funcname": "SetAppAcceptingEvents", + "location": "imgui:2432", + "ov_cimguiname": "ImGuiIO_SetAppAcceptingEvents", + "ret": "void", + "signature": "(bool)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_SetKeyEventNativeData": [ + { + "args": "(ImGuiIO* self,ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "native_keycode", + "type": "int" + }, + { + "name": "native_scancode", + "type": "int" + }, + { + "name": "native_legacy_index", + "type": "int" + } + ], + "argsoriginal": "(ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index=-1)", + "call_args": "(key,native_keycode,native_scancode,native_legacy_index)", + "cimguiname": "ImGuiIO_SetKeyEventNativeData", + "defaults": { + "native_legacy_index": "-1" + }, + "funcname": "SetKeyEventNativeData", + "location": "imgui:2431", + "ov_cimguiname": "ImGuiIO_SetKeyEventNativeData", + "ret": "void", + "signature": "(ImGuiKey,int,int,int)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_destroy": [ + { + "args": "(ImGuiIO* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiIO_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2524", + "ov_cimguiname": "ImGuiIO_destroy", + "ret": "void", + "signature": "(ImGuiIO*)", + "stname": "ImGuiIO" + } + ], + "ImGuiInputEvent_ImGuiInputEvent": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputEvent_ImGuiInputEvent", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiInputEvent", + "location": "imgui_internal:1439", + "ov_cimguiname": "ImGuiInputEvent_ImGuiInputEvent", + "signature": "()", + "stname": "ImGuiInputEvent" + } + ], + "ImGuiInputEvent_destroy": [ + { + "args": "(ImGuiInputEvent* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputEvent*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiInputEvent_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1439", + "ov_cimguiname": "ImGuiInputEvent_destroy", + "ret": "void", + "signature": "(ImGuiInputEvent*)", + "stname": "ImGuiInputEvent" + } + ], + "ImGuiInputTextCallbackData_ClearSelection": [ + { + "args": "(ImGuiInputTextCallbackData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextCallbackData*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextCallbackData_ClearSelection", + "defaults": {}, + "funcname": "ClearSelection", + "location": "imgui:2568", + "ov_cimguiname": "ImGuiInputTextCallbackData_ClearSelection", + "ret": "void", + "signature": "()", + "stname": "ImGuiInputTextCallbackData" + } + ], + "ImGuiInputTextCallbackData_DeleteChars": [ + { + "args": "(ImGuiInputTextCallbackData* self,int pos,int bytes_count)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextCallbackData*" + }, + { + "name": "pos", + "type": "int" + }, + { + "name": "bytes_count", + "type": "int" + } + ], + "argsoriginal": "(int pos,int bytes_count)", + "call_args": "(pos,bytes_count)", + "cimguiname": "ImGuiInputTextCallbackData_DeleteChars", + "defaults": {}, + "funcname": "DeleteChars", + "location": "imgui:2565", + "ov_cimguiname": "ImGuiInputTextCallbackData_DeleteChars", + "ret": "void", + "signature": "(int,int)", + "stname": "ImGuiInputTextCallbackData" + } + ], + "ImGuiInputTextCallbackData_HasSelection": [ + { + "args": "(ImGuiInputTextCallbackData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextCallbackData*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextCallbackData_HasSelection", + "defaults": {}, + "funcname": "HasSelection", + "location": "imgui:2569", + "ov_cimguiname": "ImGuiInputTextCallbackData_HasSelection", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiInputTextCallbackData" + } + ], + "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiInputTextCallbackData", + "location": "imgui:2564", + "ov_cimguiname": "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData", + "signature": "()", + "stname": "ImGuiInputTextCallbackData" + } + ], + "ImGuiInputTextCallbackData_InsertChars": [ + { + "args": "(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextCallbackData*" + }, + { + "name": "pos", + "type": "int" + }, + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + } + ], + "argsoriginal": "(int pos,const char* text,const char* text_end=((void*)0))", + "call_args": "(pos,text,text_end)", + "cimguiname": "ImGuiInputTextCallbackData_InsertChars", + "defaults": { + "text_end": "NULL" + }, + "funcname": "InsertChars", + "location": "imgui:2566", + "ov_cimguiname": "ImGuiInputTextCallbackData_InsertChars", + "ret": "void", + "signature": "(int,const char*,const char*)", + "stname": "ImGuiInputTextCallbackData" + } + ], + "ImGuiInputTextCallbackData_SelectAll": [ + { + "args": "(ImGuiInputTextCallbackData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextCallbackData*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextCallbackData_SelectAll", + "defaults": {}, + "funcname": "SelectAll", + "location": "imgui:2567", + "ov_cimguiname": "ImGuiInputTextCallbackData_SelectAll", + "ret": "void", + "signature": "()", + "stname": "ImGuiInputTextCallbackData" + } + ], + "ImGuiInputTextCallbackData_destroy": [ + { + "args": "(ImGuiInputTextCallbackData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextCallbackData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiInputTextCallbackData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2564", + "ov_cimguiname": "ImGuiInputTextCallbackData_destroy", + "ret": "void", + "signature": "(ImGuiInputTextCallbackData*)", + "stname": "ImGuiInputTextCallbackData" + } + ], + "ImGuiInputTextDeactivatedState_ClearFreeMemory": [ + { + "args": "(ImGuiInputTextDeactivatedState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextDeactivatedState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextDeactivatedState_ClearFreeMemory", + "defaults": {}, + "funcname": "ClearFreeMemory", + "location": "imgui_internal:1115", + "ov_cimguiname": "ImGuiInputTextDeactivatedState_ClearFreeMemory", + "ret": "void", + "signature": "()", + "stname": "ImGuiInputTextDeactivatedState" + } + ], + "ImGuiInputTextDeactivatedState_ImGuiInputTextDeactivatedState": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextDeactivatedState_ImGuiInputTextDeactivatedState", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiInputTextDeactivatedState", + "location": "imgui_internal:1114", + "ov_cimguiname": "ImGuiInputTextDeactivatedState_ImGuiInputTextDeactivatedState", + "signature": "()", + "stname": "ImGuiInputTextDeactivatedState" + } + ], + "ImGuiInputTextDeactivatedState_destroy": [ + { + "args": "(ImGuiInputTextDeactivatedState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextDeactivatedState*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiInputTextDeactivatedState_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1114", + "ov_cimguiname": "ImGuiInputTextDeactivatedState_destroy", + "ret": "void", + "signature": "(ImGuiInputTextDeactivatedState*)", + "stname": "ImGuiInputTextDeactivatedState" + } + ], + "ImGuiInputTextState_ClearFreeMemory": [ + { + "args": "(ImGuiInputTextState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextState_ClearFreeMemory", + "defaults": {}, + "funcname": "ClearFreeMemory", + "location": "imgui_internal:1154", + "ov_cimguiname": "ImGuiInputTextState_ClearFreeMemory", + "ret": "void", + "signature": "()", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_ClearSelection": [ + { + "args": "(ImGuiInputTextState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextState_ClearSelection", + "defaults": {}, + "funcname": "ClearSelection", + "location": "imgui_internal:1162", + "ov_cimguiname": "ImGuiInputTextState_ClearSelection", + "ret": "void", + "signature": "()", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_ClearText": [ + { + "args": "(ImGuiInputTextState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextState_ClearText", + "defaults": {}, + "funcname": "ClearText", + "location": "imgui_internal:1153", + "ov_cimguiname": "ImGuiInputTextState_ClearText", + "ret": "void", + "signature": "()", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_CursorAnimReset": [ + { + "args": "(ImGuiInputTextState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextState_CursorAnimReset", + "defaults": {}, + "funcname": "CursorAnimReset", + "location": "imgui_internal:1159", + "ov_cimguiname": "ImGuiInputTextState_CursorAnimReset", + "ret": "void", + "signature": "()", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_CursorClamp": [ + { + "args": "(ImGuiInputTextState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextState_CursorClamp", + "defaults": {}, + "funcname": "CursorClamp", + "location": "imgui_internal:1160", + "ov_cimguiname": "ImGuiInputTextState_CursorClamp", + "ret": "void", + "signature": "()", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_GetCursorPos": [ + { + "args": "(ImGuiInputTextState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextState_GetCursorPos", + "defaults": {}, + "funcname": "GetCursorPos", + "location": "imgui_internal:1163", + "ov_cimguiname": "ImGuiInputTextState_GetCursorPos", + "ret": "int", + "signature": "()const", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_GetSelectionEnd": [ + { + "args": "(ImGuiInputTextState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextState_GetSelectionEnd", + "defaults": {}, + "funcname": "GetSelectionEnd", + "location": "imgui_internal:1165", + "ov_cimguiname": "ImGuiInputTextState_GetSelectionEnd", + "ret": "int", + "signature": "()const", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_GetSelectionStart": [ + { + "args": "(ImGuiInputTextState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextState_GetSelectionStart", + "defaults": {}, + "funcname": "GetSelectionStart", + "location": "imgui_internal:1164", + "ov_cimguiname": "ImGuiInputTextState_GetSelectionStart", + "ret": "int", + "signature": "()const", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_HasSelection": [ + { + "args": "(ImGuiInputTextState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextState_HasSelection", + "defaults": {}, + "funcname": "HasSelection", + "location": "imgui_internal:1161", + "ov_cimguiname": "ImGuiInputTextState_HasSelection", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_ImGuiInputTextState": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextState_ImGuiInputTextState", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiInputTextState", + "location": "imgui_internal:1151", + "ov_cimguiname": "ImGuiInputTextState_ImGuiInputTextState", + "signature": "()", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_OnCharPressed": [ + { + "args": "(ImGuiInputTextState* self,unsigned int c)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + }, + { + "name": "c", + "type": "unsigned int" + } + ], + "argsoriginal": "(unsigned int c)", + "call_args": "(c)", + "cimguiname": "ImGuiInputTextState_OnCharPressed", + "defaults": {}, + "funcname": "OnCharPressed", + "location": "imgui_internal:1156", + "ov_cimguiname": "ImGuiInputTextState_OnCharPressed", + "ret": "void", + "signature": "(unsigned int)", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_OnKeyPressed": [ + { + "args": "(ImGuiInputTextState* self,int key)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + }, + { + "name": "key", + "type": "int" + } + ], + "argsoriginal": "(int key)", + "call_args": "(key)", + "cimguiname": "ImGuiInputTextState_OnKeyPressed", + "defaults": {}, + "funcname": "OnKeyPressed", + "location": "imgui_internal:1155", + "ov_cimguiname": "ImGuiInputTextState_OnKeyPressed", + "ret": "void", + "signature": "(int)", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_ReloadUserBufAndKeepSelection": [ + { + "args": "(ImGuiInputTextState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextState_ReloadUserBufAndKeepSelection", + "defaults": {}, + "funcname": "ReloadUserBufAndKeepSelection", + "location": "imgui_internal:1174", + "ov_cimguiname": "ImGuiInputTextState_ReloadUserBufAndKeepSelection", + "ret": "void", + "signature": "()", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_ReloadUserBufAndMoveToEnd": [ + { + "args": "(ImGuiInputTextState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextState_ReloadUserBufAndMoveToEnd", + "defaults": {}, + "funcname": "ReloadUserBufAndMoveToEnd", + "location": "imgui_internal:1175", + "ov_cimguiname": "ImGuiInputTextState_ReloadUserBufAndMoveToEnd", + "ret": "void", + "signature": "()", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_ReloadUserBufAndSelectAll": [ + { + "args": "(ImGuiInputTextState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextState_ReloadUserBufAndSelectAll", + "defaults": {}, + "funcname": "ReloadUserBufAndSelectAll", + "location": "imgui_internal:1173", + "ov_cimguiname": "ImGuiInputTextState_ReloadUserBufAndSelectAll", + "ret": "void", + "signature": "()", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_SelectAll": [ + { + "args": "(ImGuiInputTextState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputTextState_SelectAll", + "defaults": {}, + "funcname": "SelectAll", + "location": "imgui_internal:1166", + "ov_cimguiname": "ImGuiInputTextState_SelectAll", + "ret": "void", + "signature": "()", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiInputTextState_destroy": [ + { + "args": "(ImGuiInputTextState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputTextState*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiInputTextState_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1152", + "ov_cimguiname": "ImGuiInputTextState_destroy", + "realdestructor": true, + "ret": "void", + "signature": "(ImGuiInputTextState*)", + "stname": "ImGuiInputTextState" + } + ], + "ImGuiKeyOwnerData_ImGuiKeyOwnerData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiKeyOwnerData_ImGuiKeyOwnerData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiKeyOwnerData", + "location": "imgui_internal:1483", + "ov_cimguiname": "ImGuiKeyOwnerData_ImGuiKeyOwnerData", + "signature": "()", + "stname": "ImGuiKeyOwnerData" + } + ], + "ImGuiKeyOwnerData_destroy": [ + { + "args": "(ImGuiKeyOwnerData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiKeyOwnerData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiKeyOwnerData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1483", + "ov_cimguiname": "ImGuiKeyOwnerData_destroy", + "ret": "void", + "signature": "(ImGuiKeyOwnerData*)", + "stname": "ImGuiKeyOwnerData" + } + ], + "ImGuiKeyRoutingData_ImGuiKeyRoutingData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiKeyRoutingData_ImGuiKeyRoutingData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiKeyRoutingData", + "location": "imgui_internal:1459", + "ov_cimguiname": "ImGuiKeyRoutingData_ImGuiKeyRoutingData", + "signature": "()", + "stname": "ImGuiKeyRoutingData" + } + ], + "ImGuiKeyRoutingData_destroy": [ + { + "args": "(ImGuiKeyRoutingData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiKeyRoutingData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiKeyRoutingData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1459", + "ov_cimguiname": "ImGuiKeyRoutingData_destroy", + "ret": "void", + "signature": "(ImGuiKeyRoutingData*)", + "stname": "ImGuiKeyRoutingData" + } + ], + "ImGuiKeyRoutingTable_Clear": [ + { + "args": "(ImGuiKeyRoutingTable* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiKeyRoutingTable*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiKeyRoutingTable_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui_internal:1471", + "ov_cimguiname": "ImGuiKeyRoutingTable_Clear", + "ret": "void", + "signature": "()", + "stname": "ImGuiKeyRoutingTable" + } + ], + "ImGuiKeyRoutingTable_ImGuiKeyRoutingTable": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiKeyRoutingTable_ImGuiKeyRoutingTable", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiKeyRoutingTable", + "location": "imgui_internal:1470", + "ov_cimguiname": "ImGuiKeyRoutingTable_ImGuiKeyRoutingTable", + "signature": "()", + "stname": "ImGuiKeyRoutingTable" + } + ], + "ImGuiKeyRoutingTable_destroy": [ + { + "args": "(ImGuiKeyRoutingTable* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiKeyRoutingTable*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiKeyRoutingTable_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1470", + "ov_cimguiname": "ImGuiKeyRoutingTable_destroy", + "ret": "void", + "signature": "(ImGuiKeyRoutingTable*)", + "stname": "ImGuiKeyRoutingTable" + } + ], + "ImGuiLastItemData_ImGuiLastItemData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiLastItemData_ImGuiLastItemData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiLastItemData", + "location": "imgui_internal:1277", + "ov_cimguiname": "ImGuiLastItemData_ImGuiLastItemData", + "signature": "()", + "stname": "ImGuiLastItemData" + } + ], + "ImGuiLastItemData_destroy": [ + { + "args": "(ImGuiLastItemData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiLastItemData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiLastItemData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1277", + "ov_cimguiname": "ImGuiLastItemData_destroy", + "ret": "void", + "signature": "(ImGuiLastItemData*)", + "stname": "ImGuiLastItemData" + } + ], + "ImGuiListClipperData_ImGuiListClipperData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiListClipperData_ImGuiListClipperData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiListClipperData", + "location": "imgui_internal:1554", + "ov_cimguiname": "ImGuiListClipperData_ImGuiListClipperData", + "signature": "()", + "stname": "ImGuiListClipperData" + } + ], + "ImGuiListClipperData_Reset": [ + { + "args": "(ImGuiListClipperData* self,ImGuiListClipper* clipper)", + "argsT": [ + { + "name": "self", + "type": "ImGuiListClipperData*" + }, + { + "name": "clipper", + "type": "ImGuiListClipper*" + } + ], + "argsoriginal": "(ImGuiListClipper* clipper)", + "call_args": "(clipper)", + "cimguiname": "ImGuiListClipperData_Reset", + "defaults": {}, + "funcname": "Reset", + "location": "imgui_internal:1555", + "ov_cimguiname": "ImGuiListClipperData_Reset", + "ret": "void", + "signature": "(ImGuiListClipper*)", + "stname": "ImGuiListClipperData" + } + ], + "ImGuiListClipperData_destroy": [ + { + "args": "(ImGuiListClipperData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiListClipperData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiListClipperData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1554", + "ov_cimguiname": "ImGuiListClipperData_destroy", + "ret": "void", + "signature": "(ImGuiListClipperData*)", + "stname": "ImGuiListClipperData" + } + ], + "ImGuiListClipperRange_FromIndices": [ + { + "args": "(int min,int max)", + "argsT": [ + { + "name": "min", + "type": "int" + }, + { + "name": "max", + "type": "int" + } + ], + "argsoriginal": "(int min,int max)", + "call_args": "(min,max)", + "cimguiname": "ImGuiListClipperRange_FromIndices", + "defaults": {}, + "funcname": "FromIndices", + "is_static_function": true, + "location": "imgui_internal:1541", + "ov_cimguiname": "ImGuiListClipperRange_FromIndices", + "ret": "ImGuiListClipperRange", + "signature": "(int,int)", + "stname": "ImGuiListClipperRange" + } + ], + "ImGuiListClipperRange_FromPositions": [ + { + "args": "(float y1,float y2,int off_min,int off_max)", + "argsT": [ + { + "name": "y1", + "type": "float" + }, + { + "name": "y2", + "type": "float" + }, + { + "name": "off_min", + "type": "int" + }, + { + "name": "off_max", + "type": "int" + } + ], + "argsoriginal": "(float y1,float y2,int off_min,int off_max)", + "call_args": "(y1,y2,off_min,off_max)", + "cimguiname": "ImGuiListClipperRange_FromPositions", + "defaults": {}, + "funcname": "FromPositions", + "is_static_function": true, + "location": "imgui_internal:1542", + "ov_cimguiname": "ImGuiListClipperRange_FromPositions", + "ret": "ImGuiListClipperRange", + "signature": "(float,float,int,int)", + "stname": "ImGuiListClipperRange" + } + ], + "ImGuiListClipper_Begin": [ + { + "args": "(ImGuiListClipper* self,int items_count,float items_height)", + "argsT": [ + { + "name": "self", + "type": "ImGuiListClipper*" + }, + { + "name": "items_count", + "type": "int" + }, + { + "name": "items_height", + "type": "float" + } + ], + "argsoriginal": "(int items_count,float items_height=-1.0f)", + "call_args": "(items_count,items_height)", + "cimguiname": "ImGuiListClipper_Begin", + "defaults": { + "items_height": "-1.0f" + }, + "funcname": "Begin", + "location": "imgui:2784", + "ov_cimguiname": "ImGuiListClipper_Begin", + "ret": "void", + "signature": "(int,float)", + "stname": "ImGuiListClipper" + } + ], + "ImGuiListClipper_End": [ + { + "args": "(ImGuiListClipper* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiListClipper*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiListClipper_End", + "defaults": {}, + "funcname": "End", + "location": "imgui:2785", + "ov_cimguiname": "ImGuiListClipper_End", + "ret": "void", + "signature": "()", + "stname": "ImGuiListClipper" + } + ], + "ImGuiListClipper_ImGuiListClipper": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiListClipper_ImGuiListClipper", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiListClipper", + "location": "imgui:2782", + "ov_cimguiname": "ImGuiListClipper_ImGuiListClipper", + "signature": "()", + "stname": "ImGuiListClipper" + } + ], + "ImGuiListClipper_IncludeItemByIndex": [ + { + "args": "(ImGuiListClipper* self,int item_index)", + "argsT": [ + { + "name": "self", + "type": "ImGuiListClipper*" + }, + { + "name": "item_index", + "type": "int" + } + ], + "argsoriginal": "(int item_index)", + "call_args": "(item_index)", + "cimguiname": "ImGuiListClipper_IncludeItemByIndex", + "defaults": {}, + "funcname": "IncludeItemByIndex", + "location": "imgui:2790", + "ov_cimguiname": "ImGuiListClipper_IncludeItemByIndex", + "ret": "void", + "signature": "(int)", + "stname": "ImGuiListClipper" + } + ], + "ImGuiListClipper_IncludeItemsByIndex": [ + { + "args": "(ImGuiListClipper* self,int item_begin,int item_end)", + "argsT": [ + { + "name": "self", + "type": "ImGuiListClipper*" + }, + { + "name": "item_begin", + "type": "int" + }, + { + "name": "item_end", + "type": "int" + } + ], + "argsoriginal": "(int item_begin,int item_end)", + "call_args": "(item_begin,item_end)", + "cimguiname": "ImGuiListClipper_IncludeItemsByIndex", + "defaults": {}, + "funcname": "IncludeItemsByIndex", + "location": "imgui:2791", + "ov_cimguiname": "ImGuiListClipper_IncludeItemsByIndex", + "ret": "void", + "signature": "(int,int)", + "stname": "ImGuiListClipper" + } + ], + "ImGuiListClipper_SeekCursorForItem": [ + { + "args": "(ImGuiListClipper* self,int item_index)", + "argsT": [ + { + "name": "self", + "type": "ImGuiListClipper*" + }, + { + "name": "item_index", + "type": "int" + } + ], + "argsoriginal": "(int item_index)", + "call_args": "(item_index)", + "cimguiname": "ImGuiListClipper_SeekCursorForItem", + "defaults": {}, + "funcname": "SeekCursorForItem", + "location": "imgui:2796", + "ov_cimguiname": "ImGuiListClipper_SeekCursorForItem", + "ret": "void", + "signature": "(int)", + "stname": "ImGuiListClipper" + } + ], + "ImGuiListClipper_Step": [ + { + "args": "(ImGuiListClipper* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiListClipper*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiListClipper_Step", + "defaults": {}, + "funcname": "Step", + "location": "imgui:2786", + "ov_cimguiname": "ImGuiListClipper_Step", + "ret": "bool", + "signature": "()", + "stname": "ImGuiListClipper" + } + ], + "ImGuiListClipper_destroy": [ + { + "args": "(ImGuiListClipper* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiListClipper*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiListClipper_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2783", + "ov_cimguiname": "ImGuiListClipper_destroy", + "realdestructor": true, + "ret": "void", + "signature": "(ImGuiListClipper*)", + "stname": "ImGuiListClipper" + } + ], + "ImGuiMenuColumns_CalcNextTotalWidth": [ + { + "args": "(ImGuiMenuColumns* self,bool update_offsets)", + "argsT": [ + { + "name": "self", + "type": "ImGuiMenuColumns*" + }, + { + "name": "update_offsets", + "type": "bool" + } + ], + "argsoriginal": "(bool update_offsets)", + "call_args": "(update_offsets)", + "cimguiname": "ImGuiMenuColumns_CalcNextTotalWidth", + "defaults": {}, + "funcname": "CalcNextTotalWidth", + "location": "imgui_internal:1105", + "ov_cimguiname": "ImGuiMenuColumns_CalcNextTotalWidth", + "ret": "void", + "signature": "(bool)", + "stname": "ImGuiMenuColumns" + } + ], + "ImGuiMenuColumns_DeclColumns": [ + { + "args": "(ImGuiMenuColumns* self,float w_icon,float w_label,float w_shortcut,float w_mark)", + "argsT": [ + { + "name": "self", + "type": "ImGuiMenuColumns*" + }, + { + "name": "w_icon", + "type": "float" + }, + { + "name": "w_label", + "type": "float" + }, + { + "name": "w_shortcut", + "type": "float" + }, + { + "name": "w_mark", + "type": "float" + } + ], + "argsoriginal": "(float w_icon,float w_label,float w_shortcut,float w_mark)", + "call_args": "(w_icon,w_label,w_shortcut,w_mark)", + "cimguiname": "ImGuiMenuColumns_DeclColumns", + "defaults": {}, + "funcname": "DeclColumns", + "location": "imgui_internal:1104", + "ov_cimguiname": "ImGuiMenuColumns_DeclColumns", + "ret": "float", + "signature": "(float,float,float,float)", + "stname": "ImGuiMenuColumns" + } + ], + "ImGuiMenuColumns_ImGuiMenuColumns": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiMenuColumns_ImGuiMenuColumns", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiMenuColumns", + "location": "imgui_internal:1102", + "ov_cimguiname": "ImGuiMenuColumns_ImGuiMenuColumns", + "signature": "()", + "stname": "ImGuiMenuColumns" + } + ], + "ImGuiMenuColumns_Update": [ + { + "args": "(ImGuiMenuColumns* self,float spacing,bool window_reappearing)", + "argsT": [ + { + "name": "self", + "type": "ImGuiMenuColumns*" + }, + { + "name": "spacing", + "type": "float" + }, + { + "name": "window_reappearing", + "type": "bool" + } + ], + "argsoriginal": "(float spacing,bool window_reappearing)", + "call_args": "(spacing,window_reappearing)", + "cimguiname": "ImGuiMenuColumns_Update", + "defaults": {}, + "funcname": "Update", + "location": "imgui_internal:1103", + "ov_cimguiname": "ImGuiMenuColumns_Update", + "ret": "void", + "signature": "(float,bool)", + "stname": "ImGuiMenuColumns" + } + ], + "ImGuiMenuColumns_destroy": [ + { + "args": "(ImGuiMenuColumns* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiMenuColumns*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiMenuColumns_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1102", + "ov_cimguiname": "ImGuiMenuColumns_destroy", + "ret": "void", + "signature": "(ImGuiMenuColumns*)", + "stname": "ImGuiMenuColumns" + } + ], + "ImGuiMultiSelectState_ImGuiMultiSelectState": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiMultiSelectState_ImGuiMultiSelectState", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiMultiSelectState", + "location": "imgui_internal:1819", + "ov_cimguiname": "ImGuiMultiSelectState_ImGuiMultiSelectState", + "signature": "()", + "stname": "ImGuiMultiSelectState" + } + ], + "ImGuiMultiSelectState_destroy": [ + { + "args": "(ImGuiMultiSelectState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiMultiSelectState*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiMultiSelectState_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1819", + "ov_cimguiname": "ImGuiMultiSelectState_destroy", + "ret": "void", + "signature": "(ImGuiMultiSelectState*)", + "stname": "ImGuiMultiSelectState" + } + ], + "ImGuiMultiSelectTempData_Clear": [ + { + "args": "(ImGuiMultiSelectTempData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiMultiSelectTempData*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiMultiSelectTempData_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui_internal:1803", + "ov_cimguiname": "ImGuiMultiSelectTempData_Clear", + "ret": "void", + "signature": "()", + "stname": "ImGuiMultiSelectTempData" + } + ], + "ImGuiMultiSelectTempData_ClearIO": [ + { + "args": "(ImGuiMultiSelectTempData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiMultiSelectTempData*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiMultiSelectTempData_ClearIO", + "defaults": {}, + "funcname": "ClearIO", + "location": "imgui_internal:1804", + "ov_cimguiname": "ImGuiMultiSelectTempData_ClearIO", + "ret": "void", + "signature": "()", + "stname": "ImGuiMultiSelectTempData" + } + ], + "ImGuiMultiSelectTempData_ImGuiMultiSelectTempData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiMultiSelectTempData_ImGuiMultiSelectTempData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiMultiSelectTempData", + "location": "imgui_internal:1802", + "ov_cimguiname": "ImGuiMultiSelectTempData_ImGuiMultiSelectTempData", + "signature": "()", + "stname": "ImGuiMultiSelectTempData" + } + ], + "ImGuiMultiSelectTempData_destroy": [ + { + "args": "(ImGuiMultiSelectTempData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiMultiSelectTempData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiMultiSelectTempData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1802", + "ov_cimguiname": "ImGuiMultiSelectTempData_destroy", + "ret": "void", + "signature": "(ImGuiMultiSelectTempData*)", + "stname": "ImGuiMultiSelectTempData" + } + ], + "ImGuiNavItemData_Clear": [ + { + "args": "(ImGuiNavItemData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiNavItemData*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiNavItemData_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui_internal:1644", + "ov_cimguiname": "ImGuiNavItemData_Clear", + "ret": "void", + "signature": "()", + "stname": "ImGuiNavItemData" + } + ], + "ImGuiNavItemData_ImGuiNavItemData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiNavItemData_ImGuiNavItemData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiNavItemData", + "location": "imgui_internal:1643", + "ov_cimguiname": "ImGuiNavItemData_ImGuiNavItemData", + "signature": "()", + "stname": "ImGuiNavItemData" + } + ], + "ImGuiNavItemData_destroy": [ + { + "args": "(ImGuiNavItemData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiNavItemData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiNavItemData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1643", + "ov_cimguiname": "ImGuiNavItemData_destroy", + "ret": "void", + "signature": "(ImGuiNavItemData*)", + "stname": "ImGuiNavItemData" + } + ], + "ImGuiNextItemData_ClearFlags": [ + { + "args": "(ImGuiNextItemData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiNextItemData*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiNextItemData_ClearFlags", + "defaults": {}, + "funcname": "ClearFlags", + "location": "imgui_internal:1261", + "ov_cimguiname": "ImGuiNextItemData_ClearFlags", + "ret": "void", + "signature": "()", + "stname": "ImGuiNextItemData" + } + ], + "ImGuiNextItemData_ImGuiNextItemData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiNextItemData_ImGuiNextItemData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiNextItemData", + "location": "imgui_internal:1260", + "ov_cimguiname": "ImGuiNextItemData_ImGuiNextItemData", + "signature": "()", + "stname": "ImGuiNextItemData" + } + ], + "ImGuiNextItemData_destroy": [ + { + "args": "(ImGuiNextItemData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiNextItemData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiNextItemData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1260", + "ov_cimguiname": "ImGuiNextItemData_destroy", + "ret": "void", + "signature": "(ImGuiNextItemData*)", + "stname": "ImGuiNextItemData" + } + ], + "ImGuiNextWindowData_ClearFlags": [ + { + "args": "(ImGuiNextWindowData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiNextWindowData*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiNextWindowData_ClearFlags", + "defaults": {}, + "funcname": "ClearFlags", + "location": "imgui_internal:1232", + "ov_cimguiname": "ImGuiNextWindowData_ClearFlags", + "ret": "void", + "signature": "()", + "stname": "ImGuiNextWindowData" + } + ], + "ImGuiNextWindowData_ImGuiNextWindowData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiNextWindowData_ImGuiNextWindowData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiNextWindowData", + "location": "imgui_internal:1231", + "ov_cimguiname": "ImGuiNextWindowData_ImGuiNextWindowData", + "signature": "()", + "stname": "ImGuiNextWindowData" + } + ], + "ImGuiNextWindowData_destroy": [ + { + "args": "(ImGuiNextWindowData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiNextWindowData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiNextWindowData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1231", + "ov_cimguiname": "ImGuiNextWindowData_destroy", + "ret": "void", + "signature": "(ImGuiNextWindowData*)", + "stname": "ImGuiNextWindowData" + } + ], + "ImGuiOldColumnData_ImGuiOldColumnData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiOldColumnData_ImGuiOldColumnData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiOldColumnData", + "location": "imgui_internal:1723", + "ov_cimguiname": "ImGuiOldColumnData_ImGuiOldColumnData", + "signature": "()", + "stname": "ImGuiOldColumnData" + } + ], + "ImGuiOldColumnData_destroy": [ + { + "args": "(ImGuiOldColumnData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiOldColumnData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiOldColumnData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1723", + "ov_cimguiname": "ImGuiOldColumnData_destroy", + "ret": "void", + "signature": "(ImGuiOldColumnData*)", + "stname": "ImGuiOldColumnData" + } + ], + "ImGuiOldColumns_ImGuiOldColumns": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiOldColumns_ImGuiOldColumns", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiOldColumns", + "location": "imgui_internal:1744", + "ov_cimguiname": "ImGuiOldColumns_ImGuiOldColumns", + "signature": "()", + "stname": "ImGuiOldColumns" + } + ], + "ImGuiOldColumns_destroy": [ + { + "args": "(ImGuiOldColumns* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiOldColumns*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiOldColumns_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1744", + "ov_cimguiname": "ImGuiOldColumns_destroy", + "ret": "void", + "signature": "(ImGuiOldColumns*)", + "stname": "ImGuiOldColumns" + } + ], + "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiOnceUponAFrame", + "location": "imgui:2642", + "ov_cimguiname": "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame", + "signature": "()", + "stname": "ImGuiOnceUponAFrame" + } + ], + "ImGuiOnceUponAFrame_destroy": [ + { + "args": "(ImGuiOnceUponAFrame* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiOnceUponAFrame*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiOnceUponAFrame_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2642", + "ov_cimguiname": "ImGuiOnceUponAFrame_destroy", + "ret": "void", + "signature": "(ImGuiOnceUponAFrame*)", + "stname": "ImGuiOnceUponAFrame" + } + ], + "ImGuiPayload_Clear": [ + { + "args": "(ImGuiPayload* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiPayload*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPayload_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui:2620", + "ov_cimguiname": "ImGuiPayload_Clear", + "ret": "void", + "signature": "()", + "stname": "ImGuiPayload" + } + ], + "ImGuiPayload_ImGuiPayload": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPayload_ImGuiPayload", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiPayload", + "location": "imgui:2619", + "ov_cimguiname": "ImGuiPayload_ImGuiPayload", + "signature": "()", + "stname": "ImGuiPayload" + } + ], + "ImGuiPayload_IsDataType": [ + { + "args": "(ImGuiPayload* self,const char* type)", + "argsT": [ + { + "name": "self", + "type": "ImGuiPayload*" + }, + { + "name": "type", + "type": "const char*" + } + ], + "argsoriginal": "(const char* type)", + "call_args": "(type)", + "cimguiname": "ImGuiPayload_IsDataType", + "defaults": {}, + "funcname": "IsDataType", + "location": "imgui:2621", + "ov_cimguiname": "ImGuiPayload_IsDataType", + "ret": "bool", + "signature": "(const char*)const", + "stname": "ImGuiPayload" + } + ], + "ImGuiPayload_IsDelivery": [ + { + "args": "(ImGuiPayload* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiPayload*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPayload_IsDelivery", + "defaults": {}, + "funcname": "IsDelivery", + "location": "imgui:2623", + "ov_cimguiname": "ImGuiPayload_IsDelivery", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiPayload" + } + ], + "ImGuiPayload_IsPreview": [ + { + "args": "(ImGuiPayload* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiPayload*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPayload_IsPreview", + "defaults": {}, + "funcname": "IsPreview", + "location": "imgui:2622", + "ov_cimguiname": "ImGuiPayload_IsPreview", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiPayload" + } + ], + "ImGuiPayload_destroy": [ + { + "args": "(ImGuiPayload* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiPayload*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiPayload_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2619", + "ov_cimguiname": "ImGuiPayload_destroy", + "ret": "void", + "signature": "(ImGuiPayload*)", + "stname": "ImGuiPayload" + } + ], + "ImGuiPlatformIO_ImGuiPlatformIO": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPlatformIO_ImGuiPlatformIO", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiPlatformIO", + "location": "imgui:3719", + "ov_cimguiname": "ImGuiPlatformIO_ImGuiPlatformIO", + "signature": "()", + "stname": "ImGuiPlatformIO" + } + ], + "ImGuiPlatformIO_destroy": [ + { + "args": "(ImGuiPlatformIO* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiPlatformIO*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiPlatformIO_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3719", + "ov_cimguiname": "ImGuiPlatformIO_destroy", + "ret": "void", + "signature": "(ImGuiPlatformIO*)", + "stname": "ImGuiPlatformIO" + } + ], + "ImGuiPlatformImeData_ImGuiPlatformImeData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPlatformImeData_ImGuiPlatformImeData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiPlatformImeData", + "location": "imgui:3829", + "ov_cimguiname": "ImGuiPlatformImeData_ImGuiPlatformImeData", + "signature": "()", + "stname": "ImGuiPlatformImeData" + } + ], + "ImGuiPlatformImeData_destroy": [ + { + "args": "(ImGuiPlatformImeData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiPlatformImeData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiPlatformImeData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3829", + "ov_cimguiname": "ImGuiPlatformImeData_destroy", + "ret": "void", + "signature": "(ImGuiPlatformImeData*)", + "stname": "ImGuiPlatformImeData" + } + ], + "ImGuiPlatformMonitor_ImGuiPlatformMonitor": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPlatformMonitor_ImGuiPlatformMonitor", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiPlatformMonitor", + "location": "imgui:3819", + "ov_cimguiname": "ImGuiPlatformMonitor_ImGuiPlatformMonitor", + "signature": "()", + "stname": "ImGuiPlatformMonitor" + } + ], + "ImGuiPlatformMonitor_destroy": [ + { + "args": "(ImGuiPlatformMonitor* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiPlatformMonitor*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiPlatformMonitor_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3819", + "ov_cimguiname": "ImGuiPlatformMonitor_destroy", + "ret": "void", + "signature": "(ImGuiPlatformMonitor*)", + "stname": "ImGuiPlatformMonitor" + } + ], + "ImGuiPopupData_ImGuiPopupData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPopupData_ImGuiPopupData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiPopupData", + "location": "imgui_internal:1358", + "ov_cimguiname": "ImGuiPopupData_ImGuiPopupData", + "signature": "()", + "stname": "ImGuiPopupData" + } + ], + "ImGuiPopupData_destroy": [ + { + "args": "(ImGuiPopupData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiPopupData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiPopupData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1358", + "ov_cimguiname": "ImGuiPopupData_destroy", + "ret": "void", + "signature": "(ImGuiPopupData*)", + "stname": "ImGuiPopupData" + } + ], + "ImGuiPtrOrIndex_ImGuiPtrOrIndex": [ + { + "args": "(void* ptr)", + "argsT": [ + { + "name": "ptr", + "type": "void*" + } + ], + "argsoriginal": "(void* ptr)", + "call_args": "(ptr)", + "cimguiname": "ImGuiPtrOrIndex_ImGuiPtrOrIndex", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiPtrOrIndex", + "location": "imgui_internal:1331", + "ov_cimguiname": "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr", + "signature": "(void*)", + "stname": "ImGuiPtrOrIndex" + }, + { + "args": "(int index)", + "argsT": [ + { + "name": "index", + "type": "int" + } + ], + "argsoriginal": "(int index)", + "call_args": "(index)", + "cimguiname": "ImGuiPtrOrIndex_ImGuiPtrOrIndex", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiPtrOrIndex", + "location": "imgui_internal:1332", + "ov_cimguiname": "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int", + "signature": "(int)", + "stname": "ImGuiPtrOrIndex" + } + ], + "ImGuiPtrOrIndex_destroy": [ + { + "args": "(ImGuiPtrOrIndex* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiPtrOrIndex*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiPtrOrIndex_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1331", + "ov_cimguiname": "ImGuiPtrOrIndex_destroy", + "ret": "void", + "signature": "(ImGuiPtrOrIndex*)", + "stname": "ImGuiPtrOrIndex" + } + ], + "ImGuiSelectionBasicStorage_ApplyRequests": [ + { + "args": "(ImGuiSelectionBasicStorage* self,ImGuiMultiSelectIO* ms_io)", + "argsT": [ + { + "name": "self", + "type": "ImGuiSelectionBasicStorage*" + }, + { + "name": "ms_io", + "type": "ImGuiMultiSelectIO*" + } + ], + "argsoriginal": "(ImGuiMultiSelectIO* ms_io)", + "call_args": "(ms_io)", + "cimguiname": "ImGuiSelectionBasicStorage_ApplyRequests", + "defaults": {}, + "funcname": "ApplyRequests", + "location": "imgui:3005", + "ov_cimguiname": "ImGuiSelectionBasicStorage_ApplyRequests", + "ret": "void", + "signature": "(ImGuiMultiSelectIO*)", + "stname": "ImGuiSelectionBasicStorage" + } + ], + "ImGuiSelectionBasicStorage_Clear": [ + { + "args": "(ImGuiSelectionBasicStorage* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiSelectionBasicStorage*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiSelectionBasicStorage_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui:3007", + "ov_cimguiname": "ImGuiSelectionBasicStorage_Clear", + "ret": "void", + "signature": "()", + "stname": "ImGuiSelectionBasicStorage" + } + ], + "ImGuiSelectionBasicStorage_Contains": [ + { + "args": "(ImGuiSelectionBasicStorage* self,ImGuiID id)", + "argsT": [ + { + "name": "self", + "type": "ImGuiSelectionBasicStorage*" + }, + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "ImGuiSelectionBasicStorage_Contains", + "defaults": {}, + "funcname": "Contains", + "location": "imgui:3006", + "ov_cimguiname": "ImGuiSelectionBasicStorage_Contains", + "ret": "bool", + "signature": "(ImGuiID)const", + "stname": "ImGuiSelectionBasicStorage" + } + ], + "ImGuiSelectionBasicStorage_GetNextSelectedItem": [ + { + "args": "(ImGuiSelectionBasicStorage* self,void** opaque_it,ImGuiID* out_id)", + "argsT": [ + { + "name": "self", + "type": "ImGuiSelectionBasicStorage*" + }, + { + "name": "opaque_it", + "type": "void**" + }, + { + "name": "out_id", + "type": "ImGuiID*" + } + ], + "argsoriginal": "(void** opaque_it,ImGuiID* out_id)", + "call_args": "(opaque_it,out_id)", + "cimguiname": "ImGuiSelectionBasicStorage_GetNextSelectedItem", + "defaults": {}, + "funcname": "GetNextSelectedItem", + "location": "imgui:3010", + "ov_cimguiname": "ImGuiSelectionBasicStorage_GetNextSelectedItem", + "ret": "bool", + "signature": "(void**,ImGuiID*)", + "stname": "ImGuiSelectionBasicStorage" + } + ], + "ImGuiSelectionBasicStorage_GetStorageIdFromIndex": [ + { + "args": "(ImGuiSelectionBasicStorage* self,int idx)", + "argsT": [ + { + "name": "self", + "type": "ImGuiSelectionBasicStorage*" + }, + { + "name": "idx", + "type": "int" + } + ], + "argsoriginal": "(int idx)", + "call_args": "(idx)", + "cimguiname": "ImGuiSelectionBasicStorage_GetStorageIdFromIndex", + "defaults": {}, + "funcname": "GetStorageIdFromIndex", + "location": "imgui:3011", + "ov_cimguiname": "ImGuiSelectionBasicStorage_GetStorageIdFromIndex", + "ret": "ImGuiID", + "signature": "(int)", + "stname": "ImGuiSelectionBasicStorage" + } + ], + "ImGuiSelectionBasicStorage_ImGuiSelectionBasicStorage": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiSelectionBasicStorage_ImGuiSelectionBasicStorage", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiSelectionBasicStorage", + "location": "imgui:3004", + "ov_cimguiname": "ImGuiSelectionBasicStorage_ImGuiSelectionBasicStorage", + "signature": "()", + "stname": "ImGuiSelectionBasicStorage" + } + ], + "ImGuiSelectionBasicStorage_SetItemSelected": [ + { + "args": "(ImGuiSelectionBasicStorage* self,ImGuiID id,bool selected)", + "argsT": [ + { + "name": "self", + "type": "ImGuiSelectionBasicStorage*" + }, + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "selected", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiID id,bool selected)", + "call_args": "(id,selected)", + "cimguiname": "ImGuiSelectionBasicStorage_SetItemSelected", + "defaults": {}, + "funcname": "SetItemSelected", + "location": "imgui:3009", + "ov_cimguiname": "ImGuiSelectionBasicStorage_SetItemSelected", + "ret": "void", + "signature": "(ImGuiID,bool)", + "stname": "ImGuiSelectionBasicStorage" + } + ], + "ImGuiSelectionBasicStorage_Swap": [ + { + "args": "(ImGuiSelectionBasicStorage* self,ImGuiSelectionBasicStorage* r)", + "argsT": [ + { + "name": "self", + "type": "ImGuiSelectionBasicStorage*" + }, + { + "name": "r", + "reftoptr": true, + "type": "ImGuiSelectionBasicStorage*" + } + ], + "argsoriginal": "(ImGuiSelectionBasicStorage& r)", + "call_args": "(*r)", + "cimguiname": "ImGuiSelectionBasicStorage_Swap", + "defaults": {}, + "funcname": "Swap", + "location": "imgui:3008", + "ov_cimguiname": "ImGuiSelectionBasicStorage_Swap", + "ret": "void", + "signature": "(ImGuiSelectionBasicStorage*)", + "stname": "ImGuiSelectionBasicStorage" + } + ], + "ImGuiSelectionBasicStorage_destroy": [ + { + "args": "(ImGuiSelectionBasicStorage* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiSelectionBasicStorage*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiSelectionBasicStorage_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3004", + "ov_cimguiname": "ImGuiSelectionBasicStorage_destroy", + "ret": "void", + "signature": "(ImGuiSelectionBasicStorage*)", + "stname": "ImGuiSelectionBasicStorage" + } + ], + "ImGuiSelectionExternalStorage_ApplyRequests": [ + { + "args": "(ImGuiSelectionExternalStorage* self,ImGuiMultiSelectIO* ms_io)", + "argsT": [ + { + "name": "self", + "type": "ImGuiSelectionExternalStorage*" + }, + { + "name": "ms_io", + "type": "ImGuiMultiSelectIO*" + } + ], + "argsoriginal": "(ImGuiMultiSelectIO* ms_io)", + "call_args": "(ms_io)", + "cimguiname": "ImGuiSelectionExternalStorage_ApplyRequests", + "defaults": {}, + "funcname": "ApplyRequests", + "location": "imgui:3024", + "ov_cimguiname": "ImGuiSelectionExternalStorage_ApplyRequests", + "ret": "void", + "signature": "(ImGuiMultiSelectIO*)", + "stname": "ImGuiSelectionExternalStorage" + } + ], + "ImGuiSelectionExternalStorage_ImGuiSelectionExternalStorage": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiSelectionExternalStorage_ImGuiSelectionExternalStorage", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiSelectionExternalStorage", + "location": "imgui:3023", + "ov_cimguiname": "ImGuiSelectionExternalStorage_ImGuiSelectionExternalStorage", + "signature": "()", + "stname": "ImGuiSelectionExternalStorage" + } + ], + "ImGuiSelectionExternalStorage_destroy": [ + { + "args": "(ImGuiSelectionExternalStorage* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiSelectionExternalStorage*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiSelectionExternalStorage_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3023", + "ov_cimguiname": "ImGuiSelectionExternalStorage_destroy", + "ret": "void", + "signature": "(ImGuiSelectionExternalStorage*)", + "stname": "ImGuiSelectionExternalStorage" + } + ], + "ImGuiSettingsHandler_ImGuiSettingsHandler": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiSettingsHandler_ImGuiSettingsHandler", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiSettingsHandler", + "location": "imgui_internal:2066", + "ov_cimguiname": "ImGuiSettingsHandler_ImGuiSettingsHandler", + "signature": "()", + "stname": "ImGuiSettingsHandler" + } + ], + "ImGuiSettingsHandler_destroy": [ + { + "args": "(ImGuiSettingsHandler* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiSettingsHandler*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiSettingsHandler_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:2066", + "ov_cimguiname": "ImGuiSettingsHandler_destroy", + "ret": "void", + "signature": "(ImGuiSettingsHandler*)", + "stname": "ImGuiSettingsHandler" + } + ], + "ImGuiStackLevelInfo_ImGuiStackLevelInfo": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiStackLevelInfo_ImGuiStackLevelInfo", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiStackLevelInfo", + "location": "imgui_internal:2184", + "ov_cimguiname": "ImGuiStackLevelInfo_ImGuiStackLevelInfo", + "signature": "()", + "stname": "ImGuiStackLevelInfo" + } + ], + "ImGuiStackLevelInfo_destroy": [ + { + "args": "(ImGuiStackLevelInfo* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStackLevelInfo*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiStackLevelInfo_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:2184", + "ov_cimguiname": "ImGuiStackLevelInfo_destroy", + "ret": "void", + "signature": "(ImGuiStackLevelInfo*)", + "stname": "ImGuiStackLevelInfo" + } + ], + "ImGuiStoragePair_ImGuiStoragePair": [ + { + "args": "(ImGuiID _key,int _val)", + "argsT": [ + { + "name": "_key", + "type": "ImGuiID" + }, + { + "name": "_val", + "type": "int" + } + ], + "argsoriginal": "(ImGuiID _key,int _val)", + "call_args": "(_key,_val)", + "cimguiname": "ImGuiStoragePair_ImGuiStoragePair", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiStoragePair", + "location": "imgui:2699", + "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePair_Int", + "signature": "(ImGuiID,int)", + "stname": "ImGuiStoragePair" + }, + { + "args": "(ImGuiID _key,float _val)", + "argsT": [ + { + "name": "_key", + "type": "ImGuiID" + }, + { + "name": "_val", + "type": "float" + } + ], + "argsoriginal": "(ImGuiID _key,float _val)", + "call_args": "(_key,_val)", + "cimguiname": "ImGuiStoragePair_ImGuiStoragePair", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiStoragePair", + "location": "imgui:2700", + "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePair_Float", + "signature": "(ImGuiID,float)", + "stname": "ImGuiStoragePair" + }, + { + "args": "(ImGuiID _key,void* _val)", + "argsT": [ + { + "name": "_key", + "type": "ImGuiID" + }, + { + "name": "_val", + "type": "void*" + } + ], + "argsoriginal": "(ImGuiID _key,void* _val)", + "call_args": "(_key,_val)", + "cimguiname": "ImGuiStoragePair_ImGuiStoragePair", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiStoragePair", + "location": "imgui:2701", + "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePair_Ptr", + "signature": "(ImGuiID,void*)", + "stname": "ImGuiStoragePair" + } + ], + "ImGuiStoragePair_destroy": [ + { + "args": "(ImGuiStoragePair* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStoragePair*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiStoragePair_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2699", + "ov_cimguiname": "ImGuiStoragePair_destroy", + "ret": "void", + "signature": "(ImGuiStoragePair*)", + "stname": "ImGuiStoragePair" + } + ], + "ImGuiStorage_BuildSortByKey": [ + { + "args": "(ImGuiStorage* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiStorage_BuildSortByKey", + "defaults": {}, + "funcname": "BuildSortByKey", + "location": "imgui:2740", + "ov_cimguiname": "ImGuiStorage_BuildSortByKey", + "ret": "void", + "signature": "()", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_Clear": [ + { + "args": "(ImGuiStorage* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiStorage_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui:2720", + "ov_cimguiname": "ImGuiStorage_Clear", + "ret": "void", + "signature": "()", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_GetBool": [ + { + "args": "(ImGuiStorage* self,ImGuiID key,bool default_val)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "default_val", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiID key,bool default_val=false)", + "call_args": "(key,default_val)", + "cimguiname": "ImGuiStorage_GetBool", + "defaults": { + "default_val": "false" + }, + "funcname": "GetBool", + "location": "imgui:2723", + "ov_cimguiname": "ImGuiStorage_GetBool", + "ret": "bool", + "signature": "(ImGuiID,bool)const", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_GetBoolRef": [ + { + "args": "(ImGuiStorage* self,ImGuiID key,bool default_val)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "default_val", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiID key,bool default_val=false)", + "call_args": "(key,default_val)", + "cimguiname": "ImGuiStorage_GetBoolRef", + "defaults": { + "default_val": "false" + }, + "funcname": "GetBoolRef", + "location": "imgui:2735", + "ov_cimguiname": "ImGuiStorage_GetBoolRef", + "ret": "bool*", + "signature": "(ImGuiID,bool)", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_GetFloat": [ + { + "args": "(ImGuiStorage* self,ImGuiID key,float default_val)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "default_val", + "type": "float" + } + ], + "argsoriginal": "(ImGuiID key,float default_val=0.0f)", + "call_args": "(key,default_val)", + "cimguiname": "ImGuiStorage_GetFloat", + "defaults": { + "default_val": "0.0f" + }, + "funcname": "GetFloat", + "location": "imgui:2725", + "ov_cimguiname": "ImGuiStorage_GetFloat", + "ret": "float", + "signature": "(ImGuiID,float)const", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_GetFloatRef": [ + { + "args": "(ImGuiStorage* self,ImGuiID key,float default_val)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "default_val", + "type": "float" + } + ], + "argsoriginal": "(ImGuiID key,float default_val=0.0f)", + "call_args": "(key,default_val)", + "cimguiname": "ImGuiStorage_GetFloatRef", + "defaults": { + "default_val": "0.0f" + }, + "funcname": "GetFloatRef", + "location": "imgui:2736", + "ov_cimguiname": "ImGuiStorage_GetFloatRef", + "ret": "float*", + "signature": "(ImGuiID,float)", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_GetInt": [ + { + "args": "(ImGuiStorage* self,ImGuiID key,int default_val)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "default_val", + "type": "int" + } + ], + "argsoriginal": "(ImGuiID key,int default_val=0)", + "call_args": "(key,default_val)", + "cimguiname": "ImGuiStorage_GetInt", + "defaults": { + "default_val": "0" + }, + "funcname": "GetInt", + "location": "imgui:2721", + "ov_cimguiname": "ImGuiStorage_GetInt", + "ret": "int", + "signature": "(ImGuiID,int)const", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_GetIntRef": [ + { + "args": "(ImGuiStorage* self,ImGuiID key,int default_val)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "default_val", + "type": "int" + } + ], + "argsoriginal": "(ImGuiID key,int default_val=0)", + "call_args": "(key,default_val)", + "cimguiname": "ImGuiStorage_GetIntRef", + "defaults": { + "default_val": "0" + }, + "funcname": "GetIntRef", + "location": "imgui:2734", + "ov_cimguiname": "ImGuiStorage_GetIntRef", + "ret": "int*", + "signature": "(ImGuiID,int)", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_GetVoidPtr": [ + { + "args": "(ImGuiStorage* self,ImGuiID key)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID key)", + "call_args": "(key)", + "cimguiname": "ImGuiStorage_GetVoidPtr", + "defaults": {}, + "funcname": "GetVoidPtr", + "location": "imgui:2727", + "ov_cimguiname": "ImGuiStorage_GetVoidPtr", + "ret": "void*", + "signature": "(ImGuiID)const", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_GetVoidPtrRef": [ + { + "args": "(ImGuiStorage* self,ImGuiID key,void* default_val)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "default_val", + "type": "void*" + } + ], + "argsoriginal": "(ImGuiID key,void* default_val=((void*)0))", + "call_args": "(key,default_val)", + "cimguiname": "ImGuiStorage_GetVoidPtrRef", + "defaults": { + "default_val": "NULL" + }, + "funcname": "GetVoidPtrRef", + "location": "imgui:2737", + "ov_cimguiname": "ImGuiStorage_GetVoidPtrRef", + "ret": "void**", + "signature": "(ImGuiID,void*)", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_SetAllInt": [ + { + "args": "(ImGuiStorage* self,int val)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "val", + "type": "int" + } + ], + "argsoriginal": "(int val)", + "call_args": "(val)", + "cimguiname": "ImGuiStorage_SetAllInt", + "defaults": {}, + "funcname": "SetAllInt", + "location": "imgui:2742", + "ov_cimguiname": "ImGuiStorage_SetAllInt", + "ret": "void", + "signature": "(int)", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_SetBool": [ + { + "args": "(ImGuiStorage* self,ImGuiID key,bool val)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "val", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiID key,bool val)", + "call_args": "(key,val)", + "cimguiname": "ImGuiStorage_SetBool", + "defaults": {}, + "funcname": "SetBool", + "location": "imgui:2724", + "ov_cimguiname": "ImGuiStorage_SetBool", + "ret": "void", + "signature": "(ImGuiID,bool)", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_SetFloat": [ + { + "args": "(ImGuiStorage* self,ImGuiID key,float val)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "val", + "type": "float" + } + ], + "argsoriginal": "(ImGuiID key,float val)", + "call_args": "(key,val)", + "cimguiname": "ImGuiStorage_SetFloat", + "defaults": {}, + "funcname": "SetFloat", + "location": "imgui:2726", + "ov_cimguiname": "ImGuiStorage_SetFloat", + "ret": "void", + "signature": "(ImGuiID,float)", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_SetInt": [ + { + "args": "(ImGuiStorage* self,ImGuiID key,int val)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "val", + "type": "int" + } + ], + "argsoriginal": "(ImGuiID key,int val)", + "call_args": "(key,val)", + "cimguiname": "ImGuiStorage_SetInt", + "defaults": {}, + "funcname": "SetInt", + "location": "imgui:2722", + "ov_cimguiname": "ImGuiStorage_SetInt", + "ret": "void", + "signature": "(ImGuiID,int)", + "stname": "ImGuiStorage" + } + ], + "ImGuiStorage_SetVoidPtr": [ + { + "args": "(ImGuiStorage* self,ImGuiID key,void* val)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStorage*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "val", + "type": "void*" + } + ], + "argsoriginal": "(ImGuiID key,void* val)", + "call_args": "(key,val)", + "cimguiname": "ImGuiStorage_SetVoidPtr", + "defaults": {}, + "funcname": "SetVoidPtr", + "location": "imgui:2728", + "ov_cimguiname": "ImGuiStorage_SetVoidPtr", + "ret": "void", + "signature": "(ImGuiID,void*)", + "stname": "ImGuiStorage" + } + ], + "ImGuiStyleMod_ImGuiStyleMod": [ + { + "args": "(ImGuiStyleVar idx,int v)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiStyleVar" + }, + { + "name": "v", + "type": "int" + } + ], + "argsoriginal": "(ImGuiStyleVar idx,int v)", + "call_args": "(idx,v)", + "cimguiname": "ImGuiStyleMod_ImGuiStyleMod", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiStyleMod", + "location": "imgui_internal:1054", + "ov_cimguiname": "ImGuiStyleMod_ImGuiStyleMod_Int", + "signature": "(ImGuiStyleVar,int)", + "stname": "ImGuiStyleMod" + }, + { + "args": "(ImGuiStyleVar idx,float v)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiStyleVar" + }, + { + "name": "v", + "type": "float" + } + ], + "argsoriginal": "(ImGuiStyleVar idx,float v)", + "call_args": "(idx,v)", + "cimguiname": "ImGuiStyleMod_ImGuiStyleMod", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiStyleMod", + "location": "imgui_internal:1055", + "ov_cimguiname": "ImGuiStyleMod_ImGuiStyleMod_Float", + "signature": "(ImGuiStyleVar,float)", + "stname": "ImGuiStyleMod" + }, + { + "args": "(ImGuiStyleVar idx,ImVec2 v)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiStyleVar" + }, + { + "name": "v", + "type": "ImVec2" + } + ], + "argsoriginal": "(ImGuiStyleVar idx,ImVec2 v)", + "call_args": "(idx,v)", + "cimguiname": "ImGuiStyleMod_ImGuiStyleMod", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiStyleMod", + "location": "imgui_internal:1056", + "ov_cimguiname": "ImGuiStyleMod_ImGuiStyleMod_Vec2", + "signature": "(ImGuiStyleVar,ImVec2)", + "stname": "ImGuiStyleMod" + } + ], + "ImGuiStyleMod_destroy": [ + { + "args": "(ImGuiStyleMod* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStyleMod*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiStyleMod_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1054", + "ov_cimguiname": "ImGuiStyleMod_destroy", + "ret": "void", + "signature": "(ImGuiStyleMod*)", + "stname": "ImGuiStyleMod" + } + ], + "ImGuiStyle_ImGuiStyle": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiStyle_ImGuiStyle", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiStyle", + "location": "imgui:2260", + "ov_cimguiname": "ImGuiStyle_ImGuiStyle", + "signature": "()", + "stname": "ImGuiStyle" + } + ], + "ImGuiStyle_ScaleAllSizes": [ + { + "args": "(ImGuiStyle* self,float scale_factor)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStyle*" + }, + { + "name": "scale_factor", + "type": "float" + } + ], + "argsoriginal": "(float scale_factor)", + "call_args": "(scale_factor)", + "cimguiname": "ImGuiStyle_ScaleAllSizes", + "defaults": {}, + "funcname": "ScaleAllSizes", + "location": "imgui:2261", + "ov_cimguiname": "ImGuiStyle_ScaleAllSizes", + "ret": "void", + "signature": "(float)", + "stname": "ImGuiStyle" + } + ], + "ImGuiStyle_destroy": [ + { + "args": "(ImGuiStyle* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiStyle*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiStyle_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2260", + "ov_cimguiname": "ImGuiStyle_destroy", + "ret": "void", + "signature": "(ImGuiStyle*)", + "stname": "ImGuiStyle" + } + ], + "ImGuiTabBar_ImGuiTabBar": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTabBar_ImGuiTabBar", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTabBar", + "location": "imgui_internal:2889", + "ov_cimguiname": "ImGuiTabBar_ImGuiTabBar", + "signature": "()", + "stname": "ImGuiTabBar" + } + ], + "ImGuiTabBar_destroy": [ + { + "args": "(ImGuiTabBar* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTabBar*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTabBar_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:2889", + "ov_cimguiname": "ImGuiTabBar_destroy", + "ret": "void", + "signature": "(ImGuiTabBar*)", + "stname": "ImGuiTabBar" + } + ], + "ImGuiTabItem_ImGuiTabItem": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTabItem_ImGuiTabItem", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTabItem", + "location": "imgui_internal:2848", + "ov_cimguiname": "ImGuiTabItem_ImGuiTabItem", + "signature": "()", + "stname": "ImGuiTabItem" + } + ], + "ImGuiTabItem_destroy": [ + { + "args": "(ImGuiTabItem* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTabItem*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTabItem_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:2848", + "ov_cimguiname": "ImGuiTabItem_destroy", + "ret": "void", + "signature": "(ImGuiTabItem*)", + "stname": "ImGuiTabItem" + } + ], + "ImGuiTableColumnSettings_ImGuiTableColumnSettings": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTableColumnSettings_ImGuiTableColumnSettings", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTableColumnSettings", + "location": "imgui_internal:3157", + "ov_cimguiname": "ImGuiTableColumnSettings_ImGuiTableColumnSettings", + "signature": "()", + "stname": "ImGuiTableColumnSettings" + } + ], + "ImGuiTableColumnSettings_destroy": [ + { + "args": "(ImGuiTableColumnSettings* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTableColumnSettings*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTableColumnSettings_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:3157", + "ov_cimguiname": "ImGuiTableColumnSettings_destroy", + "ret": "void", + "signature": "(ImGuiTableColumnSettings*)", + "stname": "ImGuiTableColumnSettings" + } + ], + "ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTableColumnSortSpecs", + "location": "imgui:2083", + "ov_cimguiname": "ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs", + "signature": "()", + "stname": "ImGuiTableColumnSortSpecs" + } + ], + "ImGuiTableColumnSortSpecs_destroy": [ + { + "args": "(ImGuiTableColumnSortSpecs* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTableColumnSortSpecs*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTableColumnSortSpecs_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2083", + "ov_cimguiname": "ImGuiTableColumnSortSpecs_destroy", + "ret": "void", + "signature": "(ImGuiTableColumnSortSpecs*)", + "stname": "ImGuiTableColumnSortSpecs" + } + ], + "ImGuiTableColumn_ImGuiTableColumn": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTableColumn_ImGuiTableColumn", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTableColumn", + "location": "imgui_internal:2952", + "ov_cimguiname": "ImGuiTableColumn_ImGuiTableColumn", + "signature": "()", + "stname": "ImGuiTableColumn" + } + ], + "ImGuiTableColumn_destroy": [ + { + "args": "(ImGuiTableColumn* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTableColumn*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTableColumn_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:2952", + "ov_cimguiname": "ImGuiTableColumn_destroy", + "ret": "void", + "signature": "(ImGuiTableColumn*)", + "stname": "ImGuiTableColumn" + } + ], + "ImGuiTableInstanceData_ImGuiTableInstanceData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTableInstanceData_ImGuiTableInstanceData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTableInstanceData", + "location": "imgui_internal:2995", + "ov_cimguiname": "ImGuiTableInstanceData_ImGuiTableInstanceData", + "signature": "()", + "stname": "ImGuiTableInstanceData" + } + ], + "ImGuiTableInstanceData_destroy": [ + { + "args": "(ImGuiTableInstanceData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTableInstanceData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTableInstanceData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:2995", + "ov_cimguiname": "ImGuiTableInstanceData_destroy", + "ret": "void", + "signature": "(ImGuiTableInstanceData*)", + "stname": "ImGuiTableInstanceData" + } + ], + "ImGuiTableSettings_GetColumnSettings": [ + { + "args": "(ImGuiTableSettings* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTableSettings*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTableSettings_GetColumnSettings", + "defaults": {}, + "funcname": "GetColumnSettings", + "location": "imgui_internal:3180", + "ov_cimguiname": "ImGuiTableSettings_GetColumnSettings", + "ret": "ImGuiTableColumnSettings*", + "signature": "()", + "stname": "ImGuiTableSettings" + } + ], + "ImGuiTableSettings_ImGuiTableSettings": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTableSettings_ImGuiTableSettings", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTableSettings", + "location": "imgui_internal:3179", + "ov_cimguiname": "ImGuiTableSettings_ImGuiTableSettings", + "signature": "()", + "stname": "ImGuiTableSettings" + } + ], + "ImGuiTableSettings_destroy": [ + { + "args": "(ImGuiTableSettings* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTableSettings*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTableSettings_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:3179", + "ov_cimguiname": "ImGuiTableSettings_destroy", + "ret": "void", + "signature": "(ImGuiTableSettings*)", + "stname": "ImGuiTableSettings" + } + ], + "ImGuiTableSortSpecs_ImGuiTableSortSpecs": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTableSortSpecs_ImGuiTableSortSpecs", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTableSortSpecs", + "location": "imgui:2072", + "ov_cimguiname": "ImGuiTableSortSpecs_ImGuiTableSortSpecs", + "signature": "()", + "stname": "ImGuiTableSortSpecs" + } + ], + "ImGuiTableSortSpecs_destroy": [ + { + "args": "(ImGuiTableSortSpecs* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTableSortSpecs*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTableSortSpecs_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2072", + "ov_cimguiname": "ImGuiTableSortSpecs_destroy", + "ret": "void", + "signature": "(ImGuiTableSortSpecs*)", + "stname": "ImGuiTableSortSpecs" + } + ], + "ImGuiTableTempData_ImGuiTableTempData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTableTempData_ImGuiTableTempData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTableTempData", + "location": "imgui_internal:3142", + "ov_cimguiname": "ImGuiTableTempData_ImGuiTableTempData", + "signature": "()", + "stname": "ImGuiTableTempData" + } + ], + "ImGuiTableTempData_destroy": [ + { + "args": "(ImGuiTableTempData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTableTempData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTableTempData_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:3142", + "ov_cimguiname": "ImGuiTableTempData_destroy", + "ret": "void", + "signature": "(ImGuiTableTempData*)", + "stname": "ImGuiTableTempData" + } + ], + "ImGuiTable_ImGuiTable": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTable_ImGuiTable", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTable", + "location": "imgui_internal:3114", + "ov_cimguiname": "ImGuiTable_ImGuiTable", + "signature": "()", + "stname": "ImGuiTable" + } + ], + "ImGuiTable_destroy": [ + { + "args": "(ImGuiTable* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTable*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTable_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:3115", + "ov_cimguiname": "ImGuiTable_destroy", + "realdestructor": true, + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "ImGuiTable" + } + ], + "ImGuiTextBuffer_ImGuiTextBuffer": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextBuffer_ImGuiTextBuffer", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTextBuffer", + "location": "imgui:2680", + "ov_cimguiname": "ImGuiTextBuffer_ImGuiTextBuffer", + "signature": "()", + "stname": "ImGuiTextBuffer" + } + ], + "ImGuiTextBuffer_append": [ + { + "args": "(ImGuiTextBuffer* self,const char* str,const char* str_end)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextBuffer*" + }, + { + "name": "str", + "type": "const char*" + }, + { + "name": "str_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str,const char* str_end=((void*)0))", + "call_args": "(str,str_end)", + "cimguiname": "ImGuiTextBuffer_append", + "defaults": { + "str_end": "NULL" + }, + "funcname": "append", + "location": "imgui:2689", + "ov_cimguiname": "ImGuiTextBuffer_append", + "ret": "void", + "signature": "(const char*,const char*)", + "stname": "ImGuiTextBuffer" + } + ], + "ImGuiTextBuffer_appendf": [ + { + "args": "(struct ImGuiTextBuffer* buffer, const char* fmt,...)", + "argsT": [ + { + "name": "buffer", + "type": "struct ImGuiTextBuffer*" + }, + { + "name": "fmt", + "type": " const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(struct ImGuiTextBuffer* buffer, const char* fmt, ...)", + "call_args": "(buffer,fmt,...)", + "cimguiname": "ImGuiTextBuffer_appendf", + "defaults": {}, + "funcname": "appendf", + "isvararg": "...)", + "location": "imgui:2690", + "manual": true, + "ov_cimguiname": "ImGuiTextBuffer_appendf", + "ret": "void", + "signature": "(struct ImGuiTextBuffer*, const char*,...)", + "stname": "ImGuiTextBuffer" + } + ], + "ImGuiTextBuffer_appendfv": [ + { + "args": "(ImGuiTextBuffer* self,const char* fmt,va_list args)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextBuffer*" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "ImGuiTextBuffer_appendfv", + "defaults": {}, + "funcname": "appendfv", + "location": "imgui:2691", + "ov_cimguiname": "ImGuiTextBuffer_appendfv", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "ImGuiTextBuffer" + } + ], + "ImGuiTextBuffer_begin": [ + { + "args": "(ImGuiTextBuffer* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextBuffer*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextBuffer_begin", + "defaults": {}, + "funcname": "begin", + "location": "imgui:2682", + "ov_cimguiname": "ImGuiTextBuffer_begin", + "ret": "const char*", + "signature": "()const", + "stname": "ImGuiTextBuffer" + } + ], + "ImGuiTextBuffer_c_str": [ + { + "args": "(ImGuiTextBuffer* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextBuffer*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextBuffer_c_str", + "defaults": {}, + "funcname": "c_str", + "location": "imgui:2688", + "ov_cimguiname": "ImGuiTextBuffer_c_str", + "ret": "const char*", + "signature": "()const", + "stname": "ImGuiTextBuffer" + } + ], + "ImGuiTextBuffer_clear": [ + { + "args": "(ImGuiTextBuffer* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextBuffer*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextBuffer_clear", + "defaults": {}, + "funcname": "clear", + "location": "imgui:2686", + "ov_cimguiname": "ImGuiTextBuffer_clear", + "ret": "void", + "signature": "()", + "stname": "ImGuiTextBuffer" + } + ], + "ImGuiTextBuffer_destroy": [ + { + "args": "(ImGuiTextBuffer* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextBuffer*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTextBuffer_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2680", + "ov_cimguiname": "ImGuiTextBuffer_destroy", + "ret": "void", + "signature": "(ImGuiTextBuffer*)", + "stname": "ImGuiTextBuffer" + } + ], + "ImGuiTextBuffer_empty": [ + { + "args": "(ImGuiTextBuffer* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextBuffer*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextBuffer_empty", + "defaults": {}, + "funcname": "empty", + "location": "imgui:2685", + "ov_cimguiname": "ImGuiTextBuffer_empty", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiTextBuffer" + } + ], + "ImGuiTextBuffer_end": [ + { + "args": "(ImGuiTextBuffer* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextBuffer*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextBuffer_end", + "defaults": {}, + "funcname": "end", + "location": "imgui:2683", + "ov_cimguiname": "ImGuiTextBuffer_end", + "ret": "const char*", + "signature": "()const", + "stname": "ImGuiTextBuffer" + } + ], + "ImGuiTextBuffer_reserve": [ + { + "args": "(ImGuiTextBuffer* self,int capacity)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextBuffer*" + }, + { + "name": "capacity", + "type": "int" + } + ], + "argsoriginal": "(int capacity)", + "call_args": "(capacity)", + "cimguiname": "ImGuiTextBuffer_reserve", + "defaults": {}, + "funcname": "reserve", + "location": "imgui:2687", + "ov_cimguiname": "ImGuiTextBuffer_reserve", + "ret": "void", + "signature": "(int)", + "stname": "ImGuiTextBuffer" + } + ], + "ImGuiTextBuffer_size": [ + { + "args": "(ImGuiTextBuffer* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextBuffer*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextBuffer_size", + "defaults": {}, + "funcname": "size", + "location": "imgui:2684", + "ov_cimguiname": "ImGuiTextBuffer_size", + "ret": "int", + "signature": "()const", + "stname": "ImGuiTextBuffer" + } + ], + "ImGuiTextFilter_Build": [ + { + "args": "(ImGuiTextFilter* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextFilter*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextFilter_Build", + "defaults": {}, + "funcname": "Build", + "location": "imgui:2653", + "ov_cimguiname": "ImGuiTextFilter_Build", + "ret": "void", + "signature": "()", + "stname": "ImGuiTextFilter" + } + ], + "ImGuiTextFilter_Clear": [ + { + "args": "(ImGuiTextFilter* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextFilter*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextFilter_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui:2654", + "ov_cimguiname": "ImGuiTextFilter_Clear", + "ret": "void", + "signature": "()", + "stname": "ImGuiTextFilter" + } + ], + "ImGuiTextFilter_Draw": [ + { + "args": "(ImGuiTextFilter* self,const char* label,float width)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextFilter*" + }, + { + "name": "label", + "type": "const char*" + }, + { + "name": "width", + "type": "float" + } + ], + "argsoriginal": "(const char* label=\"Filter(inc,-exc)\",float width=0.0f)", + "call_args": "(label,width)", + "cimguiname": "ImGuiTextFilter_Draw", + "defaults": { + "label": "\"Filter(inc,-exc)\"", + "width": "0.0f" + }, + "funcname": "Draw", + "location": "imgui:2651", + "ov_cimguiname": "ImGuiTextFilter_Draw", + "ret": "bool", + "signature": "(const char*,float)", + "stname": "ImGuiTextFilter" + } + ], + "ImGuiTextFilter_ImGuiTextFilter": [ + { + "args": "(const char* default_filter)", + "argsT": [ + { + "name": "default_filter", + "type": "const char*" + } + ], + "argsoriginal": "(const char* default_filter=\"\")", + "call_args": "(default_filter)", + "cimguiname": "ImGuiTextFilter_ImGuiTextFilter", + "constructor": true, + "defaults": { + "default_filter": "\"\"" + }, + "funcname": "ImGuiTextFilter", + "location": "imgui:2650", + "ov_cimguiname": "ImGuiTextFilter_ImGuiTextFilter", + "signature": "(const char*)", + "stname": "ImGuiTextFilter" + } + ], + "ImGuiTextFilter_IsActive": [ + { + "args": "(ImGuiTextFilter* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextFilter*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextFilter_IsActive", + "defaults": {}, + "funcname": "IsActive", + "location": "imgui:2655", + "ov_cimguiname": "ImGuiTextFilter_IsActive", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiTextFilter" + } + ], + "ImGuiTextFilter_PassFilter": [ + { + "args": "(ImGuiTextFilter* self,const char* text,const char* text_end)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextFilter*" + }, + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* text,const char* text_end=((void*)0))", + "call_args": "(text,text_end)", + "cimguiname": "ImGuiTextFilter_PassFilter", + "defaults": { + "text_end": "NULL" + }, + "funcname": "PassFilter", + "location": "imgui:2652", + "ov_cimguiname": "ImGuiTextFilter_PassFilter", + "ret": "bool", + "signature": "(const char*,const char*)const", + "stname": "ImGuiTextFilter" + } + ], + "ImGuiTextFilter_destroy": [ + { + "args": "(ImGuiTextFilter* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextFilter*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTextFilter_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2650", + "ov_cimguiname": "ImGuiTextFilter_destroy", + "ret": "void", + "signature": "(ImGuiTextFilter*)", + "stname": "ImGuiTextFilter" + } + ], + "ImGuiTextIndex_append": [ + { + "args": "(ImGuiTextIndex* self,const char* base,int old_size,int new_size)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextIndex*" + }, + { + "name": "base", + "type": "const char*" + }, + { + "name": "old_size", + "type": "int" + }, + { + "name": "new_size", + "type": "int" + } + ], + "argsoriginal": "(const char* base,int old_size,int new_size)", + "call_args": "(base,old_size,new_size)", + "cimguiname": "ImGuiTextIndex_append", + "defaults": {}, + "funcname": "append", + "location": "imgui_internal:743", + "ov_cimguiname": "ImGuiTextIndex_append", + "ret": "void", + "signature": "(const char*,int,int)", + "stname": "ImGuiTextIndex" + } + ], + "ImGuiTextIndex_clear": [ + { + "args": "(ImGuiTextIndex* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextIndex*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextIndex_clear", + "defaults": {}, + "funcname": "clear", + "location": "imgui_internal:739", + "ov_cimguiname": "ImGuiTextIndex_clear", + "ret": "void", + "signature": "()", + "stname": "ImGuiTextIndex" + } + ], + "ImGuiTextIndex_get_line_begin": [ + { + "args": "(ImGuiTextIndex* self,const char* base,int n)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextIndex*" + }, + { + "name": "base", + "type": "const char*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(const char* base,int n)", + "call_args": "(base,n)", + "cimguiname": "ImGuiTextIndex_get_line_begin", + "defaults": {}, + "funcname": "get_line_begin", + "location": "imgui_internal:741", + "ov_cimguiname": "ImGuiTextIndex_get_line_begin", + "ret": "const char*", + "signature": "(const char*,int)", + "stname": "ImGuiTextIndex" + } + ], + "ImGuiTextIndex_get_line_end": [ + { + "args": "(ImGuiTextIndex* self,const char* base,int n)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextIndex*" + }, + { + "name": "base", + "type": "const char*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(const char* base,int n)", + "call_args": "(base,n)", + "cimguiname": "ImGuiTextIndex_get_line_end", + "defaults": {}, + "funcname": "get_line_end", + "location": "imgui_internal:742", + "ov_cimguiname": "ImGuiTextIndex_get_line_end", + "ret": "const char*", + "signature": "(const char*,int)", + "stname": "ImGuiTextIndex" + } + ], + "ImGuiTextIndex_size": [ + { + "args": "(ImGuiTextIndex* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextIndex*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextIndex_size", + "defaults": {}, + "funcname": "size", + "location": "imgui_internal:740", + "ov_cimguiname": "ImGuiTextIndex_size", + "ret": "int", + "signature": "()", + "stname": "ImGuiTextIndex" + } + ], + "ImGuiTextRange_ImGuiTextRange": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextRange_ImGuiTextRange", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTextRange", + "location": "imgui:2663", + "ov_cimguiname": "ImGuiTextRange_ImGuiTextRange_Nil", + "signature": "()", + "stname": "ImGuiTextRange" + }, + { + "args": "(const char* _b,const char* _e)", + "argsT": [ + { + "name": "_b", + "type": "const char*" + }, + { + "name": "_e", + "type": "const char*" + } + ], + "argsoriginal": "(const char* _b,const char* _e)", + "call_args": "(_b,_e)", + "cimguiname": "ImGuiTextRange_ImGuiTextRange", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTextRange", + "location": "imgui:2664", + "ov_cimguiname": "ImGuiTextRange_ImGuiTextRange_Str", + "signature": "(const char*,const char*)", + "stname": "ImGuiTextRange" + } + ], + "ImGuiTextRange_destroy": [ + { + "args": "(ImGuiTextRange* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextRange*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTextRange_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2663", + "ov_cimguiname": "ImGuiTextRange_destroy", + "ret": "void", + "signature": "(ImGuiTextRange*)", + "stname": "ImGuiTextRange" + } + ], + "ImGuiTextRange_empty": [ + { + "args": "(ImGuiTextRange* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextRange*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextRange_empty", + "defaults": {}, + "funcname": "empty", + "location": "imgui:2665", + "ov_cimguiname": "ImGuiTextRange_empty", + "ret": "bool", + "signature": "()const", + "stname": "ImGuiTextRange" + } + ], + "ImGuiTextRange_split": [ + { + "args": "(ImGuiTextRange* self,char separator,ImVector_ImGuiTextRange* out)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextRange*" + }, + { + "name": "separator", + "type": "char" + }, + { + "name": "out", + "type": "ImVector_ImGuiTextRange*" + } + ], + "argsoriginal": "(char separator,ImVector* out)", + "call_args": "(separator,out)", + "cimguiname": "ImGuiTextRange_split", + "defaults": {}, + "funcname": "split", + "location": "imgui:2666", + "ov_cimguiname": "ImGuiTextRange_split", + "ret": "void", + "signature": "(char,ImVector_ImGuiTextRange*)const", + "stname": "ImGuiTextRange" + } + ], + "ImGuiTypingSelectState_Clear": [ + { + "args": "(ImGuiTypingSelectState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTypingSelectState*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTypingSelectState_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui_internal:1688", + "ov_cimguiname": "ImGuiTypingSelectState_Clear", + "ret": "void", + "signature": "()", + "stname": "ImGuiTypingSelectState" + } + ], + "ImGuiTypingSelectState_ImGuiTypingSelectState": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTypingSelectState_ImGuiTypingSelectState", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTypingSelectState", + "location": "imgui_internal:1687", + "ov_cimguiname": "ImGuiTypingSelectState_ImGuiTypingSelectState", + "signature": "()", + "stname": "ImGuiTypingSelectState" + } + ], + "ImGuiTypingSelectState_destroy": [ + { + "args": "(ImGuiTypingSelectState* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTypingSelectState*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTypingSelectState_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:1687", + "ov_cimguiname": "ImGuiTypingSelectState_destroy", + "ret": "void", + "signature": "(ImGuiTypingSelectState*)", + "stname": "ImGuiTypingSelectState" + } + ], + "ImGuiViewportP_CalcWorkRectPos": [ + { + "args": "(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 inset_min)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImGuiViewportP*" + }, + { + "name": "inset_min", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& inset_min)", + "call_args": "(inset_min)", + "cimguiname": "ImGuiViewportP_CalcWorkRectPos", + "defaults": {}, + "funcname": "CalcWorkRectPos", + "location": "imgui_internal:2018", + "nonUDT": 1, + "ov_cimguiname": "ImGuiViewportP_CalcWorkRectPos", + "ret": "void", + "signature": "(const ImVec2)const", + "stname": "ImGuiViewportP" + } + ], + "ImGuiViewportP_CalcWorkRectSize": [ + { + "args": "(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 inset_min,const ImVec2 inset_max)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImGuiViewportP*" + }, + { + "name": "inset_min", + "type": "const ImVec2" + }, + { + "name": "inset_max", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& inset_min,const ImVec2& inset_max)", + "call_args": "(inset_min,inset_max)", + "cimguiname": "ImGuiViewportP_CalcWorkRectSize", + "defaults": {}, + "funcname": "CalcWorkRectSize", + "location": "imgui_internal:2019", + "nonUDT": 1, + "ov_cimguiname": "ImGuiViewportP_CalcWorkRectSize", + "ret": "void", + "signature": "(const ImVec2,const ImVec2)const", + "stname": "ImGuiViewportP" + } + ], + "ImGuiViewportP_ClearRequestFlags": [ + { + "args": "(ImGuiViewportP* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiViewportP*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiViewportP_ClearRequestFlags", + "defaults": {}, + "funcname": "ClearRequestFlags", + "location": "imgui_internal:2015", + "ov_cimguiname": "ImGuiViewportP_ClearRequestFlags", + "ret": "void", + "signature": "()", + "stname": "ImGuiViewportP" + } + ], + "ImGuiViewportP_GetBuildWorkRect": [ + { + "args": "(ImRect *pOut,ImGuiViewportP* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImRect*" + }, + { + "name": "self", + "type": "ImGuiViewportP*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiViewportP_GetBuildWorkRect", + "defaults": {}, + "funcname": "GetBuildWorkRect", + "location": "imgui_internal:2025", + "nonUDT": 1, + "ov_cimguiname": "ImGuiViewportP_GetBuildWorkRect", + "ret": "void", + "signature": "()const", + "stname": "ImGuiViewportP" + } + ], + "ImGuiViewportP_GetMainRect": [ + { + "args": "(ImRect *pOut,ImGuiViewportP* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImRect*" + }, + { + "name": "self", + "type": "ImGuiViewportP*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiViewportP_GetMainRect", + "defaults": {}, + "funcname": "GetMainRect", + "location": "imgui_internal:2023", + "nonUDT": 1, + "ov_cimguiname": "ImGuiViewportP_GetMainRect", + "ret": "void", + "signature": "()const", + "stname": "ImGuiViewportP" + } + ], + "ImGuiViewportP_GetWorkRect": [ + { + "args": "(ImRect *pOut,ImGuiViewportP* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImRect*" + }, + { + "name": "self", + "type": "ImGuiViewportP*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiViewportP_GetWorkRect", + "defaults": {}, + "funcname": "GetWorkRect", + "location": "imgui_internal:2024", + "nonUDT": 1, + "ov_cimguiname": "ImGuiViewportP_GetWorkRect", + "ret": "void", + "signature": "()const", + "stname": "ImGuiViewportP" + } + ], + "ImGuiViewportP_ImGuiViewportP": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiViewportP_ImGuiViewportP", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiViewportP", + "location": "imgui_internal:2013", + "ov_cimguiname": "ImGuiViewportP_ImGuiViewportP", + "signature": "()", + "stname": "ImGuiViewportP" + } + ], + "ImGuiViewportP_UpdateWorkRect": [ + { + "args": "(ImGuiViewportP* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiViewportP*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiViewportP_UpdateWorkRect", + "defaults": {}, + "funcname": "UpdateWorkRect", + "location": "imgui_internal:2020", + "ov_cimguiname": "ImGuiViewportP_UpdateWorkRect", + "ret": "void", + "signature": "()", + "stname": "ImGuiViewportP" + } + ], + "ImGuiViewportP_destroy": [ + { + "args": "(ImGuiViewportP* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiViewportP*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiViewportP_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:2014", + "ov_cimguiname": "ImGuiViewportP_destroy", + "realdestructor": true, + "ret": "void", + "signature": "(ImGuiViewportP*)", + "stname": "ImGuiViewportP" + } + ], + "ImGuiViewport_GetCenter": [ + { + "args": "(ImVec2 *pOut,ImGuiViewport* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImGuiViewport*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiViewport_GetCenter", + "defaults": {}, + "funcname": "GetCenter", + "location": "imgui:3662", + "nonUDT": 1, + "ov_cimguiname": "ImGuiViewport_GetCenter", + "ret": "void", + "signature": "()const", + "stname": "ImGuiViewport" + } + ], + "ImGuiViewport_GetWorkCenter": [ + { + "args": "(ImVec2 *pOut,ImGuiViewport* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImGuiViewport*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiViewport_GetWorkCenter", + "defaults": {}, + "funcname": "GetWorkCenter", + "location": "imgui:3663", + "nonUDT": 1, + "ov_cimguiname": "ImGuiViewport_GetWorkCenter", + "ret": "void", + "signature": "()const", + "stname": "ImGuiViewport" + } + ], + "ImGuiViewport_ImGuiViewport": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiViewport_ImGuiViewport", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiViewport", + "location": "imgui:3658", + "ov_cimguiname": "ImGuiViewport_ImGuiViewport", + "signature": "()", + "stname": "ImGuiViewport" + } + ], + "ImGuiViewport_destroy": [ + { + "args": "(ImGuiViewport* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiViewport*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiViewport_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:3659", + "ov_cimguiname": "ImGuiViewport_destroy", + "realdestructor": true, + "ret": "void", + "signature": "(ImGuiViewport*)", + "stname": "ImGuiViewport" + } + ], + "ImGuiWindowClass_ImGuiWindowClass": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiWindowClass_ImGuiWindowClass", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiWindowClass", + "location": "imgui:2601", + "ov_cimguiname": "ImGuiWindowClass_ImGuiWindowClass", + "signature": "()", + "stname": "ImGuiWindowClass" + } + ], + "ImGuiWindowClass_destroy": [ + { + "args": "(ImGuiWindowClass* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiWindowClass*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiWindowClass_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2601", + "ov_cimguiname": "ImGuiWindowClass_destroy", + "ret": "void", + "signature": "(ImGuiWindowClass*)", + "stname": "ImGuiWindowClass" + } + ], + "ImGuiWindowSettings_GetName": [ + { + "args": "(ImGuiWindowSettings* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiWindowSettings*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiWindowSettings_GetName", + "defaults": {}, + "funcname": "GetName", + "location": "imgui_internal:2051", + "ov_cimguiname": "ImGuiWindowSettings_GetName", + "ret": "char*", + "signature": "()", + "stname": "ImGuiWindowSettings" + } + ], + "ImGuiWindowSettings_ImGuiWindowSettings": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiWindowSettings_ImGuiWindowSettings", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiWindowSettings", + "location": "imgui_internal:2050", + "ov_cimguiname": "ImGuiWindowSettings_ImGuiWindowSettings", + "signature": "()", + "stname": "ImGuiWindowSettings" + } + ], + "ImGuiWindowSettings_destroy": [ + { + "args": "(ImGuiWindowSettings* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiWindowSettings*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiWindowSettings_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:2050", + "ov_cimguiname": "ImGuiWindowSettings_destroy", + "ret": "void", + "signature": "(ImGuiWindowSettings*)", + "stname": "ImGuiWindowSettings" + } + ], + "ImGuiWindow_CalcFontSize": [ + { + "args": "(ImGuiWindow* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiWindow_CalcFontSize", + "defaults": {}, + "funcname": "CalcFontSize", + "location": "imgui_internal:2805", + "ov_cimguiname": "ImGuiWindow_CalcFontSize", + "ret": "float", + "signature": "()const", + "stname": "ImGuiWindow" + } + ], + "ImGuiWindow_GetID": [ + { + "args": "(ImGuiWindow* self,const char* str,const char* str_end)", + "argsT": [ + { + "name": "self", + "type": "ImGuiWindow*" + }, + { + "name": "str", + "type": "const char*" + }, + { + "name": "str_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str,const char* str_end=((void*)0))", + "call_args": "(str,str_end)", + "cimguiname": "ImGuiWindow_GetID", + "defaults": { + "str_end": "NULL" + }, + "funcname": "GetID", + "location": "imgui_internal:2797", + "ov_cimguiname": "ImGuiWindow_GetID_Str", + "ret": "ImGuiID", + "signature": "(const char*,const char*)", + "stname": "ImGuiWindow" + }, + { + "args": "(ImGuiWindow* self,const void* ptr)", + "argsT": [ + { + "name": "self", + "type": "ImGuiWindow*" + }, + { + "name": "ptr", + "type": "const void*" + } + ], + "argsoriginal": "(const void* ptr)", + "call_args": "(ptr)", + "cimguiname": "ImGuiWindow_GetID", + "defaults": {}, + "funcname": "GetID", + "location": "imgui_internal:2798", + "ov_cimguiname": "ImGuiWindow_GetID_Ptr", + "ret": "ImGuiID", + "signature": "(const void*)", + "stname": "ImGuiWindow" + }, + { + "args": "(ImGuiWindow* self,int n)", + "argsT": [ + { + "name": "self", + "type": "ImGuiWindow*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(int n)", + "call_args": "(n)", + "cimguiname": "ImGuiWindow_GetID", + "defaults": {}, + "funcname": "GetID", + "location": "imgui_internal:2799", + "ov_cimguiname": "ImGuiWindow_GetID_Int", + "ret": "ImGuiID", + "signature": "(int)", + "stname": "ImGuiWindow" + } + ], + "ImGuiWindow_GetIDFromPos": [ + { + "args": "(ImGuiWindow* self,const ImVec2 p_abs)", + "argsT": [ + { + "name": "self", + "type": "ImGuiWindow*" + }, + { + "name": "p_abs", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& p_abs)", + "call_args": "(p_abs)", + "cimguiname": "ImGuiWindow_GetIDFromPos", + "defaults": {}, + "funcname": "GetIDFromPos", + "location": "imgui_internal:2800", + "ov_cimguiname": "ImGuiWindow_GetIDFromPos", + "ret": "ImGuiID", + "signature": "(const ImVec2)", + "stname": "ImGuiWindow" + } + ], + "ImGuiWindow_GetIDFromRectangle": [ + { + "args": "(ImGuiWindow* self,const ImRect r_abs)", + "argsT": [ + { + "name": "self", + "type": "ImGuiWindow*" + }, + { + "name": "r_abs", + "type": "const ImRect" + } + ], + "argsoriginal": "(const ImRect& r_abs)", + "call_args": "(r_abs)", + "cimguiname": "ImGuiWindow_GetIDFromRectangle", + "defaults": {}, + "funcname": "GetIDFromRectangle", + "location": "imgui_internal:2801", + "ov_cimguiname": "ImGuiWindow_GetIDFromRectangle", + "ret": "ImGuiID", + "signature": "(const ImRect)", + "stname": "ImGuiWindow" + } + ], + "ImGuiWindow_ImGuiWindow": [ + { + "args": "(ImGuiContext* context,const char* name)", + "argsT": [ + { + "name": "context", + "type": "ImGuiContext*" + }, + { + "name": "name", + "type": "const char*" + } + ], + "argsoriginal": "(ImGuiContext* context,const char* name)", + "call_args": "(context,name)", + "cimguiname": "ImGuiWindow_ImGuiWindow", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiWindow", + "location": "imgui_internal:2793", + "ov_cimguiname": "ImGuiWindow_ImGuiWindow", + "signature": "(ImGuiContext*,const char*)", + "stname": "ImGuiWindow" + } + ], + "ImGuiWindow_MenuBarRect": [ + { + "args": "(ImRect *pOut,ImGuiWindow* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImRect*" + }, + { + "name": "self", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiWindow_MenuBarRect", + "defaults": {}, + "funcname": "MenuBarRect", + "location": "imgui_internal:2807", + "nonUDT": 1, + "ov_cimguiname": "ImGuiWindow_MenuBarRect", + "ret": "void", + "signature": "()const", + "stname": "ImGuiWindow" + } + ], + "ImGuiWindow_Rect": [ + { + "args": "(ImRect *pOut,ImGuiWindow* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImRect*" + }, + { + "name": "self", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiWindow_Rect", + "defaults": {}, + "funcname": "Rect", + "location": "imgui_internal:2804", + "nonUDT": 1, + "ov_cimguiname": "ImGuiWindow_Rect", + "ret": "void", + "signature": "()const", + "stname": "ImGuiWindow" + } + ], + "ImGuiWindow_TitleBarRect": [ + { + "args": "(ImRect *pOut,ImGuiWindow* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImRect*" + }, + { + "name": "self", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiWindow_TitleBarRect", + "defaults": {}, + "funcname": "TitleBarRect", + "location": "imgui_internal:2806", + "nonUDT": 1, + "ov_cimguiname": "ImGuiWindow_TitleBarRect", + "ret": "void", + "signature": "()const", + "stname": "ImGuiWindow" + } + ], + "ImGuiWindow_destroy": [ + { + "args": "(ImGuiWindow* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiWindow*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiWindow_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:2795", + "ov_cimguiname": "ImGuiWindow_destroy", + "realdestructor": true, + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "ImGuiWindow" + } + ], + "ImPool_Add": [ + { + "args": "(ImPool* self)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImPool_Add", + "defaults": {}, + "funcname": "Add", + "location": "imgui_internal:696", + "ov_cimguiname": "ImPool_Add", + "ret": "T*", + "signature": "()", + "stname": "ImPool", + "templated": true + } + ], + "ImPool_Clear": [ + { + "args": "(ImPool* self)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImPool_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui_internal:695", + "ov_cimguiname": "ImPool_Clear", + "ret": "void", + "signature": "()", + "stname": "ImPool", + "templated": true + } + ], + "ImPool_Contains": [ + { + "args": "(ImPool* self,const T* p)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + }, + { + "name": "p", + "type": "const T*" + } + ], + "argsoriginal": "(const T* p)", + "call_args": "(p)", + "cimguiname": "ImPool_Contains", + "defaults": {}, + "funcname": "Contains", + "location": "imgui_internal:694", + "ov_cimguiname": "ImPool_Contains", + "ret": "bool", + "signature": "(const T*)const", + "stname": "ImPool", + "templated": true + } + ], + "ImPool_GetAliveCount": [ + { + "args": "(ImPool* self)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImPool_GetAliveCount", + "defaults": {}, + "funcname": "GetAliveCount", + "location": "imgui_internal:703", + "ov_cimguiname": "ImPool_GetAliveCount", + "ret": "int", + "signature": "()const", + "stname": "ImPool", + "templated": true + } + ], + "ImPool_GetBufSize": [ + { + "args": "(ImPool* self)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImPool_GetBufSize", + "defaults": {}, + "funcname": "GetBufSize", + "location": "imgui_internal:704", + "ov_cimguiname": "ImPool_GetBufSize", + "ret": "int", + "signature": "()const", + "stname": "ImPool", + "templated": true + } + ], + "ImPool_GetByIndex": [ + { + "args": "(ImPool* self,ImPoolIdx n)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + }, + { + "name": "n", + "type": "ImPoolIdx" + } + ], + "argsoriginal": "(ImPoolIdx n)", + "call_args": "(n)", + "cimguiname": "ImPool_GetByIndex", + "defaults": {}, + "funcname": "GetByIndex", + "location": "imgui_internal:691", + "ov_cimguiname": "ImPool_GetByIndex", + "ret": "T*", + "signature": "(ImPoolIdx)", + "stname": "ImPool", + "templated": true + } + ], + "ImPool_GetByKey": [ + { + "args": "(ImPool* self,ImGuiID key)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + }, + { + "name": "key", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID key)", + "call_args": "(key)", + "cimguiname": "ImPool_GetByKey", + "defaults": {}, + "funcname": "GetByKey", + "location": "imgui_internal:690", + "ov_cimguiname": "ImPool_GetByKey", + "ret": "T*", + "signature": "(ImGuiID)", + "stname": "ImPool", + "templated": true + } + ], + "ImPool_GetIndex": [ + { + "args": "(ImPool* self,const T* p)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + }, + { + "name": "p", + "type": "const T*" + } + ], + "argsoriginal": "(const T* p)", + "call_args": "(p)", + "cimguiname": "ImPool_GetIndex", + "defaults": {}, + "funcname": "GetIndex", + "location": "imgui_internal:692", + "ov_cimguiname": "ImPool_GetIndex", + "ret": "ImPoolIdx", + "signature": "(const T*)const", + "stname": "ImPool", + "templated": true + } + ], + "ImPool_GetMapSize": [ + { + "args": "(ImPool* self)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImPool_GetMapSize", + "defaults": {}, + "funcname": "GetMapSize", + "location": "imgui_internal:705", + "ov_cimguiname": "ImPool_GetMapSize", + "ret": "int", + "signature": "()const", + "stname": "ImPool", + "templated": true + } + ], + "ImPool_GetOrAddByKey": [ + { + "args": "(ImPool* self,ImGuiID key)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + }, + { + "name": "key", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID key)", + "call_args": "(key)", + "cimguiname": "ImPool_GetOrAddByKey", + "defaults": {}, + "funcname": "GetOrAddByKey", + "location": "imgui_internal:693", + "ov_cimguiname": "ImPool_GetOrAddByKey", + "ret": "T*", + "signature": "(ImGuiID)", + "stname": "ImPool", + "templated": true + } + ], + "ImPool_ImPool": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImPool_ImPool", + "constructor": true, + "defaults": {}, + "funcname": "ImPool", + "location": "imgui_internal:688", + "ov_cimguiname": "ImPool_ImPool", + "signature": "()", + "stname": "ImPool", + "templated": true + } + ], + "ImPool_Remove": [ + { + "args": "(ImPool* self,ImGuiID key,const T* p)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "p", + "type": "const T*" + } + ], + "argsoriginal": "(ImGuiID key,const T* p)", + "call_args": "(key,p)", + "cimguiname": "ImPool_Remove", + "defaults": {}, + "funcname": "Remove", + "location": "imgui_internal:697", + "ov_cimguiname": "ImPool_Remove_TPtr", + "ret": "void", + "signature": "(ImGuiID,const T*)", + "stname": "ImPool", + "templated": true + }, + { + "args": "(ImPool* self,ImGuiID key,ImPoolIdx idx)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + }, + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "idx", + "type": "ImPoolIdx" + } + ], + "argsoriginal": "(ImGuiID key,ImPoolIdx idx)", + "call_args": "(key,idx)", + "cimguiname": "ImPool_Remove", + "defaults": {}, + "funcname": "Remove", + "location": "imgui_internal:698", + "ov_cimguiname": "ImPool_Remove_PoolIdx", + "ret": "void", + "signature": "(ImGuiID,ImPoolIdx)", + "stname": "ImPool", + "templated": true + } + ], + "ImPool_Reserve": [ + { + "args": "(ImPool* self,int capacity)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + }, + { + "name": "capacity", + "type": "int" + } + ], + "argsoriginal": "(int capacity)", + "call_args": "(capacity)", + "cimguiname": "ImPool_Reserve", + "defaults": {}, + "funcname": "Reserve", + "location": "imgui_internal:699", + "ov_cimguiname": "ImPool_Reserve", + "ret": "void", + "signature": "(int)", + "stname": "ImPool", + "templated": true + } + ], + "ImPool_TryGetMapData": [ + { + "args": "(ImPool* self,ImPoolIdx n)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + }, + { + "name": "n", + "type": "ImPoolIdx" + } + ], + "argsoriginal": "(ImPoolIdx n)", + "call_args": "(n)", + "cimguiname": "ImPool_TryGetMapData", + "defaults": {}, + "funcname": "TryGetMapData", + "location": "imgui_internal:706", + "ov_cimguiname": "ImPool_TryGetMapData", + "ret": "T*", + "signature": "(ImPoolIdx)", + "stname": "ImPool", + "templated": true + } + ], + "ImPool_destroy": [ + { + "args": "(ImPool* self)", + "argsT": [ + { + "name": "self", + "type": "ImPool*" + } + ], + "call_args": "(self)", + "cimguiname": "ImPool_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:689", + "ov_cimguiname": "ImPool_destroy", + "realdestructor": true, + "ret": "void", + "signature": "(ImPool*)", + "stname": "ImPool", + "templated": true + } + ], + "ImRect_Add": [ + { + "args": "(ImRect* self,const ImVec2 p)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + }, + { + "name": "p", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& p)", + "call_args": "(p)", + "cimguiname": "ImRect_Add", + "defaults": {}, + "funcname": "Add", + "location": "imgui_internal:559", + "ov_cimguiname": "ImRect_Add_Vec2", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "ImRect" + }, + { + "args": "(ImRect* self,const ImRect r)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + }, + { + "name": "r", + "type": "const ImRect" + } + ], + "argsoriginal": "(const ImRect& r)", + "call_args": "(r)", + "cimguiname": "ImRect_Add", + "defaults": {}, + "funcname": "Add", + "location": "imgui_internal:560", + "ov_cimguiname": "ImRect_Add_Rect", + "ret": "void", + "signature": "(const ImRect)", + "stname": "ImRect" + } + ], + "ImRect_ClipWith": [ + { + "args": "(ImRect* self,const ImRect r)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + }, + { + "name": "r", + "type": "const ImRect" + } + ], + "argsoriginal": "(const ImRect& r)", + "call_args": "(r)", + "cimguiname": "ImRect_ClipWith", + "defaults": {}, + "funcname": "ClipWith", + "location": "imgui_internal:566", + "ov_cimguiname": "ImRect_ClipWith", + "ret": "void", + "signature": "(const ImRect)", + "stname": "ImRect" + } + ], + "ImRect_ClipWithFull": [ + { + "args": "(ImRect* self,const ImRect r)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + }, + { + "name": "r", + "type": "const ImRect" + } + ], + "argsoriginal": "(const ImRect& r)", + "call_args": "(r)", + "cimguiname": "ImRect_ClipWithFull", + "defaults": {}, + "funcname": "ClipWithFull", + "location": "imgui_internal:567", + "ov_cimguiname": "ImRect_ClipWithFull", + "ret": "void", + "signature": "(const ImRect)", + "stname": "ImRect" + } + ], + "ImRect_Contains": [ + { + "args": "(ImRect* self,const ImVec2 p)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + }, + { + "name": "p", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& p)", + "call_args": "(p)", + "cimguiname": "ImRect_Contains", + "defaults": {}, + "funcname": "Contains", + "location": "imgui_internal:555", + "ov_cimguiname": "ImRect_Contains_Vec2", + "ret": "bool", + "signature": "(const ImVec2)const", + "stname": "ImRect" + }, + { + "args": "(ImRect* self,const ImRect r)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + }, + { + "name": "r", + "type": "const ImRect" + } + ], + "argsoriginal": "(const ImRect& r)", + "call_args": "(r)", + "cimguiname": "ImRect_Contains", + "defaults": {}, + "funcname": "Contains", + "location": "imgui_internal:556", + "ov_cimguiname": "ImRect_Contains_Rect", + "ret": "bool", + "signature": "(const ImRect)const", + "stname": "ImRect" + } + ], + "ImRect_ContainsWithPad": [ + { + "args": "(ImRect* self,const ImVec2 p,const ImVec2 pad)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + }, + { + "name": "p", + "type": "const ImVec2" + }, + { + "name": "pad", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& p,const ImVec2& pad)", + "call_args": "(p,pad)", + "cimguiname": "ImRect_ContainsWithPad", + "defaults": {}, + "funcname": "ContainsWithPad", + "location": "imgui_internal:557", + "ov_cimguiname": "ImRect_ContainsWithPad", + "ret": "bool", + "signature": "(const ImVec2,const ImVec2)const", + "stname": "ImRect" + } + ], + "ImRect_Expand": [ + { + "args": "(ImRect* self,const float amount)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + }, + { + "name": "amount", + "type": "const float" + } + ], + "argsoriginal": "(const float amount)", + "call_args": "(amount)", + "cimguiname": "ImRect_Expand", + "defaults": {}, + "funcname": "Expand", + "location": "imgui_internal:561", + "ov_cimguiname": "ImRect_Expand_Float", + "ret": "void", + "signature": "(const float)", + "stname": "ImRect" + }, + { + "args": "(ImRect* self,const ImVec2 amount)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + }, + { + "name": "amount", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& amount)", + "call_args": "(amount)", + "cimguiname": "ImRect_Expand", + "defaults": {}, + "funcname": "Expand", + "location": "imgui_internal:562", + "ov_cimguiname": "ImRect_Expand_Vec2", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "ImRect" + } + ], + "ImRect_Floor": [ + { + "args": "(ImRect* self)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImRect_Floor", + "defaults": {}, + "funcname": "Floor", + "location": "imgui_internal:568", + "ov_cimguiname": "ImRect_Floor", + "ret": "void", + "signature": "()", + "stname": "ImRect" + } + ], + "ImRect_GetArea": [ + { + "args": "(ImRect* self)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImRect_GetArea", + "defaults": {}, + "funcname": "GetArea", + "location": "imgui_internal:550", + "ov_cimguiname": "ImRect_GetArea", + "ret": "float", + "signature": "()const", + "stname": "ImRect" + } + ], + "ImRect_GetBL": [ + { + "args": "(ImVec2 *pOut,ImRect* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImRect*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImRect_GetBL", + "defaults": {}, + "funcname": "GetBL", + "location": "imgui_internal:553", + "nonUDT": 1, + "ov_cimguiname": "ImRect_GetBL", + "ret": "void", + "signature": "()const", + "stname": "ImRect" + } + ], + "ImRect_GetBR": [ + { + "args": "(ImVec2 *pOut,ImRect* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImRect*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImRect_GetBR", + "defaults": {}, + "funcname": "GetBR", + "location": "imgui_internal:554", + "nonUDT": 1, + "ov_cimguiname": "ImRect_GetBR", + "ret": "void", + "signature": "()const", + "stname": "ImRect" + } + ], + "ImRect_GetCenter": [ + { + "args": "(ImVec2 *pOut,ImRect* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImRect*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImRect_GetCenter", + "defaults": {}, + "funcname": "GetCenter", + "location": "imgui_internal:546", + "nonUDT": 1, + "ov_cimguiname": "ImRect_GetCenter", + "ret": "void", + "signature": "()const", + "stname": "ImRect" + } + ], + "ImRect_GetHeight": [ + { + "args": "(ImRect* self)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImRect_GetHeight", + "defaults": {}, + "funcname": "GetHeight", + "location": "imgui_internal:549", + "ov_cimguiname": "ImRect_GetHeight", + "ret": "float", + "signature": "()const", + "stname": "ImRect" + } + ], + "ImRect_GetSize": [ + { + "args": "(ImVec2 *pOut,ImRect* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImRect*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImRect_GetSize", + "defaults": {}, + "funcname": "GetSize", + "location": "imgui_internal:547", + "nonUDT": 1, + "ov_cimguiname": "ImRect_GetSize", + "ret": "void", + "signature": "()const", + "stname": "ImRect" + } + ], + "ImRect_GetTL": [ + { + "args": "(ImVec2 *pOut,ImRect* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImRect*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImRect_GetTL", + "defaults": {}, + "funcname": "GetTL", + "location": "imgui_internal:551", + "nonUDT": 1, + "ov_cimguiname": "ImRect_GetTL", + "ret": "void", + "signature": "()const", + "stname": "ImRect" + } + ], + "ImRect_GetTR": [ + { + "args": "(ImVec2 *pOut,ImRect* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImRect*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImRect_GetTR", + "defaults": {}, + "funcname": "GetTR", + "location": "imgui_internal:552", + "nonUDT": 1, + "ov_cimguiname": "ImRect_GetTR", + "ret": "void", + "signature": "()const", + "stname": "ImRect" + } + ], + "ImRect_GetWidth": [ + { + "args": "(ImRect* self)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImRect_GetWidth", + "defaults": {}, + "funcname": "GetWidth", + "location": "imgui_internal:548", + "ov_cimguiname": "ImRect_GetWidth", + "ret": "float", + "signature": "()const", + "stname": "ImRect" + } + ], + "ImRect_ImRect": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImRect_ImRect", + "constructor": true, + "defaults": {}, + "funcname": "ImRect", + "location": "imgui_internal:541", + "ov_cimguiname": "ImRect_ImRect_Nil", + "signature": "()", + "stname": "ImRect" + }, + { + "args": "(const ImVec2 min,const ImVec2 max)", + "argsT": [ + { + "name": "min", + "type": "const ImVec2" + }, + { + "name": "max", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& min,const ImVec2& max)", + "call_args": "(min,max)", + "cimguiname": "ImRect_ImRect", + "constructor": true, + "defaults": {}, + "funcname": "ImRect", + "location": "imgui_internal:542", + "ov_cimguiname": "ImRect_ImRect_Vec2", + "signature": "(const ImVec2,const ImVec2)", + "stname": "ImRect" + }, + { + "args": "(const ImVec4 v)", + "argsT": [ + { + "name": "v", + "type": "const ImVec4" + } + ], + "argsoriginal": "(const ImVec4& v)", + "call_args": "(v)", + "cimguiname": "ImRect_ImRect", + "constructor": true, + "defaults": {}, + "funcname": "ImRect", + "location": "imgui_internal:543", + "ov_cimguiname": "ImRect_ImRect_Vec4", + "signature": "(const ImVec4)", + "stname": "ImRect" + }, + { + "args": "(float x1,float y1,float x2,float y2)", + "argsT": [ + { + "name": "x1", + "type": "float" + }, + { + "name": "y1", + "type": "float" + }, + { + "name": "x2", + "type": "float" + }, + { + "name": "y2", + "type": "float" + } + ], + "argsoriginal": "(float x1,float y1,float x2,float y2)", + "call_args": "(x1,y1,x2,y2)", + "cimguiname": "ImRect_ImRect", + "constructor": true, + "defaults": {}, + "funcname": "ImRect", + "location": "imgui_internal:544", + "ov_cimguiname": "ImRect_ImRect_Float", + "signature": "(float,float,float,float)", + "stname": "ImRect" + } + ], + "ImRect_IsInverted": [ + { + "args": "(ImRect* self)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImRect_IsInverted", + "defaults": {}, + "funcname": "IsInverted", + "location": "imgui_internal:569", + "ov_cimguiname": "ImRect_IsInverted", + "ret": "bool", + "signature": "()const", + "stname": "ImRect" + } + ], + "ImRect_Overlaps": [ + { + "args": "(ImRect* self,const ImRect r)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + }, + { + "name": "r", + "type": "const ImRect" + } + ], + "argsoriginal": "(const ImRect& r)", + "call_args": "(r)", + "cimguiname": "ImRect_Overlaps", + "defaults": {}, + "funcname": "Overlaps", + "location": "imgui_internal:558", + "ov_cimguiname": "ImRect_Overlaps", + "ret": "bool", + "signature": "(const ImRect)const", + "stname": "ImRect" + } + ], + "ImRect_ToVec4": [ + { + "args": "(ImVec4 *pOut,ImRect* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec4*" + }, + { + "name": "self", + "type": "ImRect*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImRect_ToVec4", + "defaults": {}, + "funcname": "ToVec4", + "location": "imgui_internal:570", + "nonUDT": 1, + "ov_cimguiname": "ImRect_ToVec4", + "ret": "void", + "signature": "()const", + "stname": "ImRect" + } + ], + "ImRect_Translate": [ + { + "args": "(ImRect* self,const ImVec2 d)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + }, + { + "name": "d", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& d)", + "call_args": "(d)", + "cimguiname": "ImRect_Translate", + "defaults": {}, + "funcname": "Translate", + "location": "imgui_internal:563", + "ov_cimguiname": "ImRect_Translate", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "ImRect" + } + ], + "ImRect_TranslateX": [ + { + "args": "(ImRect* self,float dx)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + }, + { + "name": "dx", + "type": "float" + } + ], + "argsoriginal": "(float dx)", + "call_args": "(dx)", + "cimguiname": "ImRect_TranslateX", + "defaults": {}, + "funcname": "TranslateX", + "location": "imgui_internal:564", + "ov_cimguiname": "ImRect_TranslateX", + "ret": "void", + "signature": "(float)", + "stname": "ImRect" + } + ], + "ImRect_TranslateY": [ + { + "args": "(ImRect* self,float dy)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + }, + { + "name": "dy", + "type": "float" + } + ], + "argsoriginal": "(float dy)", + "call_args": "(dy)", + "cimguiname": "ImRect_TranslateY", + "defaults": {}, + "funcname": "TranslateY", + "location": "imgui_internal:565", + "ov_cimguiname": "ImRect_TranslateY", + "ret": "void", + "signature": "(float)", + "stname": "ImRect" + } + ], + "ImRect_destroy": [ + { + "args": "(ImRect* self)", + "argsT": [ + { + "name": "self", + "type": "ImRect*" + } + ], + "call_args": "(self)", + "cimguiname": "ImRect_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:541", + "ov_cimguiname": "ImRect_destroy", + "ret": "void", + "signature": "(ImRect*)", + "stname": "ImRect" + } + ], + "ImSpanAllocator_GetArenaSizeInBytes": [ + { + "args": "(ImSpanAllocator* self)", + "argsT": [ + { + "name": "self", + "type": "ImSpanAllocator*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImSpanAllocator_GetArenaSizeInBytes", + "defaults": {}, + "funcname": "GetArenaSizeInBytes", + "location": "imgui_internal:668", + "ov_cimguiname": "ImSpanAllocator_GetArenaSizeInBytes", + "ret": "int", + "signature": "()", + "stname": "ImSpanAllocator", + "templated": true + } + ], + "ImSpanAllocator_GetSpanPtrBegin": [ + { + "args": "(ImSpanAllocator* self,int n)", + "argsT": [ + { + "name": "self", + "type": "ImSpanAllocator*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(int n)", + "call_args": "(n)", + "cimguiname": "ImSpanAllocator_GetSpanPtrBegin", + "defaults": {}, + "funcname": "GetSpanPtrBegin", + "location": "imgui_internal:670", + "ov_cimguiname": "ImSpanAllocator_GetSpanPtrBegin", + "ret": "void*", + "signature": "(int)", + "stname": "ImSpanAllocator", + "templated": true + } + ], + "ImSpanAllocator_GetSpanPtrEnd": [ + { + "args": "(ImSpanAllocator* self,int n)", + "argsT": [ + { + "name": "self", + "type": "ImSpanAllocator*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(int n)", + "call_args": "(n)", + "cimguiname": "ImSpanAllocator_GetSpanPtrEnd", + "defaults": {}, + "funcname": "GetSpanPtrEnd", + "location": "imgui_internal:671", + "ov_cimguiname": "ImSpanAllocator_GetSpanPtrEnd", + "ret": "void*", + "signature": "(int)", + "stname": "ImSpanAllocator", + "templated": true + } + ], + "ImSpanAllocator_ImSpanAllocator": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImSpanAllocator_ImSpanAllocator", + "constructor": true, + "defaults": {}, + "funcname": "ImSpanAllocator", + "location": "imgui_internal:666", + "ov_cimguiname": "ImSpanAllocator_ImSpanAllocator", + "signature": "()", + "stname": "ImSpanAllocator", + "templated": true + } + ], + "ImSpanAllocator_Reserve": [ + { + "args": "(ImSpanAllocator* self,int n,size_t sz,int a)", + "argsT": [ + { + "name": "self", + "type": "ImSpanAllocator*" + }, + { + "name": "n", + "type": "int" + }, + { + "name": "sz", + "type": "size_t" + }, + { + "name": "a", + "type": "int" + } + ], + "argsoriginal": "(int n,size_t sz,int a=4)", + "call_args": "(n,sz,a)", + "cimguiname": "ImSpanAllocator_Reserve", + "defaults": { + "a": "4" + }, + "funcname": "Reserve", + "location": "imgui_internal:667", + "ov_cimguiname": "ImSpanAllocator_Reserve", + "ret": "void", + "signature": "(int,size_t,int)", + "stname": "ImSpanAllocator", + "templated": true + } + ], + "ImSpanAllocator_SetArenaBasePtr": [ + { + "args": "(ImSpanAllocator* self,void* base_ptr)", + "argsT": [ + { + "name": "self", + "type": "ImSpanAllocator*" + }, + { + "name": "base_ptr", + "type": "void*" + } + ], + "argsoriginal": "(void* base_ptr)", + "call_args": "(base_ptr)", + "cimguiname": "ImSpanAllocator_SetArenaBasePtr", + "defaults": {}, + "funcname": "SetArenaBasePtr", + "location": "imgui_internal:669", + "ov_cimguiname": "ImSpanAllocator_SetArenaBasePtr", + "ret": "void", + "signature": "(void*)", + "stname": "ImSpanAllocator", + "templated": true + } + ], + "ImSpanAllocator_destroy": [ + { + "args": "(ImSpanAllocator* self)", + "argsT": [ + { + "name": "self", + "type": "ImSpanAllocator*" + } + ], + "call_args": "(self)", + "cimguiname": "ImSpanAllocator_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:666", + "ov_cimguiname": "ImSpanAllocator_destroy", + "ret": "void", + "signature": "(ImSpanAllocator*)", + "stname": "ImSpanAllocator", + "templated": true + } + ], + "ImSpan_ImSpan": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImSpan_ImSpan", + "constructor": true, + "defaults": {}, + "funcname": "ImSpan", + "location": "imgui_internal:634", + "ov_cimguiname": "ImSpan_ImSpan_Nil", + "signature": "()", + "stname": "ImSpan", + "templated": true + }, + { + "args": "(T* data,int size)", + "argsT": [ + { + "name": "data", + "type": "T*" + }, + { + "name": "size", + "type": "int" + } + ], + "argsoriginal": "(T* data,int size)", + "call_args": "(data,size)", + "cimguiname": "ImSpan_ImSpan", + "constructor": true, + "defaults": {}, + "funcname": "ImSpan", + "location": "imgui_internal:635", + "ov_cimguiname": "ImSpan_ImSpan_TPtrInt", + "signature": "(T*,int)", + "stname": "ImSpan", + "templated": true + }, + { + "args": "(T* data,T* data_end)", + "argsT": [ + { + "name": "data", + "type": "T*" + }, + { + "name": "data_end", + "type": "T*" + } + ], + "argsoriginal": "(T* data,T* data_end)", + "call_args": "(data,data_end)", + "cimguiname": "ImSpan_ImSpan", + "constructor": true, + "defaults": {}, + "funcname": "ImSpan", + "location": "imgui_internal:636", + "ov_cimguiname": "ImSpan_ImSpan_TPtrTPtr", + "signature": "(T*,T*)", + "stname": "ImSpan", + "templated": true + } + ], + "ImSpan_begin": [ + { + "args": "(ImSpan* self)", + "argsT": [ + { + "name": "self", + "type": "ImSpan*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImSpan_begin", + "defaults": {}, + "funcname": "begin", + "location": "imgui_internal:645", + "ov_cimguiname": "ImSpan_begin_Nil", + "ret": "T*", + "signature": "()", + "stname": "ImSpan", + "templated": true + }, + { + "args": "(ImSpan* self)", + "argsT": [ + { + "name": "self", + "type": "ImSpan*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImSpan_begin", + "defaults": {}, + "funcname": "begin", + "location": "imgui_internal:646", + "ov_cimguiname": "ImSpan_begin__const", + "ret": "const T*", + "signature": "()const", + "stname": "ImSpan", + "templated": true + } + ], + "ImSpan_destroy": [ + { + "args": "(ImSpan* self)", + "argsT": [ + { + "name": "self", + "type": "ImSpan*" + } + ], + "call_args": "(self)", + "cimguiname": "ImSpan_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:634", + "ov_cimguiname": "ImSpan_destroy", + "ret": "void", + "signature": "(ImSpan*)", + "stname": "ImSpan", + "templated": true + } + ], + "ImSpan_end": [ + { + "args": "(ImSpan* self)", + "argsT": [ + { + "name": "self", + "type": "ImSpan*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImSpan_end", + "defaults": {}, + "funcname": "end", + "location": "imgui_internal:647", + "ov_cimguiname": "ImSpan_end_Nil", + "ret": "T*", + "signature": "()", + "stname": "ImSpan", + "templated": true + }, + { + "args": "(ImSpan* self)", + "argsT": [ + { + "name": "self", + "type": "ImSpan*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImSpan_end", + "defaults": {}, + "funcname": "end", + "location": "imgui_internal:648", + "ov_cimguiname": "ImSpan_end__const", + "ret": "const T*", + "signature": "()const", + "stname": "ImSpan", + "templated": true + } + ], + "ImSpan_index_from_ptr": [ + { + "args": "(ImSpan* self,const T* it)", + "argsT": [ + { + "name": "self", + "type": "ImSpan*" + }, + { + "name": "it", + "type": "const T*" + } + ], + "argsoriginal": "(const T* it)", + "call_args": "(it)", + "cimguiname": "ImSpan_index_from_ptr", + "defaults": {}, + "funcname": "index_from_ptr", + "location": "imgui_internal:651", + "ov_cimguiname": "ImSpan_index_from_ptr", + "ret": "int", + "signature": "(const T*)const", + "stname": "ImSpan", + "templated": true + } + ], + "ImSpan_set": [ + { + "args": "(ImSpan* self,T* data,int size)", + "argsT": [ + { + "name": "self", + "type": "ImSpan*" + }, + { + "name": "data", + "type": "T*" + }, + { + "name": "size", + "type": "int" + } + ], + "argsoriginal": "(T* data,int size)", + "call_args": "(data,size)", + "cimguiname": "ImSpan_set", + "defaults": {}, + "funcname": "set", + "location": "imgui_internal:638", + "ov_cimguiname": "ImSpan_set_Int", + "ret": "void", + "signature": "(T*,int)", + "stname": "ImSpan", + "templated": true + }, + { + "args": "(ImSpan* self,T* data,T* data_end)", + "argsT": [ + { + "name": "self", + "type": "ImSpan*" + }, + { + "name": "data", + "type": "T*" + }, + { + "name": "data_end", + "type": "T*" + } + ], + "argsoriginal": "(T* data,T* data_end)", + "call_args": "(data,data_end)", + "cimguiname": "ImSpan_set", + "defaults": {}, + "funcname": "set", + "location": "imgui_internal:639", + "ov_cimguiname": "ImSpan_set_TPtr", + "ret": "void", + "signature": "(T*,T*)", + "stname": "ImSpan", + "templated": true + } + ], + "ImSpan_size": [ + { + "args": "(ImSpan* self)", + "argsT": [ + { + "name": "self", + "type": "ImSpan*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImSpan_size", + "defaults": {}, + "funcname": "size", + "location": "imgui_internal:640", + "ov_cimguiname": "ImSpan_size", + "ret": "int", + "signature": "()const", + "stname": "ImSpan", + "templated": true + } + ], + "ImSpan_size_in_bytes": [ + { + "args": "(ImSpan* self)", + "argsT": [ + { + "name": "self", + "type": "ImSpan*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImSpan_size_in_bytes", + "defaults": {}, + "funcname": "size_in_bytes", + "location": "imgui_internal:641", + "ov_cimguiname": "ImSpan_size_in_bytes", + "ret": "int", + "signature": "()const", + "stname": "ImSpan", + "templated": true + } + ], + "ImVec1_ImVec1": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVec1_ImVec1", + "constructor": true, + "defaults": {}, + "funcname": "ImVec1", + "location": "imgui_internal:521", + "ov_cimguiname": "ImVec1_ImVec1_Nil", + "signature": "()", + "stname": "ImVec1" + }, + { + "args": "(float _x)", + "argsT": [ + { + "name": "_x", + "type": "float" + } + ], + "argsoriginal": "(float _x)", + "call_args": "(_x)", + "cimguiname": "ImVec1_ImVec1", + "constructor": true, + "defaults": {}, + "funcname": "ImVec1", + "location": "imgui_internal:522", + "ov_cimguiname": "ImVec1_ImVec1_Float", + "signature": "(float)", + "stname": "ImVec1" + } + ], + "ImVec1_destroy": [ + { + "args": "(ImVec1* self)", + "argsT": [ + { + "name": "self", + "type": "ImVec1*" + } + ], + "call_args": "(self)", + "cimguiname": "ImVec1_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:521", + "ov_cimguiname": "ImVec1_destroy", + "ret": "void", + "signature": "(ImVec1*)", + "stname": "ImVec1" + } + ], + "ImVec2_ImVec2": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVec2_ImVec2", + "constructor": true, + "defaults": {}, + "funcname": "ImVec2", + "location": "imgui:299", + "ov_cimguiname": "ImVec2_ImVec2_Nil", + "signature": "()", + "stname": "ImVec2" + }, + { + "args": "(float _x,float _y)", + "argsT": [ + { + "name": "_x", + "type": "float" + }, + { + "name": "_y", + "type": "float" + } + ], + "argsoriginal": "(float _x,float _y)", + "call_args": "(_x,_y)", + "cimguiname": "ImVec2_ImVec2", + "constructor": true, + "defaults": {}, + "funcname": "ImVec2", + "location": "imgui:300", + "ov_cimguiname": "ImVec2_ImVec2_Float", + "signature": "(float,float)", + "stname": "ImVec2" + } + ], + "ImVec2_destroy": [ + { + "args": "(ImVec2* self)", + "argsT": [ + { + "name": "self", + "type": "ImVec2*" + } + ], + "call_args": "(self)", + "cimguiname": "ImVec2_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:299", + "ov_cimguiname": "ImVec2_destroy", + "ret": "void", + "signature": "(ImVec2*)", + "stname": "ImVec2" + } + ], + "ImVec2ih_ImVec2ih": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVec2ih_ImVec2ih", + "constructor": true, + "defaults": {}, + "funcname": "ImVec2ih", + "location": "imgui_internal:529", + "ov_cimguiname": "ImVec2ih_ImVec2ih_Nil", + "signature": "()", + "stname": "ImVec2ih" + }, + { + "args": "(short _x,short _y)", + "argsT": [ + { + "name": "_x", + "type": "short" + }, + { + "name": "_y", + "type": "short" + } + ], + "argsoriginal": "(short _x,short _y)", + "call_args": "(_x,_y)", + "cimguiname": "ImVec2ih_ImVec2ih", + "constructor": true, + "defaults": {}, + "funcname": "ImVec2ih", + "location": "imgui_internal:530", + "ov_cimguiname": "ImVec2ih_ImVec2ih_short", + "signature": "(short,short)", + "stname": "ImVec2ih" + }, + { + "args": "(const ImVec2 rhs)", + "argsT": [ + { + "name": "rhs", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& rhs)", + "call_args": "(rhs)", + "cimguiname": "ImVec2ih_ImVec2ih", + "constructor": true, + "defaults": {}, + "funcname": "ImVec2ih", + "location": "imgui_internal:531", + "ov_cimguiname": "ImVec2ih_ImVec2ih_Vec2", + "signature": "(const ImVec2)", + "stname": "ImVec2ih" + } + ], + "ImVec2ih_destroy": [ + { + "args": "(ImVec2ih* self)", + "argsT": [ + { + "name": "self", + "type": "ImVec2ih*" + } + ], + "call_args": "(self)", + "cimguiname": "ImVec2ih_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui_internal:529", + "ov_cimguiname": "ImVec2ih_destroy", + "ret": "void", + "signature": "(ImVec2ih*)", + "stname": "ImVec2ih" + } + ], + "ImVec4_ImVec4": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVec4_ImVec4", + "constructor": true, + "defaults": {}, + "funcname": "ImVec4", + "location": "imgui:312", + "ov_cimguiname": "ImVec4_ImVec4_Nil", + "signature": "()", + "stname": "ImVec4" + }, + { + "args": "(float _x,float _y,float _z,float _w)", + "argsT": [ + { + "name": "_x", + "type": "float" + }, + { + "name": "_y", + "type": "float" + }, + { + "name": "_z", + "type": "float" + }, + { + "name": "_w", + "type": "float" + } + ], + "argsoriginal": "(float _x,float _y,float _z,float _w)", + "call_args": "(_x,_y,_z,_w)", + "cimguiname": "ImVec4_ImVec4", + "constructor": true, + "defaults": {}, + "funcname": "ImVec4", + "location": "imgui:313", + "ov_cimguiname": "ImVec4_ImVec4_Float", + "signature": "(float,float,float,float)", + "stname": "ImVec4" + } + ], + "ImVec4_destroy": [ + { + "args": "(ImVec4* self)", + "argsT": [ + { + "name": "self", + "type": "ImVec4*" + } + ], + "call_args": "(self)", + "cimguiname": "ImVec4_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:312", + "ov_cimguiname": "ImVec4_destroy", + "ret": "void", + "signature": "(ImVec4*)", + "stname": "ImVec4" + } + ], + "ImVector_ImVector": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_ImVector", + "constructor": true, + "defaults": {}, + "funcname": "ImVector", + "location": "imgui:2140", + "ov_cimguiname": "ImVector_ImVector_Nil", + "signature": "()", + "stname": "ImVector", + "templated": true + }, + { + "args": "(const ImVector_T src)", + "argsT": [ + { + "name": "src", + "type": "const ImVector_T " + } + ], + "argsoriginal": "(const ImVector& src)", + "call_args": "(src)", + "cimguiname": "ImVector_ImVector", + "constructor": true, + "defaults": {}, + "funcname": "ImVector", + "location": "imgui:2141", + "ov_cimguiname": "ImVector_ImVector_Vector_T_", + "signature": "(const ImVector_T )", + "stname": "ImVector", + "templated": true + } + ], + "ImVector__grow_capacity": [ + { + "args": "(ImVector* self,int sz)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "sz", + "type": "int" + } + ], + "argsoriginal": "(int sz)", + "call_args": "(sz)", + "cimguiname": "ImVector__grow_capacity", + "defaults": {}, + "funcname": "_grow_capacity", + "location": "imgui:2167", + "ov_cimguiname": "ImVector__grow_capacity", + "ret": "int", + "signature": "(int)const", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_back": [ + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_back", + "defaults": {}, + "funcname": "back", + "location": "imgui:2163", + "ov_cimguiname": "ImVector_back_Nil", + "ret": "T*", + "retref": "&", + "signature": "()", + "stname": "ImVector", + "templated": true + }, + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_back", + "defaults": {}, + "funcname": "back", + "location": "imgui:2164", + "ov_cimguiname": "ImVector_back__const", + "ret": "const T*", + "retref": "&", + "signature": "()const", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_begin": [ + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_begin", + "defaults": {}, + "funcname": "begin", + "location": "imgui:2157", + "ov_cimguiname": "ImVector_begin_Nil", + "ret": "T*", + "signature": "()", + "stname": "ImVector", + "templated": true + }, + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_begin", + "defaults": {}, + "funcname": "begin", + "location": "imgui:2158", + "ov_cimguiname": "ImVector_begin__const", + "ret": "const T*", + "signature": "()const", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_capacity": [ + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_capacity", + "defaults": {}, + "funcname": "capacity", + "location": "imgui:2153", + "ov_cimguiname": "ImVector_capacity", + "ret": "int", + "signature": "()const", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_clear": [ + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_clear", + "defaults": {}, + "funcname": "clear", + "location": "imgui:2145", + "ov_cimguiname": "ImVector_clear", + "ret": "void", + "signature": "()", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_clear_delete": [ + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_clear_delete", + "defaults": {}, + "funcname": "clear_delete", + "location": "imgui:2146", + "ov_cimguiname": "ImVector_clear_delete", + "ret": "void", + "signature": "()", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_clear_destruct": [ + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_clear_destruct", + "defaults": {}, + "funcname": "clear_destruct", + "location": "imgui:2147", + "ov_cimguiname": "ImVector_clear_destruct", + "ret": "void", + "signature": "()", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_contains": [ + { + "args": "(ImVector* self,const T v)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "v", + "type": "const T" + } + ], + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_contains", + "defaults": {}, + "funcname": "contains", + "location": "imgui:2182", + "ov_cimguiname": "ImVector_contains", + "ret": "bool", + "signature": "(const T)const", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_destroy": [ + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "call_args": "(self)", + "cimguiname": "ImVector_destroy", + "defaults": {}, + "destructor": true, + "location": "imgui:2143", + "ov_cimguiname": "ImVector_destroy", + "realdestructor": true, + "ret": "void", + "signature": "(ImVector*)", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_empty": [ + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_empty", + "defaults": {}, + "funcname": "empty", + "location": "imgui:2149", + "ov_cimguiname": "ImVector_empty", + "ret": "bool", + "signature": "()const", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_end": [ + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_end", + "defaults": {}, + "funcname": "end", + "location": "imgui:2159", + "ov_cimguiname": "ImVector_end_Nil", + "ret": "T*", + "signature": "()", + "stname": "ImVector", + "templated": true + }, + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_end", + "defaults": {}, + "funcname": "end", + "location": "imgui:2160", + "ov_cimguiname": "ImVector_end__const", + "ret": "const T*", + "signature": "()const", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_erase": [ + { + "args": "(ImVector* self,const T* it)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "it", + "type": "const T*" + } + ], + "argsoriginal": "(const T* it)", + "call_args": "(it)", + "cimguiname": "ImVector_erase", + "defaults": {}, + "funcname": "erase", + "location": "imgui:2178", + "ov_cimguiname": "ImVector_erase_Nil", + "ret": "T*", + "signature": "(const T*)", + "stname": "ImVector", + "templated": true + }, + { + "args": "(ImVector* self,const T* it,const T* it_last)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "it", + "type": "const T*" + }, + { + "name": "it_last", + "type": "const T*" + } + ], + "argsoriginal": "(const T* it,const T* it_last)", + "call_args": "(it,it_last)", + "cimguiname": "ImVector_erase", + "defaults": {}, + "funcname": "erase", + "location": "imgui:2179", + "ov_cimguiname": "ImVector_erase_TPtr", + "ret": "T*", + "signature": "(const T*,const T*)", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_erase_unsorted": [ + { + "args": "(ImVector* self,const T* it)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "it", + "type": "const T*" + } + ], + "argsoriginal": "(const T* it)", + "call_args": "(it)", + "cimguiname": "ImVector_erase_unsorted", + "defaults": {}, + "funcname": "erase_unsorted", + "location": "imgui:2180", + "ov_cimguiname": "ImVector_erase_unsorted", + "ret": "T*", + "signature": "(const T*)", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_find": [ + { + "args": "(ImVector* self,const T v)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "v", + "type": "const T" + } + ], + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_find", + "defaults": {}, + "funcname": "find", + "location": "imgui:2183", + "ov_cimguiname": "ImVector_find_Nil", + "ret": "T*", + "signature": "(const T)", + "stname": "ImVector", + "templated": true + }, + { + "args": "(ImVector* self,const T v)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "v", + "type": "const T" + } + ], + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_find", + "defaults": {}, + "funcname": "find", + "location": "imgui:2184", + "ov_cimguiname": "ImVector_find__const", + "ret": "const T*", + "signature": "(const T)const", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_find_erase": [ + { + "args": "(ImVector* self,const T v)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "v", + "type": "const T" + } + ], + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_find_erase", + "defaults": {}, + "funcname": "find_erase", + "location": "imgui:2186", + "ov_cimguiname": "ImVector_find_erase", + "ret": "bool", + "signature": "(const T)", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_find_erase_unsorted": [ + { + "args": "(ImVector* self,const T v)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "v", + "type": "const T" + } + ], + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_find_erase_unsorted", + "defaults": {}, + "funcname": "find_erase_unsorted", + "location": "imgui:2187", + "ov_cimguiname": "ImVector_find_erase_unsorted", + "ret": "bool", + "signature": "(const T)", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_find_index": [ + { + "args": "(ImVector* self,const T v)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "v", + "type": "const T" + } + ], + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_find_index", + "defaults": {}, + "funcname": "find_index", + "location": "imgui:2185", + "ov_cimguiname": "ImVector_find_index", + "ret": "int", + "signature": "(const T)const", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_front": [ + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_front", + "defaults": {}, + "funcname": "front", + "location": "imgui:2161", + "ov_cimguiname": "ImVector_front_Nil", + "ret": "T*", + "retref": "&", + "signature": "()", + "stname": "ImVector", + "templated": true + }, + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_front", + "defaults": {}, + "funcname": "front", + "location": "imgui:2162", + "ov_cimguiname": "ImVector_front__const", + "ret": "const T*", + "retref": "&", + "signature": "()const", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_index_from_ptr": [ + { + "args": "(ImVector* self,const T* it)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "it", + "type": "const T*" + } + ], + "argsoriginal": "(const T* it)", + "call_args": "(it)", + "cimguiname": "ImVector_index_from_ptr", + "defaults": {}, + "funcname": "index_from_ptr", + "location": "imgui:2188", + "ov_cimguiname": "ImVector_index_from_ptr", + "ret": "int", + "signature": "(const T*)const", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_insert": [ + { + "args": "(ImVector* self,const T* it,const T v)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "it", + "type": "const T*" + }, + { + "name": "v", + "type": "const T" + } + ], + "argsoriginal": "(const T* it,const T& v)", + "call_args": "(it,v)", + "cimguiname": "ImVector_insert", + "defaults": {}, + "funcname": "insert", + "location": "imgui:2181", + "ov_cimguiname": "ImVector_insert", + "ret": "T*", + "signature": "(const T*,const T)", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_max_size": [ + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_max_size", + "defaults": {}, + "funcname": "max_size", + "location": "imgui:2152", + "ov_cimguiname": "ImVector_max_size", + "ret": "int", + "signature": "()const", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_pop_back": [ + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_pop_back", + "defaults": {}, + "funcname": "pop_back", + "location": "imgui:2176", + "ov_cimguiname": "ImVector_pop_back", + "ret": "void", + "signature": "()", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_push_back": [ + { + "args": "(ImVector* self,const T v)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "v", + "type": "const T" + } + ], + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_push_back", + "defaults": {}, + "funcname": "push_back", + "location": "imgui:2175", + "ov_cimguiname": "ImVector_push_back", + "ret": "void", + "signature": "(const T)", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_push_front": [ + { + "args": "(ImVector* self,const T v)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "v", + "type": "const T" + } + ], + "argsoriginal": "(const T& v)", + "call_args": "(v)", + "cimguiname": "ImVector_push_front", + "defaults": {}, + "funcname": "push_front", + "location": "imgui:2177", + "ov_cimguiname": "ImVector_push_front", + "ret": "void", + "signature": "(const T)", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_reserve": [ + { + "args": "(ImVector* self,int new_capacity)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "new_capacity", + "type": "int" + } + ], + "argsoriginal": "(int new_capacity)", + "call_args": "(new_capacity)", + "cimguiname": "ImVector_reserve", + "defaults": {}, + "funcname": "reserve", + "location": "imgui:2171", + "ov_cimguiname": "ImVector_reserve", + "ret": "void", + "signature": "(int)", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_reserve_discard": [ + { + "args": "(ImVector* self,int new_capacity)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "new_capacity", + "type": "int" + } + ], + "argsoriginal": "(int new_capacity)", + "call_args": "(new_capacity)", + "cimguiname": "ImVector_reserve_discard", + "defaults": {}, + "funcname": "reserve_discard", + "location": "imgui:2172", + "ov_cimguiname": "ImVector_reserve_discard", + "ret": "void", + "signature": "(int)", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_resize": [ + { + "args": "(ImVector* self,int new_size)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "new_size", + "type": "int" + } + ], + "argsoriginal": "(int new_size)", + "call_args": "(new_size)", + "cimguiname": "ImVector_resize", + "defaults": {}, + "funcname": "resize", + "location": "imgui:2168", + "ov_cimguiname": "ImVector_resize_Nil", + "ret": "void", + "signature": "(int)", + "stname": "ImVector", + "templated": true + }, + { + "args": "(ImVector* self,int new_size,const T v)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "new_size", + "type": "int" + }, + { + "name": "v", + "type": "const T" + } + ], + "argsoriginal": "(int new_size,const T& v)", + "call_args": "(new_size,v)", + "cimguiname": "ImVector_resize", + "defaults": {}, + "funcname": "resize", + "location": "imgui:2169", + "ov_cimguiname": "ImVector_resize_T", + "ret": "void", + "signature": "(int,const T)", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_shrink": [ + { + "args": "(ImVector* self,int new_size)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "new_size", + "type": "int" + } + ], + "argsoriginal": "(int new_size)", + "call_args": "(new_size)", + "cimguiname": "ImVector_shrink", + "defaults": {}, + "funcname": "shrink", + "location": "imgui:2170", + "ov_cimguiname": "ImVector_shrink", + "ret": "void", + "signature": "(int)", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_size": [ + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_size", + "defaults": {}, + "funcname": "size", + "location": "imgui:2150", + "ov_cimguiname": "ImVector_size", + "ret": "int", + "signature": "()const", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_size_in_bytes": [ + { + "args": "(ImVector* self)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImVector_size_in_bytes", + "defaults": {}, + "funcname": "size_in_bytes", + "location": "imgui:2151", + "ov_cimguiname": "ImVector_size_in_bytes", + "ret": "int", + "signature": "()const", + "stname": "ImVector", + "templated": true + } + ], + "ImVector_swap": [ + { + "args": "(ImVector* self,ImVector_T * rhs)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "rhs", + "reftoptr": true, + "type": "ImVector_T *" + } + ], + "argsoriginal": "(ImVector& rhs)", + "call_args": "(*rhs)", + "cimguiname": "ImVector_swap", + "defaults": {}, + "funcname": "swap", + "location": "imgui:2165", + "ov_cimguiname": "ImVector_swap", + "ret": "void", + "signature": "(ImVector_T *)", + "stname": "ImVector", + "templated": true + } + ], + "igAcceptDragDropPayload": [ + { + "args": "(const char* type,ImGuiDragDropFlags flags)", + "argsT": [ + { + "name": "type", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiDragDropFlags" + } + ], + "argsoriginal": "(const char* type,ImGuiDragDropFlags flags=0)", + "call_args": "(type,flags)", + "cimguiname": "igAcceptDragDropPayload", + "defaults": { + "flags": "0" + }, + "funcname": "AcceptDragDropPayload", + "location": "imgui:915", + "namespace": "ImGui", + "ov_cimguiname": "igAcceptDragDropPayload", + "ret": "const ImGuiPayload*", + "signature": "(const char*,ImGuiDragDropFlags)", + "stname": "" + } + ], + "igActivateItemByID": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igActivateItemByID", + "defaults": {}, + "funcname": "ActivateItemByID", + "location": "imgui_internal:3391", + "namespace": "ImGui", + "ov_cimguiname": "igActivateItemByID", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igAddContextHook": [ + { + "args": "(ImGuiContext* context,const ImGuiContextHook* hook)", + "argsT": [ + { + "name": "context", + "type": "ImGuiContext*" + }, + { + "name": "hook", + "type": "const ImGuiContextHook*" + } + ], + "argsoriginal": "(ImGuiContext* context,const ImGuiContextHook* hook)", + "call_args": "(context,hook)", + "cimguiname": "igAddContextHook", + "defaults": {}, + "funcname": "AddContextHook", + "location": "imgui_internal:3252", + "namespace": "ImGui", + "ov_cimguiname": "igAddContextHook", + "ret": "ImGuiID", + "signature": "(ImGuiContext*,const ImGuiContextHook*)", + "stname": "" + } + ], + "igAddDrawListToDrawDataEx": [ + { + "args": "(ImDrawData* draw_data,ImVector_ImDrawListPtr* out_list,ImDrawList* draw_list)", + "argsT": [ + { + "name": "draw_data", + "type": "ImDrawData*" + }, + { + "name": "out_list", + "type": "ImVector_ImDrawListPtr*" + }, + { + "name": "draw_list", + "type": "ImDrawList*" + } + ], + "argsoriginal": "(ImDrawData* draw_data,ImVector* out_list,ImDrawList* draw_list)", + "call_args": "(draw_data,out_list,draw_list)", + "cimguiname": "igAddDrawListToDrawDataEx", + "defaults": {}, + "funcname": "AddDrawListToDrawDataEx", + "location": "imgui_internal:3236", + "namespace": "ImGui", + "ov_cimguiname": "igAddDrawListToDrawDataEx", + "ret": "void", + "signature": "(ImDrawData*,ImVector_ImDrawListPtr*,ImDrawList*)", + "stname": "" + } + ], + "igAddSettingsHandler": [ + { + "args": "(const ImGuiSettingsHandler* handler)", + "argsT": [ + { + "name": "handler", + "type": "const ImGuiSettingsHandler*" + } + ], + "argsoriginal": "(const ImGuiSettingsHandler* handler)", + "call_args": "(handler)", + "cimguiname": "igAddSettingsHandler", + "defaults": {}, + "funcname": "AddSettingsHandler", + "location": "imgui_internal:3269", + "namespace": "ImGui", + "ov_cimguiname": "igAddSettingsHandler", + "ret": "void", + "signature": "(const ImGuiSettingsHandler*)", + "stname": "" + } + ], + "igAlignTextToFramePadding": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igAlignTextToFramePadding", + "defaults": {}, + "funcname": "AlignTextToFramePadding", + "location": "imgui:511", + "namespace": "ImGui", + "ov_cimguiname": "igAlignTextToFramePadding", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igArrowButton": [ + { + "args": "(const char* str_id,ImGuiDir dir)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "dir", + "type": "ImGuiDir" + } + ], + "argsoriginal": "(const char* str_id,ImGuiDir dir)", + "call_args": "(str_id,dir)", + "cimguiname": "igArrowButton", + "defaults": {}, + "funcname": "ArrowButton", + "location": "imgui:560", + "namespace": "ImGui", + "ov_cimguiname": "igArrowButton", + "ret": "bool", + "signature": "(const char*,ImGuiDir)", + "stname": "" + } + ], + "igArrowButtonEx": [ + { + "args": "(const char* str_id,ImGuiDir dir,ImVec2 size_arg,ImGuiButtonFlags flags)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "dir", + "type": "ImGuiDir" + }, + { + "name": "size_arg", + "type": "ImVec2" + }, + { + "name": "flags", + "type": "ImGuiButtonFlags" + } + ], + "argsoriginal": "(const char* str_id,ImGuiDir dir,ImVec2 size_arg,ImGuiButtonFlags flags=0)", + "call_args": "(str_id,dir,size_arg,flags)", + "cimguiname": "igArrowButtonEx", + "defaults": { + "flags": "0" + }, + "funcname": "ArrowButtonEx", + "location": "imgui_internal:3694", + "namespace": "ImGui", + "ov_cimguiname": "igArrowButtonEx", + "ret": "bool", + "signature": "(const char*,ImGuiDir,ImVec2,ImGuiButtonFlags)", + "stname": "" + } + ], + "igBegin": [ + { + "args": "(const char* name,bool* p_open,ImGuiWindowFlags flags)", + "argsT": [ + { + "name": "name", + "type": "const char*" + }, + { + "name": "p_open", + "type": "bool*" + }, + { + "name": "flags", + "type": "ImGuiWindowFlags" + } + ], + "argsoriginal": "(const char* name,bool* p_open=((void*)0),ImGuiWindowFlags flags=0)", + "call_args": "(name,p_open,flags)", + "cimguiname": "igBegin", + "defaults": { + "flags": "0", + "p_open": "NULL" + }, + "funcname": "Begin", + "location": "imgui:374", + "namespace": "ImGui", + "ov_cimguiname": "igBegin", + "ret": "bool", + "signature": "(const char*,bool*,ImGuiWindowFlags)", + "stname": "" + } + ], + "igBeginBoxSelect": [ + { + "args": "(const ImRect scope_rect,ImGuiWindow* window,ImGuiID box_select_id,ImGuiMultiSelectFlags ms_flags)", + "argsT": [ + { + "name": "scope_rect", + "type": "const ImRect" + }, + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "box_select_id", + "type": "ImGuiID" + }, + { + "name": "ms_flags", + "type": "ImGuiMultiSelectFlags" + } + ], + "argsoriginal": "(const ImRect& scope_rect,ImGuiWindow* window,ImGuiID box_select_id,ImGuiMultiSelectFlags ms_flags)", + "call_args": "(scope_rect,window,box_select_id,ms_flags)", + "cimguiname": "igBeginBoxSelect", + "defaults": {}, + "funcname": "BeginBoxSelect", + "location": "imgui_internal:3561", + "namespace": "ImGui", + "ov_cimguiname": "igBeginBoxSelect", + "ret": "bool", + "signature": "(const ImRect,ImGuiWindow*,ImGuiID,ImGuiMultiSelectFlags)", + "stname": "" + } + ], + "igBeginChild": [ + { + "args": "(const char* str_id,const ImVec2 size,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "child_flags", + "type": "ImGuiChildFlags" + }, + { + "name": "window_flags", + "type": "ImGuiWindowFlags" + } + ], + "argsoriginal": "(const char* str_id,const ImVec2& size=ImVec2(0,0),ImGuiChildFlags child_flags=0,ImGuiWindowFlags window_flags=0)", + "call_args": "(str_id,size,child_flags,window_flags)", + "cimguiname": "igBeginChild", + "defaults": { + "child_flags": "0", + "size": "ImVec2(0,0)", + "window_flags": "0" + }, + "funcname": "BeginChild", + "location": "imgui:395", + "namespace": "ImGui", + "ov_cimguiname": "igBeginChild_Str", + "ret": "bool", + "signature": "(const char*,const ImVec2,ImGuiChildFlags,ImGuiWindowFlags)", + "stname": "" + }, + { + "args": "(ImGuiID id,const ImVec2 size,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "child_flags", + "type": "ImGuiChildFlags" + }, + { + "name": "window_flags", + "type": "ImGuiWindowFlags" + } + ], + "argsoriginal": "(ImGuiID id,const ImVec2& size=ImVec2(0,0),ImGuiChildFlags child_flags=0,ImGuiWindowFlags window_flags=0)", + "call_args": "(id,size,child_flags,window_flags)", + "cimguiname": "igBeginChild", + "defaults": { + "child_flags": "0", + "size": "ImVec2(0,0)", + "window_flags": "0" + }, + "funcname": "BeginChild", + "location": "imgui:396", + "namespace": "ImGui", + "ov_cimguiname": "igBeginChild_ID", + "ret": "bool", + "signature": "(ImGuiID,const ImVec2,ImGuiChildFlags,ImGuiWindowFlags)", + "stname": "" + } + ], + "igBeginChildEx": [ + { + "args": "(const char* name,ImGuiID id,const ImVec2 size_arg,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags)", + "argsT": [ + { + "name": "name", + "type": "const char*" + }, + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "size_arg", + "type": "const ImVec2" + }, + { + "name": "child_flags", + "type": "ImGuiChildFlags" + }, + { + "name": "window_flags", + "type": "ImGuiWindowFlags" + } + ], + "argsoriginal": "(const char* name,ImGuiID id,const ImVec2& size_arg,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags)", + "call_args": "(name,id,size_arg,child_flags,window_flags)", + "cimguiname": "igBeginChildEx", + "defaults": {}, + "funcname": "BeginChildEx", + "location": "imgui_internal:3338", + "namespace": "ImGui", + "ov_cimguiname": "igBeginChildEx", + "ret": "bool", + "signature": "(const char*,ImGuiID,const ImVec2,ImGuiChildFlags,ImGuiWindowFlags)", + "stname": "" + } + ], + "igBeginColumns": [ + { + "args": "(const char* str_id,int count,ImGuiOldColumnFlags flags)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "flags", + "type": "ImGuiOldColumnFlags" + } + ], + "argsoriginal": "(const char* str_id,int count,ImGuiOldColumnFlags flags=0)", + "call_args": "(str_id,count,flags)", + "cimguiname": "igBeginColumns", + "defaults": { + "flags": "0" + }, + "funcname": "BeginColumns", + "location": "imgui_internal:3574", + "namespace": "ImGui", + "ov_cimguiname": "igBeginColumns", + "ret": "void", + "signature": "(const char*,int,ImGuiOldColumnFlags)", + "stname": "" + } + ], + "igBeginCombo": [ + { + "args": "(const char* label,const char* preview_value,ImGuiComboFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "preview_value", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiComboFlags" + } + ], + "argsoriginal": "(const char* label,const char* preview_value,ImGuiComboFlags flags=0)", + "call_args": "(label,preview_value,flags)", + "cimguiname": "igBeginCombo", + "defaults": { + "flags": "0" + }, + "funcname": "BeginCombo", + "location": "imgui:582", + "namespace": "ImGui", + "ov_cimguiname": "igBeginCombo", + "ret": "bool", + "signature": "(const char*,const char*,ImGuiComboFlags)", + "stname": "" + } + ], + "igBeginComboPopup": [ + { + "args": "(ImGuiID popup_id,const ImRect bb,ImGuiComboFlags flags)", + "argsT": [ + { + "name": "popup_id", + "type": "ImGuiID" + }, + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "flags", + "type": "ImGuiComboFlags" + } + ], + "argsoriginal": "(ImGuiID popup_id,const ImRect& bb,ImGuiComboFlags flags)", + "call_args": "(popup_id,bb,flags)", + "cimguiname": "igBeginComboPopup", + "defaults": {}, + "funcname": "BeginComboPopup", + "location": "imgui_internal:3364", + "namespace": "ImGui", + "ov_cimguiname": "igBeginComboPopup", + "ret": "bool", + "signature": "(ImGuiID,const ImRect,ImGuiComboFlags)", + "stname": "" + } + ], + "igBeginComboPreview": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginComboPreview", + "defaults": {}, + "funcname": "BeginComboPreview", + "location": "imgui_internal:3365", + "namespace": "ImGui", + "ov_cimguiname": "igBeginComboPreview", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igBeginDisabled": [ + { + "args": "(bool disabled)", + "argsT": [ + { + "name": "disabled", + "type": "bool" + } + ], + "argsoriginal": "(bool disabled=true)", + "call_args": "(disabled)", + "cimguiname": "igBeginDisabled", + "defaults": { + "disabled": "true" + }, + "funcname": "BeginDisabled", + "location": "imgui:924", + "namespace": "ImGui", + "ov_cimguiname": "igBeginDisabled", + "ret": "void", + "signature": "(bool)", + "stname": "" + } + ], + "igBeginDisabledOverrideReenable": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginDisabledOverrideReenable", + "defaults": {}, + "funcname": "BeginDisabledOverrideReenable", + "location": "imgui_internal:3328", + "namespace": "ImGui", + "ov_cimguiname": "igBeginDisabledOverrideReenable", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igBeginDockableDragDropSource": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igBeginDockableDragDropSource", + "defaults": {}, + "funcname": "BeginDockableDragDropSource", + "location": "imgui_internal:3505", + "namespace": "ImGui", + "ov_cimguiname": "igBeginDockableDragDropSource", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igBeginDockableDragDropTarget": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igBeginDockableDragDropTarget", + "defaults": {}, + "funcname": "BeginDockableDragDropTarget", + "location": "imgui_internal:3506", + "namespace": "ImGui", + "ov_cimguiname": "igBeginDockableDragDropTarget", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igBeginDocked": [ + { + "args": "(ImGuiWindow* window,bool* p_open)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "p_open", + "type": "bool*" + } + ], + "argsoriginal": "(ImGuiWindow* window,bool* p_open)", + "call_args": "(window,p_open)", + "cimguiname": "igBeginDocked", + "defaults": {}, + "funcname": "BeginDocked", + "location": "imgui_internal:3504", + "namespace": "ImGui", + "ov_cimguiname": "igBeginDocked", + "ret": "void", + "signature": "(ImGuiWindow*,bool*)", + "stname": "" + } + ], + "igBeginDragDropSource": [ + { + "args": "(ImGuiDragDropFlags flags)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiDragDropFlags" + } + ], + "argsoriginal": "(ImGuiDragDropFlags flags=0)", + "call_args": "(flags)", + "cimguiname": "igBeginDragDropSource", + "defaults": { + "flags": "0" + }, + "funcname": "BeginDragDropSource", + "location": "imgui:911", + "namespace": "ImGui", + "ov_cimguiname": "igBeginDragDropSource", + "ret": "bool", + "signature": "(ImGuiDragDropFlags)", + "stname": "" + } + ], + "igBeginDragDropTarget": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginDragDropTarget", + "defaults": {}, + "funcname": "BeginDragDropTarget", + "location": "imgui:914", + "namespace": "ImGui", + "ov_cimguiname": "igBeginDragDropTarget", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igBeginDragDropTargetCustom": [ + { + "args": "(const ImRect bb,ImGuiID id)", + "argsT": [ + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(const ImRect& bb,ImGuiID id)", + "call_args": "(bb,id)", + "cimguiname": "igBeginDragDropTargetCustom", + "defaults": {}, + "funcname": "BeginDragDropTargetCustom", + "location": "imgui_internal:3547", + "namespace": "ImGui", + "ov_cimguiname": "igBeginDragDropTargetCustom", + "ret": "bool", + "signature": "(const ImRect,ImGuiID)", + "stname": "" + } + ], + "igBeginErrorTooltip": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginErrorTooltip", + "defaults": {}, + "funcname": "BeginErrorTooltip", + "location": "imgui_internal:3777", + "namespace": "ImGui", + "ov_cimguiname": "igBeginErrorTooltip", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igBeginGroup": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginGroup", + "defaults": {}, + "funcname": "BeginGroup", + "location": "imgui:509", + "namespace": "ImGui", + "ov_cimguiname": "igBeginGroup", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igBeginItemTooltip": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginItemTooltip", + "defaults": {}, + "funcname": "BeginItemTooltip", + "location": "imgui:753", + "namespace": "ImGui", + "ov_cimguiname": "igBeginItemTooltip", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igBeginListBox": [ + { + "args": "(const char* label,const ImVec2 size)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const char* label,const ImVec2& size=ImVec2(0,0))", + "call_args": "(label,size)", + "cimguiname": "igBeginListBox", + "defaults": { + "size": "ImVec2(0,0)" + }, + "funcname": "BeginListBox", + "location": "imgui:707", + "namespace": "ImGui", + "ov_cimguiname": "igBeginListBox", + "ret": "bool", + "signature": "(const char*,const ImVec2)", + "stname": "" + } + ], + "igBeginMainMenuBar": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginMainMenuBar", + "defaults": {}, + "funcname": "BeginMainMenuBar", + "location": "imgui:733", + "namespace": "ImGui", + "ov_cimguiname": "igBeginMainMenuBar", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igBeginMenu": [ + { + "args": "(const char* label,bool enabled)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "enabled", + "type": "bool" + } + ], + "argsoriginal": "(const char* label,bool enabled=true)", + "call_args": "(label,enabled)", + "cimguiname": "igBeginMenu", + "defaults": { + "enabled": "true" + }, + "funcname": "BeginMenu", + "location": "imgui:735", + "namespace": "ImGui", + "ov_cimguiname": "igBeginMenu", + "ret": "bool", + "signature": "(const char*,bool)", + "stname": "" + } + ], + "igBeginMenuBar": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginMenuBar", + "defaults": {}, + "funcname": "BeginMenuBar", + "location": "imgui:731", + "namespace": "ImGui", + "ov_cimguiname": "igBeginMenuBar", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igBeginMenuEx": [ + { + "args": "(const char* label,const char* icon,bool enabled)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "icon", + "type": "const char*" + }, + { + "name": "enabled", + "type": "bool" + } + ], + "argsoriginal": "(const char* label,const char* icon,bool enabled=true)", + "call_args": "(label,icon,enabled)", + "cimguiname": "igBeginMenuEx", + "defaults": { + "enabled": "true" + }, + "funcname": "BeginMenuEx", + "location": "imgui_internal:3360", + "namespace": "ImGui", + "ov_cimguiname": "igBeginMenuEx", + "ret": "bool", + "signature": "(const char*,const char*,bool)", + "stname": "" + } + ], + "igBeginMultiSelect": [ + { + "args": "(ImGuiMultiSelectFlags flags,int selection_size,int items_count)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiMultiSelectFlags" + }, + { + "name": "selection_size", + "type": "int" + }, + { + "name": "items_count", + "type": "int" + } + ], + "argsoriginal": "(ImGuiMultiSelectFlags flags,int selection_size=-1,int items_count=-1)", + "call_args": "(flags,selection_size,items_count)", + "cimguiname": "igBeginMultiSelect", + "defaults": { + "items_count": "-1", + "selection_size": "-1" + }, + "funcname": "BeginMultiSelect", + "location": "imgui:696", + "namespace": "ImGui", + "ov_cimguiname": "igBeginMultiSelect", + "ret": "ImGuiMultiSelectIO*", + "signature": "(ImGuiMultiSelectFlags,int,int)", + "stname": "" + } + ], + "igBeginPopup": [ + { + "args": "(const char* str_id,ImGuiWindowFlags flags)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiWindowFlags" + } + ], + "argsoriginal": "(const char* str_id,ImGuiWindowFlags flags=0)", + "call_args": "(str_id,flags)", + "cimguiname": "igBeginPopup", + "defaults": { + "flags": "0" + }, + "funcname": "BeginPopup", + "location": "imgui:767", + "namespace": "ImGui", + "ov_cimguiname": "igBeginPopup", + "ret": "bool", + "signature": "(const char*,ImGuiWindowFlags)", + "stname": "" + } + ], + "igBeginPopupContextItem": [ + { + "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "popup_flags", + "type": "ImGuiPopupFlags" + } + ], + "argsoriginal": "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)", + "call_args": "(str_id,popup_flags)", + "cimguiname": "igBeginPopupContextItem", + "defaults": { + "popup_flags": "1", + "str_id": "NULL" + }, + "funcname": "BeginPopupContextItem", + "location": "imgui:789", + "namespace": "ImGui", + "ov_cimguiname": "igBeginPopupContextItem", + "ret": "bool", + "signature": "(const char*,ImGuiPopupFlags)", + "stname": "" + } + ], + "igBeginPopupContextVoid": [ + { + "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "popup_flags", + "type": "ImGuiPopupFlags" + } + ], + "argsoriginal": "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)", + "call_args": "(str_id,popup_flags)", + "cimguiname": "igBeginPopupContextVoid", + "defaults": { + "popup_flags": "1", + "str_id": "NULL" + }, + "funcname": "BeginPopupContextVoid", + "location": "imgui:791", + "namespace": "ImGui", + "ov_cimguiname": "igBeginPopupContextVoid", + "ret": "bool", + "signature": "(const char*,ImGuiPopupFlags)", + "stname": "" + } + ], + "igBeginPopupContextWindow": [ + { + "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "popup_flags", + "type": "ImGuiPopupFlags" + } + ], + "argsoriginal": "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)", + "call_args": "(str_id,popup_flags)", + "cimguiname": "igBeginPopupContextWindow", + "defaults": { + "popup_flags": "1", + "str_id": "NULL" + }, + "funcname": "BeginPopupContextWindow", + "location": "imgui:790", + "namespace": "ImGui", + "ov_cimguiname": "igBeginPopupContextWindow", + "ret": "bool", + "signature": "(const char*,ImGuiPopupFlags)", + "stname": "" + } + ], + "igBeginPopupEx": [ + { + "args": "(ImGuiID id,ImGuiWindowFlags extra_window_flags)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "extra_window_flags", + "type": "ImGuiWindowFlags" + } + ], + "argsoriginal": "(ImGuiID id,ImGuiWindowFlags extra_window_flags)", + "call_args": "(id,extra_window_flags)", + "cimguiname": "igBeginPopupEx", + "defaults": {}, + "funcname": "BeginPopupEx", + "location": "imgui_internal:3341", + "namespace": "ImGui", + "ov_cimguiname": "igBeginPopupEx", + "ret": "bool", + "signature": "(ImGuiID,ImGuiWindowFlags)", + "stname": "" + } + ], + "igBeginPopupModal": [ + { + "args": "(const char* name,bool* p_open,ImGuiWindowFlags flags)", + "argsT": [ + { + "name": "name", + "type": "const char*" + }, + { + "name": "p_open", + "type": "bool*" + }, + { + "name": "flags", + "type": "ImGuiWindowFlags" + } + ], + "argsoriginal": "(const char* name,bool* p_open=((void*)0),ImGuiWindowFlags flags=0)", + "call_args": "(name,p_open,flags)", + "cimguiname": "igBeginPopupModal", + "defaults": { + "flags": "0", + "p_open": "NULL" + }, + "funcname": "BeginPopupModal", + "location": "imgui:768", + "namespace": "ImGui", + "ov_cimguiname": "igBeginPopupModal", + "ret": "bool", + "signature": "(const char*,bool*,ImGuiWindowFlags)", + "stname": "" + } + ], + "igBeginTabBar": [ + { + "args": "(const char* str_id,ImGuiTabBarFlags flags)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiTabBarFlags" + } + ], + "argsoriginal": "(const char* str_id,ImGuiTabBarFlags flags=0)", + "call_args": "(str_id,flags)", + "cimguiname": "igBeginTabBar", + "defaults": { + "flags": "0" + }, + "funcname": "BeginTabBar", + "location": "imgui:869", + "namespace": "ImGui", + "ov_cimguiname": "igBeginTabBar", + "ret": "bool", + "signature": "(const char*,ImGuiTabBarFlags)", + "stname": "" + } + ], + "igBeginTabBarEx": [ + { + "args": "(ImGuiTabBar* tab_bar,const ImRect bb,ImGuiTabBarFlags flags)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + }, + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "flags", + "type": "ImGuiTabBarFlags" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar,const ImRect& bb,ImGuiTabBarFlags flags)", + "call_args": "(tab_bar,bb,flags)", + "cimguiname": "igBeginTabBarEx", + "defaults": {}, + "funcname": "BeginTabBarEx", + "location": "imgui_internal:3642", + "namespace": "ImGui", + "ov_cimguiname": "igBeginTabBarEx", + "ret": "bool", + "signature": "(ImGuiTabBar*,const ImRect,ImGuiTabBarFlags)", + "stname": "" + } + ], + "igBeginTabItem": [ + { + "args": "(const char* label,bool* p_open,ImGuiTabItemFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "p_open", + "type": "bool*" + }, + { + "name": "flags", + "type": "ImGuiTabItemFlags" + } + ], + "argsoriginal": "(const char* label,bool* p_open=((void*)0),ImGuiTabItemFlags flags=0)", + "call_args": "(label,p_open,flags)", + "cimguiname": "igBeginTabItem", + "defaults": { + "flags": "0", + "p_open": "NULL" + }, + "funcname": "BeginTabItem", + "location": "imgui:871", + "namespace": "ImGui", + "ov_cimguiname": "igBeginTabItem", + "ret": "bool", + "signature": "(const char*,bool*,ImGuiTabItemFlags)", + "stname": "" + } + ], + "igBeginTable": [ + { + "args": "(const char* str_id,int columns,ImGuiTableFlags flags,const ImVec2 outer_size,float inner_width)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "columns", + "type": "int" + }, + { + "name": "flags", + "type": "ImGuiTableFlags" + }, + { + "name": "outer_size", + "type": "const ImVec2" + }, + { + "name": "inner_width", + "type": "float" + } + ], + "argsoriginal": "(const char* str_id,int columns,ImGuiTableFlags flags=0,const ImVec2& outer_size=ImVec2(0.0f,0.0f),float inner_width=0.0f)", + "call_args": "(str_id,columns,flags,outer_size,inner_width)", + "cimguiname": "igBeginTable", + "defaults": { + "flags": "0", + "inner_width": "0.0f", + "outer_size": "ImVec2(0.0f,0.0f)" + }, + "funcname": "BeginTable", + "location": "imgui:820", + "namespace": "ImGui", + "ov_cimguiname": "igBeginTable", + "ret": "bool", + "signature": "(const char*,int,ImGuiTableFlags,const ImVec2,float)", + "stname": "" + } + ], + "igBeginTableEx": [ + { + "args": "(const char* name,ImGuiID id,int columns_count,ImGuiTableFlags flags,const ImVec2 outer_size,float inner_width)", + "argsT": [ + { + "name": "name", + "type": "const char*" + }, + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "columns_count", + "type": "int" + }, + { + "name": "flags", + "type": "ImGuiTableFlags" + }, + { + "name": "outer_size", + "type": "const ImVec2" + }, + { + "name": "inner_width", + "type": "float" + } + ], + "argsoriginal": "(const char* name,ImGuiID id,int columns_count,ImGuiTableFlags flags=0,const ImVec2& outer_size=ImVec2(0,0),float inner_width=0.0f)", + "call_args": "(name,id,columns_count,flags,outer_size,inner_width)", + "cimguiname": "igBeginTableEx", + "defaults": { + "flags": "0", + "inner_width": "0.0f", + "outer_size": "ImVec2(0,0)" + }, + "funcname": "BeginTableEx", + "location": "imgui_internal:3598", + "namespace": "ImGui", + "ov_cimguiname": "igBeginTableEx", + "ret": "bool", + "signature": "(const char*,ImGuiID,int,ImGuiTableFlags,const ImVec2,float)", + "stname": "" + } + ], + "igBeginTooltip": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginTooltip", + "defaults": {}, + "funcname": "BeginTooltip", + "location": "imgui:744", + "namespace": "ImGui", + "ov_cimguiname": "igBeginTooltip", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igBeginTooltipEx": [ + { + "args": "(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags)", + "argsT": [ + { + "name": "tooltip_flags", + "type": "ImGuiTooltipFlags" + }, + { + "name": "extra_window_flags", + "type": "ImGuiWindowFlags" + } + ], + "argsoriginal": "(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags)", + "call_args": "(tooltip_flags,extra_window_flags)", + "cimguiname": "igBeginTooltipEx", + "defaults": {}, + "funcname": "BeginTooltipEx", + "location": "imgui_internal:3355", + "namespace": "ImGui", + "ov_cimguiname": "igBeginTooltipEx", + "ret": "bool", + "signature": "(ImGuiTooltipFlags,ImGuiWindowFlags)", + "stname": "" + } + ], + "igBeginTooltipHidden": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBeginTooltipHidden", + "defaults": {}, + "funcname": "BeginTooltipHidden", + "location": "imgui_internal:3356", + "namespace": "ImGui", + "ov_cimguiname": "igBeginTooltipHidden", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igBeginViewportSideBar": [ + { + "args": "(const char* name,ImGuiViewport* viewport,ImGuiDir dir,float size,ImGuiWindowFlags window_flags)", + "argsT": [ + { + "name": "name", + "type": "const char*" + }, + { + "name": "viewport", + "type": "ImGuiViewport*" + }, + { + "name": "dir", + "type": "ImGuiDir" + }, + { + "name": "size", + "type": "float" + }, + { + "name": "window_flags", + "type": "ImGuiWindowFlags" + } + ], + "argsoriginal": "(const char* name,ImGuiViewport* viewport,ImGuiDir dir,float size,ImGuiWindowFlags window_flags)", + "call_args": "(name,viewport,dir,size,window_flags)", + "cimguiname": "igBeginViewportSideBar", + "defaults": {}, + "funcname": "BeginViewportSideBar", + "location": "imgui_internal:3359", + "namespace": "ImGui", + "ov_cimguiname": "igBeginViewportSideBar", + "ret": "bool", + "signature": "(const char*,ImGuiViewport*,ImGuiDir,float,ImGuiWindowFlags)", + "stname": "" + } + ], + "igBringWindowToDisplayBack": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igBringWindowToDisplayBack", + "defaults": {}, + "funcname": "BringWindowToDisplayBack", + "location": "imgui_internal:3224", + "namespace": "ImGui", + "ov_cimguiname": "igBringWindowToDisplayBack", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igBringWindowToDisplayBehind": [ + { + "args": "(ImGuiWindow* window,ImGuiWindow* above_window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "above_window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiWindow* above_window)", + "call_args": "(window,above_window)", + "cimguiname": "igBringWindowToDisplayBehind", + "defaults": {}, + "funcname": "BringWindowToDisplayBehind", + "location": "imgui_internal:3225", + "namespace": "ImGui", + "ov_cimguiname": "igBringWindowToDisplayBehind", + "ret": "void", + "signature": "(ImGuiWindow*,ImGuiWindow*)", + "stname": "" + } + ], + "igBringWindowToDisplayFront": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igBringWindowToDisplayFront", + "defaults": {}, + "funcname": "BringWindowToDisplayFront", + "location": "imgui_internal:3223", + "namespace": "ImGui", + "ov_cimguiname": "igBringWindowToDisplayFront", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igBringWindowToFocusFront": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igBringWindowToFocusFront", + "defaults": {}, + "funcname": "BringWindowToFocusFront", + "location": "imgui_internal:3222", + "namespace": "ImGui", + "ov_cimguiname": "igBringWindowToFocusFront", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igBullet": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igBullet", + "defaults": {}, + "funcname": "Bullet", + "location": "imgui:567", + "namespace": "ImGui", + "ov_cimguiname": "igBullet", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igBulletText": [ + { + "args": "(const char* fmt,...)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "igBulletText", + "defaults": {}, + "funcname": "BulletText", + "isvararg": "...)", + "location": "imgui:550", + "namespace": "ImGui", + "ov_cimguiname": "igBulletText", + "ret": "void", + "signature": "(const char*,...)", + "stname": "" + } + ], + "igBulletTextV": [ + { + "args": "(const char* fmt,va_list args)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "igBulletTextV", + "defaults": {}, + "funcname": "BulletTextV", + "location": "imgui:551", + "namespace": "ImGui", + "ov_cimguiname": "igBulletTextV", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "" + } + ], + "igButton": [ + { + "args": "(const char* label,const ImVec2 size)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const char* label,const ImVec2& size=ImVec2(0,0))", + "call_args": "(label,size)", + "cimguiname": "igButton", + "defaults": { + "size": "ImVec2(0,0)" + }, + "funcname": "Button", + "location": "imgui:557", + "namespace": "ImGui", + "ov_cimguiname": "igButton", + "ret": "bool", + "signature": "(const char*,const ImVec2)", + "stname": "" + } + ], + "igButtonBehavior": [ + { + "args": "(const ImRect bb,ImGuiID id,bool* out_hovered,bool* out_held,ImGuiButtonFlags flags)", + "argsT": [ + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "out_hovered", + "type": "bool*" + }, + { + "name": "out_held", + "type": "bool*" + }, + { + "name": "flags", + "type": "ImGuiButtonFlags" + } + ], + "argsoriginal": "(const ImRect& bb,ImGuiID id,bool* out_hovered,bool* out_held,ImGuiButtonFlags flags=0)", + "call_args": "(bb,id,out_hovered,out_held,flags)", + "cimguiname": "igButtonBehavior", + "defaults": { + "flags": "0" + }, + "funcname": "ButtonBehavior", + "location": "imgui_internal:3712", + "namespace": "ImGui", + "ov_cimguiname": "igButtonBehavior", + "ret": "bool", + "signature": "(const ImRect,ImGuiID,bool*,bool*,ImGuiButtonFlags)", + "stname": "" + } + ], + "igButtonEx": [ + { + "args": "(const char* label,const ImVec2 size_arg,ImGuiButtonFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "size_arg", + "type": "const ImVec2" + }, + { + "name": "flags", + "type": "ImGuiButtonFlags" + } + ], + "argsoriginal": "(const char* label,const ImVec2& size_arg=ImVec2(0,0),ImGuiButtonFlags flags=0)", + "call_args": "(label,size_arg,flags)", + "cimguiname": "igButtonEx", + "defaults": { + "flags": "0", + "size_arg": "ImVec2(0,0)" + }, + "funcname": "ButtonEx", + "location": "imgui_internal:3693", + "namespace": "ImGui", + "ov_cimguiname": "igButtonEx", + "ret": "bool", + "signature": "(const char*,const ImVec2,ImGuiButtonFlags)", + "stname": "" + } + ], + "igCalcItemSize": [ + { + "args": "(ImVec2 *pOut,ImVec2 size,float default_w,float default_h)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "size", + "type": "ImVec2" + }, + { + "name": "default_w", + "type": "float" + }, + { + "name": "default_h", + "type": "float" + } + ], + "argsoriginal": "(ImVec2 size,float default_w,float default_h)", + "call_args": "(size,default_w,default_h)", + "cimguiname": "igCalcItemSize", + "defaults": {}, + "funcname": "CalcItemSize", + "location": "imgui_internal:3321", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igCalcItemSize", + "ret": "void", + "signature": "(ImVec2,float,float)", + "stname": "" + } + ], + "igCalcItemWidth": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igCalcItemWidth", + "defaults": {}, + "funcname": "CalcItemWidth", + "location": "imgui:466", + "namespace": "ImGui", + "ov_cimguiname": "igCalcItemWidth", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igCalcRoundingFlagsForRectInRect": [ + { + "args": "(const ImRect r_in,const ImRect r_outer,float threshold)", + "argsT": [ + { + "name": "r_in", + "type": "const ImRect" + }, + { + "name": "r_outer", + "type": "const ImRect" + }, + { + "name": "threshold", + "type": "float" + } + ], + "argsoriginal": "(const ImRect& r_in,const ImRect& r_outer,float threshold)", + "call_args": "(r_in,r_outer,threshold)", + "cimguiname": "igCalcRoundingFlagsForRectInRect", + "defaults": {}, + "funcname": "CalcRoundingFlagsForRectInRect", + "location": "imgui_internal:3689", + "namespace": "ImGui", + "ov_cimguiname": "igCalcRoundingFlagsForRectInRect", + "ret": "ImDrawFlags", + "signature": "(const ImRect,const ImRect,float)", + "stname": "" + } + ], + "igCalcTextSize": [ + { + "args": "(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + }, + { + "name": "hide_text_after_double_hash", + "type": "bool" + }, + { + "name": "wrap_width", + "type": "float" + } + ], + "argsoriginal": "(const char* text,const char* text_end=((void*)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)", + "call_args": "(text,text_end,hide_text_after_double_hash,wrap_width)", + "cimguiname": "igCalcTextSize", + "defaults": { + "hide_text_after_double_hash": "false", + "text_end": "NULL", + "wrap_width": "-1.0f" + }, + "funcname": "CalcTextSize", + "location": "imgui:984", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igCalcTextSize", + "ret": "void", + "signature": "(const char*,const char*,bool,float)", + "stname": "" + } + ], + "igCalcTypematicRepeatAmount": [ + { + "args": "(float t0,float t1,float repeat_delay,float repeat_rate)", + "argsT": [ + { + "name": "t0", + "type": "float" + }, + { + "name": "t1", + "type": "float" + }, + { + "name": "repeat_delay", + "type": "float" + }, + { + "name": "repeat_rate", + "type": "float" + } + ], + "argsoriginal": "(float t0,float t1,float repeat_delay,float repeat_rate)", + "call_args": "(t0,t1,repeat_delay,repeat_rate)", + "cimguiname": "igCalcTypematicRepeatAmount", + "defaults": {}, + "funcname": "CalcTypematicRepeatAmount", + "location": "imgui_internal:3420", + "namespace": "ImGui", + "ov_cimguiname": "igCalcTypematicRepeatAmount", + "ret": "int", + "signature": "(float,float,float,float)", + "stname": "" + } + ], + "igCalcWindowNextAutoFitSize": [ + { + "args": "(ImVec2 *pOut,ImGuiWindow* window)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igCalcWindowNextAutoFitSize", + "defaults": {}, + "funcname": "CalcWindowNextAutoFitSize", + "location": "imgui_internal:3203", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igCalcWindowNextAutoFitSize", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igCalcWrapWidthForPos": [ + { + "args": "(const ImVec2 pos,float wrap_pos_x)", + "argsT": [ + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "wrap_pos_x", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& pos,float wrap_pos_x)", + "call_args": "(pos,wrap_pos_x)", + "cimguiname": "igCalcWrapWidthForPos", + "defaults": {}, + "funcname": "CalcWrapWidthForPos", + "location": "imgui_internal:3322", + "namespace": "ImGui", + "ov_cimguiname": "igCalcWrapWidthForPos", + "ret": "float", + "signature": "(const ImVec2,float)", + "stname": "" + } + ], + "igCallContextHooks": [ + { + "args": "(ImGuiContext* context,ImGuiContextHookType type)", + "argsT": [ + { + "name": "context", + "type": "ImGuiContext*" + }, + { + "name": "type", + "type": "ImGuiContextHookType" + } + ], + "argsoriginal": "(ImGuiContext* context,ImGuiContextHookType type)", + "call_args": "(context,type)", + "cimguiname": "igCallContextHooks", + "defaults": {}, + "funcname": "CallContextHooks", + "location": "imgui_internal:3254", + "namespace": "ImGui", + "ov_cimguiname": "igCallContextHooks", + "ret": "void", + "signature": "(ImGuiContext*,ImGuiContextHookType)", + "stname": "" + } + ], + "igCheckbox": [ + { + "args": "(const char* label,bool* v)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "bool*" + } + ], + "argsoriginal": "(const char* label,bool* v)", + "call_args": "(label,v)", + "cimguiname": "igCheckbox", + "defaults": {}, + "funcname": "Checkbox", + "location": "imgui:561", + "namespace": "ImGui", + "ov_cimguiname": "igCheckbox", + "ret": "bool", + "signature": "(const char*,bool*)", + "stname": "" + } + ], + "igCheckboxFlags": [ + { + "args": "(const char* label,int* flags,int flags_value)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "flags", + "type": "int*" + }, + { + "name": "flags_value", + "type": "int" + } + ], + "argsoriginal": "(const char* label,int* flags,int flags_value)", + "call_args": "(label,flags,flags_value)", + "cimguiname": "igCheckboxFlags", + "defaults": {}, + "funcname": "CheckboxFlags", + "location": "imgui:562", + "namespace": "ImGui", + "ov_cimguiname": "igCheckboxFlags_IntPtr", + "ret": "bool", + "signature": "(const char*,int*,int)", + "stname": "" + }, + { + "args": "(const char* label,unsigned int* flags,unsigned int flags_value)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "flags", + "type": "unsigned int*" + }, + { + "name": "flags_value", + "type": "unsigned int" + } + ], + "argsoriginal": "(const char* label,unsigned int* flags,unsigned int flags_value)", + "call_args": "(label,flags,flags_value)", + "cimguiname": "igCheckboxFlags", + "defaults": {}, + "funcname": "CheckboxFlags", + "location": "imgui:563", + "namespace": "ImGui", + "ov_cimguiname": "igCheckboxFlags_UintPtr", + "ret": "bool", + "signature": "(const char*,unsigned int*,unsigned int)", + "stname": "" + }, + { + "args": "(const char* label,ImS64* flags,ImS64 flags_value)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImS64*" + }, + { + "name": "flags_value", + "type": "ImS64" + } + ], + "argsoriginal": "(const char* label,ImS64* flags,ImS64 flags_value)", + "call_args": "(label,flags,flags_value)", + "cimguiname": "igCheckboxFlags", + "defaults": {}, + "funcname": "CheckboxFlags", + "location": "imgui_internal:3698", + "namespace": "ImGui", + "ov_cimguiname": "igCheckboxFlags_S64Ptr", + "ret": "bool", + "signature": "(const char*,ImS64*,ImS64)", + "stname": "" + }, + { + "args": "(const char* label,ImU64* flags,ImU64 flags_value)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImU64*" + }, + { + "name": "flags_value", + "type": "ImU64" + } + ], + "argsoriginal": "(const char* label,ImU64* flags,ImU64 flags_value)", + "call_args": "(label,flags,flags_value)", + "cimguiname": "igCheckboxFlags", + "defaults": {}, + "funcname": "CheckboxFlags", + "location": "imgui_internal:3699", + "namespace": "ImGui", + "ov_cimguiname": "igCheckboxFlags_U64Ptr", + "ret": "bool", + "signature": "(const char*,ImU64*,ImU64)", + "stname": "" + } + ], + "igClearActiveID": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igClearActiveID", + "defaults": {}, + "funcname": "ClearActiveID", + "location": "imgui_internal:3304", + "namespace": "ImGui", + "ov_cimguiname": "igClearActiveID", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igClearDragDrop": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igClearDragDrop", + "defaults": {}, + "funcname": "ClearDragDrop", + "location": "imgui_internal:3548", + "namespace": "ImGui", + "ov_cimguiname": "igClearDragDrop", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igClearIniSettings": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igClearIniSettings", + "defaults": {}, + "funcname": "ClearIniSettings", + "location": "imgui_internal:3268", + "namespace": "ImGui", + "ov_cimguiname": "igClearIniSettings", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igClearWindowSettings": [ + { + "args": "(const char* name)", + "argsT": [ + { + "name": "name", + "type": "const char*" + } + ], + "argsoriginal": "(const char* name)", + "call_args": "(name)", + "cimguiname": "igClearWindowSettings", + "defaults": {}, + "funcname": "ClearWindowSettings", + "location": "imgui_internal:3277", + "namespace": "ImGui", + "ov_cimguiname": "igClearWindowSettings", + "ret": "void", + "signature": "(const char*)", + "stname": "" + } + ], + "igCloseButton": [ + { + "args": "(ImGuiID id,const ImVec2 pos)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "pos", + "type": "const ImVec2" + } + ], + "argsoriginal": "(ImGuiID id,const ImVec2& pos)", + "call_args": "(id,pos)", + "cimguiname": "igCloseButton", + "defaults": {}, + "funcname": "CloseButton", + "location": "imgui_internal:3702", + "namespace": "ImGui", + "ov_cimguiname": "igCloseButton", + "ret": "bool", + "signature": "(ImGuiID,const ImVec2)", + "stname": "" + } + ], + "igCloseCurrentPopup": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igCloseCurrentPopup", + "defaults": {}, + "funcname": "CloseCurrentPopup", + "location": "imgui:782", + "namespace": "ImGui", + "ov_cimguiname": "igCloseCurrentPopup", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igClosePopupToLevel": [ + { + "args": "(int remaining,bool restore_focus_to_window_under_popup)", + "argsT": [ + { + "name": "remaining", + "type": "int" + }, + { + "name": "restore_focus_to_window_under_popup", + "type": "bool" + } + ], + "argsoriginal": "(int remaining,bool restore_focus_to_window_under_popup)", + "call_args": "(remaining,restore_focus_to_window_under_popup)", + "cimguiname": "igClosePopupToLevel", + "defaults": {}, + "funcname": "ClosePopupToLevel", + "location": "imgui_internal:3343", + "namespace": "ImGui", + "ov_cimguiname": "igClosePopupToLevel", + "ret": "void", + "signature": "(int,bool)", + "stname": "" + } + ], + "igClosePopupsExceptModals": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igClosePopupsExceptModals", + "defaults": {}, + "funcname": "ClosePopupsExceptModals", + "location": "imgui_internal:3345", + "namespace": "ImGui", + "ov_cimguiname": "igClosePopupsExceptModals", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igClosePopupsOverWindow": [ + { + "args": "(ImGuiWindow* ref_window,bool restore_focus_to_window_under_popup)", + "argsT": [ + { + "name": "ref_window", + "type": "ImGuiWindow*" + }, + { + "name": "restore_focus_to_window_under_popup", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiWindow* ref_window,bool restore_focus_to_window_under_popup)", + "call_args": "(ref_window,restore_focus_to_window_under_popup)", + "cimguiname": "igClosePopupsOverWindow", + "defaults": {}, + "funcname": "ClosePopupsOverWindow", + "location": "imgui_internal:3344", + "namespace": "ImGui", + "ov_cimguiname": "igClosePopupsOverWindow", + "ret": "void", + "signature": "(ImGuiWindow*,bool)", + "stname": "" + } + ], + "igCollapseButton": [ + { + "args": "(ImGuiID id,const ImVec2 pos,ImGuiDockNode* dock_node)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "dock_node", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "(ImGuiID id,const ImVec2& pos,ImGuiDockNode* dock_node)", + "call_args": "(id,pos,dock_node)", + "cimguiname": "igCollapseButton", + "defaults": {}, + "funcname": "CollapseButton", + "location": "imgui_internal:3703", + "namespace": "ImGui", + "ov_cimguiname": "igCollapseButton", + "ret": "bool", + "signature": "(ImGuiID,const ImVec2,ImGuiDockNode*)", + "stname": "" + } + ], + "igCollapsingHeader": [ + { + "args": "(const char* label,ImGuiTreeNodeFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiTreeNodeFlags" + } + ], + "argsoriginal": "(const char* label,ImGuiTreeNodeFlags flags=0)", + "call_args": "(label,flags)", + "cimguiname": "igCollapsingHeader", + "defaults": { + "flags": "0" + }, + "funcname": "CollapsingHeader", + "location": "imgui:678", + "namespace": "ImGui", + "ov_cimguiname": "igCollapsingHeader_TreeNodeFlags", + "ret": "bool", + "signature": "(const char*,ImGuiTreeNodeFlags)", + "stname": "" + }, + { + "args": "(const char* label,bool* p_visible,ImGuiTreeNodeFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "p_visible", + "type": "bool*" + }, + { + "name": "flags", + "type": "ImGuiTreeNodeFlags" + } + ], + "argsoriginal": "(const char* label,bool* p_visible,ImGuiTreeNodeFlags flags=0)", + "call_args": "(label,p_visible,flags)", + "cimguiname": "igCollapsingHeader", + "defaults": { + "flags": "0" + }, + "funcname": "CollapsingHeader", + "location": "imgui:679", + "namespace": "ImGui", + "ov_cimguiname": "igCollapsingHeader_BoolPtr", + "ret": "bool", + "signature": "(const char*,bool*,ImGuiTreeNodeFlags)", + "stname": "" + } + ], + "igColorButton": [ + { + "args": "(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,const ImVec2 size)", + "argsT": [ + { + "name": "desc_id", + "type": "const char*" + }, + { + "name": "col", + "type": "const ImVec4" + }, + { + "name": "flags", + "type": "ImGuiColorEditFlags" + }, + { + "name": "size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,const ImVec2& size=ImVec2(0,0))", + "call_args": "(desc_id,col,flags,size)", + "cimguiname": "igColorButton", + "defaults": { + "flags": "0", + "size": "ImVec2(0,0)" + }, + "funcname": "ColorButton", + "location": "imgui:659", + "namespace": "ImGui", + "ov_cimguiname": "igColorButton", + "ret": "bool", + "signature": "(const char*,const ImVec4,ImGuiColorEditFlags,const ImVec2)", + "stname": "" + } + ], + "igColorConvertFloat4ToU32": [ + { + "args": "(const ImVec4 in)", + "argsT": [ + { + "name": "in", + "type": "const ImVec4" + } + ], + "argsoriginal": "(const ImVec4& in)", + "call_args": "(in)", + "cimguiname": "igColorConvertFloat4ToU32", + "defaults": {}, + "funcname": "ColorConvertFloat4ToU32", + "location": "imgui:988", + "namespace": "ImGui", + "ov_cimguiname": "igColorConvertFloat4ToU32", + "ret": "ImU32", + "signature": "(const ImVec4)", + "stname": "" + } + ], + "igColorConvertHSVtoRGB": [ + { + "args": "(float h,float s,float v,float* out_r,float* out_g,float* out_b)", + "argsT": [ + { + "name": "h", + "type": "float" + }, + { + "name": "s", + "type": "float" + }, + { + "name": "v", + "type": "float" + }, + { + "name": "out_r", + "reftoptr": true, + "type": "float*" + }, + { + "name": "out_g", + "reftoptr": true, + "type": "float*" + }, + { + "name": "out_b", + "reftoptr": true, + "type": "float*" + } + ], + "argsoriginal": "(float h,float s,float v,float& out_r,float& out_g,float& out_b)", + "call_args": "(h,s,v,*out_r,*out_g,*out_b)", + "cimguiname": "igColorConvertHSVtoRGB", + "defaults": {}, + "funcname": "ColorConvertHSVtoRGB", + "location": "imgui:990", + "namespace": "ImGui", + "ov_cimguiname": "igColorConvertHSVtoRGB", + "ret": "void", + "signature": "(float,float,float,float*,float*,float*)", + "stname": "" + } + ], + "igColorConvertRGBtoHSV": [ + { + "args": "(float r,float g,float b,float* out_h,float* out_s,float* out_v)", + "argsT": [ + { + "name": "r", + "type": "float" + }, + { + "name": "g", + "type": "float" + }, + { + "name": "b", + "type": "float" + }, + { + "name": "out_h", + "reftoptr": true, + "type": "float*" + }, + { + "name": "out_s", + "reftoptr": true, + "type": "float*" + }, + { + "name": "out_v", + "reftoptr": true, + "type": "float*" + } + ], + "argsoriginal": "(float r,float g,float b,float& out_h,float& out_s,float& out_v)", + "call_args": "(r,g,b,*out_h,*out_s,*out_v)", + "cimguiname": "igColorConvertRGBtoHSV", + "defaults": {}, + "funcname": "ColorConvertRGBtoHSV", + "location": "imgui:989", + "namespace": "ImGui", + "ov_cimguiname": "igColorConvertRGBtoHSV", + "ret": "void", + "signature": "(float,float,float,float*,float*,float*)", + "stname": "" + } + ], + "igColorConvertU32ToFloat4": [ + { + "args": "(ImVec4 *pOut,ImU32 in)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec4*" + }, + { + "name": "in", + "type": "ImU32" + } + ], + "argsoriginal": "(ImU32 in)", + "call_args": "(in)", + "cimguiname": "igColorConvertU32ToFloat4", + "defaults": {}, + "funcname": "ColorConvertU32ToFloat4", + "location": "imgui:987", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igColorConvertU32ToFloat4", + "ret": "void", + "signature": "(ImU32)", + "stname": "" + } + ], + "igColorEdit3": [ + { + "args": "(const char* label,float col[3],ImGuiColorEditFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "col", + "type": "float[3]" + }, + { + "name": "flags", + "type": "ImGuiColorEditFlags" + } + ], + "argsoriginal": "(const char* label,float col[3],ImGuiColorEditFlags flags=0)", + "call_args": "(label,col,flags)", + "cimguiname": "igColorEdit3", + "defaults": { + "flags": "0" + }, + "funcname": "ColorEdit3", + "location": "imgui:655", + "namespace": "ImGui", + "ov_cimguiname": "igColorEdit3", + "ret": "bool", + "signature": "(const char*,float[3],ImGuiColorEditFlags)", + "stname": "" + } + ], + "igColorEdit4": [ + { + "args": "(const char* label,float col[4],ImGuiColorEditFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "col", + "type": "float[4]" + }, + { + "name": "flags", + "type": "ImGuiColorEditFlags" + } + ], + "argsoriginal": "(const char* label,float col[4],ImGuiColorEditFlags flags=0)", + "call_args": "(label,col,flags)", + "cimguiname": "igColorEdit4", + "defaults": { + "flags": "0" + }, + "funcname": "ColorEdit4", + "location": "imgui:656", + "namespace": "ImGui", + "ov_cimguiname": "igColorEdit4", + "ret": "bool", + "signature": "(const char*,float[4],ImGuiColorEditFlags)", + "stname": "" + } + ], + "igColorEditOptionsPopup": [ + { + "args": "(const float* col,ImGuiColorEditFlags flags)", + "argsT": [ + { + "name": "col", + "type": "const float*" + }, + { + "name": "flags", + "type": "ImGuiColorEditFlags" + } + ], + "argsoriginal": "(const float* col,ImGuiColorEditFlags flags)", + "call_args": "(col,flags)", + "cimguiname": "igColorEditOptionsPopup", + "defaults": {}, + "funcname": "ColorEditOptionsPopup", + "location": "imgui_internal:3754", + "namespace": "ImGui", + "ov_cimguiname": "igColorEditOptionsPopup", + "ret": "void", + "signature": "(const float*,ImGuiColorEditFlags)", + "stname": "" + } + ], + "igColorPicker3": [ + { + "args": "(const char* label,float col[3],ImGuiColorEditFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "col", + "type": "float[3]" + }, + { + "name": "flags", + "type": "ImGuiColorEditFlags" + } + ], + "argsoriginal": "(const char* label,float col[3],ImGuiColorEditFlags flags=0)", + "call_args": "(label,col,flags)", + "cimguiname": "igColorPicker3", + "defaults": { + "flags": "0" + }, + "funcname": "ColorPicker3", + "location": "imgui:657", + "namespace": "ImGui", + "ov_cimguiname": "igColorPicker3", + "ret": "bool", + "signature": "(const char*,float[3],ImGuiColorEditFlags)", + "stname": "" + } + ], + "igColorPicker4": [ + { + "args": "(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "col", + "type": "float[4]" + }, + { + "name": "flags", + "type": "ImGuiColorEditFlags" + }, + { + "name": "ref_col", + "type": "const float*" + } + ], + "argsoriginal": "(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void*)0))", + "call_args": "(label,col,flags,ref_col)", + "cimguiname": "igColorPicker4", + "defaults": { + "flags": "0", + "ref_col": "NULL" + }, + "funcname": "ColorPicker4", + "location": "imgui:658", + "namespace": "ImGui", + "ov_cimguiname": "igColorPicker4", + "ret": "bool", + "signature": "(const char*,float[4],ImGuiColorEditFlags,const float*)", + "stname": "" + } + ], + "igColorPickerOptionsPopup": [ + { + "args": "(const float* ref_col,ImGuiColorEditFlags flags)", + "argsT": [ + { + "name": "ref_col", + "type": "const float*" + }, + { + "name": "flags", + "type": "ImGuiColorEditFlags" + } + ], + "argsoriginal": "(const float* ref_col,ImGuiColorEditFlags flags)", + "call_args": "(ref_col,flags)", + "cimguiname": "igColorPickerOptionsPopup", + "defaults": {}, + "funcname": "ColorPickerOptionsPopup", + "location": "imgui_internal:3755", + "namespace": "ImGui", + "ov_cimguiname": "igColorPickerOptionsPopup", + "ret": "void", + "signature": "(const float*,ImGuiColorEditFlags)", + "stname": "" + } + ], + "igColorTooltip": [ + { + "args": "(const char* text,const float* col,ImGuiColorEditFlags flags)", + "argsT": [ + { + "name": "text", + "type": "const char*" + }, + { + "name": "col", + "type": "const float*" + }, + { + "name": "flags", + "type": "ImGuiColorEditFlags" + } + ], + "argsoriginal": "(const char* text,const float* col,ImGuiColorEditFlags flags)", + "call_args": "(text,col,flags)", + "cimguiname": "igColorTooltip", + "defaults": {}, + "funcname": "ColorTooltip", + "location": "imgui_internal:3753", + "namespace": "ImGui", + "ov_cimguiname": "igColorTooltip", + "ret": "void", + "signature": "(const char*,const float*,ImGuiColorEditFlags)", + "stname": "" + } + ], + "igColumns": [ + { + "args": "(int count,const char* id,bool borders)", + "argsT": [ + { + "name": "count", + "type": "int" + }, + { + "name": "id", + "type": "const char*" + }, + { + "name": "borders", + "type": "bool" + } + ], + "argsoriginal": "(int count=1,const char* id=((void*)0),bool borders=true)", + "call_args": "(count,id,borders)", + "cimguiname": "igColumns", + "defaults": { + "borders": "true", + "count": "1", + "id": "NULL" + }, + "funcname": "Columns", + "location": "imgui:858", + "namespace": "ImGui", + "ov_cimguiname": "igColumns", + "ret": "void", + "signature": "(int,const char*,bool)", + "stname": "" + } + ], + "igCombo": [ + { + "args": "(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "current_item", + "type": "int*" + }, + { + "name": "items", + "type": "const char* const[]" + }, + { + "name": "items_count", + "type": "int" + }, + { + "name": "popup_max_height_in_items", + "type": "int" + } + ], + "argsoriginal": "(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)", + "call_args": "(label,current_item,items,items_count,popup_max_height_in_items)", + "cimguiname": "igCombo", + "defaults": { + "popup_max_height_in_items": "-1" + }, + "funcname": "Combo", + "location": "imgui:584", + "namespace": "ImGui", + "ov_cimguiname": "igCombo_Str_arr", + "ret": "bool", + "signature": "(const char*,int*,const char* const[],int,int)", + "stname": "" + }, + { + "args": "(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "current_item", + "type": "int*" + }, + { + "name": "items_separated_by_zeros", + "type": "const char*" + }, + { + "name": "popup_max_height_in_items", + "type": "int" + } + ], + "argsoriginal": "(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)", + "call_args": "(label,current_item,items_separated_by_zeros,popup_max_height_in_items)", + "cimguiname": "igCombo", + "defaults": { + "popup_max_height_in_items": "-1" + }, + "funcname": "Combo", + "location": "imgui:585", + "namespace": "ImGui", + "ov_cimguiname": "igCombo_Str", + "ret": "bool", + "signature": "(const char*,int*,const char*,int)", + "stname": "" + }, + { + "args": "(const char* label,int* current_item,const char*(*getter)(void* user_data,int idx),void* user_data,int items_count,int popup_max_height_in_items)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "current_item", + "type": "int*" + }, + { + "name": "getter", + "ret": "const char*", + "signature": "(void* user_data,int idx)", + "type": "const char*(*)(void* user_data,int idx)" + }, + { + "name": "user_data", + "type": "void*" + }, + { + "name": "items_count", + "type": "int" + }, + { + "name": "popup_max_height_in_items", + "type": "int" + } + ], + "argsoriginal": "(const char* label,int* current_item,const char*(*getter)(void* user_data,int idx),void* user_data,int items_count,int popup_max_height_in_items=-1)", + "call_args": "(label,current_item,getter,user_data,items_count,popup_max_height_in_items)", + "cimguiname": "igCombo", + "defaults": { + "popup_max_height_in_items": "-1" + }, + "funcname": "Combo", + "location": "imgui:586", + "namespace": "ImGui", + "ov_cimguiname": "igCombo_FnStrPtr", + "ret": "bool", + "signature": "(const char*,int*,const char*(*)(void*,int),void*,int,int)", + "stname": "" + } + ], + "igConvertSingleModFlagToKey": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igConvertSingleModFlagToKey", + "defaults": {}, + "funcname": "ConvertSingleModFlagToKey", + "location": "imgui_internal:3404", + "namespace": "ImGui", + "ov_cimguiname": "igConvertSingleModFlagToKey", + "ret": "ImGuiKey", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igCreateContext": [ + { + "args": "(ImFontAtlas* shared_font_atlas)", + "argsT": [ + { + "name": "shared_font_atlas", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "(ImFontAtlas* shared_font_atlas=((void*)0))", + "call_args": "(shared_font_atlas)", + "cimguiname": "igCreateContext", + "defaults": { + "shared_font_atlas": "NULL" + }, + "funcname": "CreateContext", + "location": "imgui:331", + "namespace": "ImGui", + "ov_cimguiname": "igCreateContext", + "ret": "ImGuiContext*", + "signature": "(ImFontAtlas*)", + "stname": "" + } + ], + "igCreateNewWindowSettings": [ + { + "args": "(const char* name)", + "argsT": [ + { + "name": "name", + "type": "const char*" + } + ], + "argsoriginal": "(const char* name)", + "call_args": "(name)", + "cimguiname": "igCreateNewWindowSettings", + "defaults": {}, + "funcname": "CreateNewWindowSettings", + "location": "imgui_internal:3274", + "namespace": "ImGui", + "ov_cimguiname": "igCreateNewWindowSettings", + "ret": "ImGuiWindowSettings*", + "signature": "(const char*)", + "stname": "" + } + ], + "igDataTypeApplyFromText": [ + { + "args": "(const char* buf,ImGuiDataType data_type,void* p_data,const char* format,void* p_data_when_empty)", + "argsT": [ + { + "name": "buf", + "type": "const char*" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_data", + "type": "void*" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "p_data_when_empty", + "type": "void*" + } + ], + "argsoriginal": "(const char* buf,ImGuiDataType data_type,void* p_data,const char* format,void* p_data_when_empty=((void*)0))", + "call_args": "(buf,data_type,p_data,format,p_data_when_empty)", + "cimguiname": "igDataTypeApplyFromText", + "defaults": { + "p_data_when_empty": "NULL" + }, + "funcname": "DataTypeApplyFromText", + "location": "imgui_internal:3738", + "namespace": "ImGui", + "ov_cimguiname": "igDataTypeApplyFromText", + "ret": "bool", + "signature": "(const char*,ImGuiDataType,void*,const char*,void*)", + "stname": "" + } + ], + "igDataTypeApplyOp": [ + { + "args": "(ImGuiDataType data_type,int op,void* output,const void* arg_1,const void* arg_2)", + "argsT": [ + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "op", + "type": "int" + }, + { + "name": "output", + "type": "void*" + }, + { + "name": "arg_1", + "type": "const void*" + }, + { + "name": "arg_2", + "type": "const void*" + } + ], + "argsoriginal": "(ImGuiDataType data_type,int op,void* output,const void* arg_1,const void* arg_2)", + "call_args": "(data_type,op,output,arg_1,arg_2)", + "cimguiname": "igDataTypeApplyOp", + "defaults": {}, + "funcname": "DataTypeApplyOp", + "location": "imgui_internal:3737", + "namespace": "ImGui", + "ov_cimguiname": "igDataTypeApplyOp", + "ret": "void", + "signature": "(ImGuiDataType,int,void*,const void*,const void*)", + "stname": "" + } + ], + "igDataTypeClamp": [ + { + "args": "(ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max)", + "argsT": [ + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_data", + "type": "void*" + }, + { + "name": "p_min", + "type": "const void*" + }, + { + "name": "p_max", + "type": "const void*" + } + ], + "argsoriginal": "(ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max)", + "call_args": "(data_type,p_data,p_min,p_max)", + "cimguiname": "igDataTypeClamp", + "defaults": {}, + "funcname": "DataTypeClamp", + "location": "imgui_internal:3740", + "namespace": "ImGui", + "ov_cimguiname": "igDataTypeClamp", + "ret": "bool", + "signature": "(ImGuiDataType,void*,const void*,const void*)", + "stname": "" + } + ], + "igDataTypeCompare": [ + { + "args": "(ImGuiDataType data_type,const void* arg_1,const void* arg_2)", + "argsT": [ + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "arg_1", + "type": "const void*" + }, + { + "name": "arg_2", + "type": "const void*" + } + ], + "argsoriginal": "(ImGuiDataType data_type,const void* arg_1,const void* arg_2)", + "call_args": "(data_type,arg_1,arg_2)", + "cimguiname": "igDataTypeCompare", + "defaults": {}, + "funcname": "DataTypeCompare", + "location": "imgui_internal:3739", + "namespace": "ImGui", + "ov_cimguiname": "igDataTypeCompare", + "ret": "int", + "signature": "(ImGuiDataType,const void*,const void*)", + "stname": "" + } + ], + "igDataTypeFormatString": [ + { + "args": "(char* buf,int buf_size,ImGuiDataType data_type,const void* p_data,const char* format)", + "argsT": [ + { + "name": "buf", + "type": "char*" + }, + { + "name": "buf_size", + "type": "int" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_data", + "type": "const void*" + }, + { + "name": "format", + "type": "const char*" + } + ], + "argsoriginal": "(char* buf,int buf_size,ImGuiDataType data_type,const void* p_data,const char* format)", + "call_args": "(buf,buf_size,data_type,p_data,format)", + "cimguiname": "igDataTypeFormatString", + "defaults": {}, + "funcname": "DataTypeFormatString", + "location": "imgui_internal:3736", + "namespace": "ImGui", + "ov_cimguiname": "igDataTypeFormatString", + "ret": "int", + "signature": "(char*,int,ImGuiDataType,const void*,const char*)", + "stname": "" + } + ], + "igDataTypeGetInfo": [ + { + "args": "(ImGuiDataType data_type)", + "argsT": [ + { + "name": "data_type", + "type": "ImGuiDataType" + } + ], + "argsoriginal": "(ImGuiDataType data_type)", + "call_args": "(data_type)", + "cimguiname": "igDataTypeGetInfo", + "defaults": {}, + "funcname": "DataTypeGetInfo", + "location": "imgui_internal:3735", + "namespace": "ImGui", + "ov_cimguiname": "igDataTypeGetInfo", + "ret": "const ImGuiDataTypeInfo*", + "signature": "(ImGuiDataType)", + "stname": "" + } + ], + "igDataTypeIsZero": [ + { + "args": "(ImGuiDataType data_type,const void* p_data)", + "argsT": [ + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_data", + "type": "const void*" + } + ], + "argsoriginal": "(ImGuiDataType data_type,const void* p_data)", + "call_args": "(data_type,p_data)", + "cimguiname": "igDataTypeIsZero", + "defaults": {}, + "funcname": "DataTypeIsZero", + "location": "imgui_internal:3741", + "namespace": "ImGui", + "ov_cimguiname": "igDataTypeIsZero", + "ret": "bool", + "signature": "(ImGuiDataType,const void*)", + "stname": "" + } + ], + "igDebugAllocHook": [ + { + "args": "(ImGuiDebugAllocInfo* info,int frame_count,void* ptr,size_t size)", + "argsT": [ + { + "name": "info", + "type": "ImGuiDebugAllocInfo*" + }, + { + "name": "frame_count", + "type": "int" + }, + { + "name": "ptr", + "type": "void*" + }, + { + "name": "size", + "type": "size_t" + } + ], + "argsoriginal": "(ImGuiDebugAllocInfo* info,int frame_count,void* ptr,size_t size)", + "call_args": "(info,frame_count,ptr,size)", + "cimguiname": "igDebugAllocHook", + "defaults": {}, + "funcname": "DebugAllocHook", + "location": "imgui_internal:3781", + "namespace": "ImGui", + "ov_cimguiname": "igDebugAllocHook", + "ret": "void", + "signature": "(ImGuiDebugAllocInfo*,int,void*,size_t)", + "stname": "" + } + ], + "igDebugBreakButton": [ + { + "args": "(const char* label,const char* description_of_location)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "description_of_location", + "type": "const char*" + } + ], + "argsoriginal": "(const char* label,const char* description_of_location)", + "call_args": "(label,description_of_location)", + "cimguiname": "igDebugBreakButton", + "defaults": {}, + "funcname": "DebugBreakButton", + "location": "imgui_internal:3790", + "namespace": "ImGui", + "ov_cimguiname": "igDebugBreakButton", + "ret": "bool", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igDebugBreakButtonTooltip": [ + { + "args": "(bool keyboard_only,const char* description_of_location)", + "argsT": [ + { + "name": "keyboard_only", + "type": "bool" + }, + { + "name": "description_of_location", + "type": "const char*" + } + ], + "argsoriginal": "(bool keyboard_only,const char* description_of_location)", + "call_args": "(keyboard_only,description_of_location)", + "cimguiname": "igDebugBreakButtonTooltip", + "defaults": {}, + "funcname": "DebugBreakButtonTooltip", + "location": "imgui_internal:3791", + "namespace": "ImGui", + "ov_cimguiname": "igDebugBreakButtonTooltip", + "ret": "void", + "signature": "(bool,const char*)", + "stname": "" + } + ], + "igDebugBreakClearData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igDebugBreakClearData", + "defaults": {}, + "funcname": "DebugBreakClearData", + "location": "imgui_internal:3789", + "namespace": "ImGui", + "ov_cimguiname": "igDebugBreakClearData", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igDebugCheckVersionAndDataLayout": [ + { + "args": "(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert,size_t sz_drawidx)", + "argsT": [ + { + "name": "version_str", + "type": "const char*" + }, + { + "name": "sz_io", + "type": "size_t" + }, + { + "name": "sz_style", + "type": "size_t" + }, + { + "name": "sz_vec2", + "type": "size_t" + }, + { + "name": "sz_vec4", + "type": "size_t" + }, + { + "name": "sz_drawvert", + "type": "size_t" + }, + { + "name": "sz_drawidx", + "type": "size_t" + } + ], + "argsoriginal": "(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert,size_t sz_drawidx)", + "call_args": "(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert,sz_drawidx)", + "cimguiname": "igDebugCheckVersionAndDataLayout", + "defaults": {}, + "funcname": "DebugCheckVersionAndDataLayout", + "location": "imgui:1070", + "namespace": "ImGui", + "ov_cimguiname": "igDebugCheckVersionAndDataLayout", + "ret": "bool", + "signature": "(const char*,size_t,size_t,size_t,size_t,size_t,size_t)", + "stname": "" + } + ], + "igDebugDrawCursorPos": [ + { + "args": "(ImU32 col)", + "argsT": [ + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(ImU32 col=(((ImU32)(255)<<24)|((ImU32)(0)<<16)|((ImU32)(0)<<8)|((ImU32)(255)<<0)))", + "call_args": "(col)", + "cimguiname": "igDebugDrawCursorPos", + "defaults": { + "col": "4278190335" + }, + "funcname": "DebugDrawCursorPos", + "location": "imgui_internal:3782", + "namespace": "ImGui", + "ov_cimguiname": "igDebugDrawCursorPos", + "ret": "void", + "signature": "(ImU32)", + "stname": "" + } + ], + "igDebugDrawItemRect": [ + { + "args": "(ImU32 col)", + "argsT": [ + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(ImU32 col=(((ImU32)(255)<<24)|((ImU32)(0)<<16)|((ImU32)(0)<<8)|((ImU32)(255)<<0)))", + "call_args": "(col)", + "cimguiname": "igDebugDrawItemRect", + "defaults": { + "col": "4278190335" + }, + "funcname": "DebugDrawItemRect", + "location": "imgui_internal:3784", + "namespace": "ImGui", + "ov_cimguiname": "igDebugDrawItemRect", + "ret": "void", + "signature": "(ImU32)", + "stname": "" + } + ], + "igDebugDrawLineExtents": [ + { + "args": "(ImU32 col)", + "argsT": [ + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(ImU32 col=(((ImU32)(255)<<24)|((ImU32)(0)<<16)|((ImU32)(0)<<8)|((ImU32)(255)<<0)))", + "call_args": "(col)", + "cimguiname": "igDebugDrawLineExtents", + "defaults": { + "col": "4278190335" + }, + "funcname": "DebugDrawLineExtents", + "location": "imgui_internal:3783", + "namespace": "ImGui", + "ov_cimguiname": "igDebugDrawLineExtents", + "ret": "void", + "signature": "(ImU32)", + "stname": "" + } + ], + "igDebugFlashStyleColor": [ + { + "args": "(ImGuiCol idx)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiCol" + } + ], + "argsoriginal": "(ImGuiCol idx)", + "call_args": "(idx)", + "cimguiname": "igDebugFlashStyleColor", + "defaults": {}, + "funcname": "DebugFlashStyleColor", + "location": "imgui:1068", + "namespace": "ImGui", + "ov_cimguiname": "igDebugFlashStyleColor", + "ret": "void", + "signature": "(ImGuiCol)", + "stname": "" + } + ], + "igDebugHookIdInfo": [ + { + "args": "(ImGuiID id,ImGuiDataType data_type,const void* data_id,const void* data_id_end)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "data_id", + "type": "const void*" + }, + { + "name": "data_id_end", + "type": "const void*" + } + ], + "argsoriginal": "(ImGuiID id,ImGuiDataType data_type,const void* data_id,const void* data_id_end)", + "call_args": "(id,data_type,data_id,data_id_end)", + "cimguiname": "igDebugHookIdInfo", + "defaults": {}, + "funcname": "DebugHookIdInfo", + "location": "imgui_internal:3793", + "namespace": "ImGui", + "ov_cimguiname": "igDebugHookIdInfo", + "ret": "void", + "signature": "(ImGuiID,ImGuiDataType,const void*,const void*)", + "stname": "" + } + ], + "igDebugLocateItem": [ + { + "args": "(ImGuiID target_id)", + "argsT": [ + { + "name": "target_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID target_id)", + "call_args": "(target_id)", + "cimguiname": "igDebugLocateItem", + "defaults": {}, + "funcname": "DebugLocateItem", + "location": "imgui_internal:3786", + "namespace": "ImGui", + "ov_cimguiname": "igDebugLocateItem", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igDebugLocateItemOnHover": [ + { + "args": "(ImGuiID target_id)", + "argsT": [ + { + "name": "target_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID target_id)", + "call_args": "(target_id)", + "cimguiname": "igDebugLocateItemOnHover", + "defaults": {}, + "funcname": "DebugLocateItemOnHover", + "location": "imgui_internal:3787", + "namespace": "ImGui", + "ov_cimguiname": "igDebugLocateItemOnHover", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igDebugLocateItemResolveWithLastItem": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igDebugLocateItemResolveWithLastItem", + "defaults": {}, + "funcname": "DebugLocateItemResolveWithLastItem", + "location": "imgui_internal:3788", + "namespace": "ImGui", + "ov_cimguiname": "igDebugLocateItemResolveWithLastItem", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igDebugLog": [ + { + "args": "(const char* fmt,...)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "igDebugLog", + "defaults": {}, + "funcname": "DebugLog", + "isvararg": "...)", + "location": "imgui:1072", + "namespace": "ImGui", + "ov_cimguiname": "igDebugLog", + "ret": "void", + "signature": "(const char*,...)", + "stname": "" + } + ], + "igDebugLogV": [ + { + "args": "(const char* fmt,va_list args)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "igDebugLogV", + "defaults": {}, + "funcname": "DebugLogV", + "location": "imgui:1073", + "namespace": "ImGui", + "ov_cimguiname": "igDebugLogV", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "" + } + ], + "igDebugNodeColumns": [ + { + "args": "(ImGuiOldColumns* columns)", + "argsT": [ + { + "name": "columns", + "type": "ImGuiOldColumns*" + } + ], + "argsoriginal": "(ImGuiOldColumns* columns)", + "call_args": "(columns)", + "cimguiname": "igDebugNodeColumns", + "defaults": {}, + "funcname": "DebugNodeColumns", + "location": "imgui_internal:3794", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeColumns", + "ret": "void", + "signature": "(ImGuiOldColumns*)", + "stname": "" + } + ], + "igDebugNodeDockNode": [ + { + "args": "(ImGuiDockNode* node,const char* label)", + "argsT": [ + { + "name": "node", + "type": "ImGuiDockNode*" + }, + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(ImGuiDockNode* node,const char* label)", + "call_args": "(node,label)", + "cimguiname": "igDebugNodeDockNode", + "defaults": {}, + "funcname": "DebugNodeDockNode", + "location": "imgui_internal:3795", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeDockNode", + "ret": "void", + "signature": "(ImGuiDockNode*,const char*)", + "stname": "" + } + ], + "igDebugNodeDrawCmdShowMeshAndBoundingBox": [ + { + "args": "(ImDrawList* out_draw_list,const ImDrawList* draw_list,const ImDrawCmd* draw_cmd,bool show_mesh,bool show_aabb)", + "argsT": [ + { + "name": "out_draw_list", + "type": "ImDrawList*" + }, + { + "name": "draw_list", + "type": "const ImDrawList*" + }, + { + "name": "draw_cmd", + "type": "const ImDrawCmd*" + }, + { + "name": "show_mesh", + "type": "bool" + }, + { + "name": "show_aabb", + "type": "bool" + } + ], + "argsoriginal": "(ImDrawList* out_draw_list,const ImDrawList* draw_list,const ImDrawCmd* draw_cmd,bool show_mesh,bool show_aabb)", + "call_args": "(out_draw_list,draw_list,draw_cmd,show_mesh,show_aabb)", + "cimguiname": "igDebugNodeDrawCmdShowMeshAndBoundingBox", + "defaults": {}, + "funcname": "DebugNodeDrawCmdShowMeshAndBoundingBox", + "location": "imgui_internal:3797", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeDrawCmdShowMeshAndBoundingBox", + "ret": "void", + "signature": "(ImDrawList*,const ImDrawList*,const ImDrawCmd*,bool,bool)", + "stname": "" + } + ], + "igDebugNodeDrawList": [ + { + "args": "(ImGuiWindow* window,ImGuiViewportP* viewport,const ImDrawList* draw_list,const char* label)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "viewport", + "type": "ImGuiViewportP*" + }, + { + "name": "draw_list", + "type": "const ImDrawList*" + }, + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiViewportP* viewport,const ImDrawList* draw_list,const char* label)", + "call_args": "(window,viewport,draw_list,label)", + "cimguiname": "igDebugNodeDrawList", + "defaults": {}, + "funcname": "DebugNodeDrawList", + "location": "imgui_internal:3796", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeDrawList", + "ret": "void", + "signature": "(ImGuiWindow*,ImGuiViewportP*,const ImDrawList*,const char*)", + "stname": "" + } + ], + "igDebugNodeFont": [ + { + "args": "(ImFont* font)", + "argsT": [ + { + "name": "font", + "type": "ImFont*" + } + ], + "argsoriginal": "(ImFont* font)", + "call_args": "(font)", + "cimguiname": "igDebugNodeFont", + "defaults": {}, + "funcname": "DebugNodeFont", + "location": "imgui_internal:3798", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeFont", + "ret": "void", + "signature": "(ImFont*)", + "stname": "" + } + ], + "igDebugNodeFontGlyph": [ + { + "args": "(ImFont* font,const ImFontGlyph* glyph)", + "argsT": [ + { + "name": "font", + "type": "ImFont*" + }, + { + "name": "glyph", + "type": "const ImFontGlyph*" + } + ], + "argsoriginal": "(ImFont* font,const ImFontGlyph* glyph)", + "call_args": "(font,glyph)", + "cimguiname": "igDebugNodeFontGlyph", + "defaults": {}, + "funcname": "DebugNodeFontGlyph", + "location": "imgui_internal:3799", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeFontGlyph", + "ret": "void", + "signature": "(ImFont*,const ImFontGlyph*)", + "stname": "" + } + ], + "igDebugNodeInputTextState": [ + { + "args": "(ImGuiInputTextState* state)", + "argsT": [ + { + "name": "state", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "(ImGuiInputTextState* state)", + "call_args": "(state)", + "cimguiname": "igDebugNodeInputTextState", + "defaults": {}, + "funcname": "DebugNodeInputTextState", + "location": "imgui_internal:3804", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeInputTextState", + "ret": "void", + "signature": "(ImGuiInputTextState*)", + "stname": "" + } + ], + "igDebugNodeMultiSelectState": [ + { + "args": "(ImGuiMultiSelectState* state)", + "argsT": [ + { + "name": "state", + "type": "ImGuiMultiSelectState*" + } + ], + "argsoriginal": "(ImGuiMultiSelectState* state)", + "call_args": "(state)", + "cimguiname": "igDebugNodeMultiSelectState", + "defaults": {}, + "funcname": "DebugNodeMultiSelectState", + "location": "imgui_internal:3806", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeMultiSelectState", + "ret": "void", + "signature": "(ImGuiMultiSelectState*)", + "stname": "" + } + ], + "igDebugNodePlatformMonitor": [ + { + "args": "(ImGuiPlatformMonitor* monitor,const char* label,int idx)", + "argsT": [ + { + "name": "monitor", + "type": "ImGuiPlatformMonitor*" + }, + { + "name": "label", + "type": "const char*" + }, + { + "name": "idx", + "type": "int" + } + ], + "argsoriginal": "(ImGuiPlatformMonitor* monitor,const char* label,int idx)", + "call_args": "(monitor,label,idx)", + "cimguiname": "igDebugNodePlatformMonitor", + "defaults": {}, + "funcname": "DebugNodePlatformMonitor", + "location": "imgui_internal:3812", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodePlatformMonitor", + "ret": "void", + "signature": "(ImGuiPlatformMonitor*,const char*,int)", + "stname": "" + } + ], + "igDebugNodeStorage": [ + { + "args": "(ImGuiStorage* storage,const char* label)", + "argsT": [ + { + "name": "storage", + "type": "ImGuiStorage*" + }, + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(ImGuiStorage* storage,const char* label)", + "call_args": "(storage,label)", + "cimguiname": "igDebugNodeStorage", + "defaults": {}, + "funcname": "DebugNodeStorage", + "location": "imgui_internal:3800", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeStorage", + "ret": "void", + "signature": "(ImGuiStorage*,const char*)", + "stname": "" + } + ], + "igDebugNodeTabBar": [ + { + "args": "(ImGuiTabBar* tab_bar,const char* label)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + }, + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar,const char* label)", + "call_args": "(tab_bar,label)", + "cimguiname": "igDebugNodeTabBar", + "defaults": {}, + "funcname": "DebugNodeTabBar", + "location": "imgui_internal:3801", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeTabBar", + "ret": "void", + "signature": "(ImGuiTabBar*,const char*)", + "stname": "" + } + ], + "igDebugNodeTable": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igDebugNodeTable", + "defaults": {}, + "funcname": "DebugNodeTable", + "location": "imgui_internal:3802", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeTable", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igDebugNodeTableSettings": [ + { + "args": "(ImGuiTableSettings* settings)", + "argsT": [ + { + "name": "settings", + "type": "ImGuiTableSettings*" + } + ], + "argsoriginal": "(ImGuiTableSettings* settings)", + "call_args": "(settings)", + "cimguiname": "igDebugNodeTableSettings", + "defaults": {}, + "funcname": "DebugNodeTableSettings", + "location": "imgui_internal:3803", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeTableSettings", + "ret": "void", + "signature": "(ImGuiTableSettings*)", + "stname": "" + } + ], + "igDebugNodeTypingSelectState": [ + { + "args": "(ImGuiTypingSelectState* state)", + "argsT": [ + { + "name": "state", + "type": "ImGuiTypingSelectState*" + } + ], + "argsoriginal": "(ImGuiTypingSelectState* state)", + "call_args": "(state)", + "cimguiname": "igDebugNodeTypingSelectState", + "defaults": {}, + "funcname": "DebugNodeTypingSelectState", + "location": "imgui_internal:3805", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeTypingSelectState", + "ret": "void", + "signature": "(ImGuiTypingSelectState*)", + "stname": "" + } + ], + "igDebugNodeViewport": [ + { + "args": "(ImGuiViewportP* viewport)", + "argsT": [ + { + "name": "viewport", + "type": "ImGuiViewportP*" + } + ], + "argsoriginal": "(ImGuiViewportP* viewport)", + "call_args": "(viewport)", + "cimguiname": "igDebugNodeViewport", + "defaults": {}, + "funcname": "DebugNodeViewport", + "location": "imgui_internal:3811", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeViewport", + "ret": "void", + "signature": "(ImGuiViewportP*)", + "stname": "" + } + ], + "igDebugNodeWindow": [ + { + "args": "(ImGuiWindow* window,const char* label)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(ImGuiWindow* window,const char* label)", + "call_args": "(window,label)", + "cimguiname": "igDebugNodeWindow", + "defaults": {}, + "funcname": "DebugNodeWindow", + "location": "imgui_internal:3807", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeWindow", + "ret": "void", + "signature": "(ImGuiWindow*,const char*)", + "stname": "" + } + ], + "igDebugNodeWindowSettings": [ + { + "args": "(ImGuiWindowSettings* settings)", + "argsT": [ + { + "name": "settings", + "type": "ImGuiWindowSettings*" + } + ], + "argsoriginal": "(ImGuiWindowSettings* settings)", + "call_args": "(settings)", + "cimguiname": "igDebugNodeWindowSettings", + "defaults": {}, + "funcname": "DebugNodeWindowSettings", + "location": "imgui_internal:3808", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeWindowSettings", + "ret": "void", + "signature": "(ImGuiWindowSettings*)", + "stname": "" + } + ], + "igDebugNodeWindowsList": [ + { + "args": "(ImVector_ImGuiWindowPtr* windows,const char* label)", + "argsT": [ + { + "name": "windows", + "type": "ImVector_ImGuiWindowPtr*" + }, + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(ImVector* windows,const char* label)", + "call_args": "(windows,label)", + "cimguiname": "igDebugNodeWindowsList", + "defaults": {}, + "funcname": "DebugNodeWindowsList", + "location": "imgui_internal:3809", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeWindowsList", + "ret": "void", + "signature": "(ImVector_ImGuiWindowPtr*,const char*)", + "stname": "" + } + ], + "igDebugNodeWindowsListByBeginStackParent": [ + { + "args": "(ImGuiWindow** windows,int windows_size,ImGuiWindow* parent_in_begin_stack)", + "argsT": [ + { + "name": "windows", + "type": "ImGuiWindow**" + }, + { + "name": "windows_size", + "type": "int" + }, + { + "name": "parent_in_begin_stack", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow** windows,int windows_size,ImGuiWindow* parent_in_begin_stack)", + "call_args": "(windows,windows_size,parent_in_begin_stack)", + "cimguiname": "igDebugNodeWindowsListByBeginStackParent", + "defaults": {}, + "funcname": "DebugNodeWindowsListByBeginStackParent", + "location": "imgui_internal:3810", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeWindowsListByBeginStackParent", + "ret": "void", + "signature": "(ImGuiWindow**,int,ImGuiWindow*)", + "stname": "" + } + ], + "igDebugRenderKeyboardPreview": [ + { + "args": "(ImDrawList* draw_list)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + } + ], + "argsoriginal": "(ImDrawList* draw_list)", + "call_args": "(draw_list)", + "cimguiname": "igDebugRenderKeyboardPreview", + "defaults": {}, + "funcname": "DebugRenderKeyboardPreview", + "location": "imgui_internal:3813", + "namespace": "ImGui", + "ov_cimguiname": "igDebugRenderKeyboardPreview", + "ret": "void", + "signature": "(ImDrawList*)", + "stname": "" + } + ], + "igDebugRenderViewportThumbnail": [ + { + "args": "(ImDrawList* draw_list,ImGuiViewportP* viewport,const ImRect bb)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "viewport", + "type": "ImGuiViewportP*" + }, + { + "name": "bb", + "type": "const ImRect" + } + ], + "argsoriginal": "(ImDrawList* draw_list,ImGuiViewportP* viewport,const ImRect& bb)", + "call_args": "(draw_list,viewport,bb)", + "cimguiname": "igDebugRenderViewportThumbnail", + "defaults": {}, + "funcname": "DebugRenderViewportThumbnail", + "location": "imgui_internal:3814", + "namespace": "ImGui", + "ov_cimguiname": "igDebugRenderViewportThumbnail", + "ret": "void", + "signature": "(ImDrawList*,ImGuiViewportP*,const ImRect)", + "stname": "" + } + ], + "igDebugStartItemPicker": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igDebugStartItemPicker", + "defaults": {}, + "funcname": "DebugStartItemPicker", + "location": "imgui:1069", + "namespace": "ImGui", + "ov_cimguiname": "igDebugStartItemPicker", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igDebugTextEncoding": [ + { + "args": "(const char* text)", + "argsT": [ + { + "name": "text", + "type": "const char*" + } + ], + "argsoriginal": "(const char* text)", + "call_args": "(text)", + "cimguiname": "igDebugTextEncoding", + "defaults": {}, + "funcname": "DebugTextEncoding", + "location": "imgui:1067", + "namespace": "ImGui", + "ov_cimguiname": "igDebugTextEncoding", + "ret": "void", + "signature": "(const char*)", + "stname": "" + } + ], + "igDebugTextUnformattedWithLocateItem": [ + { + "args": "(const char* line_begin,const char* line_end)", + "argsT": [ + { + "name": "line_begin", + "type": "const char*" + }, + { + "name": "line_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* line_begin,const char* line_end)", + "call_args": "(line_begin,line_end)", + "cimguiname": "igDebugTextUnformattedWithLocateItem", + "defaults": {}, + "funcname": "DebugTextUnformattedWithLocateItem", + "location": "imgui_internal:3785", + "namespace": "ImGui", + "ov_cimguiname": "igDebugTextUnformattedWithLocateItem", + "ret": "void", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igDestroyContext": [ + { + "args": "(ImGuiContext* ctx)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + } + ], + "argsoriginal": "(ImGuiContext* ctx=((void*)0))", + "call_args": "(ctx)", + "cimguiname": "igDestroyContext", + "defaults": { + "ctx": "NULL" + }, + "funcname": "DestroyContext", + "location": "imgui:332", + "namespace": "ImGui", + "ov_cimguiname": "igDestroyContext", + "ret": "void", + "signature": "(ImGuiContext*)", + "stname": "" + } + ], + "igDestroyPlatformWindow": [ + { + "args": "(ImGuiViewportP* viewport)", + "argsT": [ + { + "name": "viewport", + "type": "ImGuiViewportP*" + } + ], + "argsoriginal": "(ImGuiViewportP* viewport)", + "call_args": "(viewport)", + "cimguiname": "igDestroyPlatformWindow", + "defaults": {}, + "funcname": "DestroyPlatformWindow", + "location": "imgui_internal:3259", + "namespace": "ImGui", + "ov_cimguiname": "igDestroyPlatformWindow", + "ret": "void", + "signature": "(ImGuiViewportP*)", + "stname": "" + } + ], + "igDestroyPlatformWindows": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igDestroyPlatformWindows", + "defaults": {}, + "funcname": "DestroyPlatformWindows", + "location": "imgui:1090", + "namespace": "ImGui", + "ov_cimguiname": "igDestroyPlatformWindows", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igDockBuilderAddNode": [ + { + "args": "(ImGuiID node_id,ImGuiDockNodeFlags flags)", + "argsT": [ + { + "name": "node_id", + "type": "ImGuiID" + }, + { + "name": "flags", + "type": "ImGuiDockNodeFlags" + } + ], + "argsoriginal": "(ImGuiID node_id=0,ImGuiDockNodeFlags flags=0)", + "call_args": "(node_id,flags)", + "cimguiname": "igDockBuilderAddNode", + "defaults": { + "flags": "0", + "node_id": "0" + }, + "funcname": "DockBuilderAddNode", + "location": "imgui_internal:3521", + "namespace": "ImGui", + "ov_cimguiname": "igDockBuilderAddNode", + "ret": "ImGuiID", + "signature": "(ImGuiID,ImGuiDockNodeFlags)", + "stname": "" + } + ], + "igDockBuilderCopyDockSpace": [ + { + "args": "(ImGuiID src_dockspace_id,ImGuiID dst_dockspace_id,ImVector_const_charPtr* in_window_remap_pairs)", + "argsT": [ + { + "name": "src_dockspace_id", + "type": "ImGuiID" + }, + { + "name": "dst_dockspace_id", + "type": "ImGuiID" + }, + { + "name": "in_window_remap_pairs", + "type": "ImVector_const_charPtr*" + } + ], + "argsoriginal": "(ImGuiID src_dockspace_id,ImGuiID dst_dockspace_id,ImVector* in_window_remap_pairs)", + "call_args": "(src_dockspace_id,dst_dockspace_id,in_window_remap_pairs)", + "cimguiname": "igDockBuilderCopyDockSpace", + "defaults": {}, + "funcname": "DockBuilderCopyDockSpace", + "location": "imgui_internal:3528", + "namespace": "ImGui", + "ov_cimguiname": "igDockBuilderCopyDockSpace", + "ret": "void", + "signature": "(ImGuiID,ImGuiID,ImVector_const_charPtr*)", + "stname": "" + } + ], + "igDockBuilderCopyNode": [ + { + "args": "(ImGuiID src_node_id,ImGuiID dst_node_id,ImVector_ImGuiID* out_node_remap_pairs)", + "argsT": [ + { + "name": "src_node_id", + "type": "ImGuiID" + }, + { + "name": "dst_node_id", + "type": "ImGuiID" + }, + { + "name": "out_node_remap_pairs", + "type": "ImVector_ImGuiID*" + } + ], + "argsoriginal": "(ImGuiID src_node_id,ImGuiID dst_node_id,ImVector* out_node_remap_pairs)", + "call_args": "(src_node_id,dst_node_id,out_node_remap_pairs)", + "cimguiname": "igDockBuilderCopyNode", + "defaults": {}, + "funcname": "DockBuilderCopyNode", + "location": "imgui_internal:3529", + "namespace": "ImGui", + "ov_cimguiname": "igDockBuilderCopyNode", + "ret": "void", + "signature": "(ImGuiID,ImGuiID,ImVector_ImGuiID*)", + "stname": "" + } + ], + "igDockBuilderCopyWindowSettings": [ + { + "args": "(const char* src_name,const char* dst_name)", + "argsT": [ + { + "name": "src_name", + "type": "const char*" + }, + { + "name": "dst_name", + "type": "const char*" + } + ], + "argsoriginal": "(const char* src_name,const char* dst_name)", + "call_args": "(src_name,dst_name)", + "cimguiname": "igDockBuilderCopyWindowSettings", + "defaults": {}, + "funcname": "DockBuilderCopyWindowSettings", + "location": "imgui_internal:3530", + "namespace": "ImGui", + "ov_cimguiname": "igDockBuilderCopyWindowSettings", + "ret": "void", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igDockBuilderDockWindow": [ + { + "args": "(const char* window_name,ImGuiID node_id)", + "argsT": [ + { + "name": "window_name", + "type": "const char*" + }, + { + "name": "node_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(const char* window_name,ImGuiID node_id)", + "call_args": "(window_name,node_id)", + "cimguiname": "igDockBuilderDockWindow", + "defaults": {}, + "funcname": "DockBuilderDockWindow", + "location": "imgui_internal:3518", + "namespace": "ImGui", + "ov_cimguiname": "igDockBuilderDockWindow", + "ret": "void", + "signature": "(const char*,ImGuiID)", + "stname": "" + } + ], + "igDockBuilderFinish": [ + { + "args": "(ImGuiID node_id)", + "argsT": [ + { + "name": "node_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID node_id)", + "call_args": "(node_id)", + "cimguiname": "igDockBuilderFinish", + "defaults": {}, + "funcname": "DockBuilderFinish", + "location": "imgui_internal:3531", + "namespace": "ImGui", + "ov_cimguiname": "igDockBuilderFinish", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igDockBuilderGetCentralNode": [ + { + "args": "(ImGuiID node_id)", + "argsT": [ + { + "name": "node_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID node_id)", + "call_args": "(node_id)", + "cimguiname": "igDockBuilderGetCentralNode", + "defaults": {}, + "funcname": "DockBuilderGetCentralNode", + "location": "imgui_internal:3520", + "namespace": "ImGui", + "ov_cimguiname": "igDockBuilderGetCentralNode", + "ret": "ImGuiDockNode*", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igDockBuilderGetNode": [ + { + "args": "(ImGuiID node_id)", + "argsT": [ + { + "name": "node_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID node_id)", + "call_args": "(node_id)", + "cimguiname": "igDockBuilderGetNode", + "defaults": {}, + "funcname": "DockBuilderGetNode", + "location": "imgui_internal:3519", + "namespace": "ImGui", + "ov_cimguiname": "igDockBuilderGetNode", + "ret": "ImGuiDockNode*", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igDockBuilderRemoveNode": [ + { + "args": "(ImGuiID node_id)", + "argsT": [ + { + "name": "node_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID node_id)", + "call_args": "(node_id)", + "cimguiname": "igDockBuilderRemoveNode", + "defaults": {}, + "funcname": "DockBuilderRemoveNode", + "location": "imgui_internal:3522", + "namespace": "ImGui", + "ov_cimguiname": "igDockBuilderRemoveNode", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igDockBuilderRemoveNodeChildNodes": [ + { + "args": "(ImGuiID node_id)", + "argsT": [ + { + "name": "node_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID node_id)", + "call_args": "(node_id)", + "cimguiname": "igDockBuilderRemoveNodeChildNodes", + "defaults": {}, + "funcname": "DockBuilderRemoveNodeChildNodes", + "location": "imgui_internal:3524", + "namespace": "ImGui", + "ov_cimguiname": "igDockBuilderRemoveNodeChildNodes", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igDockBuilderRemoveNodeDockedWindows": [ + { + "args": "(ImGuiID node_id,bool clear_settings_refs)", + "argsT": [ + { + "name": "node_id", + "type": "ImGuiID" + }, + { + "name": "clear_settings_refs", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiID node_id,bool clear_settings_refs=true)", + "call_args": "(node_id,clear_settings_refs)", + "cimguiname": "igDockBuilderRemoveNodeDockedWindows", + "defaults": { + "clear_settings_refs": "true" + }, + "funcname": "DockBuilderRemoveNodeDockedWindows", + "location": "imgui_internal:3523", + "namespace": "ImGui", + "ov_cimguiname": "igDockBuilderRemoveNodeDockedWindows", + "ret": "void", + "signature": "(ImGuiID,bool)", + "stname": "" + } + ], + "igDockBuilderSetNodePos": [ + { + "args": "(ImGuiID node_id,ImVec2 pos)", + "argsT": [ + { + "name": "node_id", + "type": "ImGuiID" + }, + { + "name": "pos", + "type": "ImVec2" + } + ], + "argsoriginal": "(ImGuiID node_id,ImVec2 pos)", + "call_args": "(node_id,pos)", + "cimguiname": "igDockBuilderSetNodePos", + "defaults": {}, + "funcname": "DockBuilderSetNodePos", + "location": "imgui_internal:3525", + "namespace": "ImGui", + "ov_cimguiname": "igDockBuilderSetNodePos", + "ret": "void", + "signature": "(ImGuiID,ImVec2)", + "stname": "" + } + ], + "igDockBuilderSetNodeSize": [ + { + "args": "(ImGuiID node_id,ImVec2 size)", + "argsT": [ + { + "name": "node_id", + "type": "ImGuiID" + }, + { + "name": "size", + "type": "ImVec2" + } + ], + "argsoriginal": "(ImGuiID node_id,ImVec2 size)", + "call_args": "(node_id,size)", + "cimguiname": "igDockBuilderSetNodeSize", + "defaults": {}, + "funcname": "DockBuilderSetNodeSize", + "location": "imgui_internal:3526", + "namespace": "ImGui", + "ov_cimguiname": "igDockBuilderSetNodeSize", + "ret": "void", + "signature": "(ImGuiID,ImVec2)", + "stname": "" + } + ], + "igDockBuilderSplitNode": [ + { + "args": "(ImGuiID node_id,ImGuiDir split_dir,float size_ratio_for_node_at_dir,ImGuiID* out_id_at_dir,ImGuiID* out_id_at_opposite_dir)", + "argsT": [ + { + "name": "node_id", + "type": "ImGuiID" + }, + { + "name": "split_dir", + "type": "ImGuiDir" + }, + { + "name": "size_ratio_for_node_at_dir", + "type": "float" + }, + { + "name": "out_id_at_dir", + "type": "ImGuiID*" + }, + { + "name": "out_id_at_opposite_dir", + "type": "ImGuiID*" + } + ], + "argsoriginal": "(ImGuiID node_id,ImGuiDir split_dir,float size_ratio_for_node_at_dir,ImGuiID* out_id_at_dir,ImGuiID* out_id_at_opposite_dir)", + "call_args": "(node_id,split_dir,size_ratio_for_node_at_dir,out_id_at_dir,out_id_at_opposite_dir)", + "cimguiname": "igDockBuilderSplitNode", + "defaults": {}, + "funcname": "DockBuilderSplitNode", + "location": "imgui_internal:3527", + "namespace": "ImGui", + "ov_cimguiname": "igDockBuilderSplitNode", + "ret": "ImGuiID", + "signature": "(ImGuiID,ImGuiDir,float,ImGuiID*,ImGuiID*)", + "stname": "" + } + ], + "igDockContextCalcDropPosForDocking": [ + { + "args": "(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload_window,ImGuiDockNode* payload_node,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos)", + "argsT": [ + { + "name": "target", + "type": "ImGuiWindow*" + }, + { + "name": "target_node", + "type": "ImGuiDockNode*" + }, + { + "name": "payload_window", + "type": "ImGuiWindow*" + }, + { + "name": "payload_node", + "type": "ImGuiDockNode*" + }, + { + "name": "split_dir", + "type": "ImGuiDir" + }, + { + "name": "split_outer", + "type": "bool" + }, + { + "name": "out_pos", + "type": "ImVec2*" + } + ], + "argsoriginal": "(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload_window,ImGuiDockNode* payload_node,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos)", + "call_args": "(target,target_node,payload_window,payload_node,split_dir,split_outer,out_pos)", + "cimguiname": "igDockContextCalcDropPosForDocking", + "defaults": {}, + "funcname": "DockContextCalcDropPosForDocking", + "location": "imgui_internal:3493", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextCalcDropPosForDocking", + "ret": "bool", + "signature": "(ImGuiWindow*,ImGuiDockNode*,ImGuiWindow*,ImGuiDockNode*,ImGuiDir,bool,ImVec2*)", + "stname": "" + } + ], + "igDockContextClearNodes": [ + { + "args": "(ImGuiContext* ctx,ImGuiID root_id,bool clear_settings_refs)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + }, + { + "name": "root_id", + "type": "ImGuiID" + }, + { + "name": "clear_settings_refs", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiContext* ctx,ImGuiID root_id,bool clear_settings_refs)", + "call_args": "(ctx,root_id,clear_settings_refs)", + "cimguiname": "igDockContextClearNodes", + "defaults": {}, + "funcname": "DockContextClearNodes", + "location": "imgui_internal:3482", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextClearNodes", + "ret": "void", + "signature": "(ImGuiContext*,ImGuiID,bool)", + "stname": "" + } + ], + "igDockContextEndFrame": [ + { + "args": "(ImGuiContext* ctx)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + } + ], + "argsoriginal": "(ImGuiContext* ctx)", + "call_args": "(ctx)", + "cimguiname": "igDockContextEndFrame", + "defaults": {}, + "funcname": "DockContextEndFrame", + "location": "imgui_internal:3486", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextEndFrame", + "ret": "void", + "signature": "(ImGuiContext*)", + "stname": "" + } + ], + "igDockContextFindNodeByID": [ + { + "args": "(ImGuiContext* ctx,ImGuiID id)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + }, + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiContext* ctx,ImGuiID id)", + "call_args": "(ctx,id)", + "cimguiname": "igDockContextFindNodeByID", + "defaults": {}, + "funcname": "DockContextFindNodeByID", + "location": "imgui_internal:3494", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextFindNodeByID", + "ret": "ImGuiDockNode*", + "signature": "(ImGuiContext*,ImGuiID)", + "stname": "" + } + ], + "igDockContextGenNodeID": [ + { + "args": "(ImGuiContext* ctx)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + } + ], + "argsoriginal": "(ImGuiContext* ctx)", + "call_args": "(ctx)", + "cimguiname": "igDockContextGenNodeID", + "defaults": {}, + "funcname": "DockContextGenNodeID", + "location": "imgui_internal:3487", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextGenNodeID", + "ret": "ImGuiID", + "signature": "(ImGuiContext*)", + "stname": "" + } + ], + "igDockContextInitialize": [ + { + "args": "(ImGuiContext* ctx)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + } + ], + "argsoriginal": "(ImGuiContext* ctx)", + "call_args": "(ctx)", + "cimguiname": "igDockContextInitialize", + "defaults": {}, + "funcname": "DockContextInitialize", + "location": "imgui_internal:3480", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextInitialize", + "ret": "void", + "signature": "(ImGuiContext*)", + "stname": "" + } + ], + "igDockContextNewFrameUpdateDocking": [ + { + "args": "(ImGuiContext* ctx)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + } + ], + "argsoriginal": "(ImGuiContext* ctx)", + "call_args": "(ctx)", + "cimguiname": "igDockContextNewFrameUpdateDocking", + "defaults": {}, + "funcname": "DockContextNewFrameUpdateDocking", + "location": "imgui_internal:3485", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextNewFrameUpdateDocking", + "ret": "void", + "signature": "(ImGuiContext*)", + "stname": "" + } + ], + "igDockContextNewFrameUpdateUndocking": [ + { + "args": "(ImGuiContext* ctx)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + } + ], + "argsoriginal": "(ImGuiContext* ctx)", + "call_args": "(ctx)", + "cimguiname": "igDockContextNewFrameUpdateUndocking", + "defaults": {}, + "funcname": "DockContextNewFrameUpdateUndocking", + "location": "imgui_internal:3484", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextNewFrameUpdateUndocking", + "ret": "void", + "signature": "(ImGuiContext*)", + "stname": "" + } + ], + "igDockContextProcessUndockNode": [ + { + "args": "(ImGuiContext* ctx,ImGuiDockNode* node)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + }, + { + "name": "node", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "(ImGuiContext* ctx,ImGuiDockNode* node)", + "call_args": "(ctx,node)", + "cimguiname": "igDockContextProcessUndockNode", + "defaults": {}, + "funcname": "DockContextProcessUndockNode", + "location": "imgui_internal:3492", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextProcessUndockNode", + "ret": "void", + "signature": "(ImGuiContext*,ImGuiDockNode*)", + "stname": "" + } + ], + "igDockContextProcessUndockWindow": [ + { + "args": "(ImGuiContext* ctx,ImGuiWindow* window,bool clear_persistent_docking_ref)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + }, + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "clear_persistent_docking_ref", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiContext* ctx,ImGuiWindow* window,bool clear_persistent_docking_ref=true)", + "call_args": "(ctx,window,clear_persistent_docking_ref)", + "cimguiname": "igDockContextProcessUndockWindow", + "defaults": { + "clear_persistent_docking_ref": "true" + }, + "funcname": "DockContextProcessUndockWindow", + "location": "imgui_internal:3491", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextProcessUndockWindow", + "ret": "void", + "signature": "(ImGuiContext*,ImGuiWindow*,bool)", + "stname": "" + } + ], + "igDockContextQueueDock": [ + { + "args": "(ImGuiContext* ctx,ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,float split_ratio,bool split_outer)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + }, + { + "name": "target", + "type": "ImGuiWindow*" + }, + { + "name": "target_node", + "type": "ImGuiDockNode*" + }, + { + "name": "payload", + "type": "ImGuiWindow*" + }, + { + "name": "split_dir", + "type": "ImGuiDir" + }, + { + "name": "split_ratio", + "type": "float" + }, + { + "name": "split_outer", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiContext* ctx,ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,float split_ratio,bool split_outer)", + "call_args": "(ctx,target,target_node,payload,split_dir,split_ratio,split_outer)", + "cimguiname": "igDockContextQueueDock", + "defaults": {}, + "funcname": "DockContextQueueDock", + "location": "imgui_internal:3488", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextQueueDock", + "ret": "void", + "signature": "(ImGuiContext*,ImGuiWindow*,ImGuiDockNode*,ImGuiWindow*,ImGuiDir,float,bool)", + "stname": "" + } + ], + "igDockContextQueueUndockNode": [ + { + "args": "(ImGuiContext* ctx,ImGuiDockNode* node)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + }, + { + "name": "node", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "(ImGuiContext* ctx,ImGuiDockNode* node)", + "call_args": "(ctx,node)", + "cimguiname": "igDockContextQueueUndockNode", + "defaults": {}, + "funcname": "DockContextQueueUndockNode", + "location": "imgui_internal:3490", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextQueueUndockNode", + "ret": "void", + "signature": "(ImGuiContext*,ImGuiDockNode*)", + "stname": "" + } + ], + "igDockContextQueueUndockWindow": [ + { + "args": "(ImGuiContext* ctx,ImGuiWindow* window)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + }, + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiContext* ctx,ImGuiWindow* window)", + "call_args": "(ctx,window)", + "cimguiname": "igDockContextQueueUndockWindow", + "defaults": {}, + "funcname": "DockContextQueueUndockWindow", + "location": "imgui_internal:3489", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextQueueUndockWindow", + "ret": "void", + "signature": "(ImGuiContext*,ImGuiWindow*)", + "stname": "" + } + ], + "igDockContextRebuildNodes": [ + { + "args": "(ImGuiContext* ctx)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + } + ], + "argsoriginal": "(ImGuiContext* ctx)", + "call_args": "(ctx)", + "cimguiname": "igDockContextRebuildNodes", + "defaults": {}, + "funcname": "DockContextRebuildNodes", + "location": "imgui_internal:3483", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextRebuildNodes", + "ret": "void", + "signature": "(ImGuiContext*)", + "stname": "" + } + ], + "igDockContextShutdown": [ + { + "args": "(ImGuiContext* ctx)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + } + ], + "argsoriginal": "(ImGuiContext* ctx)", + "call_args": "(ctx)", + "cimguiname": "igDockContextShutdown", + "defaults": {}, + "funcname": "DockContextShutdown", + "location": "imgui_internal:3481", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextShutdown", + "ret": "void", + "signature": "(ImGuiContext*)", + "stname": "" + } + ], + "igDockNodeBeginAmendTabBar": [ + { + "args": "(ImGuiDockNode* node)", + "argsT": [ + { + "name": "node", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "(ImGuiDockNode* node)", + "call_args": "(node)", + "cimguiname": "igDockNodeBeginAmendTabBar", + "defaults": {}, + "funcname": "DockNodeBeginAmendTabBar", + "location": "imgui_internal:3496", + "namespace": "ImGui", + "ov_cimguiname": "igDockNodeBeginAmendTabBar", + "ret": "bool", + "signature": "(ImGuiDockNode*)", + "stname": "" + } + ], + "igDockNodeEndAmendTabBar": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igDockNodeEndAmendTabBar", + "defaults": {}, + "funcname": "DockNodeEndAmendTabBar", + "location": "imgui_internal:3497", + "namespace": "ImGui", + "ov_cimguiname": "igDockNodeEndAmendTabBar", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igDockNodeGetDepth": [ + { + "args": "(const ImGuiDockNode* node)", + "argsT": [ + { + "name": "node", + "type": "const ImGuiDockNode*" + } + ], + "argsoriginal": "(const ImGuiDockNode* node)", + "call_args": "(node)", + "cimguiname": "igDockNodeGetDepth", + "defaults": {}, + "funcname": "DockNodeGetDepth", + "location": "imgui_internal:3500", + "namespace": "ImGui", + "ov_cimguiname": "igDockNodeGetDepth", + "ret": "int", + "signature": "(const ImGuiDockNode*)", + "stname": "" + } + ], + "igDockNodeGetRootNode": [ + { + "args": "(ImGuiDockNode* node)", + "argsT": [ + { + "name": "node", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "(ImGuiDockNode* node)", + "call_args": "(node)", + "cimguiname": "igDockNodeGetRootNode", + "defaults": {}, + "funcname": "DockNodeGetRootNode", + "location": "imgui_internal:3498", + "namespace": "ImGui", + "ov_cimguiname": "igDockNodeGetRootNode", + "ret": "ImGuiDockNode*", + "signature": "(ImGuiDockNode*)", + "stname": "" + } + ], + "igDockNodeGetWindowMenuButtonId": [ + { + "args": "(const ImGuiDockNode* node)", + "argsT": [ + { + "name": "node", + "type": "const ImGuiDockNode*" + } + ], + "argsoriginal": "(const ImGuiDockNode* node)", + "call_args": "(node)", + "cimguiname": "igDockNodeGetWindowMenuButtonId", + "defaults": {}, + "funcname": "DockNodeGetWindowMenuButtonId", + "location": "imgui_internal:3501", + "namespace": "ImGui", + "ov_cimguiname": "igDockNodeGetWindowMenuButtonId", + "ret": "ImGuiID", + "signature": "(const ImGuiDockNode*)", + "stname": "" + } + ], + "igDockNodeIsInHierarchyOf": [ + { + "args": "(ImGuiDockNode* node,ImGuiDockNode* parent)", + "argsT": [ + { + "name": "node", + "type": "ImGuiDockNode*" + }, + { + "name": "parent", + "type": "ImGuiDockNode*" + } + ], + "argsoriginal": "(ImGuiDockNode* node,ImGuiDockNode* parent)", + "call_args": "(node,parent)", + "cimguiname": "igDockNodeIsInHierarchyOf", + "defaults": {}, + "funcname": "DockNodeIsInHierarchyOf", + "location": "imgui_internal:3499", + "namespace": "ImGui", + "ov_cimguiname": "igDockNodeIsInHierarchyOf", + "ret": "bool", + "signature": "(ImGuiDockNode*,ImGuiDockNode*)", + "stname": "" + } + ], + "igDockNodeWindowMenuHandler_Default": [ + { + "args": "(ImGuiContext* ctx,ImGuiDockNode* node,ImGuiTabBar* tab_bar)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + }, + { + "name": "node", + "type": "ImGuiDockNode*" + }, + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + } + ], + "argsoriginal": "(ImGuiContext* ctx,ImGuiDockNode* node,ImGuiTabBar* tab_bar)", + "call_args": "(ctx,node,tab_bar)", + "cimguiname": "igDockNodeWindowMenuHandler_Default", + "defaults": {}, + "funcname": "DockNodeWindowMenuHandler_Default", + "location": "imgui_internal:3495", + "namespace": "ImGui", + "ov_cimguiname": "igDockNodeWindowMenuHandler_Default", + "ret": "void", + "signature": "(ImGuiContext*,ImGuiDockNode*,ImGuiTabBar*)", + "stname": "" + } + ], + "igDockSpace": [ + { + "args": "(ImGuiID dockspace_id,const ImVec2 size,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class)", + "argsT": [ + { + "name": "dockspace_id", + "type": "ImGuiID" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "flags", + "type": "ImGuiDockNodeFlags" + }, + { + "name": "window_class", + "type": "const ImGuiWindowClass*" + } + ], + "argsoriginal": "(ImGuiID dockspace_id,const ImVec2& size=ImVec2(0,0),ImGuiDockNodeFlags flags=0,const ImGuiWindowClass* window_class=((void*)0))", + "call_args": "(dockspace_id,size,flags,window_class)", + "cimguiname": "igDockSpace", + "defaults": { + "flags": "0", + "size": "ImVec2(0,0)", + "window_class": "NULL" + }, + "funcname": "DockSpace", + "location": "imgui:889", + "namespace": "ImGui", + "ov_cimguiname": "igDockSpace", + "ret": "ImGuiID", + "signature": "(ImGuiID,const ImVec2,ImGuiDockNodeFlags,const ImGuiWindowClass*)", + "stname": "" + } + ], + "igDockSpaceOverViewport": [ + { + "args": "(ImGuiID dockspace_id,const ImGuiViewport* viewport,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class)", + "argsT": [ + { + "name": "dockspace_id", + "type": "ImGuiID" + }, + { + "name": "viewport", + "type": "const ImGuiViewport*" + }, + { + "name": "flags", + "type": "ImGuiDockNodeFlags" + }, + { + "name": "window_class", + "type": "const ImGuiWindowClass*" + } + ], + "argsoriginal": "(ImGuiID dockspace_id=0,const ImGuiViewport* viewport=((void*)0),ImGuiDockNodeFlags flags=0,const ImGuiWindowClass* window_class=((void*)0))", + "call_args": "(dockspace_id,viewport,flags,window_class)", + "cimguiname": "igDockSpaceOverViewport", + "defaults": { + "dockspace_id": "0", + "flags": "0", + "viewport": "NULL", + "window_class": "NULL" + }, + "funcname": "DockSpaceOverViewport", + "location": "imgui:890", + "namespace": "ImGui", + "ov_cimguiname": "igDockSpaceOverViewport", + "ret": "ImGuiID", + "signature": "(ImGuiID,const ImGuiViewport*,ImGuiDockNodeFlags,const ImGuiWindowClass*)", + "stname": "" + } + ], + "igDragBehavior": [ + { + "args": "(ImGuiID id,ImGuiDataType data_type,void* p_v,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_v", + "type": "void*" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "p_min", + "type": "const void*" + }, + { + "name": "p_max", + "type": "const void*" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(ImGuiID id,ImGuiDataType data_type,void* p_v,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)", + "call_args": "(id,data_type,p_v,v_speed,p_min,p_max,format,flags)", + "cimguiname": "igDragBehavior", + "defaults": {}, + "funcname": "DragBehavior", + "location": "imgui_internal:3713", + "namespace": "ImGui", + "ov_cimguiname": "igDragBehavior", + "ret": "bool", + "signature": "(ImGuiID,ImGuiDataType,void*,float,const void*,const void*,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igDragFloat": [ + { + "args": "(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float*" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "v_min", + "type": "float" + }, + { + "name": "v_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", + "cimguiname": "igDragFloat", + "defaults": { + "flags": "0", + "format": "\"%.3f\"", + "v_max": "0.0f", + "v_min": "0.0f", + "v_speed": "1.0f" + }, + "funcname": "DragFloat", + "location": "imgui:600", + "namespace": "ImGui", + "ov_cimguiname": "igDragFloat", + "ret": "bool", + "signature": "(const char*,float*,float,float,float,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igDragFloat2": [ + { + "args": "(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[2]" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "v_min", + "type": "float" + }, + { + "name": "v_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", + "cimguiname": "igDragFloat2", + "defaults": { + "flags": "0", + "format": "\"%.3f\"", + "v_max": "0.0f", + "v_min": "0.0f", + "v_speed": "1.0f" + }, + "funcname": "DragFloat2", + "location": "imgui:601", + "namespace": "ImGui", + "ov_cimguiname": "igDragFloat2", + "ret": "bool", + "signature": "(const char*,float[2],float,float,float,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igDragFloat3": [ + { + "args": "(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[3]" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "v_min", + "type": "float" + }, + { + "name": "v_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", + "cimguiname": "igDragFloat3", + "defaults": { + "flags": "0", + "format": "\"%.3f\"", + "v_max": "0.0f", + "v_min": "0.0f", + "v_speed": "1.0f" + }, + "funcname": "DragFloat3", + "location": "imgui:602", + "namespace": "ImGui", + "ov_cimguiname": "igDragFloat3", + "ret": "bool", + "signature": "(const char*,float[3],float,float,float,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igDragFloat4": [ + { + "args": "(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[4]" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "v_min", + "type": "float" + }, + { + "name": "v_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", + "cimguiname": "igDragFloat4", + "defaults": { + "flags": "0", + "format": "\"%.3f\"", + "v_max": "0.0f", + "v_min": "0.0f", + "v_speed": "1.0f" + }, + "funcname": "DragFloat4", + "location": "imgui:603", + "namespace": "ImGui", + "ov_cimguiname": "igDragFloat4", + "ret": "bool", + "signature": "(const char*,float[4],float,float,float,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igDragFloatRange2": [ + { + "args": "(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v_current_min", + "type": "float*" + }, + { + "name": "v_current_max", + "type": "float*" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "v_min", + "type": "float" + }, + { + "name": "v_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "format_max", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void*)0),ImGuiSliderFlags flags=0)", + "call_args": "(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,flags)", + "cimguiname": "igDragFloatRange2", + "defaults": { + "flags": "0", + "format": "\"%.3f\"", + "format_max": "NULL", + "v_max": "0.0f", + "v_min": "0.0f", + "v_speed": "1.0f" + }, + "funcname": "DragFloatRange2", + "location": "imgui:604", + "namespace": "ImGui", + "ov_cimguiname": "igDragFloatRange2", + "ret": "bool", + "signature": "(const char*,float*,float*,float,float,float,const char*,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igDragInt": [ + { + "args": "(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int*" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", + "cimguiname": "igDragInt", + "defaults": { + "flags": "0", + "format": "\"%d\"", + "v_max": "0", + "v_min": "0", + "v_speed": "1.0f" + }, + "funcname": "DragInt", + "location": "imgui:605", + "namespace": "ImGui", + "ov_cimguiname": "igDragInt", + "ret": "bool", + "signature": "(const char*,int*,float,int,int,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igDragInt2": [ + { + "args": "(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[2]" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", + "cimguiname": "igDragInt2", + "defaults": { + "flags": "0", + "format": "\"%d\"", + "v_max": "0", + "v_min": "0", + "v_speed": "1.0f" + }, + "funcname": "DragInt2", + "location": "imgui:606", + "namespace": "ImGui", + "ov_cimguiname": "igDragInt2", + "ret": "bool", + "signature": "(const char*,int[2],float,int,int,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igDragInt3": [ + { + "args": "(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[3]" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", + "cimguiname": "igDragInt3", + "defaults": { + "flags": "0", + "format": "\"%d\"", + "v_max": "0", + "v_min": "0", + "v_speed": "1.0f" + }, + "funcname": "DragInt3", + "location": "imgui:607", + "namespace": "ImGui", + "ov_cimguiname": "igDragInt3", + "ret": "bool", + "signature": "(const char*,int[3],float,int,int,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igDragInt4": [ + { + "args": "(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[4]" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_speed,v_min,v_max,format,flags)", + "cimguiname": "igDragInt4", + "defaults": { + "flags": "0", + "format": "\"%d\"", + "v_max": "0", + "v_min": "0", + "v_speed": "1.0f" + }, + "funcname": "DragInt4", + "location": "imgui:608", + "namespace": "ImGui", + "ov_cimguiname": "igDragInt4", + "ret": "bool", + "signature": "(const char*,int[4],float,int,int,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igDragIntRange2": [ + { + "args": "(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v_current_min", + "type": "int*" + }, + { + "name": "v_current_max", + "type": "int*" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "format_max", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void*)0),ImGuiSliderFlags flags=0)", + "call_args": "(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,flags)", + "cimguiname": "igDragIntRange2", + "defaults": { + "flags": "0", + "format": "\"%d\"", + "format_max": "NULL", + "v_max": "0", + "v_min": "0", + "v_speed": "1.0f" + }, + "funcname": "DragIntRange2", + "location": "imgui:609", + "namespace": "ImGui", + "ov_cimguiname": "igDragIntRange2", + "ret": "bool", + "signature": "(const char*,int*,int*,float,int,int,const char*,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igDragScalar": [ + { + "args": "(const char* label,ImGuiDataType data_type,void* p_data,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_data", + "type": "void*" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "p_min", + "type": "const void*" + }, + { + "name": "p_max", + "type": "const void*" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,ImGuiDataType data_type,void* p_data,float v_speed=1.0f,const void* p_min=((void*)0),const void* p_max=((void*)0),const char* format=((void*)0),ImGuiSliderFlags flags=0)", + "call_args": "(label,data_type,p_data,v_speed,p_min,p_max,format,flags)", + "cimguiname": "igDragScalar", + "defaults": { + "flags": "0", + "format": "NULL", + "p_max": "NULL", + "p_min": "NULL", + "v_speed": "1.0f" + }, + "funcname": "DragScalar", + "location": "imgui:610", + "namespace": "ImGui", + "ov_cimguiname": "igDragScalar", + "ret": "bool", + "signature": "(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igDragScalarN": [ + { + "args": "(const char* label,ImGuiDataType data_type,void* p_data,int components,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_data", + "type": "void*" + }, + { + "name": "components", + "type": "int" + }, + { + "name": "v_speed", + "type": "float" + }, + { + "name": "p_min", + "type": "const void*" + }, + { + "name": "p_max", + "type": "const void*" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,ImGuiDataType data_type,void* p_data,int components,float v_speed=1.0f,const void* p_min=((void*)0),const void* p_max=((void*)0),const char* format=((void*)0),ImGuiSliderFlags flags=0)", + "call_args": "(label,data_type,p_data,components,v_speed,p_min,p_max,format,flags)", + "cimguiname": "igDragScalarN", + "defaults": { + "flags": "0", + "format": "NULL", + "p_max": "NULL", + "p_min": "NULL", + "v_speed": "1.0f" + }, + "funcname": "DragScalarN", + "location": "imgui:611", + "namespace": "ImGui", + "ov_cimguiname": "igDragScalarN", + "ret": "bool", + "signature": "(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igDummy": [ + { + "args": "(const ImVec2 size)", + "argsT": [ + { + "name": "size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& size)", + "call_args": "(size)", + "cimguiname": "igDummy", + "defaults": {}, + "funcname": "Dummy", + "location": "imgui:506", + "namespace": "ImGui", + "ov_cimguiname": "igDummy", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "" + } + ], + "igEnd": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEnd", + "defaults": {}, + "funcname": "End", + "location": "imgui:375", + "namespace": "ImGui", + "ov_cimguiname": "igEnd", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndBoxSelect": [ + { + "args": "(const ImRect scope_rect,ImGuiMultiSelectFlags ms_flags)", + "argsT": [ + { + "name": "scope_rect", + "type": "const ImRect" + }, + { + "name": "ms_flags", + "type": "ImGuiMultiSelectFlags" + } + ], + "argsoriginal": "(const ImRect& scope_rect,ImGuiMultiSelectFlags ms_flags)", + "call_args": "(scope_rect,ms_flags)", + "cimguiname": "igEndBoxSelect", + "defaults": {}, + "funcname": "EndBoxSelect", + "location": "imgui_internal:3562", + "namespace": "ImGui", + "ov_cimguiname": "igEndBoxSelect", + "ret": "void", + "signature": "(const ImRect,ImGuiMultiSelectFlags)", + "stname": "" + } + ], + "igEndChild": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndChild", + "defaults": {}, + "funcname": "EndChild", + "location": "imgui:397", + "namespace": "ImGui", + "ov_cimguiname": "igEndChild", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndColumns": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndColumns", + "defaults": {}, + "funcname": "EndColumns", + "location": "imgui_internal:3575", + "namespace": "ImGui", + "ov_cimguiname": "igEndColumns", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndCombo": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndCombo", + "defaults": {}, + "funcname": "EndCombo", + "location": "imgui:583", + "namespace": "ImGui", + "ov_cimguiname": "igEndCombo", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndComboPreview": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndComboPreview", + "defaults": {}, + "funcname": "EndComboPreview", + "location": "imgui_internal:3366", + "namespace": "ImGui", + "ov_cimguiname": "igEndComboPreview", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndDisabled": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndDisabled", + "defaults": {}, + "funcname": "EndDisabled", + "location": "imgui:925", + "namespace": "ImGui", + "ov_cimguiname": "igEndDisabled", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndDisabledOverrideReenable": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndDisabledOverrideReenable", + "defaults": {}, + "funcname": "EndDisabledOverrideReenable", + "location": "imgui_internal:3329", + "namespace": "ImGui", + "ov_cimguiname": "igEndDisabledOverrideReenable", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndDragDropSource": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndDragDropSource", + "defaults": {}, + "funcname": "EndDragDropSource", + "location": "imgui:913", + "namespace": "ImGui", + "ov_cimguiname": "igEndDragDropSource", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndDragDropTarget": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndDragDropTarget", + "defaults": {}, + "funcname": "EndDragDropTarget", + "location": "imgui:916", + "namespace": "ImGui", + "ov_cimguiname": "igEndDragDropTarget", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndErrorTooltip": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndErrorTooltip", + "defaults": {}, + "funcname": "EndErrorTooltip", + "location": "imgui_internal:3778", + "namespace": "ImGui", + "ov_cimguiname": "igEndErrorTooltip", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndFrame": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndFrame", + "defaults": {}, + "funcname": "EndFrame", + "location": "imgui:341", + "namespace": "ImGui", + "ov_cimguiname": "igEndFrame", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndGroup": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndGroup", + "defaults": {}, + "funcname": "EndGroup", + "location": "imgui:510", + "namespace": "ImGui", + "ov_cimguiname": "igEndGroup", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndListBox": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndListBox", + "defaults": {}, + "funcname": "EndListBox", + "location": "imgui:708", + "namespace": "ImGui", + "ov_cimguiname": "igEndListBox", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndMainMenuBar": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndMainMenuBar", + "defaults": {}, + "funcname": "EndMainMenuBar", + "location": "imgui:734", + "namespace": "ImGui", + "ov_cimguiname": "igEndMainMenuBar", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndMenu": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndMenu", + "defaults": {}, + "funcname": "EndMenu", + "location": "imgui:736", + "namespace": "ImGui", + "ov_cimguiname": "igEndMenu", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndMenuBar": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndMenuBar", + "defaults": {}, + "funcname": "EndMenuBar", + "location": "imgui:732", + "namespace": "ImGui", + "ov_cimguiname": "igEndMenuBar", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndMultiSelect": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndMultiSelect", + "defaults": {}, + "funcname": "EndMultiSelect", + "location": "imgui:697", + "namespace": "ImGui", + "ov_cimguiname": "igEndMultiSelect", + "ret": "ImGuiMultiSelectIO*", + "signature": "()", + "stname": "" + } + ], + "igEndPopup": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndPopup", + "defaults": {}, + "funcname": "EndPopup", + "location": "imgui:769", + "namespace": "ImGui", + "ov_cimguiname": "igEndPopup", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndTabBar": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndTabBar", + "defaults": {}, + "funcname": "EndTabBar", + "location": "imgui:870", + "namespace": "ImGui", + "ov_cimguiname": "igEndTabBar", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndTabItem": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndTabItem", + "defaults": {}, + "funcname": "EndTabItem", + "location": "imgui:872", + "namespace": "ImGui", + "ov_cimguiname": "igEndTabItem", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndTable": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndTable", + "defaults": {}, + "funcname": "EndTable", + "location": "imgui:821", + "namespace": "ImGui", + "ov_cimguiname": "igEndTable", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igEndTooltip": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igEndTooltip", + "defaults": {}, + "funcname": "EndTooltip", + "location": "imgui:745", + "namespace": "ImGui", + "ov_cimguiname": "igEndTooltip", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igErrorCheckEndFrameFinalizeErrorTooltip": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igErrorCheckEndFrameFinalizeErrorTooltip", + "defaults": {}, + "funcname": "ErrorCheckEndFrameFinalizeErrorTooltip", + "location": "imgui_internal:3776", + "namespace": "ImGui", + "ov_cimguiname": "igErrorCheckEndFrameFinalizeErrorTooltip", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igErrorCheckUsingSetCursorPosToExtendParentBoundaries": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igErrorCheckUsingSetCursorPosToExtendParentBoundaries", + "defaults": {}, + "funcname": "ErrorCheckUsingSetCursorPosToExtendParentBoundaries", + "location": "imgui_internal:3775", + "namespace": "ImGui", + "ov_cimguiname": "igErrorCheckUsingSetCursorPosToExtendParentBoundaries", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igErrorLog": [ + { + "args": "(const char* msg)", + "argsT": [ + { + "name": "msg", + "type": "const char*" + } + ], + "argsoriginal": "(const char* msg)", + "call_args": "(msg)", + "cimguiname": "igErrorLog", + "defaults": {}, + "funcname": "ErrorLog", + "location": "imgui_internal:3771", + "namespace": "ImGui", + "ov_cimguiname": "igErrorLog", + "ret": "bool", + "signature": "(const char*)", + "stname": "" + } + ], + "igErrorRecoveryStoreState": [ + { + "args": "(ImGuiErrorRecoveryState* state_out)", + "argsT": [ + { + "name": "state_out", + "type": "ImGuiErrorRecoveryState*" + } + ], + "argsoriginal": "(ImGuiErrorRecoveryState* state_out)", + "call_args": "(state_out)", + "cimguiname": "igErrorRecoveryStoreState", + "defaults": {}, + "funcname": "ErrorRecoveryStoreState", + "location": "imgui_internal:3772", + "namespace": "ImGui", + "ov_cimguiname": "igErrorRecoveryStoreState", + "ret": "void", + "signature": "(ImGuiErrorRecoveryState*)", + "stname": "" + } + ], + "igErrorRecoveryTryToRecoverState": [ + { + "args": "(const ImGuiErrorRecoveryState* state_in)", + "argsT": [ + { + "name": "state_in", + "type": "const ImGuiErrorRecoveryState*" + } + ], + "argsoriginal": "(const ImGuiErrorRecoveryState* state_in)", + "call_args": "(state_in)", + "cimguiname": "igErrorRecoveryTryToRecoverState", + "defaults": {}, + "funcname": "ErrorRecoveryTryToRecoverState", + "location": "imgui_internal:3773", + "namespace": "ImGui", + "ov_cimguiname": "igErrorRecoveryTryToRecoverState", + "ret": "void", + "signature": "(const ImGuiErrorRecoveryState*)", + "stname": "" + } + ], + "igErrorRecoveryTryToRecoverWindowState": [ + { + "args": "(const ImGuiErrorRecoveryState* state_in)", + "argsT": [ + { + "name": "state_in", + "type": "const ImGuiErrorRecoveryState*" + } + ], + "argsoriginal": "(const ImGuiErrorRecoveryState* state_in)", + "call_args": "(state_in)", + "cimguiname": "igErrorRecoveryTryToRecoverWindowState", + "defaults": {}, + "funcname": "ErrorRecoveryTryToRecoverWindowState", + "location": "imgui_internal:3774", + "namespace": "ImGui", + "ov_cimguiname": "igErrorRecoveryTryToRecoverWindowState", + "ret": "void", + "signature": "(const ImGuiErrorRecoveryState*)", + "stname": "" + } + ], + "igFindBestWindowPosForPopup": [ + { + "args": "(ImVec2 *pOut,ImGuiWindow* window)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igFindBestWindowPosForPopup", + "defaults": {}, + "funcname": "FindBestWindowPosForPopup", + "location": "imgui_internal:3351", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igFindBestWindowPosForPopup", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igFindBestWindowPosForPopupEx": [ + { + "args": "(ImVec2 *pOut,const ImVec2 ref_pos,const ImVec2 size,ImGuiDir* last_dir,const ImRect r_outer,const ImRect r_avoid,ImGuiPopupPositionPolicy policy)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "ref_pos", + "type": "const ImVec2" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "last_dir", + "type": "ImGuiDir*" + }, + { + "name": "r_outer", + "type": "const ImRect" + }, + { + "name": "r_avoid", + "type": "const ImRect" + }, + { + "name": "policy", + "type": "ImGuiPopupPositionPolicy" + } + ], + "argsoriginal": "(const ImVec2& ref_pos,const ImVec2& size,ImGuiDir* last_dir,const ImRect& r_outer,const ImRect& r_avoid,ImGuiPopupPositionPolicy policy)", + "call_args": "(ref_pos,size,last_dir,r_outer,r_avoid,policy)", + "cimguiname": "igFindBestWindowPosForPopupEx", + "defaults": {}, + "funcname": "FindBestWindowPosForPopupEx", + "location": "imgui_internal:3352", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igFindBestWindowPosForPopupEx", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImGuiDir*,const ImRect,const ImRect,ImGuiPopupPositionPolicy)", + "stname": "" + } + ], + "igFindBlockingModal": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igFindBlockingModal", + "defaults": {}, + "funcname": "FindBlockingModal", + "location": "imgui_internal:3350", + "namespace": "ImGui", + "ov_cimguiname": "igFindBlockingModal", + "ret": "ImGuiWindow*", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igFindBottomMostVisibleWindowWithinBeginStack": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igFindBottomMostVisibleWindowWithinBeginStack", + "defaults": {}, + "funcname": "FindBottomMostVisibleWindowWithinBeginStack", + "location": "imgui_internal:3227", + "namespace": "ImGui", + "ov_cimguiname": "igFindBottomMostVisibleWindowWithinBeginStack", + "ret": "ImGuiWindow*", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igFindHoveredViewportFromPlatformWindowStack": [ + { + "args": "(const ImVec2 mouse_platform_pos)", + "argsT": [ + { + "name": "mouse_platform_pos", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& mouse_platform_pos)", + "call_args": "(mouse_platform_pos)", + "cimguiname": "igFindHoveredViewportFromPlatformWindowStack", + "defaults": {}, + "funcname": "FindHoveredViewportFromPlatformWindowStack", + "location": "imgui_internal:3263", + "namespace": "ImGui", + "ov_cimguiname": "igFindHoveredViewportFromPlatformWindowStack", + "ret": "ImGuiViewportP*", + "signature": "(const ImVec2)", + "stname": "" + } + ], + "igFindHoveredWindowEx": [ + { + "args": "(const ImVec2 pos,bool find_first_and_in_any_viewport,ImGuiWindow** out_hovered_window,ImGuiWindow** out_hovered_window_under_moving_window)", + "argsT": [ + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "find_first_and_in_any_viewport", + "type": "bool" + }, + { + "name": "out_hovered_window", + "type": "ImGuiWindow**" + }, + { + "name": "out_hovered_window_under_moving_window", + "type": "ImGuiWindow**" + } + ], + "argsoriginal": "(const ImVec2& pos,bool find_first_and_in_any_viewport,ImGuiWindow** out_hovered_window,ImGuiWindow** out_hovered_window_under_moving_window)", + "call_args": "(pos,find_first_and_in_any_viewport,out_hovered_window,out_hovered_window_under_moving_window)", + "cimguiname": "igFindHoveredWindowEx", + "defaults": {}, + "funcname": "FindHoveredWindowEx", + "location": "imgui_internal:3245", + "namespace": "ImGui", + "ov_cimguiname": "igFindHoveredWindowEx", + "ret": "void", + "signature": "(const ImVec2,bool,ImGuiWindow**,ImGuiWindow**)", + "stname": "" + } + ], + "igFindOrCreateColumns": [ + { + "args": "(ImGuiWindow* window,ImGuiID id)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiID id)", + "call_args": "(window,id)", + "cimguiname": "igFindOrCreateColumns", + "defaults": {}, + "funcname": "FindOrCreateColumns", + "location": "imgui_internal:3580", + "namespace": "ImGui", + "ov_cimguiname": "igFindOrCreateColumns", + "ret": "ImGuiOldColumns*", + "signature": "(ImGuiWindow*,ImGuiID)", + "stname": "" + } + ], + "igFindRenderedTextEnd": [ + { + "args": "(const char* text,const char* text_end)", + "argsT": [ + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* text,const char* text_end=((void*)0))", + "call_args": "(text,text_end)", + "cimguiname": "igFindRenderedTextEnd", + "defaults": { + "text_end": "NULL" + }, + "funcname": "FindRenderedTextEnd", + "location": "imgui_internal:3678", + "namespace": "ImGui", + "ov_cimguiname": "igFindRenderedTextEnd", + "ret": "const char*", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igFindSettingsHandler": [ + { + "args": "(const char* type_name)", + "argsT": [ + { + "name": "type_name", + "type": "const char*" + } + ], + "argsoriginal": "(const char* type_name)", + "call_args": "(type_name)", + "cimguiname": "igFindSettingsHandler", + "defaults": {}, + "funcname": "FindSettingsHandler", + "location": "imgui_internal:3271", + "namespace": "ImGui", + "ov_cimguiname": "igFindSettingsHandler", + "ret": "ImGuiSettingsHandler*", + "signature": "(const char*)", + "stname": "" + } + ], + "igFindViewportByID": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igFindViewportByID", + "defaults": {}, + "funcname": "FindViewportByID", + "location": "imgui:1091", + "namespace": "ImGui", + "ov_cimguiname": "igFindViewportByID", + "ret": "ImGuiViewport*", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igFindViewportByPlatformHandle": [ + { + "args": "(void* platform_handle)", + "argsT": [ + { + "name": "platform_handle", + "type": "void*" + } + ], + "argsoriginal": "(void* platform_handle)", + "call_args": "(platform_handle)", + "cimguiname": "igFindViewportByPlatformHandle", + "defaults": {}, + "funcname": "FindViewportByPlatformHandle", + "location": "imgui:1092", + "namespace": "ImGui", + "ov_cimguiname": "igFindViewportByPlatformHandle", + "ret": "ImGuiViewport*", + "signature": "(void*)", + "stname": "" + } + ], + "igFindWindowByID": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igFindWindowByID", + "defaults": {}, + "funcname": "FindWindowByID", + "location": "imgui_internal:3199", + "namespace": "ImGui", + "ov_cimguiname": "igFindWindowByID", + "ret": "ImGuiWindow*", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igFindWindowByName": [ + { + "args": "(const char* name)", + "argsT": [ + { + "name": "name", + "type": "const char*" + } + ], + "argsoriginal": "(const char* name)", + "call_args": "(name)", + "cimguiname": "igFindWindowByName", + "defaults": {}, + "funcname": "FindWindowByName", + "location": "imgui_internal:3200", + "namespace": "ImGui", + "ov_cimguiname": "igFindWindowByName", + "ret": "ImGuiWindow*", + "signature": "(const char*)", + "stname": "" + } + ], + "igFindWindowDisplayIndex": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igFindWindowDisplayIndex", + "defaults": {}, + "funcname": "FindWindowDisplayIndex", + "location": "imgui_internal:3226", + "namespace": "ImGui", + "ov_cimguiname": "igFindWindowDisplayIndex", + "ret": "int", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igFindWindowSettingsByID": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igFindWindowSettingsByID", + "defaults": {}, + "funcname": "FindWindowSettingsByID", + "location": "imgui_internal:3275", + "namespace": "ImGui", + "ov_cimguiname": "igFindWindowSettingsByID", + "ret": "ImGuiWindowSettings*", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igFindWindowSettingsByWindow": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igFindWindowSettingsByWindow", + "defaults": {}, + "funcname": "FindWindowSettingsByWindow", + "location": "imgui_internal:3276", + "namespace": "ImGui", + "ov_cimguiname": "igFindWindowSettingsByWindow", + "ret": "ImGuiWindowSettings*", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igFixupKeyChord": [ + { + "args": "(ImGuiKeyChord key_chord)", + "argsT": [ + { + "name": "key_chord", + "type": "ImGuiKeyChord" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord)", + "call_args": "(key_chord)", + "cimguiname": "igFixupKeyChord", + "defaults": {}, + "funcname": "FixupKeyChord", + "location": "imgui_internal:3403", + "namespace": "ImGui", + "ov_cimguiname": "igFixupKeyChord", + "ret": "ImGuiKeyChord", + "signature": "(ImGuiKeyChord)", + "stname": "" + } + ], + "igFocusItem": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igFocusItem", + "defaults": {}, + "funcname": "FocusItem", + "location": "imgui_internal:3390", + "namespace": "ImGui", + "ov_cimguiname": "igFocusItem", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igFocusTopMostWindowUnderOne": [ + { + "args": "(ImGuiWindow* under_this_window,ImGuiWindow* ignore_window,ImGuiViewport* filter_viewport,ImGuiFocusRequestFlags flags)", + "argsT": [ + { + "name": "under_this_window", + "type": "ImGuiWindow*" + }, + { + "name": "ignore_window", + "type": "ImGuiWindow*" + }, + { + "name": "filter_viewport", + "type": "ImGuiViewport*" + }, + { + "name": "flags", + "type": "ImGuiFocusRequestFlags" + } + ], + "argsoriginal": "(ImGuiWindow* under_this_window,ImGuiWindow* ignore_window,ImGuiViewport* filter_viewport,ImGuiFocusRequestFlags flags)", + "call_args": "(under_this_window,ignore_window,filter_viewport,flags)", + "cimguiname": "igFocusTopMostWindowUnderOne", + "defaults": {}, + "funcname": "FocusTopMostWindowUnderOne", + "location": "imgui_internal:3221", + "namespace": "ImGui", + "ov_cimguiname": "igFocusTopMostWindowUnderOne", + "ret": "void", + "signature": "(ImGuiWindow*,ImGuiWindow*,ImGuiViewport*,ImGuiFocusRequestFlags)", + "stname": "" + } + ], + "igFocusWindow": [ + { + "args": "(ImGuiWindow* window,ImGuiFocusRequestFlags flags)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "flags", + "type": "ImGuiFocusRequestFlags" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiFocusRequestFlags flags=0)", + "call_args": "(window,flags)", + "cimguiname": "igFocusWindow", + "defaults": { + "flags": "0" + }, + "funcname": "FocusWindow", + "location": "imgui_internal:3220", + "namespace": "ImGui", + "ov_cimguiname": "igFocusWindow", + "ret": "void", + "signature": "(ImGuiWindow*,ImGuiFocusRequestFlags)", + "stname": "" + } + ], + "igGcAwakeTransientWindowBuffers": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igGcAwakeTransientWindowBuffers", + "defaults": {}, + "funcname": "GcAwakeTransientWindowBuffers", + "location": "imgui_internal:3768", + "namespace": "ImGui", + "ov_cimguiname": "igGcAwakeTransientWindowBuffers", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igGcCompactTransientMiscBuffers": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGcCompactTransientMiscBuffers", + "defaults": {}, + "funcname": "GcCompactTransientMiscBuffers", + "location": "imgui_internal:3766", + "namespace": "ImGui", + "ov_cimguiname": "igGcCompactTransientMiscBuffers", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igGcCompactTransientWindowBuffers": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igGcCompactTransientWindowBuffers", + "defaults": {}, + "funcname": "GcCompactTransientWindowBuffers", + "location": "imgui_internal:3767", + "namespace": "ImGui", + "ov_cimguiname": "igGcCompactTransientWindowBuffers", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igGetActiveID": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetActiveID", + "defaults": {}, + "funcname": "GetActiveID", + "location": "imgui_internal:3300", + "namespace": "ImGui", + "ov_cimguiname": "igGetActiveID", + "ret": "ImGuiID", + "signature": "()", + "stname": "" + } + ], + "igGetAllocatorFunctions": [ + { + "args": "(ImGuiMemAllocFunc* p_alloc_func,ImGuiMemFreeFunc* p_free_func,void** p_user_data)", + "argsT": [ + { + "name": "p_alloc_func", + "type": "ImGuiMemAllocFunc*" + }, + { + "name": "p_free_func", + "type": "ImGuiMemFreeFunc*" + }, + { + "name": "p_user_data", + "type": "void**" + } + ], + "argsoriginal": "(ImGuiMemAllocFunc* p_alloc_func,ImGuiMemFreeFunc* p_free_func,void** p_user_data)", + "call_args": "(p_alloc_func,p_free_func,p_user_data)", + "cimguiname": "igGetAllocatorFunctions", + "defaults": {}, + "funcname": "GetAllocatorFunctions", + "location": "imgui:1081", + "namespace": "ImGui", + "ov_cimguiname": "igGetAllocatorFunctions", + "ret": "void", + "signature": "(ImGuiMemAllocFunc*,ImGuiMemFreeFunc*,void**)", + "stname": "" + } + ], + "igGetBackgroundDrawList": [ + { + "args": "(ImGuiViewport* viewport)", + "argsT": [ + { + "name": "viewport", + "type": "ImGuiViewport*" + } + ], + "argsoriginal": "(ImGuiViewport* viewport=((void*)0))", + "call_args": "(viewport)", + "cimguiname": "igGetBackgroundDrawList", + "defaults": { + "viewport": "NULL" + }, + "funcname": "GetBackgroundDrawList", + "location": "imgui:970", + "namespace": "ImGui", + "ov_cimguiname": "igGetBackgroundDrawList", + "ret": "ImDrawList*", + "signature": "(ImGuiViewport*)", + "stname": "" + } + ], + "igGetBoxSelectState": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igGetBoxSelectState", + "defaults": {}, + "funcname": "GetBoxSelectState", + "location": "imgui_internal:3569", + "namespace": "ImGui", + "ov_cimguiname": "igGetBoxSelectState", + "ret": "ImGuiBoxSelectState*", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igGetClipboardText": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetClipboardText", + "defaults": {}, + "funcname": "GetClipboardText", + "location": "imgui:1053", + "namespace": "ImGui", + "ov_cimguiname": "igGetClipboardText", + "ret": "const char*", + "signature": "()", + "stname": "" + } + ], + "igGetColorU32": [ + { + "args": "(ImGuiCol idx,float alpha_mul)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiCol" + }, + { + "name": "alpha_mul", + "type": "float" + } + ], + "argsoriginal": "(ImGuiCol idx,float alpha_mul=1.0f)", + "call_args": "(idx,alpha_mul)", + "cimguiname": "igGetColorU32", + "defaults": { + "alpha_mul": "1.0f" + }, + "funcname": "GetColorU32", + "location": "imgui:475", + "namespace": "ImGui", + "ov_cimguiname": "igGetColorU32_Col", + "ret": "ImU32", + "signature": "(ImGuiCol,float)", + "stname": "" + }, + { + "args": "(const ImVec4 col)", + "argsT": [ + { + "name": "col", + "type": "const ImVec4" + } + ], + "argsoriginal": "(const ImVec4& col)", + "call_args": "(col)", + "cimguiname": "igGetColorU32", + "defaults": {}, + "funcname": "GetColorU32", + "location": "imgui:476", + "namespace": "ImGui", + "ov_cimguiname": "igGetColorU32_Vec4", + "ret": "ImU32", + "signature": "(const ImVec4)", + "stname": "" + }, + { + "args": "(ImU32 col,float alpha_mul)", + "argsT": [ + { + "name": "col", + "type": "ImU32" + }, + { + "name": "alpha_mul", + "type": "float" + } + ], + "argsoriginal": "(ImU32 col,float alpha_mul=1.0f)", + "call_args": "(col,alpha_mul)", + "cimguiname": "igGetColorU32", + "defaults": { + "alpha_mul": "1.0f" + }, + "funcname": "GetColorU32", + "location": "imgui:477", + "namespace": "ImGui", + "ov_cimguiname": "igGetColorU32_U32", + "ret": "ImU32", + "signature": "(ImU32,float)", + "stname": "" + } + ], + "igGetColumnIndex": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetColumnIndex", + "defaults": {}, + "funcname": "GetColumnIndex", + "location": "imgui:860", + "namespace": "ImGui", + "ov_cimguiname": "igGetColumnIndex", + "ret": "int", + "signature": "()", + "stname": "" + } + ], + "igGetColumnNormFromOffset": [ + { + "args": "(const ImGuiOldColumns* columns,float offset)", + "argsT": [ + { + "name": "columns", + "type": "const ImGuiOldColumns*" + }, + { + "name": "offset", + "type": "float" + } + ], + "argsoriginal": "(const ImGuiOldColumns* columns,float offset)", + "call_args": "(columns,offset)", + "cimguiname": "igGetColumnNormFromOffset", + "defaults": {}, + "funcname": "GetColumnNormFromOffset", + "location": "imgui_internal:3582", + "namespace": "ImGui", + "ov_cimguiname": "igGetColumnNormFromOffset", + "ret": "float", + "signature": "(const ImGuiOldColumns*,float)", + "stname": "" + } + ], + "igGetColumnOffset": [ + { + "args": "(int column_index)", + "argsT": [ + { + "name": "column_index", + "type": "int" + } + ], + "argsoriginal": "(int column_index=-1)", + "call_args": "(column_index)", + "cimguiname": "igGetColumnOffset", + "defaults": { + "column_index": "-1" + }, + "funcname": "GetColumnOffset", + "location": "imgui:863", + "namespace": "ImGui", + "ov_cimguiname": "igGetColumnOffset", + "ret": "float", + "signature": "(int)", + "stname": "" + } + ], + "igGetColumnOffsetFromNorm": [ + { + "args": "(const ImGuiOldColumns* columns,float offset_norm)", + "argsT": [ + { + "name": "columns", + "type": "const ImGuiOldColumns*" + }, + { + "name": "offset_norm", + "type": "float" + } + ], + "argsoriginal": "(const ImGuiOldColumns* columns,float offset_norm)", + "call_args": "(columns,offset_norm)", + "cimguiname": "igGetColumnOffsetFromNorm", + "defaults": {}, + "funcname": "GetColumnOffsetFromNorm", + "location": "imgui_internal:3581", + "namespace": "ImGui", + "ov_cimguiname": "igGetColumnOffsetFromNorm", + "ret": "float", + "signature": "(const ImGuiOldColumns*,float)", + "stname": "" + } + ], + "igGetColumnWidth": [ + { + "args": "(int column_index)", + "argsT": [ + { + "name": "column_index", + "type": "int" + } + ], + "argsoriginal": "(int column_index=-1)", + "call_args": "(column_index)", + "cimguiname": "igGetColumnWidth", + "defaults": { + "column_index": "-1" + }, + "funcname": "GetColumnWidth", + "location": "imgui:861", + "namespace": "ImGui", + "ov_cimguiname": "igGetColumnWidth", + "ret": "float", + "signature": "(int)", + "stname": "" + } + ], + "igGetColumnsCount": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetColumnsCount", + "defaults": {}, + "funcname": "GetColumnsCount", + "location": "imgui:865", + "namespace": "ImGui", + "ov_cimguiname": "igGetColumnsCount", + "ret": "int", + "signature": "()", + "stname": "" + } + ], + "igGetColumnsID": [ + { + "args": "(const char* str_id,int count)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "count", + "type": "int" + } + ], + "argsoriginal": "(const char* str_id,int count)", + "call_args": "(str_id,count)", + "cimguiname": "igGetColumnsID", + "defaults": {}, + "funcname": "GetColumnsID", + "location": "imgui_internal:3579", + "namespace": "ImGui", + "ov_cimguiname": "igGetColumnsID", + "ret": "ImGuiID", + "signature": "(const char*,int)", + "stname": "" + } + ], + "igGetContentRegionAvail": [ + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetContentRegionAvail", + "defaults": {}, + "funcname": "GetContentRegionAvail", + "location": "imgui:492", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetContentRegionAvail", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igGetCurrentContext": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCurrentContext", + "defaults": {}, + "funcname": "GetCurrentContext", + "location": "imgui:333", + "namespace": "ImGui", + "ov_cimguiname": "igGetCurrentContext", + "ret": "ImGuiContext*", + "signature": "()", + "stname": "" + } + ], + "igGetCurrentFocusScope": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCurrentFocusScope", + "defaults": {}, + "funcname": "GetCurrentFocusScope", + "location": "imgui_internal:3543", + "namespace": "ImGui", + "ov_cimguiname": "igGetCurrentFocusScope", + "ret": "ImGuiID", + "signature": "()", + "stname": "" + } + ], + "igGetCurrentTabBar": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCurrentTabBar", + "defaults": {}, + "funcname": "GetCurrentTabBar", + "location": "imgui_internal:3641", + "namespace": "ImGui", + "ov_cimguiname": "igGetCurrentTabBar", + "ret": "ImGuiTabBar*", + "signature": "()", + "stname": "" + } + ], + "igGetCurrentTable": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCurrentTable", + "defaults": {}, + "funcname": "GetCurrentTable", + "location": "imgui_internal:3596", + "namespace": "ImGui", + "ov_cimguiname": "igGetCurrentTable", + "ret": "ImGuiTable*", + "signature": "()", + "stname": "" + } + ], + "igGetCurrentWindow": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCurrentWindow", + "defaults": {}, + "funcname": "GetCurrentWindow", + "location": "imgui_internal:3198", + "namespace": "ImGui", + "ov_cimguiname": "igGetCurrentWindow", + "ret": "ImGuiWindow*", + "signature": "()", + "stname": "" + } + ], + "igGetCurrentWindowRead": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCurrentWindowRead", + "defaults": {}, + "funcname": "GetCurrentWindowRead", + "location": "imgui_internal:3197", + "namespace": "ImGui", + "ov_cimguiname": "igGetCurrentWindowRead", + "ret": "ImGuiWindow*", + "signature": "()", + "stname": "" + } + ], + "igGetCursorPos": [ + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorPos", + "defaults": {}, + "funcname": "GetCursorPos", + "location": "imgui:493", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetCursorPos", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igGetCursorPosX": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorPosX", + "defaults": {}, + "funcname": "GetCursorPosX", + "location": "imgui:494", + "namespace": "ImGui", + "ov_cimguiname": "igGetCursorPosX", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetCursorPosY": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorPosY", + "defaults": {}, + "funcname": "GetCursorPosY", + "location": "imgui:495", + "namespace": "ImGui", + "ov_cimguiname": "igGetCursorPosY", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetCursorScreenPos": [ + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorScreenPos", + "defaults": {}, + "funcname": "GetCursorScreenPos", + "location": "imgui:490", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetCursorScreenPos", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igGetCursorStartPos": [ + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCursorStartPos", + "defaults": {}, + "funcname": "GetCursorStartPos", + "location": "imgui:499", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetCursorStartPos", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igGetDefaultFont": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetDefaultFont", + "defaults": {}, + "funcname": "GetDefaultFont", + "location": "imgui_internal:3234", + "namespace": "ImGui", + "ov_cimguiname": "igGetDefaultFont", + "ret": "ImFont*", + "signature": "()", + "stname": "" + } + ], + "igGetDragDropPayload": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetDragDropPayload", + "defaults": {}, + "funcname": "GetDragDropPayload", + "location": "imgui:917", + "namespace": "ImGui", + "ov_cimguiname": "igGetDragDropPayload", + "ret": "const ImGuiPayload*", + "signature": "()", + "stname": "" + } + ], + "igGetDrawData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetDrawData", + "defaults": {}, + "funcname": "GetDrawData", + "location": "imgui:343", + "namespace": "ImGui", + "ov_cimguiname": "igGetDrawData", + "ret": "ImDrawData*", + "signature": "()", + "stname": "" + } + ], + "igGetDrawListSharedData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetDrawListSharedData", + "defaults": {}, + "funcname": "GetDrawListSharedData", + "location": "imgui:978", + "namespace": "ImGui", + "ov_cimguiname": "igGetDrawListSharedData", + "ret": "ImDrawListSharedData*", + "signature": "()", + "stname": "" + } + ], + "igGetFocusID": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFocusID", + "defaults": {}, + "funcname": "GetFocusID", + "location": "imgui_internal:3301", + "namespace": "ImGui", + "ov_cimguiname": "igGetFocusID", + "ret": "ImGuiID", + "signature": "()", + "stname": "" + } + ], + "igGetFont": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFont", + "defaults": {}, + "funcname": "GetFont", + "location": "imgui:472", + "namespace": "ImGui", + "ov_cimguiname": "igGetFont", + "ret": "ImFont*", + "signature": "()", + "stname": "" + } + ], + "igGetFontSize": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFontSize", + "defaults": {}, + "funcname": "GetFontSize", + "location": "imgui:473", + "namespace": "ImGui", + "ov_cimguiname": "igGetFontSize", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetFontTexUvWhitePixel": [ + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFontTexUvWhitePixel", + "defaults": {}, + "funcname": "GetFontTexUvWhitePixel", + "location": "imgui:474", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetFontTexUvWhitePixel", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igGetForegroundDrawList": [ + { + "args": "(ImGuiViewport* viewport)", + "argsT": [ + { + "name": "viewport", + "type": "ImGuiViewport*" + } + ], + "argsoriginal": "(ImGuiViewport* viewport=((void*)0))", + "call_args": "(viewport)", + "cimguiname": "igGetForegroundDrawList", + "defaults": { + "viewport": "NULL" + }, + "funcname": "GetForegroundDrawList", + "location": "imgui:971", + "namespace": "ImGui", + "ov_cimguiname": "igGetForegroundDrawList_ViewportPtr", + "ret": "ImDrawList*", + "signature": "(ImGuiViewport*)", + "stname": "" + }, + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igGetForegroundDrawList", + "defaults": {}, + "funcname": "GetForegroundDrawList", + "location": "imgui_internal:3235", + "namespace": "ImGui", + "ov_cimguiname": "igGetForegroundDrawList_WindowPtr", + "ret": "ImDrawList*", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igGetFrameCount": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFrameCount", + "defaults": {}, + "funcname": "GetFrameCount", + "location": "imgui:977", + "namespace": "ImGui", + "ov_cimguiname": "igGetFrameCount", + "ret": "int", + "signature": "()", + "stname": "" + } + ], + "igGetFrameHeight": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFrameHeight", + "defaults": {}, + "funcname": "GetFrameHeight", + "location": "imgui:514", + "namespace": "ImGui", + "ov_cimguiname": "igGetFrameHeight", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetFrameHeightWithSpacing": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetFrameHeightWithSpacing", + "defaults": {}, + "funcname": "GetFrameHeightWithSpacing", + "location": "imgui:515", + "namespace": "ImGui", + "ov_cimguiname": "igGetFrameHeightWithSpacing", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetHoveredID": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetHoveredID", + "defaults": {}, + "funcname": "GetHoveredID", + "location": "imgui_internal:3305", + "namespace": "ImGui", + "ov_cimguiname": "igGetHoveredID", + "ret": "ImGuiID", + "signature": "()", + "stname": "" + } + ], + "igGetID": [ + { + "args": "(const char* str_id)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str_id)", + "call_args": "(str_id)", + "cimguiname": "igGetID", + "defaults": {}, + "funcname": "GetID", + "location": "imgui:533", + "namespace": "ImGui", + "ov_cimguiname": "igGetID_Str", + "ret": "ImGuiID", + "signature": "(const char*)", + "stname": "" + }, + { + "args": "(const char* str_id_begin,const char* str_id_end)", + "argsT": [ + { + "name": "str_id_begin", + "type": "const char*" + }, + { + "name": "str_id_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str_id_begin,const char* str_id_end)", + "call_args": "(str_id_begin,str_id_end)", + "cimguiname": "igGetID", + "defaults": {}, + "funcname": "GetID", + "location": "imgui:534", + "namespace": "ImGui", + "ov_cimguiname": "igGetID_StrStr", + "ret": "ImGuiID", + "signature": "(const char*,const char*)", + "stname": "" + }, + { + "args": "(const void* ptr_id)", + "argsT": [ + { + "name": "ptr_id", + "type": "const void*" + } + ], + "argsoriginal": "(const void* ptr_id)", + "call_args": "(ptr_id)", + "cimguiname": "igGetID", + "defaults": {}, + "funcname": "GetID", + "location": "imgui:535", + "namespace": "ImGui", + "ov_cimguiname": "igGetID_Ptr", + "ret": "ImGuiID", + "signature": "(const void*)", + "stname": "" + }, + { + "args": "(int int_id)", + "argsT": [ + { + "name": "int_id", + "type": "int" + } + ], + "argsoriginal": "(int int_id)", + "call_args": "(int_id)", + "cimguiname": "igGetID", + "defaults": {}, + "funcname": "GetID", + "location": "imgui:536", + "namespace": "ImGui", + "ov_cimguiname": "igGetID_Int", + "ret": "ImGuiID", + "signature": "(int)", + "stname": "" + } + ], + "igGetIDWithSeed": [ + { + "args": "(const char* str_id_begin,const char* str_id_end,ImGuiID seed)", + "argsT": [ + { + "name": "str_id_begin", + "type": "const char*" + }, + { + "name": "str_id_end", + "type": "const char*" + }, + { + "name": "seed", + "type": "ImGuiID" + } + ], + "argsoriginal": "(const char* str_id_begin,const char* str_id_end,ImGuiID seed)", + "call_args": "(str_id_begin,str_id_end,seed)", + "cimguiname": "igGetIDWithSeed", + "defaults": {}, + "funcname": "GetIDWithSeed", + "location": "imgui_internal:3310", + "namespace": "ImGui", + "ov_cimguiname": "igGetIDWithSeed_Str", + "ret": "ImGuiID", + "signature": "(const char*,const char*,ImGuiID)", + "stname": "" + }, + { + "args": "(int n,ImGuiID seed)", + "argsT": [ + { + "name": "n", + "type": "int" + }, + { + "name": "seed", + "type": "ImGuiID" + } + ], + "argsoriginal": "(int n,ImGuiID seed)", + "call_args": "(n,seed)", + "cimguiname": "igGetIDWithSeed", + "defaults": {}, + "funcname": "GetIDWithSeed", + "location": "imgui_internal:3311", + "namespace": "ImGui", + "ov_cimguiname": "igGetIDWithSeed_Int", + "ret": "ImGuiID", + "signature": "(int,ImGuiID)", + "stname": "" + } + ], + "igGetIO": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetIO", + "defaults": {}, + "funcname": "GetIO", + "location": "imgui:337", + "namespace": "ImGui", + "ov_cimguiname": "igGetIO", + "ret": "ImGuiIO*", + "retref": "&", + "signature": "()", + "stname": "" + } + ], + "igGetIOEx": [ + { + "args": "(ImGuiContext* ctx)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + } + ], + "argsoriginal": "(ImGuiContext* ctx)", + "call_args": "(ctx)", + "cimguiname": "igGetIOEx", + "defaults": {}, + "funcname": "GetIOEx", + "location": "imgui_internal:3195", + "namespace": "ImGui", + "ov_cimguiname": "igGetIOEx", + "ret": "ImGuiIO*", + "retref": "&", + "signature": "(ImGuiContext*)", + "stname": "" + } + ], + "igGetInputTextState": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igGetInputTextState", + "defaults": {}, + "funcname": "GetInputTextState", + "location": "imgui_internal:3749", + "namespace": "ImGui", + "ov_cimguiname": "igGetInputTextState", + "ret": "ImGuiInputTextState*", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igGetItemFlags": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemFlags", + "defaults": {}, + "funcname": "GetItemFlags", + "location": "imgui_internal:3299", + "namespace": "ImGui", + "ov_cimguiname": "igGetItemFlags", + "ret": "ImGuiItemFlags", + "signature": "()", + "stname": "" + } + ], + "igGetItemID": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemID", + "defaults": {}, + "funcname": "GetItemID", + "location": "imgui:958", + "namespace": "ImGui", + "ov_cimguiname": "igGetItemID", + "ret": "ImGuiID", + "signature": "()", + "stname": "" + } + ], + "igGetItemRectMax": [ + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemRectMax", + "defaults": {}, + "funcname": "GetItemRectMax", + "location": "imgui:960", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetItemRectMax", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igGetItemRectMin": [ + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemRectMin", + "defaults": {}, + "funcname": "GetItemRectMin", + "location": "imgui:959", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetItemRectMin", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igGetItemRectSize": [ + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemRectSize", + "defaults": {}, + "funcname": "GetItemRectSize", + "location": "imgui:961", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetItemRectSize", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igGetItemStatusFlags": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetItemStatusFlags", + "defaults": {}, + "funcname": "GetItemStatusFlags", + "location": "imgui_internal:3298", + "namespace": "ImGui", + "ov_cimguiname": "igGetItemStatusFlags", + "ret": "ImGuiItemStatusFlags", + "signature": "()", + "stname": "" + } + ], + "igGetKeyChordName": [ + { + "args": "(ImGuiKeyChord key_chord)", + "argsT": [ + { + "name": "key_chord", + "type": "ImGuiKeyChord" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord)", + "call_args": "(key_chord)", + "cimguiname": "igGetKeyChordName", + "defaults": {}, + "funcname": "GetKeyChordName", + "location": "imgui_internal:3415", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyChordName", + "ret": "const char*", + "signature": "(ImGuiKeyChord)", + "stname": "" + } + ], + "igGetKeyData": [ + { + "args": "(ImGuiContext* ctx,ImGuiKey key)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + }, + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiContext* ctx,ImGuiKey key)", + "call_args": "(ctx,key)", + "cimguiname": "igGetKeyData", + "defaults": {}, + "funcname": "GetKeyData", + "location": "imgui_internal:3413", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyData_ContextPtr", + "ret": "ImGuiKeyData*", + "signature": "(ImGuiContext*,ImGuiKey)", + "stname": "" + }, + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igGetKeyData", + "defaults": {}, + "funcname": "GetKeyData", + "location": "imgui_internal:3414", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyData_Key", + "ret": "ImGuiKeyData*", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igGetKeyMagnitude2d": [ + { + "args": "(ImVec2 *pOut,ImGuiKey key_left,ImGuiKey key_right,ImGuiKey key_up,ImGuiKey key_down)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "key_left", + "type": "ImGuiKey" + }, + { + "name": "key_right", + "type": "ImGuiKey" + }, + { + "name": "key_up", + "type": "ImGuiKey" + }, + { + "name": "key_down", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key_left,ImGuiKey key_right,ImGuiKey key_up,ImGuiKey key_down)", + "call_args": "(key_left,key_right,key_up,key_down)", + "cimguiname": "igGetKeyMagnitude2d", + "defaults": {}, + "funcname": "GetKeyMagnitude2d", + "location": "imgui_internal:3418", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetKeyMagnitude2d", + "ret": "void", + "signature": "(ImGuiKey,ImGuiKey,ImGuiKey,ImGuiKey)", + "stname": "" + } + ], + "igGetKeyName": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igGetKeyName", + "defaults": {}, + "funcname": "GetKeyName", + "location": "imgui:1001", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyName", + "ret": "const char*", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igGetKeyOwner": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igGetKeyOwner", + "defaults": {}, + "funcname": "GetKeyOwner", + "location": "imgui_internal:3437", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyOwner", + "ret": "ImGuiID", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igGetKeyOwnerData": [ + { + "args": "(ImGuiContext* ctx,ImGuiKey key)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + }, + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiContext* ctx,ImGuiKey key)", + "call_args": "(ctx,key)", + "cimguiname": "igGetKeyOwnerData", + "defaults": {}, + "funcname": "GetKeyOwnerData", + "location": "imgui_internal:3442", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyOwnerData", + "ret": "ImGuiKeyOwnerData*", + "signature": "(ImGuiContext*,ImGuiKey)", + "stname": "" + } + ], + "igGetKeyPressedAmount": [ + { + "args": "(ImGuiKey key,float repeat_delay,float rate)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "repeat_delay", + "type": "float" + }, + { + "name": "rate", + "type": "float" + } + ], + "argsoriginal": "(ImGuiKey key,float repeat_delay,float rate)", + "call_args": "(key,repeat_delay,rate)", + "cimguiname": "igGetKeyPressedAmount", + "defaults": {}, + "funcname": "GetKeyPressedAmount", + "location": "imgui:1000", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyPressedAmount", + "ret": "int", + "signature": "(ImGuiKey,float,float)", + "stname": "" + } + ], + "igGetMainViewport": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetMainViewport", + "defaults": {}, + "funcname": "GetMainViewport", + "location": "imgui:967", + "namespace": "ImGui", + "ov_cimguiname": "igGetMainViewport", + "ret": "ImGuiViewport*", + "signature": "()", + "stname": "" + } + ], + "igGetMouseClickedCount": [ + { + "args": "(ImGuiMouseButton button)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + } + ], + "argsoriginal": "(ImGuiMouseButton button)", + "call_args": "(button)", + "cimguiname": "igGetMouseClickedCount", + "defaults": {}, + "funcname": "GetMouseClickedCount", + "location": "imgui:1038", + "namespace": "ImGui", + "ov_cimguiname": "igGetMouseClickedCount", + "ret": "int", + "signature": "(ImGuiMouseButton)", + "stname": "" + } + ], + "igGetMouseCursor": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetMouseCursor", + "defaults": {}, + "funcname": "GetMouseCursor", + "location": "imgui:1047", + "namespace": "ImGui", + "ov_cimguiname": "igGetMouseCursor", + "ret": "ImGuiMouseCursor", + "signature": "()", + "stname": "" + } + ], + "igGetMouseDragDelta": [ + { + "args": "(ImVec2 *pOut,ImGuiMouseButton button,float lock_threshold)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "button", + "type": "ImGuiMouseButton" + }, + { + "name": "lock_threshold", + "type": "float" + } + ], + "argsoriginal": "(ImGuiMouseButton button=0,float lock_threshold=-1.0f)", + "call_args": "(button,lock_threshold)", + "cimguiname": "igGetMouseDragDelta", + "defaults": { + "button": "0", + "lock_threshold": "-1.0f" + }, + "funcname": "GetMouseDragDelta", + "location": "imgui:1045", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetMouseDragDelta", + "ret": "void", + "signature": "(ImGuiMouseButton,float)", + "stname": "" + } + ], + "igGetMousePos": [ + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetMousePos", + "defaults": {}, + "funcname": "GetMousePos", + "location": "imgui:1042", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetMousePos", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igGetMousePosOnOpeningCurrentPopup": [ + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetMousePosOnOpeningCurrentPopup", + "defaults": {}, + "funcname": "GetMousePosOnOpeningCurrentPopup", + "location": "imgui:1043", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetMousePosOnOpeningCurrentPopup", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igGetMultiSelectState": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igGetMultiSelectState", + "defaults": {}, + "funcname": "GetMultiSelectState", + "location": "imgui_internal:3570", + "namespace": "ImGui", + "ov_cimguiname": "igGetMultiSelectState", + "ret": "ImGuiMultiSelectState*", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igGetNavTweakPressedAmount": [ + { + "args": "(ImGuiAxis axis)", + "argsT": [ + { + "name": "axis", + "type": "ImGuiAxis" + } + ], + "argsoriginal": "(ImGuiAxis axis)", + "call_args": "(axis)", + "cimguiname": "igGetNavTweakPressedAmount", + "defaults": {}, + "funcname": "GetNavTweakPressedAmount", + "location": "imgui_internal:3419", + "namespace": "ImGui", + "ov_cimguiname": "igGetNavTweakPressedAmount", + "ret": "float", + "signature": "(ImGuiAxis)", + "stname": "" + } + ], + "igGetPlatformIO": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetPlatformIO", + "defaults": {}, + "funcname": "GetPlatformIO", + "location": "imgui:338", + "namespace": "ImGui", + "ov_cimguiname": "igGetPlatformIO", + "ret": "ImGuiPlatformIO*", + "retref": "&", + "signature": "()", + "stname": "" + } + ], + "igGetPlatformIOEx": [ + { + "args": "(ImGuiContext* ctx)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + } + ], + "argsoriginal": "(ImGuiContext* ctx)", + "call_args": "(ctx)", + "cimguiname": "igGetPlatformIOEx", + "defaults": {}, + "funcname": "GetPlatformIOEx", + "location": "imgui_internal:3196", + "namespace": "ImGui", + "ov_cimguiname": "igGetPlatformIOEx", + "ret": "ImGuiPlatformIO*", + "retref": "&", + "signature": "(ImGuiContext*)", + "stname": "" + } + ], + "igGetPopupAllowedExtentRect": [ + { + "args": "(ImRect *pOut,ImGuiWindow* window)", + "argsT": [ + { + "name": "pOut", + "type": "ImRect*" + }, + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igGetPopupAllowedExtentRect", + "defaults": {}, + "funcname": "GetPopupAllowedExtentRect", + "location": "imgui_internal:3347", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetPopupAllowedExtentRect", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igGetScrollMaxX": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetScrollMaxX", + "defaults": {}, + "funcname": "GetScrollMaxX", + "location": "imgui:441", + "namespace": "ImGui", + "ov_cimguiname": "igGetScrollMaxX", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetScrollMaxY": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetScrollMaxY", + "defaults": {}, + "funcname": "GetScrollMaxY", + "location": "imgui:442", + "namespace": "ImGui", + "ov_cimguiname": "igGetScrollMaxY", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetScrollX": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetScrollX", + "defaults": {}, + "funcname": "GetScrollX", + "location": "imgui:437", + "namespace": "ImGui", + "ov_cimguiname": "igGetScrollX", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetScrollY": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetScrollY", + "defaults": {}, + "funcname": "GetScrollY", + "location": "imgui:438", + "namespace": "ImGui", + "ov_cimguiname": "igGetScrollY", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetShortcutRoutingData": [ + { + "args": "(ImGuiKeyChord key_chord)", + "argsT": [ + { + "name": "key_chord", + "type": "ImGuiKeyChord" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord)", + "call_args": "(key_chord)", + "cimguiname": "igGetShortcutRoutingData", + "defaults": {}, + "funcname": "GetShortcutRoutingData", + "location": "imgui_internal:3476", + "namespace": "ImGui", + "ov_cimguiname": "igGetShortcutRoutingData", + "ret": "ImGuiKeyRoutingData*", + "signature": "(ImGuiKeyChord)", + "stname": "" + } + ], + "igGetStateStorage": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetStateStorage", + "defaults": {}, + "funcname": "GetStateStorage", + "location": "imgui:981", + "namespace": "ImGui", + "ov_cimguiname": "igGetStateStorage", + "ret": "ImGuiStorage*", + "signature": "()", + "stname": "" + } + ], + "igGetStyle": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetStyle", + "defaults": {}, + "funcname": "GetStyle", + "location": "imgui:339", + "namespace": "ImGui", + "ov_cimguiname": "igGetStyle", + "ret": "ImGuiStyle*", + "retref": "&", + "signature": "()", + "stname": "" + } + ], + "igGetStyleColorName": [ + { + "args": "(ImGuiCol idx)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiCol" + } + ], + "argsoriginal": "(ImGuiCol idx)", + "call_args": "(idx)", + "cimguiname": "igGetStyleColorName", + "defaults": {}, + "funcname": "GetStyleColorName", + "location": "imgui:979", + "namespace": "ImGui", + "ov_cimguiname": "igGetStyleColorName", + "ret": "const char*", + "signature": "(ImGuiCol)", + "stname": "" + } + ], + "igGetStyleColorVec4": [ + { + "args": "(ImGuiCol idx)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiCol" + } + ], + "argsoriginal": "(ImGuiCol idx)", + "call_args": "(idx)", + "cimguiname": "igGetStyleColorVec4", + "defaults": {}, + "funcname": "GetStyleColorVec4", + "location": "imgui:478", + "namespace": "ImGui", + "ov_cimguiname": "igGetStyleColorVec4", + "ret": "const ImVec4*", + "retref": "&", + "signature": "(ImGuiCol)", + "stname": "" + } + ], + "igGetStyleVarInfo": [ + { + "args": "(ImGuiStyleVar idx)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiStyleVar" + } + ], + "argsoriginal": "(ImGuiStyleVar idx)", + "call_args": "(idx)", + "cimguiname": "igGetStyleVarInfo", + "defaults": {}, + "funcname": "GetStyleVarInfo", + "location": "imgui_internal:3327", + "namespace": "ImGui", + "ov_cimguiname": "igGetStyleVarInfo", + "ret": "const ImGuiDataVarInfo*", + "signature": "(ImGuiStyleVar)", + "stname": "" + } + ], + "igGetTextLineHeight": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetTextLineHeight", + "defaults": {}, + "funcname": "GetTextLineHeight", + "location": "imgui:512", + "namespace": "ImGui", + "ov_cimguiname": "igGetTextLineHeight", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetTextLineHeightWithSpacing": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetTextLineHeightWithSpacing", + "defaults": {}, + "funcname": "GetTextLineHeightWithSpacing", + "location": "imgui:513", + "namespace": "ImGui", + "ov_cimguiname": "igGetTextLineHeightWithSpacing", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetTime": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetTime", + "defaults": {}, + "funcname": "GetTime", + "location": "imgui:976", + "namespace": "ImGui", + "ov_cimguiname": "igGetTime", + "ret": "double", + "signature": "()", + "stname": "" + } + ], + "igGetTopMostAndVisiblePopupModal": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetTopMostAndVisiblePopupModal", + "defaults": {}, + "funcname": "GetTopMostAndVisiblePopupModal", + "location": "imgui_internal:3349", + "namespace": "ImGui", + "ov_cimguiname": "igGetTopMostAndVisiblePopupModal", + "ret": "ImGuiWindow*", + "signature": "()", + "stname": "" + } + ], + "igGetTopMostPopupModal": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetTopMostPopupModal", + "defaults": {}, + "funcname": "GetTopMostPopupModal", + "location": "imgui_internal:3348", + "namespace": "ImGui", + "ov_cimguiname": "igGetTopMostPopupModal", + "ret": "ImGuiWindow*", + "signature": "()", + "stname": "" + } + ], + "igGetTreeNodeToLabelSpacing": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetTreeNodeToLabelSpacing", + "defaults": {}, + "funcname": "GetTreeNodeToLabelSpacing", + "location": "imgui:677", + "namespace": "ImGui", + "ov_cimguiname": "igGetTreeNodeToLabelSpacing", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetTypematicRepeatRate": [ + { + "args": "(ImGuiInputFlags flags,float* repeat_delay,float* repeat_rate)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiInputFlags" + }, + { + "name": "repeat_delay", + "type": "float*" + }, + { + "name": "repeat_rate", + "type": "float*" + } + ], + "argsoriginal": "(ImGuiInputFlags flags,float* repeat_delay,float* repeat_rate)", + "call_args": "(flags,repeat_delay,repeat_rate)", + "cimguiname": "igGetTypematicRepeatRate", + "defaults": {}, + "funcname": "GetTypematicRepeatRate", + "location": "imgui_internal:3421", + "namespace": "ImGui", + "ov_cimguiname": "igGetTypematicRepeatRate", + "ret": "void", + "signature": "(ImGuiInputFlags,float*,float*)", + "stname": "" + } + ], + "igGetTypingSelectRequest": [ + { + "args": "(ImGuiTypingSelectFlags flags)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiTypingSelectFlags" + } + ], + "argsoriginal": "(ImGuiTypingSelectFlags flags=ImGuiTypingSelectFlags_None)", + "call_args": "(flags)", + "cimguiname": "igGetTypingSelectRequest", + "defaults": { + "flags": "ImGuiTypingSelectFlags_None" + }, + "funcname": "GetTypingSelectRequest", + "location": "imgui_internal:3555", + "namespace": "ImGui", + "ov_cimguiname": "igGetTypingSelectRequest", + "ret": "ImGuiTypingSelectRequest*", + "signature": "(ImGuiTypingSelectFlags)", + "stname": "" + } + ], + "igGetVersion": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetVersion", + "defaults": {}, + "funcname": "GetVersion", + "location": "imgui:355", + "namespace": "ImGui", + "ov_cimguiname": "igGetVersion", + "ret": "const char*", + "signature": "()", + "stname": "" + } + ], + "igGetViewportPlatformMonitor": [ + { + "args": "(ImGuiViewport* viewport)", + "argsT": [ + { + "name": "viewport", + "type": "ImGuiViewport*" + } + ], + "argsoriginal": "(ImGuiViewport* viewport)", + "call_args": "(viewport)", + "cimguiname": "igGetViewportPlatformMonitor", + "defaults": {}, + "funcname": "GetViewportPlatformMonitor", + "location": "imgui_internal:3262", + "namespace": "ImGui", + "ov_cimguiname": "igGetViewportPlatformMonitor", + "ret": "const ImGuiPlatformMonitor*", + "signature": "(ImGuiViewport*)", + "stname": "" + } + ], + "igGetWindowAlwaysWantOwnTabBar": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igGetWindowAlwaysWantOwnTabBar", + "defaults": {}, + "funcname": "GetWindowAlwaysWantOwnTabBar", + "location": "imgui_internal:3503", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowAlwaysWantOwnTabBar", + "ret": "bool", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igGetWindowDockID": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowDockID", + "defaults": {}, + "funcname": "GetWindowDockID", + "location": "imgui:893", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowDockID", + "ret": "ImGuiID", + "signature": "()", + "stname": "" + } + ], + "igGetWindowDockNode": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowDockNode", + "defaults": {}, + "funcname": "GetWindowDockNode", + "location": "imgui_internal:3502", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowDockNode", + "ret": "ImGuiDockNode*", + "signature": "()", + "stname": "" + } + ], + "igGetWindowDpiScale": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowDpiScale", + "defaults": {}, + "funcname": "GetWindowDpiScale", + "location": "imgui:406", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowDpiScale", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetWindowDrawList": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowDrawList", + "defaults": {}, + "funcname": "GetWindowDrawList", + "location": "imgui:405", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowDrawList", + "ret": "ImDrawList*", + "signature": "()", + "stname": "" + } + ], + "igGetWindowHeight": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowHeight", + "defaults": {}, + "funcname": "GetWindowHeight", + "location": "imgui:410", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowHeight", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igGetWindowPos": [ + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowPos", + "defaults": {}, + "funcname": "GetWindowPos", + "location": "imgui:407", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetWindowPos", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igGetWindowResizeBorderID": [ + { + "args": "(ImGuiWindow* window,ImGuiDir dir)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "dir", + "type": "ImGuiDir" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiDir dir)", + "call_args": "(window,dir)", + "cimguiname": "igGetWindowResizeBorderID", + "defaults": {}, + "funcname": "GetWindowResizeBorderID", + "location": "imgui_internal:3709", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowResizeBorderID", + "ret": "ImGuiID", + "signature": "(ImGuiWindow*,ImGuiDir)", + "stname": "" + } + ], + "igGetWindowResizeCornerID": [ + { + "args": "(ImGuiWindow* window,int n)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(ImGuiWindow* window,int n)", + "call_args": "(window,n)", + "cimguiname": "igGetWindowResizeCornerID", + "defaults": {}, + "funcname": "GetWindowResizeCornerID", + "location": "imgui_internal:3708", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowResizeCornerID", + "ret": "ImGuiID", + "signature": "(ImGuiWindow*,int)", + "stname": "" + } + ], + "igGetWindowScrollbarID": [ + { + "args": "(ImGuiWindow* window,ImGuiAxis axis)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "axis", + "type": "ImGuiAxis" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiAxis axis)", + "call_args": "(window,axis)", + "cimguiname": "igGetWindowScrollbarID", + "defaults": {}, + "funcname": "GetWindowScrollbarID", + "location": "imgui_internal:3707", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowScrollbarID", + "ret": "ImGuiID", + "signature": "(ImGuiWindow*,ImGuiAxis)", + "stname": "" + } + ], + "igGetWindowScrollbarRect": [ + { + "args": "(ImRect *pOut,ImGuiWindow* window,ImGuiAxis axis)", + "argsT": [ + { + "name": "pOut", + "type": "ImRect*" + }, + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "axis", + "type": "ImGuiAxis" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiAxis axis)", + "call_args": "(window,axis)", + "cimguiname": "igGetWindowScrollbarRect", + "defaults": {}, + "funcname": "GetWindowScrollbarRect", + "location": "imgui_internal:3706", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetWindowScrollbarRect", + "ret": "void", + "signature": "(ImGuiWindow*,ImGuiAxis)", + "stname": "" + } + ], + "igGetWindowSize": [ + { + "args": "(ImVec2 *pOut)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowSize", + "defaults": {}, + "funcname": "GetWindowSize", + "location": "imgui:408", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetWindowSize", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igGetWindowViewport": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowViewport", + "defaults": {}, + "funcname": "GetWindowViewport", + "location": "imgui:411", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowViewport", + "ret": "ImGuiViewport*", + "signature": "()", + "stname": "" + } + ], + "igGetWindowWidth": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetWindowWidth", + "defaults": {}, + "funcname": "GetWindowWidth", + "location": "imgui:409", + "namespace": "ImGui", + "ov_cimguiname": "igGetWindowWidth", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igImAbs": [ + { + "args": "(int x)", + "argsT": [ + { + "name": "x", + "type": "int" + } + ], + "argsoriginal": "(int x)", + "call_args": "(x)", + "cimguiname": "igImAbs", + "defaults": {}, + "funcname": "ImAbs", + "location": "imgui_internal:457", + "ov_cimguiname": "igImAbs_Int", + "ret": "int", + "signature": "(int)", + "stname": "" + }, + { + "args": "(float x)", + "argsT": [ + { + "name": "x", + "type": "float" + } + ], + "argsoriginal": "(float x)", + "call_args": "(x)", + "cimguiname": "igImAbs", + "defaults": {}, + "funcname": "ImAbs", + "location": "imgui_internal:458", + "ov_cimguiname": "igImAbs_Float", + "ret": "float", + "signature": "(float)", + "stname": "" + }, + { + "args": "(double x)", + "argsT": [ + { + "name": "x", + "type": "double" + } + ], + "argsoriginal": "(double x)", + "call_args": "(x)", + "cimguiname": "igImAbs", + "defaults": {}, + "funcname": "ImAbs", + "location": "imgui_internal:459", + "ov_cimguiname": "igImAbs_double", + "ret": "double", + "signature": "(double)", + "stname": "" + } + ], + "igImAlphaBlendColors": [ + { + "args": "(ImU32 col_a,ImU32 col_b)", + "argsT": [ + { + "name": "col_a", + "type": "ImU32" + }, + { + "name": "col_b", + "type": "ImU32" + } + ], + "argsoriginal": "(ImU32 col_a,ImU32 col_b)", + "call_args": "(col_a,col_b)", + "cimguiname": "igImAlphaBlendColors", + "defaults": {}, + "funcname": "ImAlphaBlendColors", + "location": "imgui_internal:368", + "ov_cimguiname": "igImAlphaBlendColors", + "ret": "ImU32", + "signature": "(ImU32,ImU32)", + "stname": "" + } + ], + "igImBezierCubicCalc": [ + { + "args": "(ImVec2 *pOut,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,float t)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "p1", + "type": "const ImVec2" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "p4", + "type": "const ImVec2" + }, + { + "name": "t", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,float t)", + "call_args": "(p1,p2,p3,p4,t)", + "cimguiname": "igImBezierCubicCalc", + "defaults": {}, + "funcname": "ImBezierCubicCalc", + "location": "imgui_internal:504", + "nonUDT": 1, + "ov_cimguiname": "igImBezierCubicCalc", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,float)", + "stname": "" + } + ], + "igImBezierCubicClosestPoint": [ + { + "args": "(ImVec2 *pOut,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,const ImVec2 p,int num_segments)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "p1", + "type": "const ImVec2" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "p4", + "type": "const ImVec2" + }, + { + "name": "p", + "type": "const ImVec2" + }, + { + "name": "num_segments", + "type": "int" + } + ], + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,const ImVec2& p,int num_segments)", + "call_args": "(p1,p2,p3,p4,p,num_segments)", + "cimguiname": "igImBezierCubicClosestPoint", + "defaults": {}, + "funcname": "ImBezierCubicClosestPoint", + "location": "imgui_internal:505", + "nonUDT": 1, + "ov_cimguiname": "igImBezierCubicClosestPoint", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,int)", + "stname": "" + } + ], + "igImBezierCubicClosestPointCasteljau": [ + { + "args": "(ImVec2 *pOut,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,const ImVec2 p,float tess_tol)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "p1", + "type": "const ImVec2" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "p4", + "type": "const ImVec2" + }, + { + "name": "p", + "type": "const ImVec2" + }, + { + "name": "tess_tol", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,const ImVec2& p,float tess_tol)", + "call_args": "(p1,p2,p3,p4,p,tess_tol)", + "cimguiname": "igImBezierCubicClosestPointCasteljau", + "defaults": {}, + "funcname": "ImBezierCubicClosestPointCasteljau", + "location": "imgui_internal:506", + "nonUDT": 1, + "ov_cimguiname": "igImBezierCubicClosestPointCasteljau", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,float)", + "stname": "" + } + ], + "igImBezierQuadraticCalc": [ + { + "args": "(ImVec2 *pOut,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,float t)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "p1", + "type": "const ImVec2" + }, + { + "name": "p2", + "type": "const ImVec2" + }, + { + "name": "p3", + "type": "const ImVec2" + }, + { + "name": "t", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,float t)", + "call_args": "(p1,p2,p3,t)", + "cimguiname": "igImBezierQuadraticCalc", + "defaults": {}, + "funcname": "ImBezierQuadraticCalc", + "location": "imgui_internal:507", + "nonUDT": 1, + "ov_cimguiname": "igImBezierQuadraticCalc", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,float)", + "stname": "" + } + ], + "igImBitArrayClearAllBits": [ + { + "args": "(ImU32* arr,int bitcount)", + "argsT": [ + { + "name": "arr", + "type": "ImU32*" + }, + { + "name": "bitcount", + "type": "int" + } + ], + "argsoriginal": "(ImU32* arr,int bitcount)", + "call_args": "(arr,bitcount)", + "cimguiname": "igImBitArrayClearAllBits", + "defaults": {}, + "funcname": "ImBitArrayClearAllBits", + "location": "imgui_internal:577", + "ov_cimguiname": "igImBitArrayClearAllBits", + "ret": "void", + "signature": "(ImU32*,int)", + "stname": "" + } + ], + "igImBitArrayClearBit": [ + { + "args": "(ImU32* arr,int n)", + "argsT": [ + { + "name": "arr", + "type": "ImU32*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(ImU32* arr,int n)", + "call_args": "(arr,n)", + "cimguiname": "igImBitArrayClearBit", + "defaults": {}, + "funcname": "ImBitArrayClearBit", + "location": "imgui_internal:579", + "ov_cimguiname": "igImBitArrayClearBit", + "ret": "void", + "signature": "(ImU32*,int)", + "stname": "" + } + ], + "igImBitArrayGetStorageSizeInBytes": [ + { + "args": "(int bitcount)", + "argsT": [ + { + "name": "bitcount", + "type": "int" + } + ], + "argsoriginal": "(int bitcount)", + "call_args": "(bitcount)", + "cimguiname": "igImBitArrayGetStorageSizeInBytes", + "defaults": {}, + "funcname": "ImBitArrayGetStorageSizeInBytes", + "location": "imgui_internal:576", + "ov_cimguiname": "igImBitArrayGetStorageSizeInBytes", + "ret": "size_t", + "signature": "(int)", + "stname": "" + } + ], + "igImBitArraySetBit": [ + { + "args": "(ImU32* arr,int n)", + "argsT": [ + { + "name": "arr", + "type": "ImU32*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(ImU32* arr,int n)", + "call_args": "(arr,n)", + "cimguiname": "igImBitArraySetBit", + "defaults": {}, + "funcname": "ImBitArraySetBit", + "location": "imgui_internal:580", + "ov_cimguiname": "igImBitArraySetBit", + "ret": "void", + "signature": "(ImU32*,int)", + "stname": "" + } + ], + "igImBitArraySetBitRange": [ + { + "args": "(ImU32* arr,int n,int n2)", + "argsT": [ + { + "name": "arr", + "type": "ImU32*" + }, + { + "name": "n", + "type": "int" + }, + { + "name": "n2", + "type": "int" + } + ], + "argsoriginal": "(ImU32* arr,int n,int n2)", + "call_args": "(arr,n,n2)", + "cimguiname": "igImBitArraySetBitRange", + "defaults": {}, + "funcname": "ImBitArraySetBitRange", + "location": "imgui_internal:581", + "ov_cimguiname": "igImBitArraySetBitRange", + "ret": "void", + "signature": "(ImU32*,int,int)", + "stname": "" + } + ], + "igImBitArrayTestBit": [ + { + "args": "(const ImU32* arr,int n)", + "argsT": [ + { + "name": "arr", + "type": "const ImU32*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(const ImU32* arr,int n)", + "call_args": "(arr,n)", + "cimguiname": "igImBitArrayTestBit", + "defaults": {}, + "funcname": "ImBitArrayTestBit", + "location": "imgui_internal:578", + "ov_cimguiname": "igImBitArrayTestBit", + "ret": "bool", + "signature": "(const ImU32*,int)", + "stname": "" + } + ], + "igImCharIsBlankA": [ + { + "args": "(char c)", + "argsT": [ + { + "name": "c", + "type": "char" + } + ], + "argsoriginal": "(char c)", + "call_args": "(c)", + "cimguiname": "igImCharIsBlankA", + "defaults": {}, + "funcname": "ImCharIsBlankA", + "location": "imgui_internal:390", + "ov_cimguiname": "igImCharIsBlankA", + "ret": "bool", + "signature": "(char)", + "stname": "" + } + ], + "igImCharIsBlankW": [ + { + "args": "(unsigned int c)", + "argsT": [ + { + "name": "c", + "type": "unsigned int" + } + ], + "argsoriginal": "(unsigned int c)", + "call_args": "(c)", + "cimguiname": "igImCharIsBlankW", + "defaults": {}, + "funcname": "ImCharIsBlankW", + "location": "imgui_internal:391", + "ov_cimguiname": "igImCharIsBlankW", + "ret": "bool", + "signature": "(unsigned int)", + "stname": "" + } + ], + "igImCharIsXdigitA": [ + { + "args": "(char c)", + "argsT": [ + { + "name": "c", + "type": "char" + } + ], + "argsoriginal": "(char c)", + "call_args": "(c)", + "cimguiname": "igImCharIsXdigitA", + "defaults": {}, + "funcname": "ImCharIsXdigitA", + "location": "imgui_internal:392", + "ov_cimguiname": "igImCharIsXdigitA", + "ret": "bool", + "signature": "(char)", + "stname": "" + } + ], + "igImClamp": [ + { + "args": "(ImVec2 *pOut,const ImVec2 v,const ImVec2 mn,const ImVec2 mx)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "v", + "type": "const ImVec2" + }, + { + "name": "mn", + "type": "const ImVec2" + }, + { + "name": "mx", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& v,const ImVec2&mn,const ImVec2&mx)", + "call_args": "(v,mn,mx)", + "cimguiname": "igImClamp", + "defaults": {}, + "funcname": "ImClamp", + "location": "imgui_internal:481", + "nonUDT": 1, + "ov_cimguiname": "igImClamp", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2)", + "stname": "" + } + ], + "igImDot": [ + { + "args": "(const ImVec2 a,const ImVec2 b)", + "argsT": [ + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& a,const ImVec2& b)", + "call_args": "(a,b)", + "cimguiname": "igImDot", + "defaults": {}, + "funcname": "ImDot", + "location": "imgui_internal:494", + "ov_cimguiname": "igImDot", + "ret": "float", + "signature": "(const ImVec2,const ImVec2)", + "stname": "" + } + ], + "igImExponentialMovingAverage": [ + { + "args": "(float avg,float sample,int n)", + "argsT": [ + { + "name": "avg", + "type": "float" + }, + { + "name": "sample", + "type": "float" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(float avg,float sample,int n)", + "call_args": "(avg,sample,n)", + "cimguiname": "igImExponentialMovingAverage", + "defaults": {}, + "funcname": "ImExponentialMovingAverage", + "location": "imgui_internal:500", + "ov_cimguiname": "igImExponentialMovingAverage", + "ret": "float", + "signature": "(float,float,int)", + "stname": "" + } + ], + "igImFileClose": [ + { + "args": "(ImFileHandle file)", + "argsT": [ + { + "name": "file", + "type": "ImFileHandle" + } + ], + "argsoriginal": "(ImFileHandle file)", + "call_args": "(file)", + "cimguiname": "igImFileClose", + "defaults": {}, + "funcname": "ImFileClose", + "location": "imgui_internal:431", + "ov_cimguiname": "igImFileClose", + "ret": "bool", + "signature": "(ImFileHandle)", + "stname": "" + } + ], + "igImFileGetSize": [ + { + "args": "(ImFileHandle file)", + "argsT": [ + { + "name": "file", + "type": "ImFileHandle" + } + ], + "argsoriginal": "(ImFileHandle file)", + "call_args": "(file)", + "cimguiname": "igImFileGetSize", + "defaults": {}, + "funcname": "ImFileGetSize", + "location": "imgui_internal:432", + "ov_cimguiname": "igImFileGetSize", + "ret": "ImU64", + "signature": "(ImFileHandle)", + "stname": "" + } + ], + "igImFileLoadToMemory": [ + { + "args": "(const char* filename,const char* mode,size_t* out_file_size,int padding_bytes)", + "argsT": [ + { + "name": "filename", + "type": "const char*" + }, + { + "name": "mode", + "type": "const char*" + }, + { + "name": "out_file_size", + "type": "size_t*" + }, + { + "name": "padding_bytes", + "type": "int" + } + ], + "argsoriginal": "(const char* filename,const char* mode,size_t* out_file_size=((void*)0),int padding_bytes=0)", + "call_args": "(filename,mode,out_file_size,padding_bytes)", + "cimguiname": "igImFileLoadToMemory", + "defaults": { + "out_file_size": "NULL", + "padding_bytes": "0" + }, + "funcname": "ImFileLoadToMemory", + "location": "imgui_internal:438", + "ov_cimguiname": "igImFileLoadToMemory", + "ret": "void*", + "signature": "(const char*,const char*,size_t*,int)", + "stname": "" + } + ], + "igImFileOpen": [ + { + "args": "(const char* filename,const char* mode)", + "argsT": [ + { + "name": "filename", + "type": "const char*" + }, + { + "name": "mode", + "type": "const char*" + } + ], + "argsoriginal": "(const char* filename,const char* mode)", + "call_args": "(filename,mode)", + "cimguiname": "igImFileOpen", + "defaults": {}, + "funcname": "ImFileOpen", + "location": "imgui_internal:430", + "ov_cimguiname": "igImFileOpen", + "ret": "ImFileHandle", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igImFileRead": [ + { + "args": "(void* data,ImU64 size,ImU64 count,ImFileHandle file)", + "argsT": [ + { + "name": "data", + "type": "void*" + }, + { + "name": "size", + "type": "ImU64" + }, + { + "name": "count", + "type": "ImU64" + }, + { + "name": "file", + "type": "ImFileHandle" + } + ], + "argsoriginal": "(void* data,ImU64 size,ImU64 count,ImFileHandle file)", + "call_args": "(data,size,count,file)", + "cimguiname": "igImFileRead", + "defaults": {}, + "funcname": "ImFileRead", + "location": "imgui_internal:433", + "ov_cimguiname": "igImFileRead", + "ret": "ImU64", + "signature": "(void*,ImU64,ImU64,ImFileHandle)", + "stname": "" + } + ], + "igImFileWrite": [ + { + "args": "(const void* data,ImU64 size,ImU64 count,ImFileHandle file)", + "argsT": [ + { + "name": "data", + "type": "const void*" + }, + { + "name": "size", + "type": "ImU64" + }, + { + "name": "count", + "type": "ImU64" + }, + { + "name": "file", + "type": "ImFileHandle" + } + ], + "argsoriginal": "(const void* data,ImU64 size,ImU64 count,ImFileHandle file)", + "call_args": "(data,size,count,file)", + "cimguiname": "igImFileWrite", + "defaults": {}, + "funcname": "ImFileWrite", + "location": "imgui_internal:434", + "ov_cimguiname": "igImFileWrite", + "ret": "ImU64", + "signature": "(const void*,ImU64,ImU64,ImFileHandle)", + "stname": "" + } + ], + "igImFloor": [ + { + "args": "(float f)", + "argsT": [ + { + "name": "f", + "type": "float" + } + ], + "argsoriginal": "(float f)", + "call_args": "(f)", + "cimguiname": "igImFloor", + "defaults": {}, + "funcname": "ImFloor", + "location": "imgui_internal:491", + "ov_cimguiname": "igImFloor_Float", + "ret": "float", + "signature": "(float)", + "stname": "" + }, + { + "args": "(ImVec2 *pOut,const ImVec2 v)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "v", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& v)", + "call_args": "(v)", + "cimguiname": "igImFloor", + "defaults": {}, + "funcname": "ImFloor", + "location": "imgui_internal:492", + "nonUDT": 1, + "ov_cimguiname": "igImFloor_Vec2", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "" + } + ], + "igImFontAtlasBuildFinish": [ + { + "args": "(ImFontAtlas* atlas)", + "argsT": [ + { + "name": "atlas", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "(ImFontAtlas* atlas)", + "call_args": "(atlas)", + "cimguiname": "igImFontAtlasBuildFinish", + "defaults": {}, + "funcname": "ImFontAtlasBuildFinish", + "location": "imgui_internal:3852", + "ov_cimguiname": "igImFontAtlasBuildFinish", + "ret": "void", + "signature": "(ImFontAtlas*)", + "stname": "" + } + ], + "igImFontAtlasBuildInit": [ + { + "args": "(ImFontAtlas* atlas)", + "argsT": [ + { + "name": "atlas", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "(ImFontAtlas* atlas)", + "call_args": "(atlas)", + "cimguiname": "igImFontAtlasBuildInit", + "defaults": {}, + "funcname": "ImFontAtlasBuildInit", + "location": "imgui_internal:3849", + "ov_cimguiname": "igImFontAtlasBuildInit", + "ret": "void", + "signature": "(ImFontAtlas*)", + "stname": "" + } + ], + "igImFontAtlasBuildMultiplyCalcLookupTable": [ + { + "args": "(unsigned char out_table[256],float in_multiply_factor)", + "argsT": [ + { + "name": "out_table", + "type": "unsigned char[256]" + }, + { + "name": "in_multiply_factor", + "type": "float" + } + ], + "argsoriginal": "(unsigned char out_table[256],float in_multiply_factor)", + "call_args": "(out_table,in_multiply_factor)", + "cimguiname": "igImFontAtlasBuildMultiplyCalcLookupTable", + "defaults": {}, + "funcname": "ImFontAtlasBuildMultiplyCalcLookupTable", + "location": "imgui_internal:3855", + "ov_cimguiname": "igImFontAtlasBuildMultiplyCalcLookupTable", + "ret": "void", + "signature": "(unsigned char[256],float)", + "stname": "" + } + ], + "igImFontAtlasBuildMultiplyRectAlpha8": [ + { + "args": "(const unsigned char table[256],unsigned char* pixels,int x,int y,int w,int h,int stride)", + "argsT": [ + { + "name": "table", + "type": "const unsigned char[256]" + }, + { + "name": "pixels", + "type": "unsigned char*" + }, + { + "name": "x", + "type": "int" + }, + { + "name": "y", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "stride", + "type": "int" + } + ], + "argsoriginal": "(const unsigned char table[256],unsigned char* pixels,int x,int y,int w,int h,int stride)", + "call_args": "(table,pixels,x,y,w,h,stride)", + "cimguiname": "igImFontAtlasBuildMultiplyRectAlpha8", + "defaults": {}, + "funcname": "ImFontAtlasBuildMultiplyRectAlpha8", + "location": "imgui_internal:3856", + "ov_cimguiname": "igImFontAtlasBuildMultiplyRectAlpha8", + "ret": "void", + "signature": "(const unsigned char[256],unsigned char*,int,int,int,int,int)", + "stname": "" + } + ], + "igImFontAtlasBuildPackCustomRects": [ + { + "args": "(ImFontAtlas* atlas,void* stbrp_context_opaque)", + "argsT": [ + { + "name": "atlas", + "type": "ImFontAtlas*" + }, + { + "name": "stbrp_context_opaque", + "type": "void*" + } + ], + "argsoriginal": "(ImFontAtlas* atlas,void* stbrp_context_opaque)", + "call_args": "(atlas,stbrp_context_opaque)", + "cimguiname": "igImFontAtlasBuildPackCustomRects", + "defaults": {}, + "funcname": "ImFontAtlasBuildPackCustomRects", + "location": "imgui_internal:3851", + "ov_cimguiname": "igImFontAtlasBuildPackCustomRects", + "ret": "void", + "signature": "(ImFontAtlas*,void*)", + "stname": "" + } + ], + "igImFontAtlasBuildRender32bppRectFromString": [ + { + "args": "(ImFontAtlas* atlas,int x,int y,int w,int h,const char* in_str,char in_marker_char,unsigned int in_marker_pixel_value)", + "argsT": [ + { + "name": "atlas", + "type": "ImFontAtlas*" + }, + { + "name": "x", + "type": "int" + }, + { + "name": "y", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "in_str", + "type": "const char*" + }, + { + "name": "in_marker_char", + "type": "char" + }, + { + "name": "in_marker_pixel_value", + "type": "unsigned int" + } + ], + "argsoriginal": "(ImFontAtlas* atlas,int x,int y,int w,int h,const char* in_str,char in_marker_char,unsigned int in_marker_pixel_value)", + "call_args": "(atlas,x,y,w,h,in_str,in_marker_char,in_marker_pixel_value)", + "cimguiname": "igImFontAtlasBuildRender32bppRectFromString", + "defaults": {}, + "funcname": "ImFontAtlasBuildRender32bppRectFromString", + "location": "imgui_internal:3854", + "ov_cimguiname": "igImFontAtlasBuildRender32bppRectFromString", + "ret": "void", + "signature": "(ImFontAtlas*,int,int,int,int,const char*,char,unsigned int)", + "stname": "" + } + ], + "igImFontAtlasBuildRender8bppRectFromString": [ + { + "args": "(ImFontAtlas* atlas,int x,int y,int w,int h,const char* in_str,char in_marker_char,unsigned char in_marker_pixel_value)", + "argsT": [ + { + "name": "atlas", + "type": "ImFontAtlas*" + }, + { + "name": "x", + "type": "int" + }, + { + "name": "y", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "in_str", + "type": "const char*" + }, + { + "name": "in_marker_char", + "type": "char" + }, + { + "name": "in_marker_pixel_value", + "type": "unsigned char" + } + ], + "argsoriginal": "(ImFontAtlas* atlas,int x,int y,int w,int h,const char* in_str,char in_marker_char,unsigned char in_marker_pixel_value)", + "call_args": "(atlas,x,y,w,h,in_str,in_marker_char,in_marker_pixel_value)", + "cimguiname": "igImFontAtlasBuildRender8bppRectFromString", + "defaults": {}, + "funcname": "ImFontAtlasBuildRender8bppRectFromString", + "location": "imgui_internal:3853", + "ov_cimguiname": "igImFontAtlasBuildRender8bppRectFromString", + "ret": "void", + "signature": "(ImFontAtlas*,int,int,int,int,const char*,char,unsigned char)", + "stname": "" + } + ], + "igImFontAtlasBuildSetupFont": [ + { + "args": "(ImFontAtlas* atlas,ImFont* font,ImFontConfig* font_config,float ascent,float descent)", + "argsT": [ + { + "name": "atlas", + "type": "ImFontAtlas*" + }, + { + "name": "font", + "type": "ImFont*" + }, + { + "name": "font_config", + "type": "ImFontConfig*" + }, + { + "name": "ascent", + "type": "float" + }, + { + "name": "descent", + "type": "float" + } + ], + "argsoriginal": "(ImFontAtlas* atlas,ImFont* font,ImFontConfig* font_config,float ascent,float descent)", + "call_args": "(atlas,font,font_config,ascent,descent)", + "cimguiname": "igImFontAtlasBuildSetupFont", + "defaults": {}, + "funcname": "ImFontAtlasBuildSetupFont", + "location": "imgui_internal:3850", + "ov_cimguiname": "igImFontAtlasBuildSetupFont", + "ret": "void", + "signature": "(ImFontAtlas*,ImFont*,ImFontConfig*,float,float)", + "stname": "" + } + ], + "igImFontAtlasGetBuilderForStbTruetype": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igImFontAtlasGetBuilderForStbTruetype", + "defaults": {}, + "funcname": "ImFontAtlasGetBuilderForStbTruetype", + "location": "imgui_internal:3846", + "ov_cimguiname": "igImFontAtlasGetBuilderForStbTruetype", + "ret": "const ImFontBuilderIO*", + "signature": "()", + "stname": "" + } + ], + "igImFontAtlasUpdateConfigDataPointers": [ + { + "args": "(ImFontAtlas* atlas)", + "argsT": [ + { + "name": "atlas", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "(ImFontAtlas* atlas)", + "call_args": "(atlas)", + "cimguiname": "igImFontAtlasUpdateConfigDataPointers", + "defaults": {}, + "funcname": "ImFontAtlasUpdateConfigDataPointers", + "location": "imgui_internal:3848", + "ov_cimguiname": "igImFontAtlasUpdateConfigDataPointers", + "ret": "void", + "signature": "(ImFontAtlas*)", + "stname": "" + } + ], + "igImFormatString": [ + { + "args": "(char* buf,size_t buf_size,const char* fmt,...)", + "argsT": [ + { + "name": "buf", + "type": "char*" + }, + { + "name": "buf_size", + "type": "size_t" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(char* buf,size_t buf_size,const char* fmt,...)", + "call_args": "(buf,buf_size,fmt,...)", + "cimguiname": "igImFormatString", + "defaults": {}, + "funcname": "ImFormatString", + "isvararg": "...)", + "location": "imgui_internal:396", + "ov_cimguiname": "igImFormatString", + "ret": "int", + "signature": "(char*,size_t,const char*,...)", + "stname": "" + } + ], + "igImFormatStringToTempBuffer": [ + { + "args": "(const char** out_buf,const char** out_buf_end,const char* fmt,...)", + "argsT": [ + { + "name": "out_buf", + "type": "const char**" + }, + { + "name": "out_buf_end", + "type": "const char**" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char** out_buf,const char** out_buf_end,const char* fmt,...)", + "call_args": "(out_buf,out_buf_end,fmt,...)", + "cimguiname": "igImFormatStringToTempBuffer", + "defaults": {}, + "funcname": "ImFormatStringToTempBuffer", + "isvararg": "...)", + "location": "imgui_internal:398", + "ov_cimguiname": "igImFormatStringToTempBuffer", + "ret": "void", + "signature": "(const char**,const char**,const char*,...)", + "stname": "" + } + ], + "igImFormatStringToTempBufferV": [ + { + "args": "(const char** out_buf,const char** out_buf_end,const char* fmt,va_list args)", + "argsT": [ + { + "name": "out_buf", + "type": "const char**" + }, + { + "name": "out_buf_end", + "type": "const char**" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char** out_buf,const char** out_buf_end,const char* fmt,va_list args)", + "call_args": "(out_buf,out_buf_end,fmt,args)", + "cimguiname": "igImFormatStringToTempBufferV", + "defaults": {}, + "funcname": "ImFormatStringToTempBufferV", + "location": "imgui_internal:399", + "ov_cimguiname": "igImFormatStringToTempBufferV", + "ret": "void", + "signature": "(const char**,const char**,const char*,va_list)", + "stname": "" + } + ], + "igImFormatStringV": [ + { + "args": "(char* buf,size_t buf_size,const char* fmt,va_list args)", + "argsT": [ + { + "name": "buf", + "type": "char*" + }, + { + "name": "buf_size", + "type": "size_t" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(char* buf,size_t buf_size,const char* fmt,va_list args)", + "call_args": "(buf,buf_size,fmt,args)", + "cimguiname": "igImFormatStringV", + "defaults": {}, + "funcname": "ImFormatStringV", + "location": "imgui_internal:397", + "ov_cimguiname": "igImFormatStringV", + "ret": "int", + "signature": "(char*,size_t,const char*,va_list)", + "stname": "" + } + ], + "igImHashData": [ + { + "args": "(const void* data,size_t data_size,ImGuiID seed)", + "argsT": [ + { + "name": "data", + "type": "const void*" + }, + { + "name": "data_size", + "type": "size_t" + }, + { + "name": "seed", + "type": "ImGuiID" + } + ], + "argsoriginal": "(const void* data,size_t data_size,ImGuiID seed=0)", + "call_args": "(data,data_size,seed)", + "cimguiname": "igImHashData", + "defaults": { + "seed": "0" + }, + "funcname": "ImHashData", + "location": "imgui_internal:359", + "ov_cimguiname": "igImHashData", + "ret": "ImGuiID", + "signature": "(const void*,size_t,ImGuiID)", + "stname": "" + } + ], + "igImHashStr": [ + { + "args": "(const char* data,size_t data_size,ImGuiID seed)", + "argsT": [ + { + "name": "data", + "type": "const char*" + }, + { + "name": "data_size", + "type": "size_t" + }, + { + "name": "seed", + "type": "ImGuiID" + } + ], + "argsoriginal": "(const char* data,size_t data_size=0,ImGuiID seed=0)", + "call_args": "(data,data_size,seed)", + "cimguiname": "igImHashStr", + "defaults": { + "data_size": "0", + "seed": "0" + }, + "funcname": "ImHashStr", + "location": "imgui_internal:360", + "ov_cimguiname": "igImHashStr", + "ret": "ImGuiID", + "signature": "(const char*,size_t,ImGuiID)", + "stname": "" + } + ], + "igImInvLength": [ + { + "args": "(const ImVec2 lhs,float fail_value)", + "argsT": [ + { + "name": "lhs", + "type": "const ImVec2" + }, + { + "name": "fail_value", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& lhs,float fail_value)", + "call_args": "(lhs,fail_value)", + "cimguiname": "igImInvLength", + "defaults": {}, + "funcname": "ImInvLength", + "location": "imgui_internal:488", + "ov_cimguiname": "igImInvLength", + "ret": "float", + "signature": "(const ImVec2,float)", + "stname": "" + } + ], + "igImIsFloatAboveGuaranteedIntegerPrecision": [ + { + "args": "(float f)", + "argsT": [ + { + "name": "f", + "type": "float" + } + ], + "argsoriginal": "(float f)", + "call_args": "(f)", + "cimguiname": "igImIsFloatAboveGuaranteedIntegerPrecision", + "defaults": {}, + "funcname": "ImIsFloatAboveGuaranteedIntegerPrecision", + "location": "imgui_internal:499", + "ov_cimguiname": "igImIsFloatAboveGuaranteedIntegerPrecision", + "ret": "bool", + "signature": "(float)", + "stname": "" + } + ], + "igImIsPowerOfTwo": [ + { + "args": "(int v)", + "argsT": [ + { + "name": "v", + "type": "int" + } + ], + "argsoriginal": "(int v)", + "call_args": "(v)", + "cimguiname": "igImIsPowerOfTwo", + "defaults": {}, + "funcname": "ImIsPowerOfTwo", + "location": "imgui_internal:371", + "ov_cimguiname": "igImIsPowerOfTwo_Int", + "ret": "bool", + "signature": "(int)", + "stname": "" + }, + { + "args": "(ImU64 v)", + "argsT": [ + { + "name": "v", + "type": "ImU64" + } + ], + "argsoriginal": "(ImU64 v)", + "call_args": "(v)", + "cimguiname": "igImIsPowerOfTwo", + "defaults": {}, + "funcname": "ImIsPowerOfTwo", + "location": "imgui_internal:372", + "ov_cimguiname": "igImIsPowerOfTwo_U64", + "ret": "bool", + "signature": "(ImU64)", + "stname": "" + } + ], + "igImLengthSqr": [ + { + "args": "(const ImVec2 lhs)", + "argsT": [ + { + "name": "lhs", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& lhs)", + "call_args": "(lhs)", + "cimguiname": "igImLengthSqr", + "defaults": {}, + "funcname": "ImLengthSqr", + "location": "imgui_internal:486", + "ov_cimguiname": "igImLengthSqr_Vec2", + "ret": "float", + "signature": "(const ImVec2)", + "stname": "" + }, + { + "args": "(const ImVec4 lhs)", + "argsT": [ + { + "name": "lhs", + "type": "const ImVec4" + } + ], + "argsoriginal": "(const ImVec4& lhs)", + "call_args": "(lhs)", + "cimguiname": "igImLengthSqr", + "defaults": {}, + "funcname": "ImLengthSqr", + "location": "imgui_internal:487", + "ov_cimguiname": "igImLengthSqr_Vec4", + "ret": "float", + "signature": "(const ImVec4)", + "stname": "" + } + ], + "igImLerp": [ + { + "args": "(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,float t)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + }, + { + "name": "t", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& a,const ImVec2& b,float t)", + "call_args": "(a,b,t)", + "cimguiname": "igImLerp", + "defaults": {}, + "funcname": "ImLerp", + "location": "imgui_internal:482", + "nonUDT": 1, + "ov_cimguiname": "igImLerp_Vec2Float", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,float)", + "stname": "" + }, + { + "args": "(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,const ImVec2 t)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + }, + { + "name": "t", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& t)", + "call_args": "(a,b,t)", + "cimguiname": "igImLerp", + "defaults": {}, + "funcname": "ImLerp", + "location": "imgui_internal:483", + "nonUDT": 1, + "ov_cimguiname": "igImLerp_Vec2Vec2", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2)", + "stname": "" + }, + { + "args": "(ImVec4 *pOut,const ImVec4 a,const ImVec4 b,float t)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec4*" + }, + { + "name": "a", + "type": "const ImVec4" + }, + { + "name": "b", + "type": "const ImVec4" + }, + { + "name": "t", + "type": "float" + } + ], + "argsoriginal": "(const ImVec4& a,const ImVec4& b,float t)", + "call_args": "(a,b,t)", + "cimguiname": "igImLerp", + "defaults": {}, + "funcname": "ImLerp", + "location": "imgui_internal:484", + "nonUDT": 1, + "ov_cimguiname": "igImLerp_Vec4", + "ret": "void", + "signature": "(const ImVec4,const ImVec4,float)", + "stname": "" + } + ], + "igImLineClosestPoint": [ + { + "args": "(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,const ImVec2 p)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + }, + { + "name": "p", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& p)", + "call_args": "(a,b,p)", + "cimguiname": "igImLineClosestPoint", + "defaults": {}, + "funcname": "ImLineClosestPoint", + "location": "imgui_internal:508", + "nonUDT": 1, + "ov_cimguiname": "igImLineClosestPoint", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2)", + "stname": "" + } + ], + "igImLinearRemapClamp": [ + { + "args": "(float s0,float s1,float d0,float d1,float x)", + "argsT": [ + { + "name": "s0", + "type": "float" + }, + { + "name": "s1", + "type": "float" + }, + { + "name": "d0", + "type": "float" + }, + { + "name": "d1", + "type": "float" + }, + { + "name": "x", + "type": "float" + } + ], + "argsoriginal": "(float s0,float s1,float d0,float d1,float x)", + "call_args": "(s0,s1,d0,d1,x)", + "cimguiname": "igImLinearRemapClamp", + "defaults": {}, + "funcname": "ImLinearRemapClamp", + "location": "imgui_internal:497", + "ov_cimguiname": "igImLinearRemapClamp", + "ret": "float", + "signature": "(float,float,float,float,float)", + "stname": "" + } + ], + "igImLinearSweep": [ + { + "args": "(float current,float target,float speed)", + "argsT": [ + { + "name": "current", + "type": "float" + }, + { + "name": "target", + "type": "float" + }, + { + "name": "speed", + "type": "float" + } + ], + "argsoriginal": "(float current,float target,float speed)", + "call_args": "(current,target,speed)", + "cimguiname": "igImLinearSweep", + "defaults": {}, + "funcname": "ImLinearSweep", + "location": "imgui_internal:496", + "ov_cimguiname": "igImLinearSweep", + "ret": "float", + "signature": "(float,float,float)", + "stname": "" + } + ], + "igImLog": [ + { + "args": "(float x)", + "argsT": [ + { + "name": "x", + "type": "float" + } + ], + "argsoriginal": "(float x)", + "call_args": "(x)", + "cimguiname": "igImLog", + "defaults": {}, + "funcname": "ImLog", + "location": "imgui_internal:455", + "ov_cimguiname": "igImLog_Float", + "ret": "float", + "signature": "(float)", + "stname": "" + }, + { + "args": "(double x)", + "argsT": [ + { + "name": "x", + "type": "double" + } + ], + "argsoriginal": "(double x)", + "call_args": "(x)", + "cimguiname": "igImLog", + "defaults": {}, + "funcname": "ImLog", + "location": "imgui_internal:456", + "ov_cimguiname": "igImLog_double", + "ret": "double", + "signature": "(double)", + "stname": "" + } + ], + "igImLowerBound": [ + { + "args": "(ImGuiStoragePair* in_begin,ImGuiStoragePair* in_end,ImGuiID key)", + "argsT": [ + { + "name": "in_begin", + "type": "ImGuiStoragePair*" + }, + { + "name": "in_end", + "type": "ImGuiStoragePair*" + }, + { + "name": "key", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiStoragePair* in_begin,ImGuiStoragePair* in_end,ImGuiID key)", + "call_args": "(in_begin,in_end,key)", + "cimguiname": "igImLowerBound", + "defaults": {}, + "funcname": "ImLowerBound", + "location": "imgui_internal:747", + "ov_cimguiname": "igImLowerBound", + "ret": "ImGuiStoragePair*", + "signature": "(ImGuiStoragePair*,ImGuiStoragePair*,ImGuiID)", + "stname": "" + } + ], + "igImMax": [ + { + "args": "(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "lhs", + "type": "const ImVec2" + }, + { + "name": "rhs", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& lhs,const ImVec2& rhs)", + "call_args": "(lhs,rhs)", + "cimguiname": "igImMax", + "defaults": {}, + "funcname": "ImMax", + "location": "imgui_internal:480", + "nonUDT": 1, + "ov_cimguiname": "igImMax", + "ret": "void", + "signature": "(const ImVec2,const ImVec2)", + "stname": "" + } + ], + "igImMin": [ + { + "args": "(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "lhs", + "type": "const ImVec2" + }, + { + "name": "rhs", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& lhs,const ImVec2& rhs)", + "call_args": "(lhs,rhs)", + "cimguiname": "igImMin", + "defaults": {}, + "funcname": "ImMin", + "location": "imgui_internal:479", + "nonUDT": 1, + "ov_cimguiname": "igImMin", + "ret": "void", + "signature": "(const ImVec2,const ImVec2)", + "stname": "" + } + ], + "igImModPositive": [ + { + "args": "(int a,int b)", + "argsT": [ + { + "name": "a", + "type": "int" + }, + { + "name": "b", + "type": "int" + } + ], + "argsoriginal": "(int a,int b)", + "call_args": "(a,b)", + "cimguiname": "igImModPositive", + "defaults": {}, + "funcname": "ImModPositive", + "location": "imgui_internal:493", + "ov_cimguiname": "igImModPositive", + "ret": "int", + "signature": "(int,int)", + "stname": "" + } + ], + "igImMul": [ + { + "args": "(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "lhs", + "type": "const ImVec2" + }, + { + "name": "rhs", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& lhs,const ImVec2& rhs)", + "call_args": "(lhs,rhs)", + "cimguiname": "igImMul", + "defaults": {}, + "funcname": "ImMul", + "location": "imgui_internal:498", + "nonUDT": 1, + "ov_cimguiname": "igImMul", + "ret": "void", + "signature": "(const ImVec2,const ImVec2)", + "stname": "" + } + ], + "igImParseFormatFindEnd": [ + { + "args": "(const char* format)", + "argsT": [ + { + "name": "format", + "type": "const char*" + } + ], + "argsoriginal": "(const char* format)", + "call_args": "(format)", + "cimguiname": "igImParseFormatFindEnd", + "defaults": {}, + "funcname": "ImParseFormatFindEnd", + "location": "imgui_internal:401", + "ov_cimguiname": "igImParseFormatFindEnd", + "ret": "const char*", + "signature": "(const char*)", + "stname": "" + } + ], + "igImParseFormatFindStart": [ + { + "args": "(const char* format)", + "argsT": [ + { + "name": "format", + "type": "const char*" + } + ], + "argsoriginal": "(const char* format)", + "call_args": "(format)", + "cimguiname": "igImParseFormatFindStart", + "defaults": {}, + "funcname": "ImParseFormatFindStart", + "location": "imgui_internal:400", + "ov_cimguiname": "igImParseFormatFindStart", + "ret": "const char*", + "signature": "(const char*)", + "stname": "" + } + ], + "igImParseFormatPrecision": [ + { + "args": "(const char* format,int default_value)", + "argsT": [ + { + "name": "format", + "type": "const char*" + }, + { + "name": "default_value", + "type": "int" + } + ], + "argsoriginal": "(const char* format,int default_value)", + "call_args": "(format,default_value)", + "cimguiname": "igImParseFormatPrecision", + "defaults": {}, + "funcname": "ImParseFormatPrecision", + "location": "imgui_internal:405", + "ov_cimguiname": "igImParseFormatPrecision", + "ret": "int", + "signature": "(const char*,int)", + "stname": "" + } + ], + "igImParseFormatSanitizeForPrinting": [ + { + "args": "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)", + "argsT": [ + { + "name": "fmt_in", + "type": "const char*" + }, + { + "name": "fmt_out", + "type": "char*" + }, + { + "name": "fmt_out_size", + "type": "size_t" + } + ], + "argsoriginal": "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)", + "call_args": "(fmt_in,fmt_out,fmt_out_size)", + "cimguiname": "igImParseFormatSanitizeForPrinting", + "defaults": {}, + "funcname": "ImParseFormatSanitizeForPrinting", + "location": "imgui_internal:403", + "ov_cimguiname": "igImParseFormatSanitizeForPrinting", + "ret": "void", + "signature": "(const char*,char*,size_t)", + "stname": "" + } + ], + "igImParseFormatSanitizeForScanning": [ + { + "args": "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)", + "argsT": [ + { + "name": "fmt_in", + "type": "const char*" + }, + { + "name": "fmt_out", + "type": "char*" + }, + { + "name": "fmt_out_size", + "type": "size_t" + } + ], + "argsoriginal": "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)", + "call_args": "(fmt_in,fmt_out,fmt_out_size)", + "cimguiname": "igImParseFormatSanitizeForScanning", + "defaults": {}, + "funcname": "ImParseFormatSanitizeForScanning", + "location": "imgui_internal:404", + "ov_cimguiname": "igImParseFormatSanitizeForScanning", + "ret": "const char*", + "signature": "(const char*,char*,size_t)", + "stname": "" + } + ], + "igImParseFormatTrimDecorations": [ + { + "args": "(const char* format,char* buf,size_t buf_size)", + "argsT": [ + { + "name": "format", + "type": "const char*" + }, + { + "name": "buf", + "type": "char*" + }, + { + "name": "buf_size", + "type": "size_t" + } + ], + "argsoriginal": "(const char* format,char* buf,size_t buf_size)", + "call_args": "(format,buf,buf_size)", + "cimguiname": "igImParseFormatTrimDecorations", + "defaults": {}, + "funcname": "ImParseFormatTrimDecorations", + "location": "imgui_internal:402", + "ov_cimguiname": "igImParseFormatTrimDecorations", + "ret": "const char*", + "signature": "(const char*,char*,size_t)", + "stname": "" + } + ], + "igImPow": [ + { + "args": "(float x,float y)", + "argsT": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ], + "argsoriginal": "(float x,float y)", + "call_args": "(x,y)", + "cimguiname": "igImPow", + "defaults": {}, + "funcname": "ImPow", + "location": "imgui_internal:453", + "ov_cimguiname": "igImPow_Float", + "ret": "float", + "signature": "(float,float)", + "stname": "" + }, + { + "args": "(double x,double y)", + "argsT": [ + { + "name": "x", + "type": "double" + }, + { + "name": "y", + "type": "double" + } + ], + "argsoriginal": "(double x,double y)", + "call_args": "(x,y)", + "cimguiname": "igImPow", + "defaults": {}, + "funcname": "ImPow", + "location": "imgui_internal:454", + "ov_cimguiname": "igImPow_double", + "ret": "double", + "signature": "(double,double)", + "stname": "" + } + ], + "igImQsort": [ + { + "args": "(void* base,size_t count,size_t size_of_element,int(*compare_func)(void const*,void const*))", + "argsT": [ + { + "name": "base", + "type": "void*" + }, + { + "name": "count", + "type": "size_t" + }, + { + "name": "size_of_element", + "type": "size_t" + }, + { + "name": "compare_func", + "ret": "int", + "signature": "(void const*,void const*)", + "type": "int(*)(void const*,void const*)" + } + ], + "argsoriginal": "(void* base,size_t count,size_t size_of_element,int(*compare_func)(void const*,void const*))", + "call_args": "(base,count,size_of_element,compare_func)", + "cimguiname": "igImQsort", + "defaults": {}, + "funcname": "ImQsort", + "location": "imgui_internal:364", + "ov_cimguiname": "igImQsort", + "ret": "void", + "signature": "(void*,size_t,size_t,int(*)(void const*,void const*))", + "stname": "" + } + ], + "igImRotate": [ + { + "args": "(ImVec2 *pOut,const ImVec2 v,float cos_a,float sin_a)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "v", + "type": "const ImVec2" + }, + { + "name": "cos_a", + "type": "float" + }, + { + "name": "sin_a", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& v,float cos_a,float sin_a)", + "call_args": "(v,cos_a,sin_a)", + "cimguiname": "igImRotate", + "defaults": {}, + "funcname": "ImRotate", + "location": "imgui_internal:495", + "nonUDT": 1, + "ov_cimguiname": "igImRotate", + "ret": "void", + "signature": "(const ImVec2,float,float)", + "stname": "" + } + ], + "igImRsqrt": [ + { + "args": "(float x)", + "argsT": [ + { + "name": "x", + "type": "float" + } + ], + "argsoriginal": "(float x)", + "call_args": "(x)", + "cimguiname": "igImRsqrt", + "defaults": {}, + "funcname": "ImRsqrt", + "location": "imgui_internal:465", + "ov_cimguiname": "igImRsqrt_Float", + "ret": "float", + "signature": "(float)", + "stname": "" + }, + { + "args": "(double x)", + "argsT": [ + { + "name": "x", + "type": "double" + } + ], + "argsoriginal": "(double x)", + "call_args": "(x)", + "cimguiname": "igImRsqrt", + "defaults": {}, + "funcname": "ImRsqrt", + "location": "imgui_internal:467", + "ov_cimguiname": "igImRsqrt_double", + "ret": "double", + "signature": "(double)", + "stname": "" + } + ], + "igImSaturate": [ + { + "args": "(float f)", + "argsT": [ + { + "name": "f", + "type": "float" + } + ], + "argsoriginal": "(float f)", + "call_args": "(f)", + "cimguiname": "igImSaturate", + "defaults": {}, + "funcname": "ImSaturate", + "location": "imgui_internal:485", + "ov_cimguiname": "igImSaturate", + "ret": "float", + "signature": "(float)", + "stname": "" + } + ], + "igImSign": [ + { + "args": "(float x)", + "argsT": [ + { + "name": "x", + "type": "float" + } + ], + "argsoriginal": "(float x)", + "call_args": "(x)", + "cimguiname": "igImSign", + "defaults": {}, + "funcname": "ImSign", + "location": "imgui_internal:460", + "ov_cimguiname": "igImSign_Float", + "ret": "float", + "signature": "(float)", + "stname": "" + }, + { + "args": "(double x)", + "argsT": [ + { + "name": "x", + "type": "double" + } + ], + "argsoriginal": "(double x)", + "call_args": "(x)", + "cimguiname": "igImSign", + "defaults": {}, + "funcname": "ImSign", + "location": "imgui_internal:461", + "ov_cimguiname": "igImSign_double", + "ret": "double", + "signature": "(double)", + "stname": "" + } + ], + "igImStrSkipBlank": [ + { + "args": "(const char* str)", + "argsT": [ + { + "name": "str", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str)", + "call_args": "(str)", + "cimguiname": "igImStrSkipBlank", + "defaults": {}, + "funcname": "ImStrSkipBlank", + "location": "imgui_internal:385", + "ov_cimguiname": "igImStrSkipBlank", + "ret": "const char*", + "signature": "(const char*)", + "stname": "" + } + ], + "igImStrTrimBlanks": [ + { + "args": "(char* str)", + "argsT": [ + { + "name": "str", + "type": "char*" + } + ], + "argsoriginal": "(char* str)", + "call_args": "(str)", + "cimguiname": "igImStrTrimBlanks", + "defaults": {}, + "funcname": "ImStrTrimBlanks", + "location": "imgui_internal:384", + "ov_cimguiname": "igImStrTrimBlanks", + "ret": "void", + "signature": "(char*)", + "stname": "" + } + ], + "igImStrbol": [ + { + "args": "(const char* buf_mid_line,const char* buf_begin)", + "argsT": [ + { + "name": "buf_mid_line", + "type": "const char*" + }, + { + "name": "buf_begin", + "type": "const char*" + } + ], + "argsoriginal": "(const char* buf_mid_line,const char* buf_begin)", + "call_args": "(buf_mid_line,buf_begin)", + "cimguiname": "igImStrbol", + "defaults": {}, + "funcname": "ImStrbol", + "location": "imgui_internal:387", + "ov_cimguiname": "igImStrbol", + "ret": "const char*", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igImStrchrRange": [ + { + "args": "(const char* str_begin,const char* str_end,char c)", + "argsT": [ + { + "name": "str_begin", + "type": "const char*" + }, + { + "name": "str_end", + "type": "const char*" + }, + { + "name": "c", + "type": "char" + } + ], + "argsoriginal": "(const char* str_begin,const char* str_end,char c)", + "call_args": "(str_begin,str_end,c)", + "cimguiname": "igImStrchrRange", + "defaults": {}, + "funcname": "ImStrchrRange", + "location": "imgui_internal:381", + "ov_cimguiname": "igImStrchrRange", + "ret": "const char*", + "signature": "(const char*,const char*,char)", + "stname": "" + } + ], + "igImStrdup": [ + { + "args": "(const char* str)", + "argsT": [ + { + "name": "str", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str)", + "call_args": "(str)", + "cimguiname": "igImStrdup", + "defaults": {}, + "funcname": "ImStrdup", + "location": "imgui_internal:379", + "ov_cimguiname": "igImStrdup", + "ret": "char*", + "signature": "(const char*)", + "stname": "" + } + ], + "igImStrdupcpy": [ + { + "args": "(char* dst,size_t* p_dst_size,const char* str)", + "argsT": [ + { + "name": "dst", + "type": "char*" + }, + { + "name": "p_dst_size", + "type": "size_t*" + }, + { + "name": "str", + "type": "const char*" + } + ], + "argsoriginal": "(char* dst,size_t* p_dst_size,const char* str)", + "call_args": "(dst,p_dst_size,str)", + "cimguiname": "igImStrdupcpy", + "defaults": {}, + "funcname": "ImStrdupcpy", + "location": "imgui_internal:380", + "ov_cimguiname": "igImStrdupcpy", + "ret": "char*", + "signature": "(char*,size_t*,const char*)", + "stname": "" + } + ], + "igImStreolRange": [ + { + "args": "(const char* str,const char* str_end)", + "argsT": [ + { + "name": "str", + "type": "const char*" + }, + { + "name": "str_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str,const char* str_end)", + "call_args": "(str,str_end)", + "cimguiname": "igImStreolRange", + "defaults": {}, + "funcname": "ImStreolRange", + "location": "imgui_internal:382", + "ov_cimguiname": "igImStreolRange", + "ret": "const char*", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igImStricmp": [ + { + "args": "(const char* str1,const char* str2)", + "argsT": [ + { + "name": "str1", + "type": "const char*" + }, + { + "name": "str2", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str1,const char* str2)", + "call_args": "(str1,str2)", + "cimguiname": "igImStricmp", + "defaults": {}, + "funcname": "ImStricmp", + "location": "imgui_internal:376", + "ov_cimguiname": "igImStricmp", + "ret": "int", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igImStristr": [ + { + "args": "(const char* haystack,const char* haystack_end,const char* needle,const char* needle_end)", + "argsT": [ + { + "name": "haystack", + "type": "const char*" + }, + { + "name": "haystack_end", + "type": "const char*" + }, + { + "name": "needle", + "type": "const char*" + }, + { + "name": "needle_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* haystack,const char* haystack_end,const char* needle,const char* needle_end)", + "call_args": "(haystack,haystack_end,needle,needle_end)", + "cimguiname": "igImStristr", + "defaults": {}, + "funcname": "ImStristr", + "location": "imgui_internal:383", + "ov_cimguiname": "igImStristr", + "ret": "const char*", + "signature": "(const char*,const char*,const char*,const char*)", + "stname": "" + } + ], + "igImStrlenW": [ + { + "args": "(const ImWchar* str)", + "argsT": [ + { + "name": "str", + "type": "const ImWchar*" + } + ], + "argsoriginal": "(const ImWchar* str)", + "call_args": "(str)", + "cimguiname": "igImStrlenW", + "defaults": {}, + "funcname": "ImStrlenW", + "location": "imgui_internal:386", + "ov_cimguiname": "igImStrlenW", + "ret": "int", + "signature": "(const ImWchar*)", + "stname": "" + } + ], + "igImStrncpy": [ + { + "args": "(char* dst,const char* src,size_t count)", + "argsT": [ + { + "name": "dst", + "type": "char*" + }, + { + "name": "src", + "type": "const char*" + }, + { + "name": "count", + "type": "size_t" + } + ], + "argsoriginal": "(char* dst,const char* src,size_t count)", + "call_args": "(dst,src,count)", + "cimguiname": "igImStrncpy", + "defaults": {}, + "funcname": "ImStrncpy", + "location": "imgui_internal:378", + "ov_cimguiname": "igImStrncpy", + "ret": "void", + "signature": "(char*,const char*,size_t)", + "stname": "" + } + ], + "igImStrnicmp": [ + { + "args": "(const char* str1,const char* str2,size_t count)", + "argsT": [ + { + "name": "str1", + "type": "const char*" + }, + { + "name": "str2", + "type": "const char*" + }, + { + "name": "count", + "type": "size_t" + } + ], + "argsoriginal": "(const char* str1,const char* str2,size_t count)", + "call_args": "(str1,str2,count)", + "cimguiname": "igImStrnicmp", + "defaults": {}, + "funcname": "ImStrnicmp", + "location": "imgui_internal:377", + "ov_cimguiname": "igImStrnicmp", + "ret": "int", + "signature": "(const char*,const char*,size_t)", + "stname": "" + } + ], + "igImTextCharFromUtf8": [ + { + "args": "(unsigned int* out_char,const char* in_text,const char* in_text_end)", + "argsT": [ + { + "name": "out_char", + "type": "unsigned int*" + }, + { + "name": "in_text", + "type": "const char*" + }, + { + "name": "in_text_end", + "type": "const char*" + } + ], + "argsoriginal": "(unsigned int* out_char,const char* in_text,const char* in_text_end)", + "call_args": "(out_char,in_text,in_text_end)", + "cimguiname": "igImTextCharFromUtf8", + "defaults": {}, + "funcname": "ImTextCharFromUtf8", + "location": "imgui_internal:410", + "ov_cimguiname": "igImTextCharFromUtf8", + "ret": "int", + "signature": "(unsigned int*,const char*,const char*)", + "stname": "" + } + ], + "igImTextCharToUtf8": [ + { + "args": "(char out_buf[5],unsigned int c)", + "argsT": [ + { + "name": "out_buf", + "type": "char[5]" + }, + { + "name": "c", + "type": "unsigned int" + } + ], + "argsoriginal": "(char out_buf[5],unsigned int c)", + "call_args": "(out_buf,c)", + "cimguiname": "igImTextCharToUtf8", + "defaults": {}, + "funcname": "ImTextCharToUtf8", + "location": "imgui_internal:408", + "ov_cimguiname": "igImTextCharToUtf8", + "ret": "const char*", + "signature": "(char[5],unsigned int)", + "stname": "" + } + ], + "igImTextCountCharsFromUtf8": [ + { + "args": "(const char* in_text,const char* in_text_end)", + "argsT": [ + { + "name": "in_text", + "type": "const char*" + }, + { + "name": "in_text_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* in_text,const char* in_text_end)", + "call_args": "(in_text,in_text_end)", + "cimguiname": "igImTextCountCharsFromUtf8", + "defaults": {}, + "funcname": "ImTextCountCharsFromUtf8", + "location": "imgui_internal:412", + "ov_cimguiname": "igImTextCountCharsFromUtf8", + "ret": "int", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igImTextCountLines": [ + { + "args": "(const char* in_text,const char* in_text_end)", + "argsT": [ + { + "name": "in_text", + "type": "const char*" + }, + { + "name": "in_text_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* in_text,const char* in_text_end)", + "call_args": "(in_text,in_text_end)", + "cimguiname": "igImTextCountLines", + "defaults": {}, + "funcname": "ImTextCountLines", + "location": "imgui_internal:416", + "ov_cimguiname": "igImTextCountLines", + "ret": "int", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igImTextCountUtf8BytesFromChar": [ + { + "args": "(const char* in_text,const char* in_text_end)", + "argsT": [ + { + "name": "in_text", + "type": "const char*" + }, + { + "name": "in_text_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* in_text,const char* in_text_end)", + "call_args": "(in_text,in_text_end)", + "cimguiname": "igImTextCountUtf8BytesFromChar", + "defaults": {}, + "funcname": "ImTextCountUtf8BytesFromChar", + "location": "imgui_internal:413", + "ov_cimguiname": "igImTextCountUtf8BytesFromChar", + "ret": "int", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igImTextCountUtf8BytesFromStr": [ + { + "args": "(const ImWchar* in_text,const ImWchar* in_text_end)", + "argsT": [ + { + "name": "in_text", + "type": "const ImWchar*" + }, + { + "name": "in_text_end", + "type": "const ImWchar*" + } + ], + "argsoriginal": "(const ImWchar* in_text,const ImWchar* in_text_end)", + "call_args": "(in_text,in_text_end)", + "cimguiname": "igImTextCountUtf8BytesFromStr", + "defaults": {}, + "funcname": "ImTextCountUtf8BytesFromStr", + "location": "imgui_internal:414", + "ov_cimguiname": "igImTextCountUtf8BytesFromStr", + "ret": "int", + "signature": "(const ImWchar*,const ImWchar*)", + "stname": "" + } + ], + "igImTextFindPreviousUtf8Codepoint": [ + { + "args": "(const char* in_text_start,const char* in_text_curr)", + "argsT": [ + { + "name": "in_text_start", + "type": "const char*" + }, + { + "name": "in_text_curr", + "type": "const char*" + } + ], + "argsoriginal": "(const char* in_text_start,const char* in_text_curr)", + "call_args": "(in_text_start,in_text_curr)", + "cimguiname": "igImTextFindPreviousUtf8Codepoint", + "defaults": {}, + "funcname": "ImTextFindPreviousUtf8Codepoint", + "location": "imgui_internal:415", + "ov_cimguiname": "igImTextFindPreviousUtf8Codepoint", + "ret": "const char*", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igImTextStrFromUtf8": [ + { + "args": "(ImWchar* out_buf,int out_buf_size,const char* in_text,const char* in_text_end,const char** in_remaining)", + "argsT": [ + { + "name": "out_buf", + "type": "ImWchar*" + }, + { + "name": "out_buf_size", + "type": "int" + }, + { + "name": "in_text", + "type": "const char*" + }, + { + "name": "in_text_end", + "type": "const char*" + }, + { + "name": "in_remaining", + "type": "const char**" + } + ], + "argsoriginal": "(ImWchar* out_buf,int out_buf_size,const char* in_text,const char* in_text_end,const char** in_remaining=((void*)0))", + "call_args": "(out_buf,out_buf_size,in_text,in_text_end,in_remaining)", + "cimguiname": "igImTextStrFromUtf8", + "defaults": { + "in_remaining": "NULL" + }, + "funcname": "ImTextStrFromUtf8", + "location": "imgui_internal:411", + "ov_cimguiname": "igImTextStrFromUtf8", + "ret": "int", + "signature": "(ImWchar*,int,const char*,const char*,const char**)", + "stname": "" + } + ], + "igImTextStrToUtf8": [ + { + "args": "(char* out_buf,int out_buf_size,const ImWchar* in_text,const ImWchar* in_text_end)", + "argsT": [ + { + "name": "out_buf", + "type": "char*" + }, + { + "name": "out_buf_size", + "type": "int" + }, + { + "name": "in_text", + "type": "const ImWchar*" + }, + { + "name": "in_text_end", + "type": "const ImWchar*" + } + ], + "argsoriginal": "(char* out_buf,int out_buf_size,const ImWchar* in_text,const ImWchar* in_text_end)", + "call_args": "(out_buf,out_buf_size,in_text,in_text_end)", + "cimguiname": "igImTextStrToUtf8", + "defaults": {}, + "funcname": "ImTextStrToUtf8", + "location": "imgui_internal:409", + "ov_cimguiname": "igImTextStrToUtf8", + "ret": "int", + "signature": "(char*,int,const ImWchar*,const ImWchar*)", + "stname": "" + } + ], + "igImToUpper": [ + { + "args": "(char c)", + "argsT": [ + { + "name": "c", + "type": "char" + } + ], + "argsoriginal": "(char c)", + "call_args": "(c)", + "cimguiname": "igImToUpper", + "defaults": {}, + "funcname": "ImToUpper", + "location": "imgui_internal:389", + "ov_cimguiname": "igImToUpper", + "ret": "char", + "signature": "(char)", + "stname": "" + } + ], + "igImTriangleArea": [ + { + "args": "(const ImVec2 a,const ImVec2 b,const ImVec2 c)", + "argsT": [ + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + }, + { + "name": "c", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c)", + "call_args": "(a,b,c)", + "cimguiname": "igImTriangleArea", + "defaults": {}, + "funcname": "ImTriangleArea", + "location": "imgui_internal:512", + "ov_cimguiname": "igImTriangleArea", + "ret": "float", + "signature": "(const ImVec2,const ImVec2,const ImVec2)", + "stname": "" + } + ], + "igImTriangleBarycentricCoords": [ + { + "args": "(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 p,float* out_u,float* out_v,float* out_w)", + "argsT": [ + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + }, + { + "name": "c", + "type": "const ImVec2" + }, + { + "name": "p", + "type": "const ImVec2" + }, + { + "name": "out_u", + "reftoptr": true, + "type": "float*" + }, + { + "name": "out_v", + "reftoptr": true, + "type": "float*" + }, + { + "name": "out_w", + "reftoptr": true, + "type": "float*" + } + ], + "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& p,float& out_u,float& out_v,float& out_w)", + "call_args": "(a,b,c,p,*out_u,*out_v,*out_w)", + "cimguiname": "igImTriangleBarycentricCoords", + "defaults": {}, + "funcname": "ImTriangleBarycentricCoords", + "location": "imgui_internal:511", + "ov_cimguiname": "igImTriangleBarycentricCoords", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,float*,float*,float*)", + "stname": "" + } + ], + "igImTriangleClosestPoint": [ + { + "args": "(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 p)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + }, + { + "name": "c", + "type": "const ImVec2" + }, + { + "name": "p", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& p)", + "call_args": "(a,b,c,p)", + "cimguiname": "igImTriangleClosestPoint", + "defaults": {}, + "funcname": "ImTriangleClosestPoint", + "location": "imgui_internal:510", + "nonUDT": 1, + "ov_cimguiname": "igImTriangleClosestPoint", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2)", + "stname": "" + } + ], + "igImTriangleContainsPoint": [ + { + "args": "(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 p)", + "argsT": [ + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + }, + { + "name": "c", + "type": "const ImVec2" + }, + { + "name": "p", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& p)", + "call_args": "(a,b,c,p)", + "cimguiname": "igImTriangleContainsPoint", + "defaults": {}, + "funcname": "ImTriangleContainsPoint", + "location": "imgui_internal:509", + "ov_cimguiname": "igImTriangleContainsPoint", + "ret": "bool", + "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2)", + "stname": "" + } + ], + "igImTriangleIsClockwise": [ + { + "args": "(const ImVec2 a,const ImVec2 b,const ImVec2 c)", + "argsT": [ + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + }, + { + "name": "c", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c)", + "call_args": "(a,b,c)", + "cimguiname": "igImTriangleIsClockwise", + "defaults": {}, + "funcname": "ImTriangleIsClockwise", + "location": "imgui_internal:513", + "ov_cimguiname": "igImTriangleIsClockwise", + "ret": "bool", + "signature": "(const ImVec2,const ImVec2,const ImVec2)", + "stname": "" + } + ], + "igImTrunc": [ + { + "args": "(float f)", + "argsT": [ + { + "name": "f", + "type": "float" + } + ], + "argsoriginal": "(float f)", + "call_args": "(f)", + "cimguiname": "igImTrunc", + "defaults": {}, + "funcname": "ImTrunc", + "location": "imgui_internal:489", + "ov_cimguiname": "igImTrunc_Float", + "ret": "float", + "signature": "(float)", + "stname": "" + }, + { + "args": "(ImVec2 *pOut,const ImVec2 v)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "v", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& v)", + "call_args": "(v)", + "cimguiname": "igImTrunc", + "defaults": {}, + "funcname": "ImTrunc", + "location": "imgui_internal:490", + "nonUDT": 1, + "ov_cimguiname": "igImTrunc_Vec2", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "" + } + ], + "igImUpperPowerOfTwo": [ + { + "args": "(int v)", + "argsT": [ + { + "name": "v", + "type": "int" + } + ], + "argsoriginal": "(int v)", + "call_args": "(v)", + "cimguiname": "igImUpperPowerOfTwo", + "defaults": {}, + "funcname": "ImUpperPowerOfTwo", + "location": "imgui_internal:373", + "ov_cimguiname": "igImUpperPowerOfTwo", + "ret": "int", + "signature": "(int)", + "stname": "" + } + ], + "igImage": [ + { + "args": "(ImTextureID user_texture_id,const ImVec2 image_size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)", + "argsT": [ + { + "name": "user_texture_id", + "type": "ImTextureID" + }, + { + "name": "image_size", + "type": "const ImVec2" + }, + { + "name": "uv0", + "type": "const ImVec2" + }, + { + "name": "uv1", + "type": "const ImVec2" + }, + { + "name": "tint_col", + "type": "const ImVec4" + }, + { + "name": "border_col", + "type": "const ImVec4" + } + ], + "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& image_size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))", + "call_args": "(user_texture_id,image_size,uv0,uv1,tint_col,border_col)", + "cimguiname": "igImage", + "defaults": { + "border_col": "ImVec4(0,0,0,0)", + "tint_col": "ImVec4(1,1,1,1)", + "uv0": "ImVec2(0,0)", + "uv1": "ImVec2(1,1)" + }, + "funcname": "Image", + "location": "imgui:576", + "namespace": "ImGui", + "ov_cimguiname": "igImage", + "ret": "void", + "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)", + "stname": "" + } + ], + "igImageButton": [ + { + "args": "(const char* str_id,ImTextureID user_texture_id,const ImVec2 image_size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "user_texture_id", + "type": "ImTextureID" + }, + { + "name": "image_size", + "type": "const ImVec2" + }, + { + "name": "uv0", + "type": "const ImVec2" + }, + { + "name": "uv1", + "type": "const ImVec2" + }, + { + "name": "bg_col", + "type": "const ImVec4" + }, + { + "name": "tint_col", + "type": "const ImVec4" + } + ], + "argsoriginal": "(const char* str_id,ImTextureID user_texture_id,const ImVec2& image_size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))", + "call_args": "(str_id,user_texture_id,image_size,uv0,uv1,bg_col,tint_col)", + "cimguiname": "igImageButton", + "defaults": { + "bg_col": "ImVec4(0,0,0,0)", + "tint_col": "ImVec4(1,1,1,1)", + "uv0": "ImVec2(0,0)", + "uv1": "ImVec2(1,1)" + }, + "funcname": "ImageButton", + "location": "imgui:577", + "namespace": "ImGui", + "ov_cimguiname": "igImageButton", + "ret": "bool", + "signature": "(const char*,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)", + "stname": "" + } + ], + "igImageButtonEx": [ + { + "args": "(ImGuiID id,ImTextureID user_texture_id,const ImVec2 image_size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col,ImGuiButtonFlags flags)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "user_texture_id", + "type": "ImTextureID" + }, + { + "name": "image_size", + "type": "const ImVec2" + }, + { + "name": "uv0", + "type": "const ImVec2" + }, + { + "name": "uv1", + "type": "const ImVec2" + }, + { + "name": "bg_col", + "type": "const ImVec4" + }, + { + "name": "tint_col", + "type": "const ImVec4" + }, + { + "name": "flags", + "type": "ImGuiButtonFlags" + } + ], + "argsoriginal": "(ImGuiID id,ImTextureID user_texture_id,const ImVec2& image_size,const ImVec2& uv0,const ImVec2& uv1,const ImVec4& bg_col,const ImVec4& tint_col,ImGuiButtonFlags flags=0)", + "call_args": "(id,user_texture_id,image_size,uv0,uv1,bg_col,tint_col,flags)", + "cimguiname": "igImageButtonEx", + "defaults": { + "flags": "0" + }, + "funcname": "ImageButtonEx", + "location": "imgui_internal:3695", + "namespace": "ImGui", + "ov_cimguiname": "igImageButtonEx", + "ret": "bool", + "signature": "(ImGuiID,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4,ImGuiButtonFlags)", + "stname": "" + } + ], + "igIndent": [ + { + "args": "(float indent_w)", + "argsT": [ + { + "name": "indent_w", + "type": "float" + } + ], + "argsoriginal": "(float indent_w=0.0f)", + "call_args": "(indent_w)", + "cimguiname": "igIndent", + "defaults": { + "indent_w": "0.0f" + }, + "funcname": "Indent", + "location": "imgui:507", + "namespace": "ImGui", + "ov_cimguiname": "igIndent", + "ret": "void", + "signature": "(float)", + "stname": "" + } + ], + "igInitialize": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igInitialize", + "defaults": {}, + "funcname": "Initialize", + "location": "imgui_internal:3239", + "namespace": "ImGui", + "ov_cimguiname": "igInitialize", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igInputDouble": [ + { + "args": "(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "double*" + }, + { + "name": "step", + "type": "double" + }, + { + "name": "step_fast", + "type": "double" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,double* v,double step=0.0,double step_fast=0.0,const char* format=\"%.6f\",ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,step,step_fast,format,flags)", + "cimguiname": "igInputDouble", + "defaults": { + "flags": "0", + "format": "\"%.6f\"", + "step": "0.0", + "step_fast": "0.0" + }, + "funcname": "InputDouble", + "location": "imgui:648", + "namespace": "ImGui", + "ov_cimguiname": "igInputDouble", + "ret": "bool", + "signature": "(const char*,double*,double,double,const char*,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputFloat": [ + { + "args": "(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float*" + }, + { + "name": "step", + "type": "float" + }, + { + "name": "step_fast", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,step,step_fast,format,flags)", + "cimguiname": "igInputFloat", + "defaults": { + "flags": "0", + "format": "\"%.3f\"", + "step": "0.0f", + "step_fast": "0.0f" + }, + "funcname": "InputFloat", + "location": "imgui:640", + "namespace": "ImGui", + "ov_cimguiname": "igInputFloat", + "ret": "bool", + "signature": "(const char*,float*,float,float,const char*,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputFloat2": [ + { + "args": "(const char* label,float v[2],const char* format,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[2]" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,format,flags)", + "cimguiname": "igInputFloat2", + "defaults": { + "flags": "0", + "format": "\"%.3f\"" + }, + "funcname": "InputFloat2", + "location": "imgui:641", + "namespace": "ImGui", + "ov_cimguiname": "igInputFloat2", + "ret": "bool", + "signature": "(const char*,float[2],const char*,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputFloat3": [ + { + "args": "(const char* label,float v[3],const char* format,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[3]" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,format,flags)", + "cimguiname": "igInputFloat3", + "defaults": { + "flags": "0", + "format": "\"%.3f\"" + }, + "funcname": "InputFloat3", + "location": "imgui:642", + "namespace": "ImGui", + "ov_cimguiname": "igInputFloat3", + "ret": "bool", + "signature": "(const char*,float[3],const char*,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputFloat4": [ + { + "args": "(const char* label,float v[4],const char* format,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[4]" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,format,flags)", + "cimguiname": "igInputFloat4", + "defaults": { + "flags": "0", + "format": "\"%.3f\"" + }, + "funcname": "InputFloat4", + "location": "imgui:643", + "namespace": "ImGui", + "ov_cimguiname": "igInputFloat4", + "ret": "bool", + "signature": "(const char*,float[4],const char*,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputInt": [ + { + "args": "(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int*" + }, + { + "name": "step", + "type": "int" + }, + { + "name": "step_fast", + "type": "int" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,step,step_fast,flags)", + "cimguiname": "igInputInt", + "defaults": { + "flags": "0", + "step": "1", + "step_fast": "100" + }, + "funcname": "InputInt", + "location": "imgui:644", + "namespace": "ImGui", + "ov_cimguiname": "igInputInt", + "ret": "bool", + "signature": "(const char*,int*,int,int,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputInt2": [ + { + "args": "(const char* label,int v[2],ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[2]" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,int v[2],ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,flags)", + "cimguiname": "igInputInt2", + "defaults": { + "flags": "0" + }, + "funcname": "InputInt2", + "location": "imgui:645", + "namespace": "ImGui", + "ov_cimguiname": "igInputInt2", + "ret": "bool", + "signature": "(const char*,int[2],ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputInt3": [ + { + "args": "(const char* label,int v[3],ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[3]" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,int v[3],ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,flags)", + "cimguiname": "igInputInt3", + "defaults": { + "flags": "0" + }, + "funcname": "InputInt3", + "location": "imgui:646", + "namespace": "ImGui", + "ov_cimguiname": "igInputInt3", + "ret": "bool", + "signature": "(const char*,int[3],ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputInt4": [ + { + "args": "(const char* label,int v[4],ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[4]" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,int v[4],ImGuiInputTextFlags flags=0)", + "call_args": "(label,v,flags)", + "cimguiname": "igInputInt4", + "defaults": { + "flags": "0" + }, + "funcname": "InputInt4", + "location": "imgui:647", + "namespace": "ImGui", + "ov_cimguiname": "igInputInt4", + "ret": "bool", + "signature": "(const char*,int[4],ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputScalar": [ + { + "args": "(const char* label,ImGuiDataType data_type,void* p_data,const void* p_step,const void* p_step_fast,const char* format,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_data", + "type": "void*" + }, + { + "name": "p_step", + "type": "const void*" + }, + { + "name": "p_step_fast", + "type": "const void*" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,ImGuiDataType data_type,void* p_data,const void* p_step=((void*)0),const void* p_step_fast=((void*)0),const char* format=((void*)0),ImGuiInputTextFlags flags=0)", + "call_args": "(label,data_type,p_data,p_step,p_step_fast,format,flags)", + "cimguiname": "igInputScalar", + "defaults": { + "flags": "0", + "format": "NULL", + "p_step": "NULL", + "p_step_fast": "NULL" + }, + "funcname": "InputScalar", + "location": "imgui:649", + "namespace": "ImGui", + "ov_cimguiname": "igInputScalar", + "ret": "bool", + "signature": "(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputScalarN": [ + { + "args": "(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_step,const void* p_step_fast,const char* format,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_data", + "type": "void*" + }, + { + "name": "components", + "type": "int" + }, + { + "name": "p_step", + "type": "const void*" + }, + { + "name": "p_step_fast", + "type": "const void*" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_step=((void*)0),const void* p_step_fast=((void*)0),const char* format=((void*)0),ImGuiInputTextFlags flags=0)", + "call_args": "(label,data_type,p_data,components,p_step,p_step_fast,format,flags)", + "cimguiname": "igInputScalarN", + "defaults": { + "flags": "0", + "format": "NULL", + "p_step": "NULL", + "p_step_fast": "NULL" + }, + "funcname": "InputScalarN", + "location": "imgui:650", + "namespace": "ImGui", + "ov_cimguiname": "igInputScalarN", + "ret": "bool", + "signature": "(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igInputText": [ + { + "args": "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "buf", + "type": "char*" + }, + { + "name": "buf_size", + "type": "size_t" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + }, + { + "name": "callback", + "type": "ImGuiInputTextCallback" + }, + { + "name": "user_data", + "type": "void*" + } + ], + "argsoriginal": "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void*)0),void* user_data=((void*)0))", + "call_args": "(label,buf,buf_size,flags,callback,user_data)", + "cimguiname": "igInputText", + "defaults": { + "callback": "NULL", + "flags": "0", + "user_data": "NULL" + }, + "funcname": "InputText", + "location": "imgui:637", + "namespace": "ImGui", + "ov_cimguiname": "igInputText", + "ret": "bool", + "signature": "(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)", + "stname": "" + } + ], + "igInputTextDeactivateHook": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igInputTextDeactivateHook", + "defaults": {}, + "funcname": "InputTextDeactivateHook", + "location": "imgui_internal:3745", + "namespace": "ImGui", + "ov_cimguiname": "igInputTextDeactivateHook", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igInputTextEx": [ + { + "args": "(const char* label,const char* hint,char* buf,int buf_size,const ImVec2 size_arg,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "hint", + "type": "const char*" + }, + { + "name": "buf", + "type": "char*" + }, + { + "name": "buf_size", + "type": "int" + }, + { + "name": "size_arg", + "type": "const ImVec2" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + }, + { + "name": "callback", + "type": "ImGuiInputTextCallback" + }, + { + "name": "user_data", + "type": "void*" + } + ], + "argsoriginal": "(const char* label,const char* hint,char* buf,int buf_size,const ImVec2& size_arg,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback=((void*)0),void* user_data=((void*)0))", + "call_args": "(label,hint,buf,buf_size,size_arg,flags,callback,user_data)", + "cimguiname": "igInputTextEx", + "defaults": { + "callback": "NULL", + "user_data": "NULL" + }, + "funcname": "InputTextEx", + "location": "imgui_internal:3744", + "namespace": "ImGui", + "ov_cimguiname": "igInputTextEx", + "ret": "bool", + "signature": "(const char*,const char*,char*,int,const ImVec2,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)", + "stname": "" + } + ], + "igInputTextMultiline": [ + { + "args": "(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "buf", + "type": "char*" + }, + { + "name": "buf_size", + "type": "size_t" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + }, + { + "name": "callback", + "type": "ImGuiInputTextCallback" + }, + { + "name": "user_data", + "type": "void*" + } + ], + "argsoriginal": "(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void*)0),void* user_data=((void*)0))", + "call_args": "(label,buf,buf_size,size,flags,callback,user_data)", + "cimguiname": "igInputTextMultiline", + "defaults": { + "callback": "NULL", + "flags": "0", + "size": "ImVec2(0,0)", + "user_data": "NULL" + }, + "funcname": "InputTextMultiline", + "location": "imgui:638", + "namespace": "ImGui", + "ov_cimguiname": "igInputTextMultiline", + "ret": "bool", + "signature": "(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)", + "stname": "" + } + ], + "igInputTextWithHint": [ + { + "args": "(const char* label,const char* hint,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "hint", + "type": "const char*" + }, + { + "name": "buf", + "type": "char*" + }, + { + "name": "buf_size", + "type": "size_t" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + }, + { + "name": "callback", + "type": "ImGuiInputTextCallback" + }, + { + "name": "user_data", + "type": "void*" + } + ], + "argsoriginal": "(const char* label,const char* hint,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void*)0),void* user_data=((void*)0))", + "call_args": "(label,hint,buf,buf_size,flags,callback,user_data)", + "cimguiname": "igInputTextWithHint", + "defaults": { + "callback": "NULL", + "flags": "0", + "user_data": "NULL" + }, + "funcname": "InputTextWithHint", + "location": "imgui:639", + "namespace": "ImGui", + "ov_cimguiname": "igInputTextWithHint", + "ret": "bool", + "signature": "(const char*,const char*,char*,size_t,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)", + "stname": "" + } + ], + "igInvisibleButton": [ + { + "args": "(const char* str_id,const ImVec2 size,ImGuiButtonFlags flags)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "flags", + "type": "ImGuiButtonFlags" + } + ], + "argsoriginal": "(const char* str_id,const ImVec2& size,ImGuiButtonFlags flags=0)", + "call_args": "(str_id,size,flags)", + "cimguiname": "igInvisibleButton", + "defaults": { + "flags": "0" + }, + "funcname": "InvisibleButton", + "location": "imgui:559", + "namespace": "ImGui", + "ov_cimguiname": "igInvisibleButton", + "ret": "bool", + "signature": "(const char*,const ImVec2,ImGuiButtonFlags)", + "stname": "" + } + ], + "igIsActiveIdUsingNavDir": [ + { + "args": "(ImGuiDir dir)", + "argsT": [ + { + "name": "dir", + "type": "ImGuiDir" + } + ], + "argsoriginal": "(ImGuiDir dir)", + "call_args": "(dir)", + "cimguiname": "igIsActiveIdUsingNavDir", + "defaults": {}, + "funcname": "IsActiveIdUsingNavDir", + "location": "imgui_internal:3424", + "namespace": "ImGui", + "ov_cimguiname": "igIsActiveIdUsingNavDir", + "ret": "bool", + "signature": "(ImGuiDir)", + "stname": "" + } + ], + "igIsAliasKey": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsAliasKey", + "defaults": {}, + "funcname": "IsAliasKey", + "location": "imgui_internal:3401", + "namespace": "ImGui", + "ov_cimguiname": "igIsAliasKey", + "ret": "bool", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igIsAnyItemActive": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsAnyItemActive", + "defaults": {}, + "funcname": "IsAnyItemActive", + "location": "imgui:956", + "namespace": "ImGui", + "ov_cimguiname": "igIsAnyItemActive", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsAnyItemFocused": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsAnyItemFocused", + "defaults": {}, + "funcname": "IsAnyItemFocused", + "location": "imgui:957", + "namespace": "ImGui", + "ov_cimguiname": "igIsAnyItemFocused", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsAnyItemHovered": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsAnyItemHovered", + "defaults": {}, + "funcname": "IsAnyItemHovered", + "location": "imgui:955", + "namespace": "ImGui", + "ov_cimguiname": "igIsAnyItemHovered", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsAnyMouseDown": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsAnyMouseDown", + "defaults": {}, + "funcname": "IsAnyMouseDown", + "location": "imgui:1041", + "namespace": "ImGui", + "ov_cimguiname": "igIsAnyMouseDown", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsClippedEx": [ + { + "args": "(const ImRect bb,ImGuiID id)", + "argsT": [ + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(const ImRect& bb,ImGuiID id)", + "call_args": "(bb,id)", + "cimguiname": "igIsClippedEx", + "defaults": {}, + "funcname": "IsClippedEx", + "location": "imgui_internal:3319", + "namespace": "ImGui", + "ov_cimguiname": "igIsClippedEx", + "ret": "bool", + "signature": "(const ImRect,ImGuiID)", + "stname": "" + } + ], + "igIsDragDropActive": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsDragDropActive", + "defaults": {}, + "funcname": "IsDragDropActive", + "location": "imgui_internal:3546", + "namespace": "ImGui", + "ov_cimguiname": "igIsDragDropActive", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsDragDropPayloadBeingAccepted": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsDragDropPayloadBeingAccepted", + "defaults": {}, + "funcname": "IsDragDropPayloadBeingAccepted", + "location": "imgui_internal:3549", + "namespace": "ImGui", + "ov_cimguiname": "igIsDragDropPayloadBeingAccepted", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsGamepadKey": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsGamepadKey", + "defaults": {}, + "funcname": "IsGamepadKey", + "location": "imgui_internal:3399", + "namespace": "ImGui", + "ov_cimguiname": "igIsGamepadKey", + "ret": "bool", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igIsItemActivated": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemActivated", + "defaults": {}, + "funcname": "IsItemActivated", + "location": "imgui:951", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemActivated", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemActive": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemActive", + "defaults": {}, + "funcname": "IsItemActive", + "location": "imgui:946", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemActive", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemClicked": [ + { + "args": "(ImGuiMouseButton mouse_button)", + "argsT": [ + { + "name": "mouse_button", + "type": "ImGuiMouseButton" + } + ], + "argsoriginal": "(ImGuiMouseButton mouse_button=0)", + "call_args": "(mouse_button)", + "cimguiname": "igIsItemClicked", + "defaults": { + "mouse_button": "0" + }, + "funcname": "IsItemClicked", + "location": "imgui:948", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemClicked", + "ret": "bool", + "signature": "(ImGuiMouseButton)", + "stname": "" + } + ], + "igIsItemDeactivated": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemDeactivated", + "defaults": {}, + "funcname": "IsItemDeactivated", + "location": "imgui:952", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemDeactivated", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemDeactivatedAfterEdit": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemDeactivatedAfterEdit", + "defaults": {}, + "funcname": "IsItemDeactivatedAfterEdit", + "location": "imgui:953", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemDeactivatedAfterEdit", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemEdited": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemEdited", + "defaults": {}, + "funcname": "IsItemEdited", + "location": "imgui:950", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemEdited", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemFocused": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemFocused", + "defaults": {}, + "funcname": "IsItemFocused", + "location": "imgui:947", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemFocused", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemHovered": [ + { + "args": "(ImGuiHoveredFlags flags)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiHoveredFlags" + } + ], + "argsoriginal": "(ImGuiHoveredFlags flags=0)", + "call_args": "(flags)", + "cimguiname": "igIsItemHovered", + "defaults": { + "flags": "0" + }, + "funcname": "IsItemHovered", + "location": "imgui:945", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemHovered", + "ret": "bool", + "signature": "(ImGuiHoveredFlags)", + "stname": "" + } + ], + "igIsItemToggledOpen": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemToggledOpen", + "defaults": {}, + "funcname": "IsItemToggledOpen", + "location": "imgui:954", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemToggledOpen", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemToggledSelection": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemToggledSelection", + "defaults": {}, + "funcname": "IsItemToggledSelection", + "location": "imgui:699", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemToggledSelection", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsItemVisible": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsItemVisible", + "defaults": {}, + "funcname": "IsItemVisible", + "location": "imgui:949", + "namespace": "ImGui", + "ov_cimguiname": "igIsItemVisible", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsKeyChordPressed": [ + { + "args": "(ImGuiKeyChord key_chord)", + "argsT": [ + { + "name": "key_chord", + "type": "ImGuiKeyChord" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord)", + "call_args": "(key_chord)", + "cimguiname": "igIsKeyChordPressed", + "defaults": {}, + "funcname": "IsKeyChordPressed", + "location": "imgui:999", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyChordPressed_Nil", + "ret": "bool", + "signature": "(ImGuiKeyChord)", + "stname": "" + }, + { + "args": "(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id)", + "argsT": [ + { + "name": "key_chord", + "type": "ImGuiKeyChord" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id=0)", + "call_args": "(key_chord,flags,owner_id)", + "cimguiname": "igIsKeyChordPressed", + "defaults": { + "owner_id": "0" + }, + "funcname": "IsKeyChordPressed", + "location": "imgui_internal:3453", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyChordPressed_InputFlags", + "ret": "bool", + "signature": "(ImGuiKeyChord,ImGuiInputFlags,ImGuiID)", + "stname": "" + } + ], + "igIsKeyDown": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsKeyDown", + "defaults": {}, + "funcname": "IsKeyDown", + "location": "imgui:996", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyDown_Nil", + "ret": "bool", + "signature": "(ImGuiKey)", + "stname": "" + }, + { + "args": "(ImGuiKey key,ImGuiID owner_id)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiKey key,ImGuiID owner_id)", + "call_args": "(key,owner_id)", + "cimguiname": "igIsKeyDown", + "defaults": {}, + "funcname": "IsKeyDown", + "location": "imgui_internal:3450", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyDown_ID", + "ret": "bool", + "signature": "(ImGuiKey,ImGuiID)", + "stname": "" + } + ], + "igIsKeyPressed": [ + { + "args": "(ImGuiKey key,bool repeat)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "repeat", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiKey key,bool repeat=true)", + "call_args": "(key,repeat)", + "cimguiname": "igIsKeyPressed", + "defaults": { + "repeat": "true" + }, + "funcname": "IsKeyPressed", + "location": "imgui:997", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyPressed_Bool", + "ret": "bool", + "signature": "(ImGuiKey,bool)", + "stname": "" + }, + { + "args": "(ImGuiKey key,ImGuiInputFlags flags,ImGuiID owner_id)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiKey key,ImGuiInputFlags flags,ImGuiID owner_id=0)", + "call_args": "(key,flags,owner_id)", + "cimguiname": "igIsKeyPressed", + "defaults": { + "owner_id": "0" + }, + "funcname": "IsKeyPressed", + "location": "imgui_internal:3451", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyPressed_InputFlags", + "ret": "bool", + "signature": "(ImGuiKey,ImGuiInputFlags,ImGuiID)", + "stname": "" + } + ], + "igIsKeyReleased": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsKeyReleased", + "defaults": {}, + "funcname": "IsKeyReleased", + "location": "imgui:998", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyReleased_Nil", + "ret": "bool", + "signature": "(ImGuiKey)", + "stname": "" + }, + { + "args": "(ImGuiKey key,ImGuiID owner_id)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiKey key,ImGuiID owner_id)", + "call_args": "(key,owner_id)", + "cimguiname": "igIsKeyReleased", + "defaults": {}, + "funcname": "IsKeyReleased", + "location": "imgui_internal:3452", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyReleased_ID", + "ret": "bool", + "signature": "(ImGuiKey,ImGuiID)", + "stname": "" + } + ], + "igIsKeyboardKey": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsKeyboardKey", + "defaults": {}, + "funcname": "IsKeyboardKey", + "location": "imgui_internal:3398", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyboardKey", + "ret": "bool", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igIsLRModKey": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsLRModKey", + "defaults": {}, + "funcname": "IsLRModKey", + "location": "imgui_internal:3402", + "namespace": "ImGui", + "ov_cimguiname": "igIsLRModKey", + "ret": "bool", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igIsLegacyKey": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsLegacyKey", + "defaults": {}, + "funcname": "IsLegacyKey", + "location": "imgui_internal:3397", + "namespace": "ImGui", + "ov_cimguiname": "igIsLegacyKey", + "ret": "bool", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igIsMouseClicked": [ + { + "args": "(ImGuiMouseButton button,bool repeat)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + }, + { + "name": "repeat", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiMouseButton button,bool repeat=false)", + "call_args": "(button,repeat)", + "cimguiname": "igIsMouseClicked", + "defaults": { + "repeat": "false" + }, + "funcname": "IsMouseClicked", + "location": "imgui:1035", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseClicked_Bool", + "ret": "bool", + "signature": "(ImGuiMouseButton,bool)", + "stname": "" + }, + { + "args": "(ImGuiMouseButton button,ImGuiInputFlags flags,ImGuiID owner_id)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiMouseButton button,ImGuiInputFlags flags,ImGuiID owner_id=0)", + "call_args": "(button,flags,owner_id)", + "cimguiname": "igIsMouseClicked", + "defaults": { + "owner_id": "0" + }, + "funcname": "IsMouseClicked", + "location": "imgui_internal:3455", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseClicked_InputFlags", + "ret": "bool", + "signature": "(ImGuiMouseButton,ImGuiInputFlags,ImGuiID)", + "stname": "" + } + ], + "igIsMouseDoubleClicked": [ + { + "args": "(ImGuiMouseButton button)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + } + ], + "argsoriginal": "(ImGuiMouseButton button)", + "call_args": "(button)", + "cimguiname": "igIsMouseDoubleClicked", + "defaults": {}, + "funcname": "IsMouseDoubleClicked", + "location": "imgui:1037", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseDoubleClicked_Nil", + "ret": "bool", + "signature": "(ImGuiMouseButton)", + "stname": "" + }, + { + "args": "(ImGuiMouseButton button,ImGuiID owner_id)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiMouseButton button,ImGuiID owner_id)", + "call_args": "(button,owner_id)", + "cimguiname": "igIsMouseDoubleClicked", + "defaults": {}, + "funcname": "IsMouseDoubleClicked", + "location": "imgui_internal:3457", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseDoubleClicked_ID", + "ret": "bool", + "signature": "(ImGuiMouseButton,ImGuiID)", + "stname": "" + } + ], + "igIsMouseDown": [ + { + "args": "(ImGuiMouseButton button)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + } + ], + "argsoriginal": "(ImGuiMouseButton button)", + "call_args": "(button)", + "cimguiname": "igIsMouseDown", + "defaults": {}, + "funcname": "IsMouseDown", + "location": "imgui:1034", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseDown_Nil", + "ret": "bool", + "signature": "(ImGuiMouseButton)", + "stname": "" + }, + { + "args": "(ImGuiMouseButton button,ImGuiID owner_id)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiMouseButton button,ImGuiID owner_id)", + "call_args": "(button,owner_id)", + "cimguiname": "igIsMouseDown", + "defaults": {}, + "funcname": "IsMouseDown", + "location": "imgui_internal:3454", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseDown_ID", + "ret": "bool", + "signature": "(ImGuiMouseButton,ImGuiID)", + "stname": "" + } + ], + "igIsMouseDragPastThreshold": [ + { + "args": "(ImGuiMouseButton button,float lock_threshold)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + }, + { + "name": "lock_threshold", + "type": "float" + } + ], + "argsoriginal": "(ImGuiMouseButton button,float lock_threshold=-1.0f)", + "call_args": "(button,lock_threshold)", + "cimguiname": "igIsMouseDragPastThreshold", + "defaults": { + "lock_threshold": "-1.0f" + }, + "funcname": "IsMouseDragPastThreshold", + "location": "imgui_internal:3417", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseDragPastThreshold", + "ret": "bool", + "signature": "(ImGuiMouseButton,float)", + "stname": "" + } + ], + "igIsMouseDragging": [ + { + "args": "(ImGuiMouseButton button,float lock_threshold)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + }, + { + "name": "lock_threshold", + "type": "float" + } + ], + "argsoriginal": "(ImGuiMouseButton button,float lock_threshold=-1.0f)", + "call_args": "(button,lock_threshold)", + "cimguiname": "igIsMouseDragging", + "defaults": { + "lock_threshold": "-1.0f" + }, + "funcname": "IsMouseDragging", + "location": "imgui:1044", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseDragging", + "ret": "bool", + "signature": "(ImGuiMouseButton,float)", + "stname": "" + } + ], + "igIsMouseHoveringRect": [ + { + "args": "(const ImVec2 r_min,const ImVec2 r_max,bool clip)", + "argsT": [ + { + "name": "r_min", + "type": "const ImVec2" + }, + { + "name": "r_max", + "type": "const ImVec2" + }, + { + "name": "clip", + "type": "bool" + } + ], + "argsoriginal": "(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)", + "call_args": "(r_min,r_max,clip)", + "cimguiname": "igIsMouseHoveringRect", + "defaults": { + "clip": "true" + }, + "funcname": "IsMouseHoveringRect", + "location": "imgui:1039", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseHoveringRect", + "ret": "bool", + "signature": "(const ImVec2,const ImVec2,bool)", + "stname": "" + } + ], + "igIsMouseKey": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsMouseKey", + "defaults": {}, + "funcname": "IsMouseKey", + "location": "imgui_internal:3400", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseKey", + "ret": "bool", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igIsMousePosValid": [ + { + "args": "(const ImVec2* mouse_pos)", + "argsT": [ + { + "name": "mouse_pos", + "type": "const ImVec2*" + } + ], + "argsoriginal": "(const ImVec2* mouse_pos=((void*)0))", + "call_args": "(mouse_pos)", + "cimguiname": "igIsMousePosValid", + "defaults": { + "mouse_pos": "NULL" + }, + "funcname": "IsMousePosValid", + "location": "imgui:1040", + "namespace": "ImGui", + "ov_cimguiname": "igIsMousePosValid", + "ret": "bool", + "signature": "(const ImVec2*)", + "stname": "" + } + ], + "igIsMouseReleased": [ + { + "args": "(ImGuiMouseButton button)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + } + ], + "argsoriginal": "(ImGuiMouseButton button)", + "call_args": "(button)", + "cimguiname": "igIsMouseReleased", + "defaults": {}, + "funcname": "IsMouseReleased", + "location": "imgui:1036", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseReleased_Nil", + "ret": "bool", + "signature": "(ImGuiMouseButton)", + "stname": "" + }, + { + "args": "(ImGuiMouseButton button,ImGuiID owner_id)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiMouseButton button,ImGuiID owner_id)", + "call_args": "(button,owner_id)", + "cimguiname": "igIsMouseReleased", + "defaults": {}, + "funcname": "IsMouseReleased", + "location": "imgui_internal:3456", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseReleased_ID", + "ret": "bool", + "signature": "(ImGuiMouseButton,ImGuiID)", + "stname": "" + } + ], + "igIsNamedKey": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsNamedKey", + "defaults": {}, + "funcname": "IsNamedKey", + "location": "imgui_internal:3395", + "namespace": "ImGui", + "ov_cimguiname": "igIsNamedKey", + "ret": "bool", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igIsNamedKeyOrMod": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsNamedKeyOrMod", + "defaults": {}, + "funcname": "IsNamedKeyOrMod", + "location": "imgui_internal:3396", + "namespace": "ImGui", + "ov_cimguiname": "igIsNamedKeyOrMod", + "ret": "bool", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igIsPopupOpen": [ + { + "args": "(const char* str_id,ImGuiPopupFlags flags)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiPopupFlags" + } + ], + "argsoriginal": "(const char* str_id,ImGuiPopupFlags flags=0)", + "call_args": "(str_id,flags)", + "cimguiname": "igIsPopupOpen", + "defaults": { + "flags": "0" + }, + "funcname": "IsPopupOpen", + "location": "imgui:797", + "namespace": "ImGui", + "ov_cimguiname": "igIsPopupOpen_Str", + "ret": "bool", + "signature": "(const char*,ImGuiPopupFlags)", + "stname": "" + }, + { + "args": "(ImGuiID id,ImGuiPopupFlags popup_flags)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "popup_flags", + "type": "ImGuiPopupFlags" + } + ], + "argsoriginal": "(ImGuiID id,ImGuiPopupFlags popup_flags)", + "call_args": "(id,popup_flags)", + "cimguiname": "igIsPopupOpen", + "defaults": {}, + "funcname": "IsPopupOpen", + "location": "imgui_internal:3346", + "namespace": "ImGui", + "ov_cimguiname": "igIsPopupOpen_ID", + "ret": "bool", + "signature": "(ImGuiID,ImGuiPopupFlags)", + "stname": "" + } + ], + "igIsRectVisible": [ + { + "args": "(const ImVec2 size)", + "argsT": [ + { + "name": "size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& size)", + "call_args": "(size)", + "cimguiname": "igIsRectVisible", + "defaults": {}, + "funcname": "IsRectVisible", + "location": "imgui:974", + "namespace": "ImGui", + "ov_cimguiname": "igIsRectVisible_Nil", + "ret": "bool", + "signature": "(const ImVec2)", + "stname": "" + }, + { + "args": "(const ImVec2 rect_min,const ImVec2 rect_max)", + "argsT": [ + { + "name": "rect_min", + "type": "const ImVec2" + }, + { + "name": "rect_max", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& rect_min,const ImVec2& rect_max)", + "call_args": "(rect_min,rect_max)", + "cimguiname": "igIsRectVisible", + "defaults": {}, + "funcname": "IsRectVisible", + "location": "imgui:975", + "namespace": "ImGui", + "ov_cimguiname": "igIsRectVisible_Vec2", + "ret": "bool", + "signature": "(const ImVec2,const ImVec2)", + "stname": "" + } + ], + "igIsWindowAbove": [ + { + "args": "(ImGuiWindow* potential_above,ImGuiWindow* potential_below)", + "argsT": [ + { + "name": "potential_above", + "type": "ImGuiWindow*" + }, + { + "name": "potential_below", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* potential_above,ImGuiWindow* potential_below)", + "call_args": "(potential_above,potential_below)", + "cimguiname": "igIsWindowAbove", + "defaults": {}, + "funcname": "IsWindowAbove", + "location": "imgui_internal:3206", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowAbove", + "ret": "bool", + "signature": "(ImGuiWindow*,ImGuiWindow*)", + "stname": "" + } + ], + "igIsWindowAppearing": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsWindowAppearing", + "defaults": {}, + "funcname": "IsWindowAppearing", + "location": "imgui:401", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowAppearing", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsWindowChildOf": [ + { + "args": "(ImGuiWindow* window,ImGuiWindow* potential_parent,bool popup_hierarchy,bool dock_hierarchy)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "potential_parent", + "type": "ImGuiWindow*" + }, + { + "name": "popup_hierarchy", + "type": "bool" + }, + { + "name": "dock_hierarchy", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiWindow* potential_parent,bool popup_hierarchy,bool dock_hierarchy)", + "call_args": "(window,potential_parent,popup_hierarchy,dock_hierarchy)", + "cimguiname": "igIsWindowChildOf", + "defaults": {}, + "funcname": "IsWindowChildOf", + "location": "imgui_internal:3204", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowChildOf", + "ret": "bool", + "signature": "(ImGuiWindow*,ImGuiWindow*,bool,bool)", + "stname": "" + } + ], + "igIsWindowCollapsed": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsWindowCollapsed", + "defaults": {}, + "funcname": "IsWindowCollapsed", + "location": "imgui:402", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowCollapsed", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsWindowContentHoverable": [ + { + "args": "(ImGuiWindow* window,ImGuiHoveredFlags flags)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "flags", + "type": "ImGuiHoveredFlags" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiHoveredFlags flags=0)", + "call_args": "(window,flags)", + "cimguiname": "igIsWindowContentHoverable", + "defaults": { + "flags": "0" + }, + "funcname": "IsWindowContentHoverable", + "location": "imgui_internal:3318", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowContentHoverable", + "ret": "bool", + "signature": "(ImGuiWindow*,ImGuiHoveredFlags)", + "stname": "" + } + ], + "igIsWindowDocked": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsWindowDocked", + "defaults": {}, + "funcname": "IsWindowDocked", + "location": "imgui:894", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowDocked", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igIsWindowFocused": [ + { + "args": "(ImGuiFocusedFlags flags)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiFocusedFlags" + } + ], + "argsoriginal": "(ImGuiFocusedFlags flags=0)", + "call_args": "(flags)", + "cimguiname": "igIsWindowFocused", + "defaults": { + "flags": "0" + }, + "funcname": "IsWindowFocused", + "location": "imgui:403", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowFocused", + "ret": "bool", + "signature": "(ImGuiFocusedFlags)", + "stname": "" + } + ], + "igIsWindowHovered": [ + { + "args": "(ImGuiHoveredFlags flags)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiHoveredFlags" + } + ], + "argsoriginal": "(ImGuiHoveredFlags flags=0)", + "call_args": "(flags)", + "cimguiname": "igIsWindowHovered", + "defaults": { + "flags": "0" + }, + "funcname": "IsWindowHovered", + "location": "imgui:404", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowHovered", + "ret": "bool", + "signature": "(ImGuiHoveredFlags)", + "stname": "" + } + ], + "igIsWindowNavFocusable": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igIsWindowNavFocusable", + "defaults": {}, + "funcname": "IsWindowNavFocusable", + "location": "imgui_internal:3207", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowNavFocusable", + "ret": "bool", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igIsWindowWithinBeginStackOf": [ + { + "args": "(ImGuiWindow* window,ImGuiWindow* potential_parent)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "potential_parent", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiWindow* potential_parent)", + "call_args": "(window,potential_parent)", + "cimguiname": "igIsWindowWithinBeginStackOf", + "defaults": {}, + "funcname": "IsWindowWithinBeginStackOf", + "location": "imgui_internal:3205", + "namespace": "ImGui", + "ov_cimguiname": "igIsWindowWithinBeginStackOf", + "ret": "bool", + "signature": "(ImGuiWindow*,ImGuiWindow*)", + "stname": "" + } + ], + "igItemAdd": [ + { + "args": "(const ImRect bb,ImGuiID id,const ImRect* nav_bb,ImGuiItemFlags extra_flags)", + "argsT": [ + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "nav_bb", + "type": "const ImRect*" + }, + { + "name": "extra_flags", + "type": "ImGuiItemFlags" + } + ], + "argsoriginal": "(const ImRect& bb,ImGuiID id,const ImRect* nav_bb=((void*)0),ImGuiItemFlags extra_flags=0)", + "call_args": "(bb,id,nav_bb,extra_flags)", + "cimguiname": "igItemAdd", + "defaults": { + "extra_flags": "0", + "nav_bb": "NULL" + }, + "funcname": "ItemAdd", + "location": "imgui_internal:3316", + "namespace": "ImGui", + "ov_cimguiname": "igItemAdd", + "ret": "bool", + "signature": "(const ImRect,ImGuiID,const ImRect*,ImGuiItemFlags)", + "stname": "" + } + ], + "igItemHoverable": [ + { + "args": "(const ImRect bb,ImGuiID id,ImGuiItemFlags item_flags)", + "argsT": [ + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "item_flags", + "type": "ImGuiItemFlags" + } + ], + "argsoriginal": "(const ImRect& bb,ImGuiID id,ImGuiItemFlags item_flags)", + "call_args": "(bb,id,item_flags)", + "cimguiname": "igItemHoverable", + "defaults": {}, + "funcname": "ItemHoverable", + "location": "imgui_internal:3317", + "namespace": "ImGui", + "ov_cimguiname": "igItemHoverable", + "ret": "bool", + "signature": "(const ImRect,ImGuiID,ImGuiItemFlags)", + "stname": "" + } + ], + "igItemSize": [ + { + "args": "(const ImVec2 size,float text_baseline_y)", + "argsT": [ + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "text_baseline_y", + "type": "float" + } + ], + "argsoriginal": "(const ImVec2& size,float text_baseline_y=-1.0f)", + "call_args": "(size,text_baseline_y)", + "cimguiname": "igItemSize", + "defaults": { + "text_baseline_y": "-1.0f" + }, + "funcname": "ItemSize", + "location": "imgui_internal:3314", + "namespace": "ImGui", + "ov_cimguiname": "igItemSize_Vec2", + "ret": "void", + "signature": "(const ImVec2,float)", + "stname": "" + }, + { + "args": "(const ImRect bb,float text_baseline_y)", + "argsT": [ + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "text_baseline_y", + "type": "float" + } + ], + "argsoriginal": "(const ImRect& bb,float text_baseline_y=-1.0f)", + "call_args": "(bb,text_baseline_y)", + "cimguiname": "igItemSize", + "defaults": { + "text_baseline_y": "-1.0f" + }, + "funcname": "ItemSize", + "location": "imgui_internal:3315", + "namespace": "ImGui", + "ov_cimguiname": "igItemSize_Rect", + "ret": "void", + "signature": "(const ImRect,float)", + "stname": "" + } + ], + "igKeepAliveID": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igKeepAliveID", + "defaults": {}, + "funcname": "KeepAliveID", + "location": "imgui_internal:3307", + "namespace": "ImGui", + "ov_cimguiname": "igKeepAliveID", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igLabelText": [ + { + "args": "(const char* label,const char* fmt,...)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* label,const char* fmt,...)", + "call_args": "(label,fmt,...)", + "cimguiname": "igLabelText", + "defaults": {}, + "funcname": "LabelText", + "isvararg": "...)", + "location": "imgui:548", + "namespace": "ImGui", + "ov_cimguiname": "igLabelText", + "ret": "void", + "signature": "(const char*,const char*,...)", + "stname": "" + } + ], + "igLabelTextV": [ + { + "args": "(const char* label,const char* fmt,va_list args)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* label,const char* fmt,va_list args)", + "call_args": "(label,fmt,args)", + "cimguiname": "igLabelTextV", + "defaults": {}, + "funcname": "LabelTextV", + "location": "imgui:549", + "namespace": "ImGui", + "ov_cimguiname": "igLabelTextV", + "ret": "void", + "signature": "(const char*,const char*,va_list)", + "stname": "" + } + ], + "igListBox": [ + { + "args": "(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "current_item", + "type": "int*" + }, + { + "name": "items", + "type": "const char* const[]" + }, + { + "name": "items_count", + "type": "int" + }, + { + "name": "height_in_items", + "type": "int" + } + ], + "argsoriginal": "(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)", + "call_args": "(label,current_item,items,items_count,height_in_items)", + "cimguiname": "igListBox", + "defaults": { + "height_in_items": "-1" + }, + "funcname": "ListBox", + "location": "imgui:709", + "namespace": "ImGui", + "ov_cimguiname": "igListBox_Str_arr", + "ret": "bool", + "signature": "(const char*,int*,const char* const[],int,int)", + "stname": "" + }, + { + "args": "(const char* label,int* current_item,const char*(*getter)(void* user_data,int idx),void* user_data,int items_count,int height_in_items)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "current_item", + "type": "int*" + }, + { + "name": "getter", + "ret": "const char*", + "signature": "(void* user_data,int idx)", + "type": "const char*(*)(void* user_data,int idx)" + }, + { + "name": "user_data", + "type": "void*" + }, + { + "name": "items_count", + "type": "int" + }, + { + "name": "height_in_items", + "type": "int" + } + ], + "argsoriginal": "(const char* label,int* current_item,const char*(*getter)(void* user_data,int idx),void* user_data,int items_count,int height_in_items=-1)", + "call_args": "(label,current_item,getter,user_data,items_count,height_in_items)", + "cimguiname": "igListBox", + "defaults": { + "height_in_items": "-1" + }, + "funcname": "ListBox", + "location": "imgui:710", + "namespace": "ImGui", + "ov_cimguiname": "igListBox_FnStrPtr", + "ret": "bool", + "signature": "(const char*,int*,const char*(*)(void*,int),void*,int,int)", + "stname": "" + } + ], + "igLoadIniSettingsFromDisk": [ + { + "args": "(const char* ini_filename)", + "argsT": [ + { + "name": "ini_filename", + "type": "const char*" + } + ], + "argsoriginal": "(const char* ini_filename)", + "call_args": "(ini_filename)", + "cimguiname": "igLoadIniSettingsFromDisk", + "defaults": {}, + "funcname": "LoadIniSettingsFromDisk", + "location": "imgui:1060", + "namespace": "ImGui", + "ov_cimguiname": "igLoadIniSettingsFromDisk", + "ret": "void", + "signature": "(const char*)", + "stname": "" + } + ], + "igLoadIniSettingsFromMemory": [ + { + "args": "(const char* ini_data,size_t ini_size)", + "argsT": [ + { + "name": "ini_data", + "type": "const char*" + }, + { + "name": "ini_size", + "type": "size_t" + } + ], + "argsoriginal": "(const char* ini_data,size_t ini_size=0)", + "call_args": "(ini_data,ini_size)", + "cimguiname": "igLoadIniSettingsFromMemory", + "defaults": { + "ini_size": "0" + }, + "funcname": "LoadIniSettingsFromMemory", + "location": "imgui:1061", + "namespace": "ImGui", + "ov_cimguiname": "igLoadIniSettingsFromMemory", + "ret": "void", + "signature": "(const char*,size_t)", + "stname": "" + } + ], + "igLocalizeGetMsg": [ + { + "args": "(ImGuiLocKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiLocKey" + } + ], + "argsoriginal": "(ImGuiLocKey key)", + "call_args": "(key)", + "cimguiname": "igLocalizeGetMsg", + "defaults": {}, + "funcname": "LocalizeGetMsg", + "location": "imgui_internal:3281", + "namespace": "ImGui", + "ov_cimguiname": "igLocalizeGetMsg", + "ret": "const char*", + "signature": "(ImGuiLocKey)", + "stname": "" + } + ], + "igLocalizeRegisterEntries": [ + { + "args": "(const ImGuiLocEntry* entries,int count)", + "argsT": [ + { + "name": "entries", + "type": "const ImGuiLocEntry*" + }, + { + "name": "count", + "type": "int" + } + ], + "argsoriginal": "(const ImGuiLocEntry* entries,int count)", + "call_args": "(entries,count)", + "cimguiname": "igLocalizeRegisterEntries", + "defaults": {}, + "funcname": "LocalizeRegisterEntries", + "location": "imgui_internal:3280", + "namespace": "ImGui", + "ov_cimguiname": "igLocalizeRegisterEntries", + "ret": "void", + "signature": "(const ImGuiLocEntry*,int)", + "stname": "" + } + ], + "igLogBegin": [ + { + "args": "(ImGuiLogFlags flags,int auto_open_depth)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiLogFlags" + }, + { + "name": "auto_open_depth", + "type": "int" + } + ], + "argsoriginal": "(ImGuiLogFlags flags,int auto_open_depth)", + "call_args": "(flags,auto_open_depth)", + "cimguiname": "igLogBegin", + "defaults": {}, + "funcname": "LogBegin", + "location": "imgui_internal:3332", + "namespace": "ImGui", + "ov_cimguiname": "igLogBegin", + "ret": "void", + "signature": "(ImGuiLogFlags,int)", + "stname": "" + } + ], + "igLogButtons": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igLogButtons", + "defaults": {}, + "funcname": "LogButtons", + "location": "imgui:902", + "namespace": "ImGui", + "ov_cimguiname": "igLogButtons", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igLogFinish": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igLogFinish", + "defaults": {}, + "funcname": "LogFinish", + "location": "imgui:901", + "namespace": "ImGui", + "ov_cimguiname": "igLogFinish", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igLogRenderedText": [ + { + "args": "(const ImVec2* ref_pos,const char* text,const char* text_end)", + "argsT": [ + { + "name": "ref_pos", + "type": "const ImVec2*" + }, + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + } + ], + "argsoriginal": "(const ImVec2* ref_pos,const char* text,const char* text_end=((void*)0))", + "call_args": "(ref_pos,text,text_end)", + "cimguiname": "igLogRenderedText", + "defaults": { + "text_end": "NULL" + }, + "funcname": "LogRenderedText", + "location": "imgui_internal:3334", + "namespace": "ImGui", + "ov_cimguiname": "igLogRenderedText", + "ret": "void", + "signature": "(const ImVec2*,const char*,const char*)", + "stname": "" + } + ], + "igLogSetNextTextDecoration": [ + { + "args": "(const char* prefix,const char* suffix)", + "argsT": [ + { + "name": "prefix", + "type": "const char*" + }, + { + "name": "suffix", + "type": "const char*" + } + ], + "argsoriginal": "(const char* prefix,const char* suffix)", + "call_args": "(prefix,suffix)", + "cimguiname": "igLogSetNextTextDecoration", + "defaults": {}, + "funcname": "LogSetNextTextDecoration", + "location": "imgui_internal:3335", + "namespace": "ImGui", + "ov_cimguiname": "igLogSetNextTextDecoration", + "ret": "void", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igLogText": [ + { + "args": "(const char* fmt,...)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* fmt, ...)", + "call_args": "(fmt,...)", + "cimguiname": "igLogText", + "defaults": {}, + "funcname": "LogText", + "isvararg": "...)", + "location": "imgui:903", + "manual": true, + "namespace": "ImGui", + "ov_cimguiname": "igLogText", + "ret": "void", + "signature": "(const char*,...)", + "stname": "" + } + ], + "igLogTextV": [ + { + "args": "(const char* fmt,va_list args)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "igLogTextV", + "defaults": {}, + "funcname": "LogTextV", + "location": "imgui:904", + "namespace": "ImGui", + "ov_cimguiname": "igLogTextV", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "" + } + ], + "igLogToBuffer": [ + { + "args": "(int auto_open_depth)", + "argsT": [ + { + "name": "auto_open_depth", + "type": "int" + } + ], + "argsoriginal": "(int auto_open_depth=-1)", + "call_args": "(auto_open_depth)", + "cimguiname": "igLogToBuffer", + "defaults": { + "auto_open_depth": "-1" + }, + "funcname": "LogToBuffer", + "location": "imgui_internal:3333", + "namespace": "ImGui", + "ov_cimguiname": "igLogToBuffer", + "ret": "void", + "signature": "(int)", + "stname": "" + } + ], + "igLogToClipboard": [ + { + "args": "(int auto_open_depth)", + "argsT": [ + { + "name": "auto_open_depth", + "type": "int" + } + ], + "argsoriginal": "(int auto_open_depth=-1)", + "call_args": "(auto_open_depth)", + "cimguiname": "igLogToClipboard", + "defaults": { + "auto_open_depth": "-1" + }, + "funcname": "LogToClipboard", + "location": "imgui:900", + "namespace": "ImGui", + "ov_cimguiname": "igLogToClipboard", + "ret": "void", + "signature": "(int)", + "stname": "" + } + ], + "igLogToFile": [ + { + "args": "(int auto_open_depth,const char* filename)", + "argsT": [ + { + "name": "auto_open_depth", + "type": "int" + }, + { + "name": "filename", + "type": "const char*" + } + ], + "argsoriginal": "(int auto_open_depth=-1,const char* filename=((void*)0))", + "call_args": "(auto_open_depth,filename)", + "cimguiname": "igLogToFile", + "defaults": { + "auto_open_depth": "-1", + "filename": "NULL" + }, + "funcname": "LogToFile", + "location": "imgui:899", + "namespace": "ImGui", + "ov_cimguiname": "igLogToFile", + "ret": "void", + "signature": "(int,const char*)", + "stname": "" + } + ], + "igLogToTTY": [ + { + "args": "(int auto_open_depth)", + "argsT": [ + { + "name": "auto_open_depth", + "type": "int" + } + ], + "argsoriginal": "(int auto_open_depth=-1)", + "call_args": "(auto_open_depth)", + "cimguiname": "igLogToTTY", + "defaults": { + "auto_open_depth": "-1" + }, + "funcname": "LogToTTY", + "location": "imgui:898", + "namespace": "ImGui", + "ov_cimguiname": "igLogToTTY", + "ret": "void", + "signature": "(int)", + "stname": "" + } + ], + "igMarkIniSettingsDirty": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igMarkIniSettingsDirty", + "defaults": {}, + "funcname": "MarkIniSettingsDirty", + "location": "imgui_internal:3266", + "namespace": "ImGui", + "ov_cimguiname": "igMarkIniSettingsDirty_Nil", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igMarkIniSettingsDirty", + "defaults": {}, + "funcname": "MarkIniSettingsDirty", + "location": "imgui_internal:3267", + "namespace": "ImGui", + "ov_cimguiname": "igMarkIniSettingsDirty_WindowPtr", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igMarkItemEdited": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igMarkItemEdited", + "defaults": {}, + "funcname": "MarkItemEdited", + "location": "imgui_internal:3308", + "namespace": "ImGui", + "ov_cimguiname": "igMarkItemEdited", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igMemAlloc": [ + { + "args": "(size_t size)", + "argsT": [ + { + "name": "size", + "type": "size_t" + } + ], + "argsoriginal": "(size_t size)", + "call_args": "(size)", + "cimguiname": "igMemAlloc", + "defaults": {}, + "funcname": "MemAlloc", + "location": "imgui:1082", + "namespace": "ImGui", + "ov_cimguiname": "igMemAlloc", + "ret": "void*", + "signature": "(size_t)", + "stname": "" + } + ], + "igMemFree": [ + { + "args": "(void* ptr)", + "argsT": [ + { + "name": "ptr", + "type": "void*" + } + ], + "argsoriginal": "(void* ptr)", + "call_args": "(ptr)", + "cimguiname": "igMemFree", + "defaults": {}, + "funcname": "MemFree", + "location": "imgui:1083", + "namespace": "ImGui", + "ov_cimguiname": "igMemFree", + "ret": "void", + "signature": "(void*)", + "stname": "" + } + ], + "igMenuItem": [ + { + "args": "(const char* label,const char* shortcut,bool selected,bool enabled)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "shortcut", + "type": "const char*" + }, + { + "name": "selected", + "type": "bool" + }, + { + "name": "enabled", + "type": "bool" + } + ], + "argsoriginal": "(const char* label,const char* shortcut=((void*)0),bool selected=false,bool enabled=true)", + "call_args": "(label,shortcut,selected,enabled)", + "cimguiname": "igMenuItem", + "defaults": { + "enabled": "true", + "selected": "false", + "shortcut": "NULL" + }, + "funcname": "MenuItem", + "location": "imgui:737", + "namespace": "ImGui", + "ov_cimguiname": "igMenuItem_Bool", + "ret": "bool", + "signature": "(const char*,const char*,bool,bool)", + "stname": "" + }, + { + "args": "(const char* label,const char* shortcut,bool* p_selected,bool enabled)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "shortcut", + "type": "const char*" + }, + { + "name": "p_selected", + "type": "bool*" + }, + { + "name": "enabled", + "type": "bool" + } + ], + "argsoriginal": "(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)", + "call_args": "(label,shortcut,p_selected,enabled)", + "cimguiname": "igMenuItem", + "defaults": { + "enabled": "true" + }, + "funcname": "MenuItem", + "location": "imgui:738", + "namespace": "ImGui", + "ov_cimguiname": "igMenuItem_BoolPtr", + "ret": "bool", + "signature": "(const char*,const char*,bool*,bool)", + "stname": "" + } + ], + "igMenuItemEx": [ + { + "args": "(const char* label,const char* icon,const char* shortcut,bool selected,bool enabled)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "icon", + "type": "const char*" + }, + { + "name": "shortcut", + "type": "const char*" + }, + { + "name": "selected", + "type": "bool" + }, + { + "name": "enabled", + "type": "bool" + } + ], + "argsoriginal": "(const char* label,const char* icon,const char* shortcut=((void*)0),bool selected=false,bool enabled=true)", + "call_args": "(label,icon,shortcut,selected,enabled)", + "cimguiname": "igMenuItemEx", + "defaults": { + "enabled": "true", + "selected": "false", + "shortcut": "NULL" + }, + "funcname": "MenuItemEx", + "location": "imgui_internal:3361", + "namespace": "ImGui", + "ov_cimguiname": "igMenuItemEx", + "ret": "bool", + "signature": "(const char*,const char*,const char*,bool,bool)", + "stname": "" + } + ], + "igMouseButtonToKey": [ + { + "args": "(ImGuiMouseButton button)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + } + ], + "argsoriginal": "(ImGuiMouseButton button)", + "call_args": "(button)", + "cimguiname": "igMouseButtonToKey", + "defaults": {}, + "funcname": "MouseButtonToKey", + "location": "imgui_internal:3416", + "namespace": "ImGui", + "ov_cimguiname": "igMouseButtonToKey", + "ret": "ImGuiKey", + "signature": "(ImGuiMouseButton)", + "stname": "" + } + ], + "igMultiSelectAddSetAll": [ + { + "args": "(ImGuiMultiSelectTempData* ms,bool selected)", + "argsT": [ + { + "name": "ms", + "type": "ImGuiMultiSelectTempData*" + }, + { + "name": "selected", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiMultiSelectTempData* ms,bool selected)", + "call_args": "(ms,selected)", + "cimguiname": "igMultiSelectAddSetAll", + "defaults": {}, + "funcname": "MultiSelectAddSetAll", + "location": "imgui_internal:3567", + "namespace": "ImGui", + "ov_cimguiname": "igMultiSelectAddSetAll", + "ret": "void", + "signature": "(ImGuiMultiSelectTempData*,bool)", + "stname": "" + } + ], + "igMultiSelectAddSetRange": [ + { + "args": "(ImGuiMultiSelectTempData* ms,bool selected,int range_dir,ImGuiSelectionUserData first_item,ImGuiSelectionUserData last_item)", + "argsT": [ + { + "name": "ms", + "type": "ImGuiMultiSelectTempData*" + }, + { + "name": "selected", + "type": "bool" + }, + { + "name": "range_dir", + "type": "int" + }, + { + "name": "first_item", + "type": "ImGuiSelectionUserData" + }, + { + "name": "last_item", + "type": "ImGuiSelectionUserData" + } + ], + "argsoriginal": "(ImGuiMultiSelectTempData* ms,bool selected,int range_dir,ImGuiSelectionUserData first_item,ImGuiSelectionUserData last_item)", + "call_args": "(ms,selected,range_dir,first_item,last_item)", + "cimguiname": "igMultiSelectAddSetRange", + "defaults": {}, + "funcname": "MultiSelectAddSetRange", + "location": "imgui_internal:3568", + "namespace": "ImGui", + "ov_cimguiname": "igMultiSelectAddSetRange", + "ret": "void", + "signature": "(ImGuiMultiSelectTempData*,bool,int,ImGuiSelectionUserData,ImGuiSelectionUserData)", + "stname": "" + } + ], + "igMultiSelectItemFooter": [ + { + "args": "(ImGuiID id,bool* p_selected,bool* p_pressed)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "p_selected", + "type": "bool*" + }, + { + "name": "p_pressed", + "type": "bool*" + } + ], + "argsoriginal": "(ImGuiID id,bool* p_selected,bool* p_pressed)", + "call_args": "(id,p_selected,p_pressed)", + "cimguiname": "igMultiSelectItemFooter", + "defaults": {}, + "funcname": "MultiSelectItemFooter", + "location": "imgui_internal:3566", + "namespace": "ImGui", + "ov_cimguiname": "igMultiSelectItemFooter", + "ret": "void", + "signature": "(ImGuiID,bool*,bool*)", + "stname": "" + } + ], + "igMultiSelectItemHeader": [ + { + "args": "(ImGuiID id,bool* p_selected,ImGuiButtonFlags* p_button_flags)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "p_selected", + "type": "bool*" + }, + { + "name": "p_button_flags", + "type": "ImGuiButtonFlags*" + } + ], + "argsoriginal": "(ImGuiID id,bool* p_selected,ImGuiButtonFlags* p_button_flags)", + "call_args": "(id,p_selected,p_button_flags)", + "cimguiname": "igMultiSelectItemHeader", + "defaults": {}, + "funcname": "MultiSelectItemHeader", + "location": "imgui_internal:3565", + "namespace": "ImGui", + "ov_cimguiname": "igMultiSelectItemHeader", + "ret": "void", + "signature": "(ImGuiID,bool*,ImGuiButtonFlags*)", + "stname": "" + } + ], + "igNavClearPreferredPosForAxis": [ + { + "args": "(ImGuiAxis axis)", + "argsT": [ + { + "name": "axis", + "type": "ImGuiAxis" + } + ], + "argsoriginal": "(ImGuiAxis axis)", + "call_args": "(axis)", + "cimguiname": "igNavClearPreferredPosForAxis", + "defaults": {}, + "funcname": "NavClearPreferredPosForAxis", + "location": "imgui_internal:3380", + "namespace": "ImGui", + "ov_cimguiname": "igNavClearPreferredPosForAxis", + "ret": "void", + "signature": "(ImGuiAxis)", + "stname": "" + } + ], + "igNavHighlightActivated": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igNavHighlightActivated", + "defaults": {}, + "funcname": "NavHighlightActivated", + "location": "imgui_internal:3379", + "namespace": "ImGui", + "ov_cimguiname": "igNavHighlightActivated", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igNavInitRequestApplyResult": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igNavInitRequestApplyResult", + "defaults": {}, + "funcname": "NavInitRequestApplyResult", + "location": "imgui_internal:3370", + "namespace": "ImGui", + "ov_cimguiname": "igNavInitRequestApplyResult", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igNavInitWindow": [ + { + "args": "(ImGuiWindow* window,bool force_reinit)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "force_reinit", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiWindow* window,bool force_reinit)", + "call_args": "(window,force_reinit)", + "cimguiname": "igNavInitWindow", + "defaults": {}, + "funcname": "NavInitWindow", + "location": "imgui_internal:3369", + "namespace": "ImGui", + "ov_cimguiname": "igNavInitWindow", + "ret": "void", + "signature": "(ImGuiWindow*,bool)", + "stname": "" + } + ], + "igNavMoveRequestApplyResult": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igNavMoveRequestApplyResult", + "defaults": {}, + "funcname": "NavMoveRequestApplyResult", + "location": "imgui_internal:3377", + "namespace": "ImGui", + "ov_cimguiname": "igNavMoveRequestApplyResult", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igNavMoveRequestButNoResultYet": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igNavMoveRequestButNoResultYet", + "defaults": {}, + "funcname": "NavMoveRequestButNoResultYet", + "location": "imgui_internal:3371", + "namespace": "ImGui", + "ov_cimguiname": "igNavMoveRequestButNoResultYet", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igNavMoveRequestCancel": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igNavMoveRequestCancel", + "defaults": {}, + "funcname": "NavMoveRequestCancel", + "location": "imgui_internal:3376", + "namespace": "ImGui", + "ov_cimguiname": "igNavMoveRequestCancel", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igNavMoveRequestForward": [ + { + "args": "(ImGuiDir move_dir,ImGuiDir clip_dir,ImGuiNavMoveFlags move_flags,ImGuiScrollFlags scroll_flags)", + "argsT": [ + { + "name": "move_dir", + "type": "ImGuiDir" + }, + { + "name": "clip_dir", + "type": "ImGuiDir" + }, + { + "name": "move_flags", + "type": "ImGuiNavMoveFlags" + }, + { + "name": "scroll_flags", + "type": "ImGuiScrollFlags" + } + ], + "argsoriginal": "(ImGuiDir move_dir,ImGuiDir clip_dir,ImGuiNavMoveFlags move_flags,ImGuiScrollFlags scroll_flags)", + "call_args": "(move_dir,clip_dir,move_flags,scroll_flags)", + "cimguiname": "igNavMoveRequestForward", + "defaults": {}, + "funcname": "NavMoveRequestForward", + "location": "imgui_internal:3373", + "namespace": "ImGui", + "ov_cimguiname": "igNavMoveRequestForward", + "ret": "void", + "signature": "(ImGuiDir,ImGuiDir,ImGuiNavMoveFlags,ImGuiScrollFlags)", + "stname": "" + } + ], + "igNavMoveRequestResolveWithLastItem": [ + { + "args": "(ImGuiNavItemData* result)", + "argsT": [ + { + "name": "result", + "type": "ImGuiNavItemData*" + } + ], + "argsoriginal": "(ImGuiNavItemData* result)", + "call_args": "(result)", + "cimguiname": "igNavMoveRequestResolveWithLastItem", + "defaults": {}, + "funcname": "NavMoveRequestResolveWithLastItem", + "location": "imgui_internal:3374", + "namespace": "ImGui", + "ov_cimguiname": "igNavMoveRequestResolveWithLastItem", + "ret": "void", + "signature": "(ImGuiNavItemData*)", + "stname": "" + } + ], + "igNavMoveRequestResolveWithPastTreeNode": [ + { + "args": "(ImGuiNavItemData* result,ImGuiTreeNodeStackData* tree_node_data)", + "argsT": [ + { + "name": "result", + "type": "ImGuiNavItemData*" + }, + { + "name": "tree_node_data", + "type": "ImGuiTreeNodeStackData*" + } + ], + "argsoriginal": "(ImGuiNavItemData* result,ImGuiTreeNodeStackData* tree_node_data)", + "call_args": "(result,tree_node_data)", + "cimguiname": "igNavMoveRequestResolveWithPastTreeNode", + "defaults": {}, + "funcname": "NavMoveRequestResolveWithPastTreeNode", + "location": "imgui_internal:3375", + "namespace": "ImGui", + "ov_cimguiname": "igNavMoveRequestResolveWithPastTreeNode", + "ret": "void", + "signature": "(ImGuiNavItemData*,ImGuiTreeNodeStackData*)", + "stname": "" + } + ], + "igNavMoveRequestSubmit": [ + { + "args": "(ImGuiDir move_dir,ImGuiDir clip_dir,ImGuiNavMoveFlags move_flags,ImGuiScrollFlags scroll_flags)", + "argsT": [ + { + "name": "move_dir", + "type": "ImGuiDir" + }, + { + "name": "clip_dir", + "type": "ImGuiDir" + }, + { + "name": "move_flags", + "type": "ImGuiNavMoveFlags" + }, + { + "name": "scroll_flags", + "type": "ImGuiScrollFlags" + } + ], + "argsoriginal": "(ImGuiDir move_dir,ImGuiDir clip_dir,ImGuiNavMoveFlags move_flags,ImGuiScrollFlags scroll_flags)", + "call_args": "(move_dir,clip_dir,move_flags,scroll_flags)", + "cimguiname": "igNavMoveRequestSubmit", + "defaults": {}, + "funcname": "NavMoveRequestSubmit", + "location": "imgui_internal:3372", + "namespace": "ImGui", + "ov_cimguiname": "igNavMoveRequestSubmit", + "ret": "void", + "signature": "(ImGuiDir,ImGuiDir,ImGuiNavMoveFlags,ImGuiScrollFlags)", + "stname": "" + } + ], + "igNavMoveRequestTryWrapping": [ + { + "args": "(ImGuiWindow* window,ImGuiNavMoveFlags move_flags)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "move_flags", + "type": "ImGuiNavMoveFlags" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiNavMoveFlags move_flags)", + "call_args": "(window,move_flags)", + "cimguiname": "igNavMoveRequestTryWrapping", + "defaults": {}, + "funcname": "NavMoveRequestTryWrapping", + "location": "imgui_internal:3378", + "namespace": "ImGui", + "ov_cimguiname": "igNavMoveRequestTryWrapping", + "ret": "void", + "signature": "(ImGuiWindow*,ImGuiNavMoveFlags)", + "stname": "" + } + ], + "igNavUpdateCurrentWindowIsScrollPushableX": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igNavUpdateCurrentWindowIsScrollPushableX", + "defaults": {}, + "funcname": "NavUpdateCurrentWindowIsScrollPushableX", + "location": "imgui_internal:3382", + "namespace": "ImGui", + "ov_cimguiname": "igNavUpdateCurrentWindowIsScrollPushableX", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igNewFrame": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igNewFrame", + "defaults": {}, + "funcname": "NewFrame", + "location": "imgui:340", + "namespace": "ImGui", + "ov_cimguiname": "igNewFrame", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igNewLine": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igNewLine", + "defaults": {}, + "funcname": "NewLine", + "location": "imgui:504", + "namespace": "ImGui", + "ov_cimguiname": "igNewLine", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igNextColumn": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igNextColumn", + "defaults": {}, + "funcname": "NextColumn", + "location": "imgui:859", + "namespace": "ImGui", + "ov_cimguiname": "igNextColumn", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igOpenPopup": [ + { + "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "popup_flags", + "type": "ImGuiPopupFlags" + } + ], + "argsoriginal": "(const char* str_id,ImGuiPopupFlags popup_flags=0)", + "call_args": "(str_id,popup_flags)", + "cimguiname": "igOpenPopup", + "defaults": { + "popup_flags": "0" + }, + "funcname": "OpenPopup", + "location": "imgui:779", + "namespace": "ImGui", + "ov_cimguiname": "igOpenPopup_Str", + "ret": "void", + "signature": "(const char*,ImGuiPopupFlags)", + "stname": "" + }, + { + "args": "(ImGuiID id,ImGuiPopupFlags popup_flags)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "popup_flags", + "type": "ImGuiPopupFlags" + } + ], + "argsoriginal": "(ImGuiID id,ImGuiPopupFlags popup_flags=0)", + "call_args": "(id,popup_flags)", + "cimguiname": "igOpenPopup", + "defaults": { + "popup_flags": "0" + }, + "funcname": "OpenPopup", + "location": "imgui:780", + "namespace": "ImGui", + "ov_cimguiname": "igOpenPopup_ID", + "ret": "void", + "signature": "(ImGuiID,ImGuiPopupFlags)", + "stname": "" + } + ], + "igOpenPopupEx": [ + { + "args": "(ImGuiID id,ImGuiPopupFlags popup_flags)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "popup_flags", + "type": "ImGuiPopupFlags" + } + ], + "argsoriginal": "(ImGuiID id,ImGuiPopupFlags popup_flags=ImGuiPopupFlags_None)", + "call_args": "(id,popup_flags)", + "cimguiname": "igOpenPopupEx", + "defaults": { + "popup_flags": "ImGuiPopupFlags_None" + }, + "funcname": "OpenPopupEx", + "location": "imgui_internal:3342", + "namespace": "ImGui", + "ov_cimguiname": "igOpenPopupEx", + "ret": "void", + "signature": "(ImGuiID,ImGuiPopupFlags)", + "stname": "" + } + ], + "igOpenPopupOnItemClick": [ + { + "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "popup_flags", + "type": "ImGuiPopupFlags" + } + ], + "argsoriginal": "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)", + "call_args": "(str_id,popup_flags)", + "cimguiname": "igOpenPopupOnItemClick", + "defaults": { + "popup_flags": "1", + "str_id": "NULL" + }, + "funcname": "OpenPopupOnItemClick", + "location": "imgui:781", + "namespace": "ImGui", + "ov_cimguiname": "igOpenPopupOnItemClick", + "ret": "void", + "signature": "(const char*,ImGuiPopupFlags)", + "stname": "" + } + ], + "igPlotEx": [ + { + "args": "(ImGuiPlotType plot_type,const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,const ImVec2 size_arg)", + "argsT": [ + { + "name": "plot_type", + "type": "ImGuiPlotType" + }, + { + "name": "label", + "type": "const char*" + }, + { + "name": "values_getter", + "ret": "float", + "signature": "(void* data,int idx)", + "type": "float(*)(void* data,int idx)" + }, + { + "name": "data", + "type": "void*" + }, + { + "name": "values_count", + "type": "int" + }, + { + "name": "values_offset", + "type": "int" + }, + { + "name": "overlay_text", + "type": "const char*" + }, + { + "name": "scale_min", + "type": "float" + }, + { + "name": "scale_max", + "type": "float" + }, + { + "name": "size_arg", + "type": "const ImVec2" + } + ], + "argsoriginal": "(ImGuiPlotType plot_type,const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,const ImVec2& size_arg)", + "call_args": "(plot_type,label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,size_arg)", + "cimguiname": "igPlotEx", + "defaults": {}, + "funcname": "PlotEx", + "location": "imgui_internal:3758", + "namespace": "ImGui", + "ov_cimguiname": "igPlotEx", + "ret": "int", + "signature": "(ImGuiPlotType,const char*,float(*)(void*,int),void*,int,int,const char*,float,float,const ImVec2)", + "stname": "" + } + ], + "igPlotHistogram": [ + { + "args": "(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "values", + "type": "const float*" + }, + { + "name": "values_count", + "type": "int" + }, + { + "name": "values_offset", + "type": "int" + }, + { + "name": "overlay_text", + "type": "const char*" + }, + { + "name": "scale_min", + "type": "float" + }, + { + "name": "scale_max", + "type": "float" + }, + { + "name": "graph_size", + "type": "ImVec2" + }, + { + "name": "stride", + "type": "int" + } + ], + "argsoriginal": "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))", + "call_args": "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)", + "cimguiname": "igPlotHistogram", + "defaults": { + "graph_size": "ImVec2(0,0)", + "overlay_text": "NULL", + "scale_max": "FLT_MAX", + "scale_min": "FLT_MAX", + "stride": "sizeof(float)", + "values_offset": "0" + }, + "funcname": "PlotHistogram", + "location": "imgui:716", + "namespace": "ImGui", + "ov_cimguiname": "igPlotHistogram_FloatPtr", + "ret": "void", + "signature": "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)", + "stname": "" + }, + { + "args": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "values_getter", + "ret": "float", + "signature": "(void* data,int idx)", + "type": "float(*)(void* data,int idx)" + }, + { + "name": "data", + "type": "void*" + }, + { + "name": "values_count", + "type": "int" + }, + { + "name": "values_offset", + "type": "int" + }, + { + "name": "overlay_text", + "type": "const char*" + }, + { + "name": "scale_min", + "type": "float" + }, + { + "name": "scale_max", + "type": "float" + }, + { + "name": "graph_size", + "type": "ImVec2" + } + ], + "argsoriginal": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0))", + "call_args": "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)", + "cimguiname": "igPlotHistogram", + "defaults": { + "graph_size": "ImVec2(0,0)", + "overlay_text": "NULL", + "scale_max": "FLT_MAX", + "scale_min": "FLT_MAX", + "values_offset": "0" + }, + "funcname": "PlotHistogram", + "location": "imgui:717", + "namespace": "ImGui", + "ov_cimguiname": "igPlotHistogram_FnFloatPtr", + "ret": "void", + "signature": "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)", + "stname": "" + } + ], + "igPlotLines": [ + { + "args": "(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "values", + "type": "const float*" + }, + { + "name": "values_count", + "type": "int" + }, + { + "name": "values_offset", + "type": "int" + }, + { + "name": "overlay_text", + "type": "const char*" + }, + { + "name": "scale_min", + "type": "float" + }, + { + "name": "scale_max", + "type": "float" + }, + { + "name": "graph_size", + "type": "ImVec2" + }, + { + "name": "stride", + "type": "int" + } + ], + "argsoriginal": "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))", + "call_args": "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)", + "cimguiname": "igPlotLines", + "defaults": { + "graph_size": "ImVec2(0,0)", + "overlay_text": "NULL", + "scale_max": "FLT_MAX", + "scale_min": "FLT_MAX", + "stride": "sizeof(float)", + "values_offset": "0" + }, + "funcname": "PlotLines", + "location": "imgui:714", + "namespace": "ImGui", + "ov_cimguiname": "igPlotLines_FloatPtr", + "ret": "void", + "signature": "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)", + "stname": "" + }, + { + "args": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "values_getter", + "ret": "float", + "signature": "(void* data,int idx)", + "type": "float(*)(void* data,int idx)" + }, + { + "name": "data", + "type": "void*" + }, + { + "name": "values_count", + "type": "int" + }, + { + "name": "values_offset", + "type": "int" + }, + { + "name": "overlay_text", + "type": "const char*" + }, + { + "name": "scale_min", + "type": "float" + }, + { + "name": "scale_max", + "type": "float" + }, + { + "name": "graph_size", + "type": "ImVec2" + } + ], + "argsoriginal": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0))", + "call_args": "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)", + "cimguiname": "igPlotLines", + "defaults": { + "graph_size": "ImVec2(0,0)", + "overlay_text": "NULL", + "scale_max": "FLT_MAX", + "scale_min": "FLT_MAX", + "values_offset": "0" + }, + "funcname": "PlotLines", + "location": "imgui:715", + "namespace": "ImGui", + "ov_cimguiname": "igPlotLines_FnFloatPtr", + "ret": "void", + "signature": "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)", + "stname": "" + } + ], + "igPopClipRect": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igPopClipRect", + "defaults": {}, + "funcname": "PopClipRect", + "location": "imgui:930", + "namespace": "ImGui", + "ov_cimguiname": "igPopClipRect", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igPopColumnsBackground": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igPopColumnsBackground", + "defaults": {}, + "funcname": "PopColumnsBackground", + "location": "imgui_internal:3578", + "namespace": "ImGui", + "ov_cimguiname": "igPopColumnsBackground", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igPopFocusScope": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igPopFocusScope", + "defaults": {}, + "funcname": "PopFocusScope", + "location": "imgui_internal:3542", + "namespace": "ImGui", + "ov_cimguiname": "igPopFocusScope", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igPopFont": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igPopFont", + "defaults": {}, + "funcname": "PopFont", + "location": "imgui:450", + "namespace": "ImGui", + "ov_cimguiname": "igPopFont", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igPopID": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igPopID", + "defaults": {}, + "funcname": "PopID", + "location": "imgui:532", + "namespace": "ImGui", + "ov_cimguiname": "igPopID", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igPopItemFlag": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igPopItemFlag", + "defaults": {}, + "funcname": "PopItemFlag", + "location": "imgui:460", + "namespace": "ImGui", + "ov_cimguiname": "igPopItemFlag", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igPopItemWidth": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igPopItemWidth", + "defaults": {}, + "funcname": "PopItemWidth", + "location": "imgui:464", + "namespace": "ImGui", + "ov_cimguiname": "igPopItemWidth", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igPopStyleColor": [ + { + "args": "(int count)", + "argsT": [ + { + "name": "count", + "type": "int" + } + ], + "argsoriginal": "(int count=1)", + "call_args": "(count)", + "cimguiname": "igPopStyleColor", + "defaults": { + "count": "1" + }, + "funcname": "PopStyleColor", + "location": "imgui:453", + "namespace": "ImGui", + "ov_cimguiname": "igPopStyleColor", + "ret": "void", + "signature": "(int)", + "stname": "" + } + ], + "igPopStyleVar": [ + { + "args": "(int count)", + "argsT": [ + { + "name": "count", + "type": "int" + } + ], + "argsoriginal": "(int count=1)", + "call_args": "(count)", + "cimguiname": "igPopStyleVar", + "defaults": { + "count": "1" + }, + "funcname": "PopStyleVar", + "location": "imgui:458", + "namespace": "ImGui", + "ov_cimguiname": "igPopStyleVar", + "ret": "void", + "signature": "(int)", + "stname": "" + } + ], + "igPopTextWrapPos": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igPopTextWrapPos", + "defaults": {}, + "funcname": "PopTextWrapPos", + "location": "imgui:468", + "namespace": "ImGui", + "ov_cimguiname": "igPopTextWrapPos", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igProgressBar": [ + { + "args": "(float fraction,const ImVec2 size_arg,const char* overlay)", + "argsT": [ + { + "name": "fraction", + "type": "float" + }, + { + "name": "size_arg", + "type": "const ImVec2" + }, + { + "name": "overlay", + "type": "const char*" + } + ], + "argsoriginal": "(float fraction,const ImVec2& size_arg=ImVec2(-1.17549435082228750796873653722224568e-38F,0),const char* overlay=((void*)0))", + "call_args": "(fraction,size_arg,overlay)", + "cimguiname": "igProgressBar", + "defaults": { + "overlay": "NULL", + "size_arg": "ImVec2(-FLT_MIN,0)" + }, + "funcname": "ProgressBar", + "location": "imgui:566", + "namespace": "ImGui", + "ov_cimguiname": "igProgressBar", + "ret": "void", + "signature": "(float,const ImVec2,const char*)", + "stname": "" + } + ], + "igPushClipRect": [ + { + "args": "(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)", + "argsT": [ + { + "name": "clip_rect_min", + "type": "const ImVec2" + }, + { + "name": "clip_rect_max", + "type": "const ImVec2" + }, + { + "name": "intersect_with_current_clip_rect", + "type": "bool" + } + ], + "argsoriginal": "(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)", + "call_args": "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)", + "cimguiname": "igPushClipRect", + "defaults": {}, + "funcname": "PushClipRect", + "location": "imgui:929", + "namespace": "ImGui", + "ov_cimguiname": "igPushClipRect", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,bool)", + "stname": "" + } + ], + "igPushColumnClipRect": [ + { + "args": "(int column_index)", + "argsT": [ + { + "name": "column_index", + "type": "int" + } + ], + "argsoriginal": "(int column_index)", + "call_args": "(column_index)", + "cimguiname": "igPushColumnClipRect", + "defaults": {}, + "funcname": "PushColumnClipRect", + "location": "imgui_internal:3576", + "namespace": "ImGui", + "ov_cimguiname": "igPushColumnClipRect", + "ret": "void", + "signature": "(int)", + "stname": "" + } + ], + "igPushColumnsBackground": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igPushColumnsBackground", + "defaults": {}, + "funcname": "PushColumnsBackground", + "location": "imgui_internal:3577", + "namespace": "ImGui", + "ov_cimguiname": "igPushColumnsBackground", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igPushFocusScope": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igPushFocusScope", + "defaults": {}, + "funcname": "PushFocusScope", + "location": "imgui_internal:3541", + "namespace": "ImGui", + "ov_cimguiname": "igPushFocusScope", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igPushFont": [ + { + "args": "(ImFont* font)", + "argsT": [ + { + "name": "font", + "type": "ImFont*" + } + ], + "argsoriginal": "(ImFont* font)", + "call_args": "(font)", + "cimguiname": "igPushFont", + "defaults": {}, + "funcname": "PushFont", + "location": "imgui:449", + "namespace": "ImGui", + "ov_cimguiname": "igPushFont", + "ret": "void", + "signature": "(ImFont*)", + "stname": "" + } + ], + "igPushID": [ + { + "args": "(const char* str_id)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str_id)", + "call_args": "(str_id)", + "cimguiname": "igPushID", + "defaults": {}, + "funcname": "PushID", + "location": "imgui:528", + "namespace": "ImGui", + "ov_cimguiname": "igPushID_Str", + "ret": "void", + "signature": "(const char*)", + "stname": "" + }, + { + "args": "(const char* str_id_begin,const char* str_id_end)", + "argsT": [ + { + "name": "str_id_begin", + "type": "const char*" + }, + { + "name": "str_id_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str_id_begin,const char* str_id_end)", + "call_args": "(str_id_begin,str_id_end)", + "cimguiname": "igPushID", + "defaults": {}, + "funcname": "PushID", + "location": "imgui:529", + "namespace": "ImGui", + "ov_cimguiname": "igPushID_StrStr", + "ret": "void", + "signature": "(const char*,const char*)", + "stname": "" + }, + { + "args": "(const void* ptr_id)", + "argsT": [ + { + "name": "ptr_id", + "type": "const void*" + } + ], + "argsoriginal": "(const void* ptr_id)", + "call_args": "(ptr_id)", + "cimguiname": "igPushID", + "defaults": {}, + "funcname": "PushID", + "location": "imgui:530", + "namespace": "ImGui", + "ov_cimguiname": "igPushID_Ptr", + "ret": "void", + "signature": "(const void*)", + "stname": "" + }, + { + "args": "(int int_id)", + "argsT": [ + { + "name": "int_id", + "type": "int" + } + ], + "argsoriginal": "(int int_id)", + "call_args": "(int_id)", + "cimguiname": "igPushID", + "defaults": {}, + "funcname": "PushID", + "location": "imgui:531", + "namespace": "ImGui", + "ov_cimguiname": "igPushID_Int", + "ret": "void", + "signature": "(int)", + "stname": "" + } + ], + "igPushItemFlag": [ + { + "args": "(ImGuiItemFlags option,bool enabled)", + "argsT": [ + { + "name": "option", + "type": "ImGuiItemFlags" + }, + { + "name": "enabled", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiItemFlags option,bool enabled)", + "call_args": "(option,enabled)", + "cimguiname": "igPushItemFlag", + "defaults": {}, + "funcname": "PushItemFlag", + "location": "imgui:459", + "namespace": "ImGui", + "ov_cimguiname": "igPushItemFlag", + "ret": "void", + "signature": "(ImGuiItemFlags,bool)", + "stname": "" + } + ], + "igPushItemWidth": [ + { + "args": "(float item_width)", + "argsT": [ + { + "name": "item_width", + "type": "float" + } + ], + "argsoriginal": "(float item_width)", + "call_args": "(item_width)", + "cimguiname": "igPushItemWidth", + "defaults": {}, + "funcname": "PushItemWidth", + "location": "imgui:463", + "namespace": "ImGui", + "ov_cimguiname": "igPushItemWidth", + "ret": "void", + "signature": "(float)", + "stname": "" + } + ], + "igPushMultiItemsWidths": [ + { + "args": "(int components,float width_full)", + "argsT": [ + { + "name": "components", + "type": "int" + }, + { + "name": "width_full", + "type": "float" + } + ], + "argsoriginal": "(int components,float width_full)", + "call_args": "(components,width_full)", + "cimguiname": "igPushMultiItemsWidths", + "defaults": {}, + "funcname": "PushMultiItemsWidths", + "location": "imgui_internal:3323", + "namespace": "ImGui", + "ov_cimguiname": "igPushMultiItemsWidths", + "ret": "void", + "signature": "(int,float)", + "stname": "" + } + ], + "igPushOverrideID": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igPushOverrideID", + "defaults": {}, + "funcname": "PushOverrideID", + "location": "imgui_internal:3309", + "namespace": "ImGui", + "ov_cimguiname": "igPushOverrideID", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igPushStyleColor": [ + { + "args": "(ImGuiCol idx,ImU32 col)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiCol" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(ImGuiCol idx,ImU32 col)", + "call_args": "(idx,col)", + "cimguiname": "igPushStyleColor", + "defaults": {}, + "funcname": "PushStyleColor", + "location": "imgui:451", + "namespace": "ImGui", + "ov_cimguiname": "igPushStyleColor_U32", + "ret": "void", + "signature": "(ImGuiCol,ImU32)", + "stname": "" + }, + { + "args": "(ImGuiCol idx,const ImVec4 col)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiCol" + }, + { + "name": "col", + "type": "const ImVec4" + } + ], + "argsoriginal": "(ImGuiCol idx,const ImVec4& col)", + "call_args": "(idx,col)", + "cimguiname": "igPushStyleColor", + "defaults": {}, + "funcname": "PushStyleColor", + "location": "imgui:452", + "namespace": "ImGui", + "ov_cimguiname": "igPushStyleColor_Vec4", + "ret": "void", + "signature": "(ImGuiCol,const ImVec4)", + "stname": "" + } + ], + "igPushStyleVar": [ + { + "args": "(ImGuiStyleVar idx,float val)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiStyleVar" + }, + { + "name": "val", + "type": "float" + } + ], + "argsoriginal": "(ImGuiStyleVar idx,float val)", + "call_args": "(idx,val)", + "cimguiname": "igPushStyleVar", + "defaults": {}, + "funcname": "PushStyleVar", + "location": "imgui:454", + "namespace": "ImGui", + "ov_cimguiname": "igPushStyleVar_Float", + "ret": "void", + "signature": "(ImGuiStyleVar,float)", + "stname": "" + }, + { + "args": "(ImGuiStyleVar idx,const ImVec2 val)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiStyleVar" + }, + { + "name": "val", + "type": "const ImVec2" + } + ], + "argsoriginal": "(ImGuiStyleVar idx,const ImVec2& val)", + "call_args": "(idx,val)", + "cimguiname": "igPushStyleVar", + "defaults": {}, + "funcname": "PushStyleVar", + "location": "imgui:455", + "namespace": "ImGui", + "ov_cimguiname": "igPushStyleVar_Vec2", + "ret": "void", + "signature": "(ImGuiStyleVar,const ImVec2)", + "stname": "" + } + ], + "igPushStyleVarX": [ + { + "args": "(ImGuiStyleVar idx,float val_x)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiStyleVar" + }, + { + "name": "val_x", + "type": "float" + } + ], + "argsoriginal": "(ImGuiStyleVar idx,float val_x)", + "call_args": "(idx,val_x)", + "cimguiname": "igPushStyleVarX", + "defaults": {}, + "funcname": "PushStyleVarX", + "location": "imgui:456", + "namespace": "ImGui", + "ov_cimguiname": "igPushStyleVarX", + "ret": "void", + "signature": "(ImGuiStyleVar,float)", + "stname": "" + } + ], + "igPushStyleVarY": [ + { + "args": "(ImGuiStyleVar idx,float val_y)", + "argsT": [ + { + "name": "idx", + "type": "ImGuiStyleVar" + }, + { + "name": "val_y", + "type": "float" + } + ], + "argsoriginal": "(ImGuiStyleVar idx,float val_y)", + "call_args": "(idx,val_y)", + "cimguiname": "igPushStyleVarY", + "defaults": {}, + "funcname": "PushStyleVarY", + "location": "imgui:457", + "namespace": "ImGui", + "ov_cimguiname": "igPushStyleVarY", + "ret": "void", + "signature": "(ImGuiStyleVar,float)", + "stname": "" + } + ], + "igPushTextWrapPos": [ + { + "args": "(float wrap_local_pos_x)", + "argsT": [ + { + "name": "wrap_local_pos_x", + "type": "float" + } + ], + "argsoriginal": "(float wrap_local_pos_x=0.0f)", + "call_args": "(wrap_local_pos_x)", + "cimguiname": "igPushTextWrapPos", + "defaults": { + "wrap_local_pos_x": "0.0f" + }, + "funcname": "PushTextWrapPos", + "location": "imgui:467", + "namespace": "ImGui", + "ov_cimguiname": "igPushTextWrapPos", + "ret": "void", + "signature": "(float)", + "stname": "" + } + ], + "igRadioButton": [ + { + "args": "(const char* label,bool active)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "active", + "type": "bool" + } + ], + "argsoriginal": "(const char* label,bool active)", + "call_args": "(label,active)", + "cimguiname": "igRadioButton", + "defaults": {}, + "funcname": "RadioButton", + "location": "imgui:564", + "namespace": "ImGui", + "ov_cimguiname": "igRadioButton_Bool", + "ret": "bool", + "signature": "(const char*,bool)", + "stname": "" + }, + { + "args": "(const char* label,int* v,int v_button)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int*" + }, + { + "name": "v_button", + "type": "int" + } + ], + "argsoriginal": "(const char* label,int* v,int v_button)", + "call_args": "(label,v,v_button)", + "cimguiname": "igRadioButton", + "defaults": {}, + "funcname": "RadioButton", + "location": "imgui:565", + "namespace": "ImGui", + "ov_cimguiname": "igRadioButton_IntPtr", + "ret": "bool", + "signature": "(const char*,int*,int)", + "stname": "" + } + ], + "igRemoveContextHook": [ + { + "args": "(ImGuiContext* context,ImGuiID hook_to_remove)", + "argsT": [ + { + "name": "context", + "type": "ImGuiContext*" + }, + { + "name": "hook_to_remove", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiContext* context,ImGuiID hook_to_remove)", + "call_args": "(context,hook_to_remove)", + "cimguiname": "igRemoveContextHook", + "defaults": {}, + "funcname": "RemoveContextHook", + "location": "imgui_internal:3253", + "namespace": "ImGui", + "ov_cimguiname": "igRemoveContextHook", + "ret": "void", + "signature": "(ImGuiContext*,ImGuiID)", + "stname": "" + } + ], + "igRemoveSettingsHandler": [ + { + "args": "(const char* type_name)", + "argsT": [ + { + "name": "type_name", + "type": "const char*" + } + ], + "argsoriginal": "(const char* type_name)", + "call_args": "(type_name)", + "cimguiname": "igRemoveSettingsHandler", + "defaults": {}, + "funcname": "RemoveSettingsHandler", + "location": "imgui_internal:3270", + "namespace": "ImGui", + "ov_cimguiname": "igRemoveSettingsHandler", + "ret": "void", + "signature": "(const char*)", + "stname": "" + } + ], + "igRender": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igRender", + "defaults": {}, + "funcname": "Render", + "location": "imgui:342", + "namespace": "ImGui", + "ov_cimguiname": "igRender", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igRenderArrow": [ + { + "args": "(ImDrawList* draw_list,ImVec2 pos,ImU32 col,ImGuiDir dir,float scale)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "pos", + "type": "ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "dir", + "type": "ImGuiDir" + }, + { + "name": "scale", + "type": "float" + } + ], + "argsoriginal": "(ImDrawList* draw_list,ImVec2 pos,ImU32 col,ImGuiDir dir,float scale=1.0f)", + "call_args": "(draw_list,pos,col,dir,scale)", + "cimguiname": "igRenderArrow", + "defaults": { + "scale": "1.0f" + }, + "funcname": "RenderArrow", + "location": "imgui_internal:3682", + "namespace": "ImGui", + "ov_cimguiname": "igRenderArrow", + "ret": "void", + "signature": "(ImDrawList*,ImVec2,ImU32,ImGuiDir,float)", + "stname": "" + } + ], + "igRenderArrowDockMenu": [ + { + "args": "(ImDrawList* draw_list,ImVec2 p_min,float sz,ImU32 col)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "p_min", + "type": "ImVec2" + }, + { + "name": "sz", + "type": "float" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(ImDrawList* draw_list,ImVec2 p_min,float sz,ImU32 col)", + "call_args": "(draw_list,p_min,sz,col)", + "cimguiname": "igRenderArrowDockMenu", + "defaults": {}, + "funcname": "RenderArrowDockMenu", + "location": "imgui_internal:3686", + "namespace": "ImGui", + "ov_cimguiname": "igRenderArrowDockMenu", + "ret": "void", + "signature": "(ImDrawList*,ImVec2,float,ImU32)", + "stname": "" + } + ], + "igRenderArrowPointingAt": [ + { + "args": "(ImDrawList* draw_list,ImVec2 pos,ImVec2 half_sz,ImGuiDir direction,ImU32 col)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "pos", + "type": "ImVec2" + }, + { + "name": "half_sz", + "type": "ImVec2" + }, + { + "name": "direction", + "type": "ImGuiDir" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(ImDrawList* draw_list,ImVec2 pos,ImVec2 half_sz,ImGuiDir direction,ImU32 col)", + "call_args": "(draw_list,pos,half_sz,direction,col)", + "cimguiname": "igRenderArrowPointingAt", + "defaults": {}, + "funcname": "RenderArrowPointingAt", + "location": "imgui_internal:3685", + "namespace": "ImGui", + "ov_cimguiname": "igRenderArrowPointingAt", + "ret": "void", + "signature": "(ImDrawList*,ImVec2,ImVec2,ImGuiDir,ImU32)", + "stname": "" + } + ], + "igRenderBullet": [ + { + "args": "(ImDrawList* draw_list,ImVec2 pos,ImU32 col)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "pos", + "type": "ImVec2" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(ImDrawList* draw_list,ImVec2 pos,ImU32 col)", + "call_args": "(draw_list,pos,col)", + "cimguiname": "igRenderBullet", + "defaults": {}, + "funcname": "RenderBullet", + "location": "imgui_internal:3683", + "namespace": "ImGui", + "ov_cimguiname": "igRenderBullet", + "ret": "void", + "signature": "(ImDrawList*,ImVec2,ImU32)", + "stname": "" + } + ], + "igRenderCheckMark": [ + { + "args": "(ImDrawList* draw_list,ImVec2 pos,ImU32 col,float sz)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "pos", + "type": "ImVec2" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "sz", + "type": "float" + } + ], + "argsoriginal": "(ImDrawList* draw_list,ImVec2 pos,ImU32 col,float sz)", + "call_args": "(draw_list,pos,col,sz)", + "cimguiname": "igRenderCheckMark", + "defaults": {}, + "funcname": "RenderCheckMark", + "location": "imgui_internal:3684", + "namespace": "ImGui", + "ov_cimguiname": "igRenderCheckMark", + "ret": "void", + "signature": "(ImDrawList*,ImVec2,ImU32,float)", + "stname": "" + } + ], + "igRenderColorRectWithAlphaCheckerboard": [ + { + "args": "(ImDrawList* draw_list,ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,float grid_step,ImVec2 grid_off,float rounding,ImDrawFlags flags)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "p_min", + "type": "ImVec2" + }, + { + "name": "p_max", + "type": "ImVec2" + }, + { + "name": "fill_col", + "type": "ImU32" + }, + { + "name": "grid_step", + "type": "float" + }, + { + "name": "grid_off", + "type": "ImVec2" + }, + { + "name": "rounding", + "type": "float" + }, + { + "name": "flags", + "type": "ImDrawFlags" + } + ], + "argsoriginal": "(ImDrawList* draw_list,ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,float grid_step,ImVec2 grid_off,float rounding=0.0f,ImDrawFlags flags=0)", + "call_args": "(draw_list,p_min,p_max,fill_col,grid_step,grid_off,rounding,flags)", + "cimguiname": "igRenderColorRectWithAlphaCheckerboard", + "defaults": { + "flags": "0", + "rounding": "0.0f" + }, + "funcname": "RenderColorRectWithAlphaCheckerboard", + "location": "imgui_internal:3673", + "namespace": "ImGui", + "ov_cimguiname": "igRenderColorRectWithAlphaCheckerboard", + "ret": "void", + "signature": "(ImDrawList*,ImVec2,ImVec2,ImU32,float,ImVec2,float,ImDrawFlags)", + "stname": "" + } + ], + "igRenderDragDropTargetRect": [ + { + "args": "(const ImRect bb,const ImRect item_clip_rect)", + "argsT": [ + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "item_clip_rect", + "type": "const ImRect" + } + ], + "argsoriginal": "(const ImRect& bb,const ImRect& item_clip_rect)", + "call_args": "(bb,item_clip_rect)", + "cimguiname": "igRenderDragDropTargetRect", + "defaults": {}, + "funcname": "RenderDragDropTargetRect", + "location": "imgui_internal:3550", + "namespace": "ImGui", + "ov_cimguiname": "igRenderDragDropTargetRect", + "ret": "void", + "signature": "(const ImRect,const ImRect)", + "stname": "" + } + ], + "igRenderFrame": [ + { + "args": "(ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,bool borders,float rounding)", + "argsT": [ + { + "name": "p_min", + "type": "ImVec2" + }, + { + "name": "p_max", + "type": "ImVec2" + }, + { + "name": "fill_col", + "type": "ImU32" + }, + { + "name": "borders", + "type": "bool" + }, + { + "name": "rounding", + "type": "float" + } + ], + "argsoriginal": "(ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,bool borders=true,float rounding=0.0f)", + "call_args": "(p_min,p_max,fill_col,borders,rounding)", + "cimguiname": "igRenderFrame", + "defaults": { + "borders": "true", + "rounding": "0.0f" + }, + "funcname": "RenderFrame", + "location": "imgui_internal:3671", + "namespace": "ImGui", + "ov_cimguiname": "igRenderFrame", + "ret": "void", + "signature": "(ImVec2,ImVec2,ImU32,bool,float)", + "stname": "" + } + ], + "igRenderFrameBorder": [ + { + "args": "(ImVec2 p_min,ImVec2 p_max,float rounding)", + "argsT": [ + { + "name": "p_min", + "type": "ImVec2" + }, + { + "name": "p_max", + "type": "ImVec2" + }, + { + "name": "rounding", + "type": "float" + } + ], + "argsoriginal": "(ImVec2 p_min,ImVec2 p_max,float rounding=0.0f)", + "call_args": "(p_min,p_max,rounding)", + "cimguiname": "igRenderFrameBorder", + "defaults": { + "rounding": "0.0f" + }, + "funcname": "RenderFrameBorder", + "location": "imgui_internal:3672", + "namespace": "ImGui", + "ov_cimguiname": "igRenderFrameBorder", + "ret": "void", + "signature": "(ImVec2,ImVec2,float)", + "stname": "" + } + ], + "igRenderMouseCursor": [ + { + "args": "(ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow)", + "argsT": [ + { + "name": "pos", + "type": "ImVec2" + }, + { + "name": "scale", + "type": "float" + }, + { + "name": "mouse_cursor", + "type": "ImGuiMouseCursor" + }, + { + "name": "col_fill", + "type": "ImU32" + }, + { + "name": "col_border", + "type": "ImU32" + }, + { + "name": "col_shadow", + "type": "ImU32" + } + ], + "argsoriginal": "(ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow)", + "call_args": "(pos,scale,mouse_cursor,col_fill,col_border,col_shadow)", + "cimguiname": "igRenderMouseCursor", + "defaults": {}, + "funcname": "RenderMouseCursor", + "location": "imgui_internal:3679", + "namespace": "ImGui", + "ov_cimguiname": "igRenderMouseCursor", + "ret": "void", + "signature": "(ImVec2,float,ImGuiMouseCursor,ImU32,ImU32,ImU32)", + "stname": "" + } + ], + "igRenderNavCursor": [ + { + "args": "(const ImRect bb,ImGuiID id,ImGuiNavRenderCursorFlags flags)", + "argsT": [ + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "flags", + "type": "ImGuiNavRenderCursorFlags" + } + ], + "argsoriginal": "(const ImRect& bb,ImGuiID id,ImGuiNavRenderCursorFlags flags=ImGuiNavRenderCursorFlags_None)", + "call_args": "(bb,id,flags)", + "cimguiname": "igRenderNavCursor", + "defaults": { + "flags": "ImGuiNavRenderCursorFlags_None" + }, + "funcname": "RenderNavCursor", + "location": "imgui_internal:3674", + "namespace": "ImGui", + "ov_cimguiname": "igRenderNavCursor", + "ret": "void", + "signature": "(const ImRect,ImGuiID,ImGuiNavRenderCursorFlags)", + "stname": "" + } + ], + "igRenderPlatformWindowsDefault": [ + { + "args": "(void* platform_render_arg,void* renderer_render_arg)", + "argsT": [ + { + "name": "platform_render_arg", + "type": "void*" + }, + { + "name": "renderer_render_arg", + "type": "void*" + } + ], + "argsoriginal": "(void* platform_render_arg=((void*)0),void* renderer_render_arg=((void*)0))", + "call_args": "(platform_render_arg,renderer_render_arg)", + "cimguiname": "igRenderPlatformWindowsDefault", + "defaults": { + "platform_render_arg": "NULL", + "renderer_render_arg": "NULL" + }, + "funcname": "RenderPlatformWindowsDefault", + "location": "imgui:1089", + "namespace": "ImGui", + "ov_cimguiname": "igRenderPlatformWindowsDefault", + "ret": "void", + "signature": "(void*,void*)", + "stname": "" + } + ], + "igRenderRectFilledRangeH": [ + { + "args": "(ImDrawList* draw_list,const ImRect rect,ImU32 col,float x_start_norm,float x_end_norm,float rounding)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "rect", + "type": "const ImRect" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "x_start_norm", + "type": "float" + }, + { + "name": "x_end_norm", + "type": "float" + }, + { + "name": "rounding", + "type": "float" + } + ], + "argsoriginal": "(ImDrawList* draw_list,const ImRect& rect,ImU32 col,float x_start_norm,float x_end_norm,float rounding)", + "call_args": "(draw_list,rect,col,x_start_norm,x_end_norm,rounding)", + "cimguiname": "igRenderRectFilledRangeH", + "defaults": {}, + "funcname": "RenderRectFilledRangeH", + "location": "imgui_internal:3687", + "namespace": "ImGui", + "ov_cimguiname": "igRenderRectFilledRangeH", + "ret": "void", + "signature": "(ImDrawList*,const ImRect,ImU32,float,float,float)", + "stname": "" + } + ], + "igRenderRectFilledWithHole": [ + { + "args": "(ImDrawList* draw_list,const ImRect outer,const ImRect inner,ImU32 col,float rounding)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "outer", + "type": "const ImRect" + }, + { + "name": "inner", + "type": "const ImRect" + }, + { + "name": "col", + "type": "ImU32" + }, + { + "name": "rounding", + "type": "float" + } + ], + "argsoriginal": "(ImDrawList* draw_list,const ImRect& outer,const ImRect& inner,ImU32 col,float rounding)", + "call_args": "(draw_list,outer,inner,col,rounding)", + "cimguiname": "igRenderRectFilledWithHole", + "defaults": {}, + "funcname": "RenderRectFilledWithHole", + "location": "imgui_internal:3688", + "namespace": "ImGui", + "ov_cimguiname": "igRenderRectFilledWithHole", + "ret": "void", + "signature": "(ImDrawList*,const ImRect,const ImRect,ImU32,float)", + "stname": "" + } + ], + "igRenderText": [ + { + "args": "(ImVec2 pos,const char* text,const char* text_end,bool hide_text_after_hash)", + "argsT": [ + { + "name": "pos", + "type": "ImVec2" + }, + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + }, + { + "name": "hide_text_after_hash", + "type": "bool" + } + ], + "argsoriginal": "(ImVec2 pos,const char* text,const char* text_end=((void*)0),bool hide_text_after_hash=true)", + "call_args": "(pos,text,text_end,hide_text_after_hash)", + "cimguiname": "igRenderText", + "defaults": { + "hide_text_after_hash": "true", + "text_end": "NULL" + }, + "funcname": "RenderText", + "location": "imgui_internal:3666", + "namespace": "ImGui", + "ov_cimguiname": "igRenderText", + "ret": "void", + "signature": "(ImVec2,const char*,const char*,bool)", + "stname": "" + } + ], + "igRenderTextClipped": [ + { + "args": "(const ImVec2 pos_min,const ImVec2 pos_max,const char* text,const char* text_end,const ImVec2* text_size_if_known,const ImVec2 align,const ImRect* clip_rect)", + "argsT": [ + { + "name": "pos_min", + "type": "const ImVec2" + }, + { + "name": "pos_max", + "type": "const ImVec2" + }, + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + }, + { + "name": "text_size_if_known", + "type": "const ImVec2*" + }, + { + "name": "align", + "type": "const ImVec2" + }, + { + "name": "clip_rect", + "type": "const ImRect*" + } + ], + "argsoriginal": "(const ImVec2& pos_min,const ImVec2& pos_max,const char* text,const char* text_end,const ImVec2* text_size_if_known,const ImVec2& align=ImVec2(0,0),const ImRect* clip_rect=((void*)0))", + "call_args": "(pos_min,pos_max,text,text_end,text_size_if_known,align,clip_rect)", + "cimguiname": "igRenderTextClipped", + "defaults": { + "align": "ImVec2(0,0)", + "clip_rect": "NULL" + }, + "funcname": "RenderTextClipped", + "location": "imgui_internal:3668", + "namespace": "ImGui", + "ov_cimguiname": "igRenderTextClipped", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,const char*,const char*,const ImVec2*,const ImVec2,const ImRect*)", + "stname": "" + } + ], + "igRenderTextClippedEx": [ + { + "args": "(ImDrawList* draw_list,const ImVec2 pos_min,const ImVec2 pos_max,const char* text,const char* text_end,const ImVec2* text_size_if_known,const ImVec2 align,const ImRect* clip_rect)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "pos_min", + "type": "const ImVec2" + }, + { + "name": "pos_max", + "type": "const ImVec2" + }, + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + }, + { + "name": "text_size_if_known", + "type": "const ImVec2*" + }, + { + "name": "align", + "type": "const ImVec2" + }, + { + "name": "clip_rect", + "type": "const ImRect*" + } + ], + "argsoriginal": "(ImDrawList* draw_list,const ImVec2& pos_min,const ImVec2& pos_max,const char* text,const char* text_end,const ImVec2* text_size_if_known,const ImVec2& align=ImVec2(0,0),const ImRect* clip_rect=((void*)0))", + "call_args": "(draw_list,pos_min,pos_max,text,text_end,text_size_if_known,align,clip_rect)", + "cimguiname": "igRenderTextClippedEx", + "defaults": { + "align": "ImVec2(0,0)", + "clip_rect": "NULL" + }, + "funcname": "RenderTextClippedEx", + "location": "imgui_internal:3669", + "namespace": "ImGui", + "ov_cimguiname": "igRenderTextClippedEx", + "ret": "void", + "signature": "(ImDrawList*,const ImVec2,const ImVec2,const char*,const char*,const ImVec2*,const ImVec2,const ImRect*)", + "stname": "" + } + ], + "igRenderTextEllipsis": [ + { + "args": "(ImDrawList* draw_list,const ImVec2 pos_min,const ImVec2 pos_max,float clip_max_x,float ellipsis_max_x,const char* text,const char* text_end,const ImVec2* text_size_if_known)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "pos_min", + "type": "const ImVec2" + }, + { + "name": "pos_max", + "type": "const ImVec2" + }, + { + "name": "clip_max_x", + "type": "float" + }, + { + "name": "ellipsis_max_x", + "type": "float" + }, + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + }, + { + "name": "text_size_if_known", + "type": "const ImVec2*" + } + ], + "argsoriginal": "(ImDrawList* draw_list,const ImVec2& pos_min,const ImVec2& pos_max,float clip_max_x,float ellipsis_max_x,const char* text,const char* text_end,const ImVec2* text_size_if_known)", + "call_args": "(draw_list,pos_min,pos_max,clip_max_x,ellipsis_max_x,text,text_end,text_size_if_known)", + "cimguiname": "igRenderTextEllipsis", + "defaults": {}, + "funcname": "RenderTextEllipsis", + "location": "imgui_internal:3670", + "namespace": "ImGui", + "ov_cimguiname": "igRenderTextEllipsis", + "ret": "void", + "signature": "(ImDrawList*,const ImVec2,const ImVec2,float,float,const char*,const char*,const ImVec2*)", + "stname": "" + } + ], + "igRenderTextWrapped": [ + { + "args": "(ImVec2 pos,const char* text,const char* text_end,float wrap_width)", + "argsT": [ + { + "name": "pos", + "type": "ImVec2" + }, + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + }, + { + "name": "wrap_width", + "type": "float" + } + ], + "argsoriginal": "(ImVec2 pos,const char* text,const char* text_end,float wrap_width)", + "call_args": "(pos,text,text_end,wrap_width)", + "cimguiname": "igRenderTextWrapped", + "defaults": {}, + "funcname": "RenderTextWrapped", + "location": "imgui_internal:3667", + "namespace": "ImGui", + "ov_cimguiname": "igRenderTextWrapped", + "ret": "void", + "signature": "(ImVec2,const char*,const char*,float)", + "stname": "" + } + ], + "igResetMouseDragDelta": [ + { + "args": "(ImGuiMouseButton button)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + } + ], + "argsoriginal": "(ImGuiMouseButton button=0)", + "call_args": "(button)", + "cimguiname": "igResetMouseDragDelta", + "defaults": { + "button": "0" + }, + "funcname": "ResetMouseDragDelta", + "location": "imgui:1046", + "namespace": "ImGui", + "ov_cimguiname": "igResetMouseDragDelta", + "ret": "void", + "signature": "(ImGuiMouseButton)", + "stname": "" + } + ], + "igSameLine": [ + { + "args": "(float offset_from_start_x,float spacing)", + "argsT": [ + { + "name": "offset_from_start_x", + "type": "float" + }, + { + "name": "spacing", + "type": "float" + } + ], + "argsoriginal": "(float offset_from_start_x=0.0f,float spacing=-1.0f)", + "call_args": "(offset_from_start_x,spacing)", + "cimguiname": "igSameLine", + "defaults": { + "offset_from_start_x": "0.0f", + "spacing": "-1.0f" + }, + "funcname": "SameLine", + "location": "imgui:503", + "namespace": "ImGui", + "ov_cimguiname": "igSameLine", + "ret": "void", + "signature": "(float,float)", + "stname": "" + } + ], + "igSaveIniSettingsToDisk": [ + { + "args": "(const char* ini_filename)", + "argsT": [ + { + "name": "ini_filename", + "type": "const char*" + } + ], + "argsoriginal": "(const char* ini_filename)", + "call_args": "(ini_filename)", + "cimguiname": "igSaveIniSettingsToDisk", + "defaults": {}, + "funcname": "SaveIniSettingsToDisk", + "location": "imgui:1062", + "namespace": "ImGui", + "ov_cimguiname": "igSaveIniSettingsToDisk", + "ret": "void", + "signature": "(const char*)", + "stname": "" + } + ], + "igSaveIniSettingsToMemory": [ + { + "args": "(size_t* out_ini_size)", + "argsT": [ + { + "name": "out_ini_size", + "type": "size_t*" + } + ], + "argsoriginal": "(size_t* out_ini_size=((void*)0))", + "call_args": "(out_ini_size)", + "cimguiname": "igSaveIniSettingsToMemory", + "defaults": { + "out_ini_size": "NULL" + }, + "funcname": "SaveIniSettingsToMemory", + "location": "imgui:1063", + "namespace": "ImGui", + "ov_cimguiname": "igSaveIniSettingsToMemory", + "ret": "const char*", + "signature": "(size_t*)", + "stname": "" + } + ], + "igScaleWindowsInViewport": [ + { + "args": "(ImGuiViewportP* viewport,float scale)", + "argsT": [ + { + "name": "viewport", + "type": "ImGuiViewportP*" + }, + { + "name": "scale", + "type": "float" + } + ], + "argsoriginal": "(ImGuiViewportP* viewport,float scale)", + "call_args": "(viewport,scale)", + "cimguiname": "igScaleWindowsInViewport", + "defaults": {}, + "funcname": "ScaleWindowsInViewport", + "location": "imgui_internal:3258", + "namespace": "ImGui", + "ov_cimguiname": "igScaleWindowsInViewport", + "ret": "void", + "signature": "(ImGuiViewportP*,float)", + "stname": "" + } + ], + "igScrollToBringRectIntoView": [ + { + "args": "(ImGuiWindow* window,const ImRect rect)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "rect", + "type": "const ImRect" + } + ], + "argsoriginal": "(ImGuiWindow* window,const ImRect& rect)", + "call_args": "(window,rect)", + "cimguiname": "igScrollToBringRectIntoView", + "defaults": {}, + "funcname": "ScrollToBringRectIntoView", + "location": "imgui_internal:3294", + "namespace": "ImGui", + "ov_cimguiname": "igScrollToBringRectIntoView", + "ret": "void", + "signature": "(ImGuiWindow*,const ImRect)", + "stname": "" + } + ], + "igScrollToItem": [ + { + "args": "(ImGuiScrollFlags flags)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiScrollFlags" + } + ], + "argsoriginal": "(ImGuiScrollFlags flags=0)", + "call_args": "(flags)", + "cimguiname": "igScrollToItem", + "defaults": { + "flags": "0" + }, + "funcname": "ScrollToItem", + "location": "imgui_internal:3290", + "namespace": "ImGui", + "ov_cimguiname": "igScrollToItem", + "ret": "void", + "signature": "(ImGuiScrollFlags)", + "stname": "" + } + ], + "igScrollToRect": [ + { + "args": "(ImGuiWindow* window,const ImRect rect,ImGuiScrollFlags flags)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "rect", + "type": "const ImRect" + }, + { + "name": "flags", + "type": "ImGuiScrollFlags" + } + ], + "argsoriginal": "(ImGuiWindow* window,const ImRect& rect,ImGuiScrollFlags flags=0)", + "call_args": "(window,rect,flags)", + "cimguiname": "igScrollToRect", + "defaults": { + "flags": "0" + }, + "funcname": "ScrollToRect", + "location": "imgui_internal:3291", + "namespace": "ImGui", + "ov_cimguiname": "igScrollToRect", + "ret": "void", + "signature": "(ImGuiWindow*,const ImRect,ImGuiScrollFlags)", + "stname": "" + } + ], + "igScrollToRectEx": [ + { + "args": "(ImVec2 *pOut,ImGuiWindow* window,const ImRect rect,ImGuiScrollFlags flags)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "rect", + "type": "const ImRect" + }, + { + "name": "flags", + "type": "ImGuiScrollFlags" + } + ], + "argsoriginal": "(ImGuiWindow* window,const ImRect& rect,ImGuiScrollFlags flags=0)", + "call_args": "(window,rect,flags)", + "cimguiname": "igScrollToRectEx", + "defaults": { + "flags": "0" + }, + "funcname": "ScrollToRectEx", + "location": "imgui_internal:3292", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igScrollToRectEx", + "ret": "void", + "signature": "(ImGuiWindow*,const ImRect,ImGuiScrollFlags)", + "stname": "" + } + ], + "igScrollbar": [ + { + "args": "(ImGuiAxis axis)", + "argsT": [ + { + "name": "axis", + "type": "ImGuiAxis" + } + ], + "argsoriginal": "(ImGuiAxis axis)", + "call_args": "(axis)", + "cimguiname": "igScrollbar", + "defaults": {}, + "funcname": "Scrollbar", + "location": "imgui_internal:3704", + "namespace": "ImGui", + "ov_cimguiname": "igScrollbar", + "ret": "void", + "signature": "(ImGuiAxis)", + "stname": "" + } + ], + "igScrollbarEx": [ + { + "args": "(const ImRect bb,ImGuiID id,ImGuiAxis axis,ImS64* p_scroll_v,ImS64 avail_v,ImS64 contents_v,ImDrawFlags draw_rounding_flags)", + "argsT": [ + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "axis", + "type": "ImGuiAxis" + }, + { + "name": "p_scroll_v", + "type": "ImS64*" + }, + { + "name": "avail_v", + "type": "ImS64" + }, + { + "name": "contents_v", + "type": "ImS64" + }, + { + "name": "draw_rounding_flags", + "type": "ImDrawFlags" + } + ], + "argsoriginal": "(const ImRect& bb,ImGuiID id,ImGuiAxis axis,ImS64* p_scroll_v,ImS64 avail_v,ImS64 contents_v,ImDrawFlags draw_rounding_flags=0)", + "call_args": "(bb,id,axis,p_scroll_v,avail_v,contents_v,draw_rounding_flags)", + "cimguiname": "igScrollbarEx", + "defaults": { + "draw_rounding_flags": "0" + }, + "funcname": "ScrollbarEx", + "location": "imgui_internal:3705", + "namespace": "ImGui", + "ov_cimguiname": "igScrollbarEx", + "ret": "bool", + "signature": "(const ImRect,ImGuiID,ImGuiAxis,ImS64*,ImS64,ImS64,ImDrawFlags)", + "stname": "" + } + ], + "igSelectable": [ + { + "args": "(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "selected", + "type": "bool" + }, + { + "name": "flags", + "type": "ImGuiSelectableFlags" + }, + { + "name": "size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))", + "call_args": "(label,selected,flags,size)", + "cimguiname": "igSelectable", + "defaults": { + "flags": "0", + "selected": "false", + "size": "ImVec2(0,0)" + }, + "funcname": "Selectable", + "location": "imgui:686", + "namespace": "ImGui", + "ov_cimguiname": "igSelectable_Bool", + "ret": "bool", + "signature": "(const char*,bool,ImGuiSelectableFlags,const ImVec2)", + "stname": "" + }, + { + "args": "(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "p_selected", + "type": "bool*" + }, + { + "name": "flags", + "type": "ImGuiSelectableFlags" + }, + { + "name": "size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))", + "call_args": "(label,p_selected,flags,size)", + "cimguiname": "igSelectable", + "defaults": { + "flags": "0", + "size": "ImVec2(0,0)" + }, + "funcname": "Selectable", + "location": "imgui:687", + "namespace": "ImGui", + "ov_cimguiname": "igSelectable_BoolPtr", + "ret": "bool", + "signature": "(const char*,bool*,ImGuiSelectableFlags,const ImVec2)", + "stname": "" + } + ], + "igSeparator": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igSeparator", + "defaults": {}, + "funcname": "Separator", + "location": "imgui:502", + "namespace": "ImGui", + "ov_cimguiname": "igSeparator", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igSeparatorEx": [ + { + "args": "(ImGuiSeparatorFlags flags,float thickness)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiSeparatorFlags" + }, + { + "name": "thickness", + "type": "float" + } + ], + "argsoriginal": "(ImGuiSeparatorFlags flags,float thickness=1.0f)", + "call_args": "(flags,thickness)", + "cimguiname": "igSeparatorEx", + "defaults": { + "thickness": "1.0f" + }, + "funcname": "SeparatorEx", + "location": "imgui_internal:3696", + "namespace": "ImGui", + "ov_cimguiname": "igSeparatorEx", + "ret": "void", + "signature": "(ImGuiSeparatorFlags,float)", + "stname": "" + } + ], + "igSeparatorText": [ + { + "args": "(const char* label)", + "argsT": [ + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(const char* label)", + "call_args": "(label)", + "cimguiname": "igSeparatorText", + "defaults": {}, + "funcname": "SeparatorText", + "location": "imgui:552", + "namespace": "ImGui", + "ov_cimguiname": "igSeparatorText", + "ret": "void", + "signature": "(const char*)", + "stname": "" + } + ], + "igSeparatorTextEx": [ + { + "args": "(ImGuiID id,const char* label,const char* label_end,float extra_width)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "label", + "type": "const char*" + }, + { + "name": "label_end", + "type": "const char*" + }, + { + "name": "extra_width", + "type": "float" + } + ], + "argsoriginal": "(ImGuiID id,const char* label,const char* label_end,float extra_width)", + "call_args": "(id,label,label_end,extra_width)", + "cimguiname": "igSeparatorTextEx", + "defaults": {}, + "funcname": "SeparatorTextEx", + "location": "imgui_internal:3697", + "namespace": "ImGui", + "ov_cimguiname": "igSeparatorTextEx", + "ret": "void", + "signature": "(ImGuiID,const char*,const char*,float)", + "stname": "" + } + ], + "igSetActiveID": [ + { + "args": "(ImGuiID id,ImGuiWindow* window)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiID id,ImGuiWindow* window)", + "call_args": "(id,window)", + "cimguiname": "igSetActiveID", + "defaults": {}, + "funcname": "SetActiveID", + "location": "imgui_internal:3302", + "namespace": "ImGui", + "ov_cimguiname": "igSetActiveID", + "ret": "void", + "signature": "(ImGuiID,ImGuiWindow*)", + "stname": "" + } + ], + "igSetActiveIdUsingAllKeyboardKeys": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igSetActiveIdUsingAllKeyboardKeys", + "defaults": {}, + "funcname": "SetActiveIdUsingAllKeyboardKeys", + "location": "imgui_internal:3423", + "namespace": "ImGui", + "ov_cimguiname": "igSetActiveIdUsingAllKeyboardKeys", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igSetAllocatorFunctions": [ + { + "args": "(ImGuiMemAllocFunc alloc_func,ImGuiMemFreeFunc free_func,void* user_data)", + "argsT": [ + { + "name": "alloc_func", + "type": "ImGuiMemAllocFunc" + }, + { + "name": "free_func", + "type": "ImGuiMemFreeFunc" + }, + { + "name": "user_data", + "type": "void*" + } + ], + "argsoriginal": "(ImGuiMemAllocFunc alloc_func,ImGuiMemFreeFunc free_func,void* user_data=((void*)0))", + "call_args": "(alloc_func,free_func,user_data)", + "cimguiname": "igSetAllocatorFunctions", + "defaults": { + "user_data": "NULL" + }, + "funcname": "SetAllocatorFunctions", + "location": "imgui:1080", + "namespace": "ImGui", + "ov_cimguiname": "igSetAllocatorFunctions", + "ret": "void", + "signature": "(ImGuiMemAllocFunc,ImGuiMemFreeFunc,void*)", + "stname": "" + } + ], + "igSetClipboardText": [ + { + "args": "(const char* text)", + "argsT": [ + { + "name": "text", + "type": "const char*" + } + ], + "argsoriginal": "(const char* text)", + "call_args": "(text)", + "cimguiname": "igSetClipboardText", + "defaults": {}, + "funcname": "SetClipboardText", + "location": "imgui:1054", + "namespace": "ImGui", + "ov_cimguiname": "igSetClipboardText", + "ret": "void", + "signature": "(const char*)", + "stname": "" + } + ], + "igSetColorEditOptions": [ + { + "args": "(ImGuiColorEditFlags flags)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiColorEditFlags" + } + ], + "argsoriginal": "(ImGuiColorEditFlags flags)", + "call_args": "(flags)", + "cimguiname": "igSetColorEditOptions", + "defaults": {}, + "funcname": "SetColorEditOptions", + "location": "imgui:660", + "namespace": "ImGui", + "ov_cimguiname": "igSetColorEditOptions", + "ret": "void", + "signature": "(ImGuiColorEditFlags)", + "stname": "" + } + ], + "igSetColumnOffset": [ + { + "args": "(int column_index,float offset_x)", + "argsT": [ + { + "name": "column_index", + "type": "int" + }, + { + "name": "offset_x", + "type": "float" + } + ], + "argsoriginal": "(int column_index,float offset_x)", + "call_args": "(column_index,offset_x)", + "cimguiname": "igSetColumnOffset", + "defaults": {}, + "funcname": "SetColumnOffset", + "location": "imgui:864", + "namespace": "ImGui", + "ov_cimguiname": "igSetColumnOffset", + "ret": "void", + "signature": "(int,float)", + "stname": "" + } + ], + "igSetColumnWidth": [ + { + "args": "(int column_index,float width)", + "argsT": [ + { + "name": "column_index", + "type": "int" + }, + { + "name": "width", + "type": "float" + } + ], + "argsoriginal": "(int column_index,float width)", + "call_args": "(column_index,width)", + "cimguiname": "igSetColumnWidth", + "defaults": {}, + "funcname": "SetColumnWidth", + "location": "imgui:862", + "namespace": "ImGui", + "ov_cimguiname": "igSetColumnWidth", + "ret": "void", + "signature": "(int,float)", + "stname": "" + } + ], + "igSetCurrentContext": [ + { + "args": "(ImGuiContext* ctx)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + } + ], + "argsoriginal": "(ImGuiContext* ctx)", + "call_args": "(ctx)", + "cimguiname": "igSetCurrentContext", + "defaults": {}, + "funcname": "SetCurrentContext", + "location": "imgui:334", + "namespace": "ImGui", + "ov_cimguiname": "igSetCurrentContext", + "ret": "void", + "signature": "(ImGuiContext*)", + "stname": "" + } + ], + "igSetCurrentFont": [ + { + "args": "(ImFont* font)", + "argsT": [ + { + "name": "font", + "type": "ImFont*" + } + ], + "argsoriginal": "(ImFont* font)", + "call_args": "(font)", + "cimguiname": "igSetCurrentFont", + "defaults": {}, + "funcname": "SetCurrentFont", + "location": "imgui_internal:3233", + "namespace": "ImGui", + "ov_cimguiname": "igSetCurrentFont", + "ret": "void", + "signature": "(ImFont*)", + "stname": "" + } + ], + "igSetCurrentViewport": [ + { + "args": "(ImGuiWindow* window,ImGuiViewportP* viewport)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "viewport", + "type": "ImGuiViewportP*" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiViewportP* viewport)", + "call_args": "(window,viewport)", + "cimguiname": "igSetCurrentViewport", + "defaults": {}, + "funcname": "SetCurrentViewport", + "location": "imgui_internal:3261", + "namespace": "ImGui", + "ov_cimguiname": "igSetCurrentViewport", + "ret": "void", + "signature": "(ImGuiWindow*,ImGuiViewportP*)", + "stname": "" + } + ], + "igSetCursorPos": [ + { + "args": "(const ImVec2 local_pos)", + "argsT": [ + { + "name": "local_pos", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& local_pos)", + "call_args": "(local_pos)", + "cimguiname": "igSetCursorPos", + "defaults": {}, + "funcname": "SetCursorPos", + "location": "imgui:496", + "namespace": "ImGui", + "ov_cimguiname": "igSetCursorPos", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "" + } + ], + "igSetCursorPosX": [ + { + "args": "(float local_x)", + "argsT": [ + { + "name": "local_x", + "type": "float" + } + ], + "argsoriginal": "(float local_x)", + "call_args": "(local_x)", + "cimguiname": "igSetCursorPosX", + "defaults": {}, + "funcname": "SetCursorPosX", + "location": "imgui:497", + "namespace": "ImGui", + "ov_cimguiname": "igSetCursorPosX", + "ret": "void", + "signature": "(float)", + "stname": "" + } + ], + "igSetCursorPosY": [ + { + "args": "(float local_y)", + "argsT": [ + { + "name": "local_y", + "type": "float" + } + ], + "argsoriginal": "(float local_y)", + "call_args": "(local_y)", + "cimguiname": "igSetCursorPosY", + "defaults": {}, + "funcname": "SetCursorPosY", + "location": "imgui:498", + "namespace": "ImGui", + "ov_cimguiname": "igSetCursorPosY", + "ret": "void", + "signature": "(float)", + "stname": "" + } + ], + "igSetCursorScreenPos": [ + { + "args": "(const ImVec2 pos)", + "argsT": [ + { + "name": "pos", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& pos)", + "call_args": "(pos)", + "cimguiname": "igSetCursorScreenPos", + "defaults": {}, + "funcname": "SetCursorScreenPos", + "location": "imgui:491", + "namespace": "ImGui", + "ov_cimguiname": "igSetCursorScreenPos", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "" + } + ], + "igSetDragDropPayload": [ + { + "args": "(const char* type,const void* data,size_t sz,ImGuiCond cond)", + "argsT": [ + { + "name": "type", + "type": "const char*" + }, + { + "name": "data", + "type": "const void*" + }, + { + "name": "sz", + "type": "size_t" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(const char* type,const void* data,size_t sz,ImGuiCond cond=0)", + "call_args": "(type,data,sz,cond)", + "cimguiname": "igSetDragDropPayload", + "defaults": { + "cond": "0" + }, + "funcname": "SetDragDropPayload", + "location": "imgui:912", + "namespace": "ImGui", + "ov_cimguiname": "igSetDragDropPayload", + "ret": "bool", + "signature": "(const char*,const void*,size_t,ImGuiCond)", + "stname": "" + } + ], + "igSetFocusID": [ + { + "args": "(ImGuiID id,ImGuiWindow* window)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiID id,ImGuiWindow* window)", + "call_args": "(id,window)", + "cimguiname": "igSetFocusID", + "defaults": {}, + "funcname": "SetFocusID", + "location": "imgui_internal:3303", + "namespace": "ImGui", + "ov_cimguiname": "igSetFocusID", + "ret": "void", + "signature": "(ImGuiID,ImGuiWindow*)", + "stname": "" + } + ], + "igSetHoveredID": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igSetHoveredID", + "defaults": {}, + "funcname": "SetHoveredID", + "location": "imgui_internal:3306", + "namespace": "ImGui", + "ov_cimguiname": "igSetHoveredID", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igSetItemDefaultFocus": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igSetItemDefaultFocus", + "defaults": {}, + "funcname": "SetItemDefaultFocus", + "location": "imgui:933", + "namespace": "ImGui", + "ov_cimguiname": "igSetItemDefaultFocus", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igSetItemKeyOwner": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igSetItemKeyOwner", + "defaults": {}, + "funcname": "SetItemKeyOwner", + "location": "imgui:1028", + "namespace": "ImGui", + "ov_cimguiname": "igSetItemKeyOwner_Nil", + "ret": "void", + "signature": "(ImGuiKey)", + "stname": "" + }, + { + "args": "(ImGuiKey key,ImGuiInputFlags flags)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + } + ], + "argsoriginal": "(ImGuiKey key,ImGuiInputFlags flags)", + "call_args": "(key,flags)", + "cimguiname": "igSetItemKeyOwner", + "defaults": {}, + "funcname": "SetItemKeyOwner", + "location": "imgui_internal:3440", + "namespace": "ImGui", + "ov_cimguiname": "igSetItemKeyOwner_InputFlags", + "ret": "void", + "signature": "(ImGuiKey,ImGuiInputFlags)", + "stname": "" + } + ], + "igSetItemTooltip": [ + { + "args": "(const char* fmt,...)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "igSetItemTooltip", + "defaults": {}, + "funcname": "SetItemTooltip", + "isvararg": "...)", + "location": "imgui:754", + "namespace": "ImGui", + "ov_cimguiname": "igSetItemTooltip", + "ret": "void", + "signature": "(const char*,...)", + "stname": "" + } + ], + "igSetItemTooltipV": [ + { + "args": "(const char* fmt,va_list args)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "igSetItemTooltipV", + "defaults": {}, + "funcname": "SetItemTooltipV", + "location": "imgui:755", + "namespace": "ImGui", + "ov_cimguiname": "igSetItemTooltipV", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "" + } + ], + "igSetKeyOwner": [ + { + "args": "(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "owner_id", + "type": "ImGuiID" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + } + ], + "argsoriginal": "(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags=0)", + "call_args": "(key,owner_id,flags)", + "cimguiname": "igSetKeyOwner", + "defaults": { + "flags": "0" + }, + "funcname": "SetKeyOwner", + "location": "imgui_internal:3438", + "namespace": "ImGui", + "ov_cimguiname": "igSetKeyOwner", + "ret": "void", + "signature": "(ImGuiKey,ImGuiID,ImGuiInputFlags)", + "stname": "" + } + ], + "igSetKeyOwnersForKeyChord": [ + { + "args": "(ImGuiKeyChord key,ImGuiID owner_id,ImGuiInputFlags flags)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKeyChord" + }, + { + "name": "owner_id", + "type": "ImGuiID" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + } + ], + "argsoriginal": "(ImGuiKeyChord key,ImGuiID owner_id,ImGuiInputFlags flags=0)", + "call_args": "(key,owner_id,flags)", + "cimguiname": "igSetKeyOwnersForKeyChord", + "defaults": { + "flags": "0" + }, + "funcname": "SetKeyOwnersForKeyChord", + "location": "imgui_internal:3439", + "namespace": "ImGui", + "ov_cimguiname": "igSetKeyOwnersForKeyChord", + "ret": "void", + "signature": "(ImGuiKeyChord,ImGuiID,ImGuiInputFlags)", + "stname": "" + } + ], + "igSetKeyboardFocusHere": [ + { + "args": "(int offset)", + "argsT": [ + { + "name": "offset", + "type": "int" + } + ], + "argsoriginal": "(int offset=0)", + "call_args": "(offset)", + "cimguiname": "igSetKeyboardFocusHere", + "defaults": { + "offset": "0" + }, + "funcname": "SetKeyboardFocusHere", + "location": "imgui:934", + "namespace": "ImGui", + "ov_cimguiname": "igSetKeyboardFocusHere", + "ret": "void", + "signature": "(int)", + "stname": "" + } + ], + "igSetLastItemData": [ + { + "args": "(ImGuiID item_id,ImGuiItemFlags in_flags,ImGuiItemStatusFlags status_flags,const ImRect item_rect)", + "argsT": [ + { + "name": "item_id", + "type": "ImGuiID" + }, + { + "name": "in_flags", + "type": "ImGuiItemFlags" + }, + { + "name": "status_flags", + "type": "ImGuiItemStatusFlags" + }, + { + "name": "item_rect", + "type": "const ImRect" + } + ], + "argsoriginal": "(ImGuiID item_id,ImGuiItemFlags in_flags,ImGuiItemStatusFlags status_flags,const ImRect& item_rect)", + "call_args": "(item_id,in_flags,status_flags,item_rect)", + "cimguiname": "igSetLastItemData", + "defaults": {}, + "funcname": "SetLastItemData", + "location": "imgui_internal:3320", + "namespace": "ImGui", + "ov_cimguiname": "igSetLastItemData", + "ret": "void", + "signature": "(ImGuiID,ImGuiItemFlags,ImGuiItemStatusFlags,const ImRect)", + "stname": "" + } + ], + "igSetMouseCursor": [ + { + "args": "(ImGuiMouseCursor cursor_type)", + "argsT": [ + { + "name": "cursor_type", + "type": "ImGuiMouseCursor" + } + ], + "argsoriginal": "(ImGuiMouseCursor cursor_type)", + "call_args": "(cursor_type)", + "cimguiname": "igSetMouseCursor", + "defaults": {}, + "funcname": "SetMouseCursor", + "location": "imgui:1048", + "namespace": "ImGui", + "ov_cimguiname": "igSetMouseCursor", + "ret": "void", + "signature": "(ImGuiMouseCursor)", + "stname": "" + } + ], + "igSetNavCursorVisible": [ + { + "args": "(bool visible)", + "argsT": [ + { + "name": "visible", + "type": "bool" + } + ], + "argsoriginal": "(bool visible)", + "call_args": "(visible)", + "cimguiname": "igSetNavCursorVisible", + "defaults": {}, + "funcname": "SetNavCursorVisible", + "location": "imgui:937", + "namespace": "ImGui", + "ov_cimguiname": "igSetNavCursorVisible", + "ret": "void", + "signature": "(bool)", + "stname": "" + } + ], + "igSetNavCursorVisibleAfterMove": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igSetNavCursorVisibleAfterMove", + "defaults": {}, + "funcname": "SetNavCursorVisibleAfterMove", + "location": "imgui_internal:3381", + "namespace": "ImGui", + "ov_cimguiname": "igSetNavCursorVisibleAfterMove", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igSetNavFocusScope": [ + { + "args": "(ImGuiID focus_scope_id)", + "argsT": [ + { + "name": "focus_scope_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID focus_scope_id)", + "call_args": "(focus_scope_id)", + "cimguiname": "igSetNavFocusScope", + "defaults": {}, + "funcname": "SetNavFocusScope", + "location": "imgui_internal:3385", + "namespace": "ImGui", + "ov_cimguiname": "igSetNavFocusScope", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igSetNavID": [ + { + "args": "(ImGuiID id,ImGuiNavLayer nav_layer,ImGuiID focus_scope_id,const ImRect rect_rel)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "nav_layer", + "type": "ImGuiNavLayer" + }, + { + "name": "focus_scope_id", + "type": "ImGuiID" + }, + { + "name": "rect_rel", + "type": "const ImRect" + } + ], + "argsoriginal": "(ImGuiID id,ImGuiNavLayer nav_layer,ImGuiID focus_scope_id,const ImRect& rect_rel)", + "call_args": "(id,nav_layer,focus_scope_id,rect_rel)", + "cimguiname": "igSetNavID", + "defaults": {}, + "funcname": "SetNavID", + "location": "imgui_internal:3384", + "namespace": "ImGui", + "ov_cimguiname": "igSetNavID", + "ret": "void", + "signature": "(ImGuiID,ImGuiNavLayer,ImGuiID,const ImRect)", + "stname": "" + } + ], + "igSetNavWindow": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igSetNavWindow", + "defaults": {}, + "funcname": "SetNavWindow", + "location": "imgui_internal:3383", + "namespace": "ImGui", + "ov_cimguiname": "igSetNavWindow", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igSetNextFrameWantCaptureKeyboard": [ + { + "args": "(bool want_capture_keyboard)", + "argsT": [ + { + "name": "want_capture_keyboard", + "type": "bool" + } + ], + "argsoriginal": "(bool want_capture_keyboard)", + "call_args": "(want_capture_keyboard)", + "cimguiname": "igSetNextFrameWantCaptureKeyboard", + "defaults": {}, + "funcname": "SetNextFrameWantCaptureKeyboard", + "location": "imgui:1002", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextFrameWantCaptureKeyboard", + "ret": "void", + "signature": "(bool)", + "stname": "" + } + ], + "igSetNextFrameWantCaptureMouse": [ + { + "args": "(bool want_capture_mouse)", + "argsT": [ + { + "name": "want_capture_mouse", + "type": "bool" + } + ], + "argsoriginal": "(bool want_capture_mouse)", + "call_args": "(want_capture_mouse)", + "cimguiname": "igSetNextFrameWantCaptureMouse", + "defaults": {}, + "funcname": "SetNextFrameWantCaptureMouse", + "location": "imgui:1049", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextFrameWantCaptureMouse", + "ret": "void", + "signature": "(bool)", + "stname": "" + } + ], + "igSetNextItemAllowOverlap": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igSetNextItemAllowOverlap", + "defaults": {}, + "funcname": "SetNextItemAllowOverlap", + "location": "imgui:940", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextItemAllowOverlap", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igSetNextItemOpen": [ + { + "args": "(bool is_open,ImGuiCond cond)", + "argsT": [ + { + "name": "is_open", + "type": "bool" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(bool is_open,ImGuiCond cond=0)", + "call_args": "(is_open,cond)", + "cimguiname": "igSetNextItemOpen", + "defaults": { + "cond": "0" + }, + "funcname": "SetNextItemOpen", + "location": "imgui:680", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextItemOpen", + "ret": "void", + "signature": "(bool,ImGuiCond)", + "stname": "" + } + ], + "igSetNextItemRefVal": [ + { + "args": "(ImGuiDataType data_type,void* p_data)", + "argsT": [ + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_data", + "type": "void*" + } + ], + "argsoriginal": "(ImGuiDataType data_type,void* p_data)", + "call_args": "(data_type,p_data)", + "cimguiname": "igSetNextItemRefVal", + "defaults": {}, + "funcname": "SetNextItemRefVal", + "location": "imgui_internal:3750", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextItemRefVal", + "ret": "void", + "signature": "(ImGuiDataType,void*)", + "stname": "" + } + ], + "igSetNextItemSelectionUserData": [ + { + "args": "(ImGuiSelectionUserData selection_user_data)", + "argsT": [ + { + "name": "selection_user_data", + "type": "ImGuiSelectionUserData" + } + ], + "argsoriginal": "(ImGuiSelectionUserData selection_user_data)", + "call_args": "(selection_user_data)", + "cimguiname": "igSetNextItemSelectionUserData", + "defaults": {}, + "funcname": "SetNextItemSelectionUserData", + "location": "imgui:698", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextItemSelectionUserData", + "ret": "void", + "signature": "(ImGuiSelectionUserData)", + "stname": "" + } + ], + "igSetNextItemShortcut": [ + { + "args": "(ImGuiKeyChord key_chord,ImGuiInputFlags flags)", + "argsT": [ + { + "name": "key_chord", + "type": "ImGuiKeyChord" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord,ImGuiInputFlags flags=0)", + "call_args": "(key_chord,flags)", + "cimguiname": "igSetNextItemShortcut", + "defaults": { + "flags": "0" + }, + "funcname": "SetNextItemShortcut", + "location": "imgui:1020", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextItemShortcut", + "ret": "void", + "signature": "(ImGuiKeyChord,ImGuiInputFlags)", + "stname": "" + } + ], + "igSetNextItemStorageID": [ + { + "args": "(ImGuiID storage_id)", + "argsT": [ + { + "name": "storage_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID storage_id)", + "call_args": "(storage_id)", + "cimguiname": "igSetNextItemStorageID", + "defaults": {}, + "funcname": "SetNextItemStorageID", + "location": "imgui:681", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextItemStorageID", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igSetNextItemWidth": [ + { + "args": "(float item_width)", + "argsT": [ + { + "name": "item_width", + "type": "float" + } + ], + "argsoriginal": "(float item_width)", + "call_args": "(item_width)", + "cimguiname": "igSetNextItemWidth", + "defaults": {}, + "funcname": "SetNextItemWidth", + "location": "imgui:465", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextItemWidth", + "ret": "void", + "signature": "(float)", + "stname": "" + } + ], + "igSetNextWindowBgAlpha": [ + { + "args": "(float alpha)", + "argsT": [ + { + "name": "alpha", + "type": "float" + } + ], + "argsoriginal": "(float alpha)", + "call_args": "(alpha)", + "cimguiname": "igSetNextWindowBgAlpha", + "defaults": {}, + "funcname": "SetNextWindowBgAlpha", + "location": "imgui:422", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowBgAlpha", + "ret": "void", + "signature": "(float)", + "stname": "" + } + ], + "igSetNextWindowClass": [ + { + "args": "(const ImGuiWindowClass* window_class)", + "argsT": [ + { + "name": "window_class", + "type": "const ImGuiWindowClass*" + } + ], + "argsoriginal": "(const ImGuiWindowClass* window_class)", + "call_args": "(window_class)", + "cimguiname": "igSetNextWindowClass", + "defaults": {}, + "funcname": "SetNextWindowClass", + "location": "imgui:892", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowClass", + "ret": "void", + "signature": "(const ImGuiWindowClass*)", + "stname": "" + } + ], + "igSetNextWindowCollapsed": [ + { + "args": "(bool collapsed,ImGuiCond cond)", + "argsT": [ + { + "name": "collapsed", + "type": "bool" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(bool collapsed,ImGuiCond cond=0)", + "call_args": "(collapsed,cond)", + "cimguiname": "igSetNextWindowCollapsed", + "defaults": { + "cond": "0" + }, + "funcname": "SetNextWindowCollapsed", + "location": "imgui:419", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowCollapsed", + "ret": "void", + "signature": "(bool,ImGuiCond)", + "stname": "" + } + ], + "igSetNextWindowContentSize": [ + { + "args": "(const ImVec2 size)", + "argsT": [ + { + "name": "size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& size)", + "call_args": "(size)", + "cimguiname": "igSetNextWindowContentSize", + "defaults": {}, + "funcname": "SetNextWindowContentSize", + "location": "imgui:418", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowContentSize", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "" + } + ], + "igSetNextWindowDockID": [ + { + "args": "(ImGuiID dock_id,ImGuiCond cond)", + "argsT": [ + { + "name": "dock_id", + "type": "ImGuiID" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(ImGuiID dock_id,ImGuiCond cond=0)", + "call_args": "(dock_id,cond)", + "cimguiname": "igSetNextWindowDockID", + "defaults": { + "cond": "0" + }, + "funcname": "SetNextWindowDockID", + "location": "imgui:891", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowDockID", + "ret": "void", + "signature": "(ImGuiID,ImGuiCond)", + "stname": "" + } + ], + "igSetNextWindowFocus": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igSetNextWindowFocus", + "defaults": {}, + "funcname": "SetNextWindowFocus", + "location": "imgui:420", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowFocus", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igSetNextWindowPos": [ + { + "args": "(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)", + "argsT": [ + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "cond", + "type": "ImGuiCond" + }, + { + "name": "pivot", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))", + "call_args": "(pos,cond,pivot)", + "cimguiname": "igSetNextWindowPos", + "defaults": { + "cond": "0", + "pivot": "ImVec2(0,0)" + }, + "funcname": "SetNextWindowPos", + "location": "imgui:415", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowPos", + "ret": "void", + "signature": "(const ImVec2,ImGuiCond,const ImVec2)", + "stname": "" + } + ], + "igSetNextWindowRefreshPolicy": [ + { + "args": "(ImGuiWindowRefreshFlags flags)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiWindowRefreshFlags" + } + ], + "argsoriginal": "(ImGuiWindowRefreshFlags flags)", + "call_args": "(flags)", + "cimguiname": "igSetNextWindowRefreshPolicy", + "defaults": {}, + "funcname": "SetNextWindowRefreshPolicy", + "location": "imgui_internal:3230", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowRefreshPolicy", + "ret": "void", + "signature": "(ImGuiWindowRefreshFlags)", + "stname": "" + } + ], + "igSetNextWindowScroll": [ + { + "args": "(const ImVec2 scroll)", + "argsT": [ + { + "name": "scroll", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& scroll)", + "call_args": "(scroll)", + "cimguiname": "igSetNextWindowScroll", + "defaults": {}, + "funcname": "SetNextWindowScroll", + "location": "imgui:421", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowScroll", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "" + } + ], + "igSetNextWindowSize": [ + { + "args": "(const ImVec2 size,ImGuiCond cond)", + "argsT": [ + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(const ImVec2& size,ImGuiCond cond=0)", + "call_args": "(size,cond)", + "cimguiname": "igSetNextWindowSize", + "defaults": { + "cond": "0" + }, + "funcname": "SetNextWindowSize", + "location": "imgui:416", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowSize", + "ret": "void", + "signature": "(const ImVec2,ImGuiCond)", + "stname": "" + } + ], + "igSetNextWindowSizeConstraints": [ + { + "args": "(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)", + "argsT": [ + { + "name": "size_min", + "type": "const ImVec2" + }, + { + "name": "size_max", + "type": "const ImVec2" + }, + { + "name": "custom_callback", + "type": "ImGuiSizeCallback" + }, + { + "name": "custom_callback_data", + "type": "void*" + } + ], + "argsoriginal": "(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void*)0),void* custom_callback_data=((void*)0))", + "call_args": "(size_min,size_max,custom_callback,custom_callback_data)", + "cimguiname": "igSetNextWindowSizeConstraints", + "defaults": { + "custom_callback": "NULL", + "custom_callback_data": "NULL" + }, + "funcname": "SetNextWindowSizeConstraints", + "location": "imgui:417", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowSizeConstraints", + "ret": "void", + "signature": "(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)", + "stname": "" + } + ], + "igSetNextWindowViewport": [ + { + "args": "(ImGuiID viewport_id)", + "argsT": [ + { + "name": "viewport_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID viewport_id)", + "call_args": "(viewport_id)", + "cimguiname": "igSetNextWindowViewport", + "defaults": {}, + "funcname": "SetNextWindowViewport", + "location": "imgui:423", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowViewport", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igSetScrollFromPosX": [ + { + "args": "(float local_x,float center_x_ratio)", + "argsT": [ + { + "name": "local_x", + "type": "float" + }, + { + "name": "center_x_ratio", + "type": "float" + } + ], + "argsoriginal": "(float local_x,float center_x_ratio=0.5f)", + "call_args": "(local_x,center_x_ratio)", + "cimguiname": "igSetScrollFromPosX", + "defaults": { + "center_x_ratio": "0.5f" + }, + "funcname": "SetScrollFromPosX", + "location": "imgui:445", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollFromPosX_Float", + "ret": "void", + "signature": "(float,float)", + "stname": "" + }, + { + "args": "(ImGuiWindow* window,float local_x,float center_x_ratio)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "local_x", + "type": "float" + }, + { + "name": "center_x_ratio", + "type": "float" + } + ], + "argsoriginal": "(ImGuiWindow* window,float local_x,float center_x_ratio)", + "call_args": "(window,local_x,center_x_ratio)", + "cimguiname": "igSetScrollFromPosX", + "defaults": {}, + "funcname": "SetScrollFromPosX", + "location": "imgui_internal:3286", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollFromPosX_WindowPtr", + "ret": "void", + "signature": "(ImGuiWindow*,float,float)", + "stname": "" + } + ], + "igSetScrollFromPosY": [ + { + "args": "(float local_y,float center_y_ratio)", + "argsT": [ + { + "name": "local_y", + "type": "float" + }, + { + "name": "center_y_ratio", + "type": "float" + } + ], + "argsoriginal": "(float local_y,float center_y_ratio=0.5f)", + "call_args": "(local_y,center_y_ratio)", + "cimguiname": "igSetScrollFromPosY", + "defaults": { + "center_y_ratio": "0.5f" + }, + "funcname": "SetScrollFromPosY", + "location": "imgui:446", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollFromPosY_Float", + "ret": "void", + "signature": "(float,float)", + "stname": "" + }, + { + "args": "(ImGuiWindow* window,float local_y,float center_y_ratio)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "local_y", + "type": "float" + }, + { + "name": "center_y_ratio", + "type": "float" + } + ], + "argsoriginal": "(ImGuiWindow* window,float local_y,float center_y_ratio)", + "call_args": "(window,local_y,center_y_ratio)", + "cimguiname": "igSetScrollFromPosY", + "defaults": {}, + "funcname": "SetScrollFromPosY", + "location": "imgui_internal:3287", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollFromPosY_WindowPtr", + "ret": "void", + "signature": "(ImGuiWindow*,float,float)", + "stname": "" + } + ], + "igSetScrollHereX": [ + { + "args": "(float center_x_ratio)", + "argsT": [ + { + "name": "center_x_ratio", + "type": "float" + } + ], + "argsoriginal": "(float center_x_ratio=0.5f)", + "call_args": "(center_x_ratio)", + "cimguiname": "igSetScrollHereX", + "defaults": { + "center_x_ratio": "0.5f" + }, + "funcname": "SetScrollHereX", + "location": "imgui:443", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollHereX", + "ret": "void", + "signature": "(float)", + "stname": "" + } + ], + "igSetScrollHereY": [ + { + "args": "(float center_y_ratio)", + "argsT": [ + { + "name": "center_y_ratio", + "type": "float" + } + ], + "argsoriginal": "(float center_y_ratio=0.5f)", + "call_args": "(center_y_ratio)", + "cimguiname": "igSetScrollHereY", + "defaults": { + "center_y_ratio": "0.5f" + }, + "funcname": "SetScrollHereY", + "location": "imgui:444", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollHereY", + "ret": "void", + "signature": "(float)", + "stname": "" + } + ], + "igSetScrollX": [ + { + "args": "(float scroll_x)", + "argsT": [ + { + "name": "scroll_x", + "type": "float" + } + ], + "argsoriginal": "(float scroll_x)", + "call_args": "(scroll_x)", + "cimguiname": "igSetScrollX", + "defaults": {}, + "funcname": "SetScrollX", + "location": "imgui:439", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollX_Float", + "ret": "void", + "signature": "(float)", + "stname": "" + }, + { + "args": "(ImGuiWindow* window,float scroll_x)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "scroll_x", + "type": "float" + } + ], + "argsoriginal": "(ImGuiWindow* window,float scroll_x)", + "call_args": "(window,scroll_x)", + "cimguiname": "igSetScrollX", + "defaults": {}, + "funcname": "SetScrollX", + "location": "imgui_internal:3284", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollX_WindowPtr", + "ret": "void", + "signature": "(ImGuiWindow*,float)", + "stname": "" + } + ], + "igSetScrollY": [ + { + "args": "(float scroll_y)", + "argsT": [ + { + "name": "scroll_y", + "type": "float" + } + ], + "argsoriginal": "(float scroll_y)", + "call_args": "(scroll_y)", + "cimguiname": "igSetScrollY", + "defaults": {}, + "funcname": "SetScrollY", + "location": "imgui:440", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollY_Float", + "ret": "void", + "signature": "(float)", + "stname": "" + }, + { + "args": "(ImGuiWindow* window,float scroll_y)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "scroll_y", + "type": "float" + } + ], + "argsoriginal": "(ImGuiWindow* window,float scroll_y)", + "call_args": "(window,scroll_y)", + "cimguiname": "igSetScrollY", + "defaults": {}, + "funcname": "SetScrollY", + "location": "imgui_internal:3285", + "namespace": "ImGui", + "ov_cimguiname": "igSetScrollY_WindowPtr", + "ret": "void", + "signature": "(ImGuiWindow*,float)", + "stname": "" + } + ], + "igSetShortcutRouting": [ + { + "args": "(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id)", + "argsT": [ + { + "name": "key_chord", + "type": "ImGuiKeyChord" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id)", + "call_args": "(key_chord,flags,owner_id)", + "cimguiname": "igSetShortcutRouting", + "defaults": {}, + "funcname": "SetShortcutRouting", + "location": "imgui_internal:3474", + "namespace": "ImGui", + "ov_cimguiname": "igSetShortcutRouting", + "ret": "bool", + "signature": "(ImGuiKeyChord,ImGuiInputFlags,ImGuiID)", + "stname": "" + } + ], + "igSetStateStorage": [ + { + "args": "(ImGuiStorage* storage)", + "argsT": [ + { + "name": "storage", + "type": "ImGuiStorage*" + } + ], + "argsoriginal": "(ImGuiStorage* storage)", + "call_args": "(storage)", + "cimguiname": "igSetStateStorage", + "defaults": {}, + "funcname": "SetStateStorage", + "location": "imgui:980", + "namespace": "ImGui", + "ov_cimguiname": "igSetStateStorage", + "ret": "void", + "signature": "(ImGuiStorage*)", + "stname": "" + } + ], + "igSetTabItemClosed": [ + { + "args": "(const char* tab_or_docked_window_label)", + "argsT": [ + { + "name": "tab_or_docked_window_label", + "type": "const char*" + } + ], + "argsoriginal": "(const char* tab_or_docked_window_label)", + "call_args": "(tab_or_docked_window_label)", + "cimguiname": "igSetTabItemClosed", + "defaults": {}, + "funcname": "SetTabItemClosed", + "location": "imgui:874", + "namespace": "ImGui", + "ov_cimguiname": "igSetTabItemClosed", + "ret": "void", + "signature": "(const char*)", + "stname": "" + } + ], + "igSetTooltip": [ + { + "args": "(const char* fmt,...)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "igSetTooltip", + "defaults": {}, + "funcname": "SetTooltip", + "isvararg": "...)", + "location": "imgui:746", + "namespace": "ImGui", + "ov_cimguiname": "igSetTooltip", + "ret": "void", + "signature": "(const char*,...)", + "stname": "" + } + ], + "igSetTooltipV": [ + { + "args": "(const char* fmt,va_list args)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "igSetTooltipV", + "defaults": {}, + "funcname": "SetTooltipV", + "location": "imgui:747", + "namespace": "ImGui", + "ov_cimguiname": "igSetTooltipV", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "" + } + ], + "igSetWindowClipRectBeforeSetChannel": [ + { + "args": "(ImGuiWindow* window,const ImRect clip_rect)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "clip_rect", + "type": "const ImRect" + } + ], + "argsoriginal": "(ImGuiWindow* window,const ImRect& clip_rect)", + "call_args": "(window,clip_rect)", + "cimguiname": "igSetWindowClipRectBeforeSetChannel", + "defaults": {}, + "funcname": "SetWindowClipRectBeforeSetChannel", + "location": "imgui_internal:3573", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowClipRectBeforeSetChannel", + "ret": "void", + "signature": "(ImGuiWindow*,const ImRect)", + "stname": "" + } + ], + "igSetWindowCollapsed": [ + { + "args": "(bool collapsed,ImGuiCond cond)", + "argsT": [ + { + "name": "collapsed", + "type": "bool" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(bool collapsed,ImGuiCond cond=0)", + "call_args": "(collapsed,cond)", + "cimguiname": "igSetWindowCollapsed", + "defaults": { + "cond": "0" + }, + "funcname": "SetWindowCollapsed", + "location": "imgui:426", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowCollapsed_Bool", + "ret": "void", + "signature": "(bool,ImGuiCond)", + "stname": "" + }, + { + "args": "(const char* name,bool collapsed,ImGuiCond cond)", + "argsT": [ + { + "name": "name", + "type": "const char*" + }, + { + "name": "collapsed", + "type": "bool" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(const char* name,bool collapsed,ImGuiCond cond=0)", + "call_args": "(name,collapsed,cond)", + "cimguiname": "igSetWindowCollapsed", + "defaults": { + "cond": "0" + }, + "funcname": "SetWindowCollapsed", + "location": "imgui:431", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowCollapsed_Str", + "ret": "void", + "signature": "(const char*,bool,ImGuiCond)", + "stname": "" + }, + { + "args": "(ImGuiWindow* window,bool collapsed,ImGuiCond cond)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "collapsed", + "type": "bool" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(ImGuiWindow* window,bool collapsed,ImGuiCond cond=0)", + "call_args": "(window,collapsed,cond)", + "cimguiname": "igSetWindowCollapsed", + "defaults": { + "cond": "0" + }, + "funcname": "SetWindowCollapsed", + "location": "imgui_internal:3210", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowCollapsed_WindowPtr", + "ret": "void", + "signature": "(ImGuiWindow*,bool,ImGuiCond)", + "stname": "" + } + ], + "igSetWindowDock": [ + { + "args": "(ImGuiWindow* window,ImGuiID dock_id,ImGuiCond cond)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "dock_id", + "type": "ImGuiID" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiID dock_id,ImGuiCond cond)", + "call_args": "(window,dock_id,cond)", + "cimguiname": "igSetWindowDock", + "defaults": {}, + "funcname": "SetWindowDock", + "location": "imgui_internal:3507", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowDock", + "ret": "void", + "signature": "(ImGuiWindow*,ImGuiID,ImGuiCond)", + "stname": "" + } + ], + "igSetWindowFocus": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igSetWindowFocus", + "defaults": {}, + "funcname": "SetWindowFocus", + "location": "imgui:427", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowFocus_Nil", + "ret": "void", + "signature": "()", + "stname": "" + }, + { + "args": "(const char* name)", + "argsT": [ + { + "name": "name", + "type": "const char*" + } + ], + "argsoriginal": "(const char* name)", + "call_args": "(name)", + "cimguiname": "igSetWindowFocus", + "defaults": {}, + "funcname": "SetWindowFocus", + "location": "imgui:432", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowFocus_Str", + "ret": "void", + "signature": "(const char*)", + "stname": "" + } + ], + "igSetWindowFontScale": [ + { + "args": "(float scale)", + "argsT": [ + { + "name": "scale", + "type": "float" + } + ], + "argsoriginal": "(float scale)", + "call_args": "(scale)", + "cimguiname": "igSetWindowFontScale", + "defaults": {}, + "funcname": "SetWindowFontScale", + "location": "imgui:428", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowFontScale", + "ret": "void", + "signature": "(float)", + "stname": "" + } + ], + "igSetWindowHiddenAndSkipItemsForCurrentFrame": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igSetWindowHiddenAndSkipItemsForCurrentFrame", + "defaults": {}, + "funcname": "SetWindowHiddenAndSkipItemsForCurrentFrame", + "location": "imgui_internal:3212", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowHiddenAndSkipItemsForCurrentFrame", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igSetWindowHitTestHole": [ + { + "args": "(ImGuiWindow* window,const ImVec2 pos,const ImVec2 size)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(ImGuiWindow* window,const ImVec2& pos,const ImVec2& size)", + "call_args": "(window,pos,size)", + "cimguiname": "igSetWindowHitTestHole", + "defaults": {}, + "funcname": "SetWindowHitTestHole", + "location": "imgui_internal:3211", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowHitTestHole", + "ret": "void", + "signature": "(ImGuiWindow*,const ImVec2,const ImVec2)", + "stname": "" + } + ], + "igSetWindowParentWindowForFocusRoute": [ + { + "args": "(ImGuiWindow* window,ImGuiWindow* parent_window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "parent_window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiWindow* parent_window)", + "call_args": "(window,parent_window)", + "cimguiname": "igSetWindowParentWindowForFocusRoute", + "defaults": {}, + "funcname": "SetWindowParentWindowForFocusRoute", + "location": "imgui_internal:3213", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowParentWindowForFocusRoute", + "ret": "void", + "signature": "(ImGuiWindow*,ImGuiWindow*)", + "stname": "" + } + ], + "igSetWindowPos": [ + { + "args": "(const ImVec2 pos,ImGuiCond cond)", + "argsT": [ + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(const ImVec2& pos,ImGuiCond cond=0)", + "call_args": "(pos,cond)", + "cimguiname": "igSetWindowPos", + "defaults": { + "cond": "0" + }, + "funcname": "SetWindowPos", + "location": "imgui:424", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowPos_Vec2", + "ret": "void", + "signature": "(const ImVec2,ImGuiCond)", + "stname": "" + }, + { + "args": "(const char* name,const ImVec2 pos,ImGuiCond cond)", + "argsT": [ + { + "name": "name", + "type": "const char*" + }, + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(const char* name,const ImVec2& pos,ImGuiCond cond=0)", + "call_args": "(name,pos,cond)", + "cimguiname": "igSetWindowPos", + "defaults": { + "cond": "0" + }, + "funcname": "SetWindowPos", + "location": "imgui:429", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowPos_Str", + "ret": "void", + "signature": "(const char*,const ImVec2,ImGuiCond)", + "stname": "" + }, + { + "args": "(ImGuiWindow* window,const ImVec2 pos,ImGuiCond cond)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "pos", + "type": "const ImVec2" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(ImGuiWindow* window,const ImVec2& pos,ImGuiCond cond=0)", + "call_args": "(window,pos,cond)", + "cimguiname": "igSetWindowPos", + "defaults": { + "cond": "0" + }, + "funcname": "SetWindowPos", + "location": "imgui_internal:3208", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowPos_WindowPtr", + "ret": "void", + "signature": "(ImGuiWindow*,const ImVec2,ImGuiCond)", + "stname": "" + } + ], + "igSetWindowSize": [ + { + "args": "(const ImVec2 size,ImGuiCond cond)", + "argsT": [ + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(const ImVec2& size,ImGuiCond cond=0)", + "call_args": "(size,cond)", + "cimguiname": "igSetWindowSize", + "defaults": { + "cond": "0" + }, + "funcname": "SetWindowSize", + "location": "imgui:425", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowSize_Vec2", + "ret": "void", + "signature": "(const ImVec2,ImGuiCond)", + "stname": "" + }, + { + "args": "(const char* name,const ImVec2 size,ImGuiCond cond)", + "argsT": [ + { + "name": "name", + "type": "const char*" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(const char* name,const ImVec2& size,ImGuiCond cond=0)", + "call_args": "(name,size,cond)", + "cimguiname": "igSetWindowSize", + "defaults": { + "cond": "0" + }, + "funcname": "SetWindowSize", + "location": "imgui:430", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowSize_Str", + "ret": "void", + "signature": "(const char*,const ImVec2,ImGuiCond)", + "stname": "" + }, + { + "args": "(ImGuiWindow* window,const ImVec2 size,ImGuiCond cond)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "cond", + "type": "ImGuiCond" + } + ], + "argsoriginal": "(ImGuiWindow* window,const ImVec2& size,ImGuiCond cond=0)", + "call_args": "(window,size,cond)", + "cimguiname": "igSetWindowSize", + "defaults": { + "cond": "0" + }, + "funcname": "SetWindowSize", + "location": "imgui_internal:3209", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowSize_WindowPtr", + "ret": "void", + "signature": "(ImGuiWindow*,const ImVec2,ImGuiCond)", + "stname": "" + } + ], + "igSetWindowViewport": [ + { + "args": "(ImGuiWindow* window,ImGuiViewportP* viewport)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "viewport", + "type": "ImGuiViewportP*" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiViewportP* viewport)", + "call_args": "(window,viewport)", + "cimguiname": "igSetWindowViewport", + "defaults": {}, + "funcname": "SetWindowViewport", + "location": "imgui_internal:3260", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowViewport", + "ret": "void", + "signature": "(ImGuiWindow*,ImGuiViewportP*)", + "stname": "" + } + ], + "igShadeVertsLinearColorGradientKeepAlpha": [ + { + "args": "(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,ImVec2 gradient_p0,ImVec2 gradient_p1,ImU32 col0,ImU32 col1)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "vert_start_idx", + "type": "int" + }, + { + "name": "vert_end_idx", + "type": "int" + }, + { + "name": "gradient_p0", + "type": "ImVec2" + }, + { + "name": "gradient_p1", + "type": "ImVec2" + }, + { + "name": "col0", + "type": "ImU32" + }, + { + "name": "col1", + "type": "ImU32" + } + ], + "argsoriginal": "(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,ImVec2 gradient_p0,ImVec2 gradient_p1,ImU32 col0,ImU32 col1)", + "call_args": "(draw_list,vert_start_idx,vert_end_idx,gradient_p0,gradient_p1,col0,col1)", + "cimguiname": "igShadeVertsLinearColorGradientKeepAlpha", + "defaults": {}, + "funcname": "ShadeVertsLinearColorGradientKeepAlpha", + "location": "imgui_internal:3761", + "namespace": "ImGui", + "ov_cimguiname": "igShadeVertsLinearColorGradientKeepAlpha", + "ret": "void", + "signature": "(ImDrawList*,int,int,ImVec2,ImVec2,ImU32,ImU32)", + "stname": "" + } + ], + "igShadeVertsLinearUV": [ + { + "args": "(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,bool clamp)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "vert_start_idx", + "type": "int" + }, + { + "name": "vert_end_idx", + "type": "int" + }, + { + "name": "a", + "type": "const ImVec2" + }, + { + "name": "b", + "type": "const ImVec2" + }, + { + "name": "uv_a", + "type": "const ImVec2" + }, + { + "name": "uv_b", + "type": "const ImVec2" + }, + { + "name": "clamp", + "type": "bool" + } + ], + "argsoriginal": "(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,bool clamp)", + "call_args": "(draw_list,vert_start_idx,vert_end_idx,a,b,uv_a,uv_b,clamp)", + "cimguiname": "igShadeVertsLinearUV", + "defaults": {}, + "funcname": "ShadeVertsLinearUV", + "location": "imgui_internal:3762", + "namespace": "ImGui", + "ov_cimguiname": "igShadeVertsLinearUV", + "ret": "void", + "signature": "(ImDrawList*,int,int,const ImVec2,const ImVec2,const ImVec2,const ImVec2,bool)", + "stname": "" + } + ], + "igShadeVertsTransformPos": [ + { + "args": "(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,const ImVec2 pivot_in,float cos_a,float sin_a,const ImVec2 pivot_out)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "vert_start_idx", + "type": "int" + }, + { + "name": "vert_end_idx", + "type": "int" + }, + { + "name": "pivot_in", + "type": "const ImVec2" + }, + { + "name": "cos_a", + "type": "float" + }, + { + "name": "sin_a", + "type": "float" + }, + { + "name": "pivot_out", + "type": "const ImVec2" + } + ], + "argsoriginal": "(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,const ImVec2& pivot_in,float cos_a,float sin_a,const ImVec2& pivot_out)", + "call_args": "(draw_list,vert_start_idx,vert_end_idx,pivot_in,cos_a,sin_a,pivot_out)", + "cimguiname": "igShadeVertsTransformPos", + "defaults": {}, + "funcname": "ShadeVertsTransformPos", + "location": "imgui_internal:3763", + "namespace": "ImGui", + "ov_cimguiname": "igShadeVertsTransformPos", + "ret": "void", + "signature": "(ImDrawList*,int,int,const ImVec2,float,float,const ImVec2)", + "stname": "" + } + ], + "igShortcut": [ + { + "args": "(ImGuiKeyChord key_chord,ImGuiInputFlags flags)", + "argsT": [ + { + "name": "key_chord", + "type": "ImGuiKeyChord" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord,ImGuiInputFlags flags=0)", + "call_args": "(key_chord,flags)", + "cimguiname": "igShortcut", + "defaults": { + "flags": "0" + }, + "funcname": "Shortcut", + "location": "imgui:1019", + "namespace": "ImGui", + "ov_cimguiname": "igShortcut_Nil", + "ret": "bool", + "signature": "(ImGuiKeyChord,ImGuiInputFlags)", + "stname": "" + }, + { + "args": "(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id)", + "argsT": [ + { + "name": "key_chord", + "type": "ImGuiKeyChord" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id)", + "call_args": "(key_chord,flags,owner_id)", + "cimguiname": "igShortcut", + "defaults": {}, + "funcname": "Shortcut", + "location": "imgui_internal:3473", + "namespace": "ImGui", + "ov_cimguiname": "igShortcut_ID", + "ret": "bool", + "signature": "(ImGuiKeyChord,ImGuiInputFlags,ImGuiID)", + "stname": "" + } + ], + "igShowAboutWindow": [ + { + "args": "(bool* p_open)", + "argsT": [ + { + "name": "p_open", + "type": "bool*" + } + ], + "argsoriginal": "(bool* p_open=((void*)0))", + "call_args": "(p_open)", + "cimguiname": "igShowAboutWindow", + "defaults": { + "p_open": "NULL" + }, + "funcname": "ShowAboutWindow", + "location": "imgui:350", + "namespace": "ImGui", + "ov_cimguiname": "igShowAboutWindow", + "ret": "void", + "signature": "(bool*)", + "stname": "" + } + ], + "igShowDebugLogWindow": [ + { + "args": "(bool* p_open)", + "argsT": [ + { + "name": "p_open", + "type": "bool*" + } + ], + "argsoriginal": "(bool* p_open=((void*)0))", + "call_args": "(p_open)", + "cimguiname": "igShowDebugLogWindow", + "defaults": { + "p_open": "NULL" + }, + "funcname": "ShowDebugLogWindow", + "location": "imgui:348", + "namespace": "ImGui", + "ov_cimguiname": "igShowDebugLogWindow", + "ret": "void", + "signature": "(bool*)", + "stname": "" + } + ], + "igShowDemoWindow": [ + { + "args": "(bool* p_open)", + "argsT": [ + { + "name": "p_open", + "type": "bool*" + } + ], + "argsoriginal": "(bool* p_open=((void*)0))", + "call_args": "(p_open)", + "cimguiname": "igShowDemoWindow", + "defaults": { + "p_open": "NULL" + }, + "funcname": "ShowDemoWindow", + "location": "imgui:346", + "namespace": "ImGui", + "ov_cimguiname": "igShowDemoWindow", + "ret": "void", + "signature": "(bool*)", + "stname": "" + } + ], + "igShowFontAtlas": [ + { + "args": "(ImFontAtlas* atlas)", + "argsT": [ + { + "name": "atlas", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "(ImFontAtlas* atlas)", + "call_args": "(atlas)", + "cimguiname": "igShowFontAtlas", + "defaults": {}, + "funcname": "ShowFontAtlas", + "location": "imgui_internal:3792", + "namespace": "ImGui", + "ov_cimguiname": "igShowFontAtlas", + "ret": "void", + "signature": "(ImFontAtlas*)", + "stname": "" + } + ], + "igShowFontSelector": [ + { + "args": "(const char* label)", + "argsT": [ + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(const char* label)", + "call_args": "(label)", + "cimguiname": "igShowFontSelector", + "defaults": {}, + "funcname": "ShowFontSelector", + "location": "imgui:353", + "namespace": "ImGui", + "ov_cimguiname": "igShowFontSelector", + "ret": "void", + "signature": "(const char*)", + "stname": "" + } + ], + "igShowIDStackToolWindow": [ + { + "args": "(bool* p_open)", + "argsT": [ + { + "name": "p_open", + "type": "bool*" + } + ], + "argsoriginal": "(bool* p_open=((void*)0))", + "call_args": "(p_open)", + "cimguiname": "igShowIDStackToolWindow", + "defaults": { + "p_open": "NULL" + }, + "funcname": "ShowIDStackToolWindow", + "location": "imgui:349", + "namespace": "ImGui", + "ov_cimguiname": "igShowIDStackToolWindow", + "ret": "void", + "signature": "(bool*)", + "stname": "" + } + ], + "igShowMetricsWindow": [ + { + "args": "(bool* p_open)", + "argsT": [ + { + "name": "p_open", + "type": "bool*" + } + ], + "argsoriginal": "(bool* p_open=((void*)0))", + "call_args": "(p_open)", + "cimguiname": "igShowMetricsWindow", + "defaults": { + "p_open": "NULL" + }, + "funcname": "ShowMetricsWindow", + "location": "imgui:347", + "namespace": "ImGui", + "ov_cimguiname": "igShowMetricsWindow", + "ret": "void", + "signature": "(bool*)", + "stname": "" + } + ], + "igShowStyleEditor": [ + { + "args": "(ImGuiStyle* ref)", + "argsT": [ + { + "name": "ref", + "type": "ImGuiStyle*" + } + ], + "argsoriginal": "(ImGuiStyle* ref=((void*)0))", + "call_args": "(ref)", + "cimguiname": "igShowStyleEditor", + "defaults": { + "ref": "NULL" + }, + "funcname": "ShowStyleEditor", + "location": "imgui:351", + "namespace": "ImGui", + "ov_cimguiname": "igShowStyleEditor", + "ret": "void", + "signature": "(ImGuiStyle*)", + "stname": "" + } + ], + "igShowStyleSelector": [ + { + "args": "(const char* label)", + "argsT": [ + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(const char* label)", + "call_args": "(label)", + "cimguiname": "igShowStyleSelector", + "defaults": {}, + "funcname": "ShowStyleSelector", + "location": "imgui:352", + "namespace": "ImGui", + "ov_cimguiname": "igShowStyleSelector", + "ret": "bool", + "signature": "(const char*)", + "stname": "" + } + ], + "igShowUserGuide": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igShowUserGuide", + "defaults": {}, + "funcname": "ShowUserGuide", + "location": "imgui:354", + "namespace": "ImGui", + "ov_cimguiname": "igShowUserGuide", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igShrinkWidths": [ + { + "args": "(ImGuiShrinkWidthItem* items,int count,float width_excess)", + "argsT": [ + { + "name": "items", + "type": "ImGuiShrinkWidthItem*" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "width_excess", + "type": "float" + } + ], + "argsoriginal": "(ImGuiShrinkWidthItem* items,int count,float width_excess)", + "call_args": "(items,count,width_excess)", + "cimguiname": "igShrinkWidths", + "defaults": {}, + "funcname": "ShrinkWidths", + "location": "imgui_internal:3324", + "namespace": "ImGui", + "ov_cimguiname": "igShrinkWidths", + "ret": "void", + "signature": "(ImGuiShrinkWidthItem*,int,float)", + "stname": "" + } + ], + "igShutdown": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igShutdown", + "defaults": {}, + "funcname": "Shutdown", + "location": "imgui_internal:3240", + "namespace": "ImGui", + "ov_cimguiname": "igShutdown", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igSliderAngle": [ + { + "args": "(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v_rad", + "type": "float*" + }, + { + "name": "v_degrees_min", + "type": "float" + }, + { + "name": "v_degrees_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f,const char* format=\"%.0f deg\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v_rad,v_degrees_min,v_degrees_max,format,flags)", + "cimguiname": "igSliderAngle", + "defaults": { + "flags": "0", + "format": "\"%.0f deg\"", + "v_degrees_max": "+360.0f", + "v_degrees_min": "-360.0f" + }, + "funcname": "SliderAngle", + "location": "imgui:623", + "namespace": "ImGui", + "ov_cimguiname": "igSliderAngle", + "ret": "bool", + "signature": "(const char*,float*,float,float,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igSliderBehavior": [ + { + "args": "(const ImRect bb,ImGuiID id,ImGuiDataType data_type,void* p_v,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags,ImRect* out_grab_bb)", + "argsT": [ + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_v", + "type": "void*" + }, + { + "name": "p_min", + "type": "const void*" + }, + { + "name": "p_max", + "type": "const void*" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + }, + { + "name": "out_grab_bb", + "type": "ImRect*" + } + ], + "argsoriginal": "(const ImRect& bb,ImGuiID id,ImGuiDataType data_type,void* p_v,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags,ImRect* out_grab_bb)", + "call_args": "(bb,id,data_type,p_v,p_min,p_max,format,flags,out_grab_bb)", + "cimguiname": "igSliderBehavior", + "defaults": {}, + "funcname": "SliderBehavior", + "location": "imgui_internal:3714", + "namespace": "ImGui", + "ov_cimguiname": "igSliderBehavior", + "ret": "bool", + "signature": "(const ImRect,ImGuiID,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiSliderFlags,ImRect*)", + "stname": "" + } + ], + "igSliderFloat": [ + { + "args": "(const char* label,float* v,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float*" + }, + { + "name": "v_min", + "type": "float" + }, + { + "name": "v_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_min,v_max,format,flags)", + "cimguiname": "igSliderFloat", + "defaults": { + "flags": "0", + "format": "\"%.3f\"" + }, + "funcname": "SliderFloat", + "location": "imgui:619", + "namespace": "ImGui", + "ov_cimguiname": "igSliderFloat", + "ret": "bool", + "signature": "(const char*,float*,float,float,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igSliderFloat2": [ + { + "args": "(const char* label,float v[2],float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[2]" + }, + { + "name": "v_min", + "type": "float" + }, + { + "name": "v_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_min,v_max,format,flags)", + "cimguiname": "igSliderFloat2", + "defaults": { + "flags": "0", + "format": "\"%.3f\"" + }, + "funcname": "SliderFloat2", + "location": "imgui:620", + "namespace": "ImGui", + "ov_cimguiname": "igSliderFloat2", + "ret": "bool", + "signature": "(const char*,float[2],float,float,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igSliderFloat3": [ + { + "args": "(const char* label,float v[3],float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[3]" + }, + { + "name": "v_min", + "type": "float" + }, + { + "name": "v_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_min,v_max,format,flags)", + "cimguiname": "igSliderFloat3", + "defaults": { + "flags": "0", + "format": "\"%.3f\"" + }, + "funcname": "SliderFloat3", + "location": "imgui:621", + "namespace": "ImGui", + "ov_cimguiname": "igSliderFloat3", + "ret": "bool", + "signature": "(const char*,float[3],float,float,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igSliderFloat4": [ + { + "args": "(const char* label,float v[4],float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "float[4]" + }, + { + "name": "v_min", + "type": "float" + }, + { + "name": "v_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_min,v_max,format,flags)", + "cimguiname": "igSliderFloat4", + "defaults": { + "flags": "0", + "format": "\"%.3f\"" + }, + "funcname": "SliderFloat4", + "location": "imgui:622", + "namespace": "ImGui", + "ov_cimguiname": "igSliderFloat4", + "ret": "bool", + "signature": "(const char*,float[4],float,float,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igSliderInt": [ + { + "args": "(const char* label,int* v,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int*" + }, + { + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_min,v_max,format,flags)", + "cimguiname": "igSliderInt", + "defaults": { + "flags": "0", + "format": "\"%d\"" + }, + "funcname": "SliderInt", + "location": "imgui:624", + "namespace": "ImGui", + "ov_cimguiname": "igSliderInt", + "ret": "bool", + "signature": "(const char*,int*,int,int,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igSliderInt2": [ + { + "args": "(const char* label,int v[2],int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[2]" + }, + { + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_min,v_max,format,flags)", + "cimguiname": "igSliderInt2", + "defaults": { + "flags": "0", + "format": "\"%d\"" + }, + "funcname": "SliderInt2", + "location": "imgui:625", + "namespace": "ImGui", + "ov_cimguiname": "igSliderInt2", + "ret": "bool", + "signature": "(const char*,int[2],int,int,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igSliderInt3": [ + { + "args": "(const char* label,int v[3],int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[3]" + }, + { + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_min,v_max,format,flags)", + "cimguiname": "igSliderInt3", + "defaults": { + "flags": "0", + "format": "\"%d\"" + }, + "funcname": "SliderInt3", + "location": "imgui:626", + "namespace": "ImGui", + "ov_cimguiname": "igSliderInt3", + "ret": "bool", + "signature": "(const char*,int[3],int,int,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igSliderInt4": [ + { + "args": "(const char* label,int v[4],int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "v", + "type": "int[4]" + }, + { + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\",ImGuiSliderFlags flags=0)", + "call_args": "(label,v,v_min,v_max,format,flags)", + "cimguiname": "igSliderInt4", + "defaults": { + "flags": "0", + "format": "\"%d\"" + }, + "funcname": "SliderInt4", + "location": "imgui:627", + "namespace": "ImGui", + "ov_cimguiname": "igSliderInt4", + "ret": "bool", + "signature": "(const char*,int[4],int,int,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igSliderScalar": [ + { + "args": "(const char* label,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_data", + "type": "void*" + }, + { + "name": "p_min", + "type": "const void*" + }, + { + "name": "p_max", + "type": "const void*" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format=((void*)0),ImGuiSliderFlags flags=0)", + "call_args": "(label,data_type,p_data,p_min,p_max,format,flags)", + "cimguiname": "igSliderScalar", + "defaults": { + "flags": "0", + "format": "NULL" + }, + "funcname": "SliderScalar", + "location": "imgui:628", + "namespace": "ImGui", + "ov_cimguiname": "igSliderScalar", + "ret": "bool", + "signature": "(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igSliderScalarN": [ + { + "args": "(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_data", + "type": "void*" + }, + { + "name": "components", + "type": "int" + }, + { + "name": "p_min", + "type": "const void*" + }, + { + "name": "p_max", + "type": "const void*" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_min,const void* p_max,const char* format=((void*)0),ImGuiSliderFlags flags=0)", + "call_args": "(label,data_type,p_data,components,p_min,p_max,format,flags)", + "cimguiname": "igSliderScalarN", + "defaults": { + "flags": "0", + "format": "NULL" + }, + "funcname": "SliderScalarN", + "location": "imgui:629", + "namespace": "ImGui", + "ov_cimguiname": "igSliderScalarN", + "ret": "bool", + "signature": "(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igSmallButton": [ + { + "args": "(const char* label)", + "argsT": [ + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(const char* label)", + "call_args": "(label)", + "cimguiname": "igSmallButton", + "defaults": {}, + "funcname": "SmallButton", + "location": "imgui:558", + "namespace": "ImGui", + "ov_cimguiname": "igSmallButton", + "ret": "bool", + "signature": "(const char*)", + "stname": "" + } + ], + "igSpacing": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igSpacing", + "defaults": {}, + "funcname": "Spacing", + "location": "imgui:505", + "namespace": "ImGui", + "ov_cimguiname": "igSpacing", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igSplitterBehavior": [ + { + "args": "(const ImRect bb,ImGuiID id,ImGuiAxis axis,float* size1,float* size2,float min_size1,float min_size2,float hover_extend,float hover_visibility_delay,ImU32 bg_col)", + "argsT": [ + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "axis", + "type": "ImGuiAxis" + }, + { + "name": "size1", + "type": "float*" + }, + { + "name": "size2", + "type": "float*" + }, + { + "name": "min_size1", + "type": "float" + }, + { + "name": "min_size2", + "type": "float" + }, + { + "name": "hover_extend", + "type": "float" + }, + { + "name": "hover_visibility_delay", + "type": "float" + }, + { + "name": "bg_col", + "type": "ImU32" + } + ], + "argsoriginal": "(const ImRect& bb,ImGuiID id,ImGuiAxis axis,float* size1,float* size2,float min_size1,float min_size2,float hover_extend=0.0f,float hover_visibility_delay=0.0f,ImU32 bg_col=0)", + "call_args": "(bb,id,axis,size1,size2,min_size1,min_size2,hover_extend,hover_visibility_delay,bg_col)", + "cimguiname": "igSplitterBehavior", + "defaults": { + "bg_col": "0", + "hover_extend": "0.0f", + "hover_visibility_delay": "0.0f" + }, + "funcname": "SplitterBehavior", + "location": "imgui_internal:3715", + "namespace": "ImGui", + "ov_cimguiname": "igSplitterBehavior", + "ret": "bool", + "signature": "(const ImRect,ImGuiID,ImGuiAxis,float*,float*,float,float,float,float,ImU32)", + "stname": "" + } + ], + "igStartMouseMovingWindow": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igStartMouseMovingWindow", + "defaults": {}, + "funcname": "StartMouseMovingWindow", + "location": "imgui_internal:3246", + "namespace": "ImGui", + "ov_cimguiname": "igStartMouseMovingWindow", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igStartMouseMovingWindowOrNode": [ + { + "args": "(ImGuiWindow* window,ImGuiDockNode* node,bool undock)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "node", + "type": "ImGuiDockNode*" + }, + { + "name": "undock", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiDockNode* node,bool undock)", + "call_args": "(window,node,undock)", + "cimguiname": "igStartMouseMovingWindowOrNode", + "defaults": {}, + "funcname": "StartMouseMovingWindowOrNode", + "location": "imgui_internal:3247", + "namespace": "ImGui", + "ov_cimguiname": "igStartMouseMovingWindowOrNode", + "ret": "void", + "signature": "(ImGuiWindow*,ImGuiDockNode*,bool)", + "stname": "" + } + ], + "igStyleColorsClassic": [ + { + "args": "(ImGuiStyle* dst)", + "argsT": [ + { + "name": "dst", + "type": "ImGuiStyle*" + } + ], + "argsoriginal": "(ImGuiStyle* dst=((void*)0))", + "call_args": "(dst)", + "cimguiname": "igStyleColorsClassic", + "defaults": { + "dst": "NULL" + }, + "funcname": "StyleColorsClassic", + "location": "imgui:360", + "namespace": "ImGui", + "ov_cimguiname": "igStyleColorsClassic", + "ret": "void", + "signature": "(ImGuiStyle*)", + "stname": "" + } + ], + "igStyleColorsDark": [ + { + "args": "(ImGuiStyle* dst)", + "argsT": [ + { + "name": "dst", + "type": "ImGuiStyle*" + } + ], + "argsoriginal": "(ImGuiStyle* dst=((void*)0))", + "call_args": "(dst)", + "cimguiname": "igStyleColorsDark", + "defaults": { + "dst": "NULL" + }, + "funcname": "StyleColorsDark", + "location": "imgui:358", + "namespace": "ImGui", + "ov_cimguiname": "igStyleColorsDark", + "ret": "void", + "signature": "(ImGuiStyle*)", + "stname": "" + } + ], + "igStyleColorsLight": [ + { + "args": "(ImGuiStyle* dst)", + "argsT": [ + { + "name": "dst", + "type": "ImGuiStyle*" + } + ], + "argsoriginal": "(ImGuiStyle* dst=((void*)0))", + "call_args": "(dst)", + "cimguiname": "igStyleColorsLight", + "defaults": { + "dst": "NULL" + }, + "funcname": "StyleColorsLight", + "location": "imgui:359", + "namespace": "ImGui", + "ov_cimguiname": "igStyleColorsLight", + "ret": "void", + "signature": "(ImGuiStyle*)", + "stname": "" + } + ], + "igTabBarAddTab": [ + { + "args": "(ImGuiTabBar* tab_bar,ImGuiTabItemFlags tab_flags,ImGuiWindow* window)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + }, + { + "name": "tab_flags", + "type": "ImGuiTabItemFlags" + }, + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar,ImGuiTabItemFlags tab_flags,ImGuiWindow* window)", + "call_args": "(tab_bar,tab_flags,window)", + "cimguiname": "igTabBarAddTab", + "defaults": {}, + "funcname": "TabBarAddTab", + "location": "imgui_internal:3649", + "namespace": "ImGui", + "ov_cimguiname": "igTabBarAddTab", + "ret": "void", + "signature": "(ImGuiTabBar*,ImGuiTabItemFlags,ImGuiWindow*)", + "stname": "" + } + ], + "igTabBarCloseTab": [ + { + "args": "(ImGuiTabBar* tab_bar,ImGuiTabItem* tab)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + }, + { + "name": "tab", + "type": "ImGuiTabItem*" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar,ImGuiTabItem* tab)", + "call_args": "(tab_bar,tab)", + "cimguiname": "igTabBarCloseTab", + "defaults": {}, + "funcname": "TabBarCloseTab", + "location": "imgui_internal:3651", + "namespace": "ImGui", + "ov_cimguiname": "igTabBarCloseTab", + "ret": "void", + "signature": "(ImGuiTabBar*,ImGuiTabItem*)", + "stname": "" + } + ], + "igTabBarFindMostRecentlySelectedTabForActiveWindow": [ + { + "args": "(ImGuiTabBar* tab_bar)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar)", + "call_args": "(tab_bar)", + "cimguiname": "igTabBarFindMostRecentlySelectedTabForActiveWindow", + "defaults": {}, + "funcname": "TabBarFindMostRecentlySelectedTabForActiveWindow", + "location": "imgui_internal:3645", + "namespace": "ImGui", + "ov_cimguiname": "igTabBarFindMostRecentlySelectedTabForActiveWindow", + "ret": "ImGuiTabItem*", + "signature": "(ImGuiTabBar*)", + "stname": "" + } + ], + "igTabBarFindTabByID": [ + { + "args": "(ImGuiTabBar* tab_bar,ImGuiID tab_id)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + }, + { + "name": "tab_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar,ImGuiID tab_id)", + "call_args": "(tab_bar,tab_id)", + "cimguiname": "igTabBarFindTabByID", + "defaults": {}, + "funcname": "TabBarFindTabByID", + "location": "imgui_internal:3643", + "namespace": "ImGui", + "ov_cimguiname": "igTabBarFindTabByID", + "ret": "ImGuiTabItem*", + "signature": "(ImGuiTabBar*,ImGuiID)", + "stname": "" + } + ], + "igTabBarFindTabByOrder": [ + { + "args": "(ImGuiTabBar* tab_bar,int order)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + }, + { + "name": "order", + "type": "int" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar,int order)", + "call_args": "(tab_bar,order)", + "cimguiname": "igTabBarFindTabByOrder", + "defaults": {}, + "funcname": "TabBarFindTabByOrder", + "location": "imgui_internal:3644", + "namespace": "ImGui", + "ov_cimguiname": "igTabBarFindTabByOrder", + "ret": "ImGuiTabItem*", + "signature": "(ImGuiTabBar*,int)", + "stname": "" + } + ], + "igTabBarGetCurrentTab": [ + { + "args": "(ImGuiTabBar* tab_bar)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar)", + "call_args": "(tab_bar)", + "cimguiname": "igTabBarGetCurrentTab", + "defaults": {}, + "funcname": "TabBarGetCurrentTab", + "location": "imgui_internal:3646", + "namespace": "ImGui", + "ov_cimguiname": "igTabBarGetCurrentTab", + "ret": "ImGuiTabItem*", + "signature": "(ImGuiTabBar*)", + "stname": "" + } + ], + "igTabBarGetTabName": [ + { + "args": "(ImGuiTabBar* tab_bar,ImGuiTabItem* tab)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + }, + { + "name": "tab", + "type": "ImGuiTabItem*" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar,ImGuiTabItem* tab)", + "call_args": "(tab_bar,tab)", + "cimguiname": "igTabBarGetTabName", + "defaults": {}, + "funcname": "TabBarGetTabName", + "location": "imgui_internal:3648", + "namespace": "ImGui", + "ov_cimguiname": "igTabBarGetTabName", + "ret": "const char*", + "signature": "(ImGuiTabBar*,ImGuiTabItem*)", + "stname": "" + } + ], + "igTabBarGetTabOrder": [ + { + "args": "(ImGuiTabBar* tab_bar,ImGuiTabItem* tab)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + }, + { + "name": "tab", + "type": "ImGuiTabItem*" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar,ImGuiTabItem* tab)", + "call_args": "(tab_bar,tab)", + "cimguiname": "igTabBarGetTabOrder", + "defaults": {}, + "funcname": "TabBarGetTabOrder", + "location": "imgui_internal:3647", + "namespace": "ImGui", + "ov_cimguiname": "igTabBarGetTabOrder", + "ret": "int", + "signature": "(ImGuiTabBar*,ImGuiTabItem*)", + "stname": "" + } + ], + "igTabBarProcessReorder": [ + { + "args": "(ImGuiTabBar* tab_bar)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar)", + "call_args": "(tab_bar)", + "cimguiname": "igTabBarProcessReorder", + "defaults": {}, + "funcname": "TabBarProcessReorder", + "location": "imgui_internal:3656", + "namespace": "ImGui", + "ov_cimguiname": "igTabBarProcessReorder", + "ret": "bool", + "signature": "(ImGuiTabBar*)", + "stname": "" + } + ], + "igTabBarQueueFocus": [ + { + "args": "(ImGuiTabBar* tab_bar,ImGuiTabItem* tab)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + }, + { + "name": "tab", + "type": "ImGuiTabItem*" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar,ImGuiTabItem* tab)", + "call_args": "(tab_bar,tab)", + "cimguiname": "igTabBarQueueFocus", + "defaults": {}, + "funcname": "TabBarQueueFocus", + "location": "imgui_internal:3652", + "namespace": "ImGui", + "ov_cimguiname": "igTabBarQueueFocus_TabItemPtr", + "ret": "void", + "signature": "(ImGuiTabBar*,ImGuiTabItem*)", + "stname": "" + }, + { + "args": "(ImGuiTabBar* tab_bar,const char* tab_name)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + }, + { + "name": "tab_name", + "type": "const char*" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar,const char* tab_name)", + "call_args": "(tab_bar,tab_name)", + "cimguiname": "igTabBarQueueFocus", + "defaults": {}, + "funcname": "TabBarQueueFocus", + "location": "imgui_internal:3653", + "namespace": "ImGui", + "ov_cimguiname": "igTabBarQueueFocus_Str", + "ret": "void", + "signature": "(ImGuiTabBar*,const char*)", + "stname": "" + } + ], + "igTabBarQueueReorder": [ + { + "args": "(ImGuiTabBar* tab_bar,ImGuiTabItem* tab,int offset)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + }, + { + "name": "tab", + "type": "ImGuiTabItem*" + }, + { + "name": "offset", + "type": "int" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar,ImGuiTabItem* tab,int offset)", + "call_args": "(tab_bar,tab,offset)", + "cimguiname": "igTabBarQueueReorder", + "defaults": {}, + "funcname": "TabBarQueueReorder", + "location": "imgui_internal:3654", + "namespace": "ImGui", + "ov_cimguiname": "igTabBarQueueReorder", + "ret": "void", + "signature": "(ImGuiTabBar*,ImGuiTabItem*,int)", + "stname": "" + } + ], + "igTabBarQueueReorderFromMousePos": [ + { + "args": "(ImGuiTabBar* tab_bar,ImGuiTabItem* tab,ImVec2 mouse_pos)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + }, + { + "name": "tab", + "type": "ImGuiTabItem*" + }, + { + "name": "mouse_pos", + "type": "ImVec2" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar,ImGuiTabItem* tab,ImVec2 mouse_pos)", + "call_args": "(tab_bar,tab,mouse_pos)", + "cimguiname": "igTabBarQueueReorderFromMousePos", + "defaults": {}, + "funcname": "TabBarQueueReorderFromMousePos", + "location": "imgui_internal:3655", + "namespace": "ImGui", + "ov_cimguiname": "igTabBarQueueReorderFromMousePos", + "ret": "void", + "signature": "(ImGuiTabBar*,ImGuiTabItem*,ImVec2)", + "stname": "" + } + ], + "igTabBarRemoveTab": [ + { + "args": "(ImGuiTabBar* tab_bar,ImGuiID tab_id)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + }, + { + "name": "tab_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar,ImGuiID tab_id)", + "call_args": "(tab_bar,tab_id)", + "cimguiname": "igTabBarRemoveTab", + "defaults": {}, + "funcname": "TabBarRemoveTab", + "location": "imgui_internal:3650", + "namespace": "ImGui", + "ov_cimguiname": "igTabBarRemoveTab", + "ret": "void", + "signature": "(ImGuiTabBar*,ImGuiID)", + "stname": "" + } + ], + "igTabItemBackground": [ + { + "args": "(ImDrawList* draw_list,const ImRect bb,ImGuiTabItemFlags flags,ImU32 col)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "flags", + "type": "ImGuiTabItemFlags" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "argsoriginal": "(ImDrawList* draw_list,const ImRect& bb,ImGuiTabItemFlags flags,ImU32 col)", + "call_args": "(draw_list,bb,flags,col)", + "cimguiname": "igTabItemBackground", + "defaults": {}, + "funcname": "TabItemBackground", + "location": "imgui_internal:3660", + "namespace": "ImGui", + "ov_cimguiname": "igTabItemBackground", + "ret": "void", + "signature": "(ImDrawList*,const ImRect,ImGuiTabItemFlags,ImU32)", + "stname": "" + } + ], + "igTabItemButton": [ + { + "args": "(const char* label,ImGuiTabItemFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiTabItemFlags" + } + ], + "argsoriginal": "(const char* label,ImGuiTabItemFlags flags=0)", + "call_args": "(label,flags)", + "cimguiname": "igTabItemButton", + "defaults": { + "flags": "0" + }, + "funcname": "TabItemButton", + "location": "imgui:873", + "namespace": "ImGui", + "ov_cimguiname": "igTabItemButton", + "ret": "bool", + "signature": "(const char*,ImGuiTabItemFlags)", + "stname": "" + } + ], + "igTabItemCalcSize": [ + { + "args": "(ImVec2 *pOut,const char* label,bool has_close_button_or_unsaved_marker)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "label", + "type": "const char*" + }, + { + "name": "has_close_button_or_unsaved_marker", + "type": "bool" + } + ], + "argsoriginal": "(const char* label,bool has_close_button_or_unsaved_marker)", + "call_args": "(label,has_close_button_or_unsaved_marker)", + "cimguiname": "igTabItemCalcSize", + "defaults": {}, + "funcname": "TabItemCalcSize", + "location": "imgui_internal:3658", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igTabItemCalcSize_Str", + "ret": "void", + "signature": "(const char*,bool)", + "stname": "" + }, + { + "args": "(ImVec2 *pOut,ImGuiWindow* window)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igTabItemCalcSize", + "defaults": {}, + "funcname": "TabItemCalcSize", + "location": "imgui_internal:3659", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igTabItemCalcSize_WindowPtr", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igTabItemEx": [ + { + "args": "(ImGuiTabBar* tab_bar,const char* label,bool* p_open,ImGuiTabItemFlags flags,ImGuiWindow* docked_window)", + "argsT": [ + { + "name": "tab_bar", + "type": "ImGuiTabBar*" + }, + { + "name": "label", + "type": "const char*" + }, + { + "name": "p_open", + "type": "bool*" + }, + { + "name": "flags", + "type": "ImGuiTabItemFlags" + }, + { + "name": "docked_window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiTabBar* tab_bar,const char* label,bool* p_open,ImGuiTabItemFlags flags,ImGuiWindow* docked_window)", + "call_args": "(tab_bar,label,p_open,flags,docked_window)", + "cimguiname": "igTabItemEx", + "defaults": {}, + "funcname": "TabItemEx", + "location": "imgui_internal:3657", + "namespace": "ImGui", + "ov_cimguiname": "igTabItemEx", + "ret": "bool", + "signature": "(ImGuiTabBar*,const char*,bool*,ImGuiTabItemFlags,ImGuiWindow*)", + "stname": "" + } + ], + "igTabItemLabelAndCloseButton": [ + { + "args": "(ImDrawList* draw_list,const ImRect bb,ImGuiTabItemFlags flags,ImVec2 frame_padding,const char* label,ImGuiID tab_id,ImGuiID close_button_id,bool is_contents_visible,bool* out_just_closed,bool* out_text_clipped)", + "argsT": [ + { + "name": "draw_list", + "type": "ImDrawList*" + }, + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "flags", + "type": "ImGuiTabItemFlags" + }, + { + "name": "frame_padding", + "type": "ImVec2" + }, + { + "name": "label", + "type": "const char*" + }, + { + "name": "tab_id", + "type": "ImGuiID" + }, + { + "name": "close_button_id", + "type": "ImGuiID" + }, + { + "name": "is_contents_visible", + "type": "bool" + }, + { + "name": "out_just_closed", + "type": "bool*" + }, + { + "name": "out_text_clipped", + "type": "bool*" + } + ], + "argsoriginal": "(ImDrawList* draw_list,const ImRect& bb,ImGuiTabItemFlags flags,ImVec2 frame_padding,const char* label,ImGuiID tab_id,ImGuiID close_button_id,bool is_contents_visible,bool* out_just_closed,bool* out_text_clipped)", + "call_args": "(draw_list,bb,flags,frame_padding,label,tab_id,close_button_id,is_contents_visible,out_just_closed,out_text_clipped)", + "cimguiname": "igTabItemLabelAndCloseButton", + "defaults": {}, + "funcname": "TabItemLabelAndCloseButton", + "location": "imgui_internal:3661", + "namespace": "ImGui", + "ov_cimguiname": "igTabItemLabelAndCloseButton", + "ret": "void", + "signature": "(ImDrawList*,const ImRect,ImGuiTabItemFlags,ImVec2,const char*,ImGuiID,ImGuiID,bool,bool*,bool*)", + "stname": "" + } + ], + "igTableAngledHeadersRow": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTableAngledHeadersRow", + "defaults": {}, + "funcname": "TableAngledHeadersRow", + "location": "imgui:838", + "namespace": "ImGui", + "ov_cimguiname": "igTableAngledHeadersRow", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igTableAngledHeadersRowEx": [ + { + "args": "(ImGuiID row_id,float angle,float max_label_width,const ImGuiTableHeaderData* data,int data_count)", + "argsT": [ + { + "name": "row_id", + "type": "ImGuiID" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "max_label_width", + "type": "float" + }, + { + "name": "data", + "type": "const ImGuiTableHeaderData*" + }, + { + "name": "data_count", + "type": "int" + } + ], + "argsoriginal": "(ImGuiID row_id,float angle,float max_label_width,const ImGuiTableHeaderData* data,int data_count)", + "call_args": "(row_id,angle,max_label_width,data,data_count)", + "cimguiname": "igTableAngledHeadersRowEx", + "defaults": {}, + "funcname": "TableAngledHeadersRowEx", + "location": "imgui_internal:3593", + "namespace": "ImGui", + "ov_cimguiname": "igTableAngledHeadersRowEx", + "ret": "void", + "signature": "(ImGuiID,float,float,const ImGuiTableHeaderData*,int)", + "stname": "" + } + ], + "igTableBeginApplyRequests": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableBeginApplyRequests", + "defaults": {}, + "funcname": "TableBeginApplyRequests", + "location": "imgui_internal:3600", + "namespace": "ImGui", + "ov_cimguiname": "igTableBeginApplyRequests", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableBeginCell": [ + { + "args": "(ImGuiTable* table,int column_n)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + }, + { + "name": "column_n", + "type": "int" + } + ], + "argsoriginal": "(ImGuiTable* table,int column_n)", + "call_args": "(table,column_n)", + "cimguiname": "igTableBeginCell", + "defaults": {}, + "funcname": "TableBeginCell", + "location": "imgui_internal:3618", + "namespace": "ImGui", + "ov_cimguiname": "igTableBeginCell", + "ret": "void", + "signature": "(ImGuiTable*,int)", + "stname": "" + } + ], + "igTableBeginContextMenuPopup": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableBeginContextMenuPopup", + "defaults": {}, + "funcname": "TableBeginContextMenuPopup", + "location": "imgui_internal:3607", + "namespace": "ImGui", + "ov_cimguiname": "igTableBeginContextMenuPopup", + "ret": "bool", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableBeginInitMemory": [ + { + "args": "(ImGuiTable* table,int columns_count)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + }, + { + "name": "columns_count", + "type": "int" + } + ], + "argsoriginal": "(ImGuiTable* table,int columns_count)", + "call_args": "(table,columns_count)", + "cimguiname": "igTableBeginInitMemory", + "defaults": {}, + "funcname": "TableBeginInitMemory", + "location": "imgui_internal:3599", + "namespace": "ImGui", + "ov_cimguiname": "igTableBeginInitMemory", + "ret": "void", + "signature": "(ImGuiTable*,int)", + "stname": "" + } + ], + "igTableBeginRow": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableBeginRow", + "defaults": {}, + "funcname": "TableBeginRow", + "location": "imgui_internal:3616", + "namespace": "ImGui", + "ov_cimguiname": "igTableBeginRow", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableCalcMaxColumnWidth": [ + { + "args": "(const ImGuiTable* table,int column_n)", + "argsT": [ + { + "name": "table", + "type": "const ImGuiTable*" + }, + { + "name": "column_n", + "type": "int" + } + ], + "argsoriginal": "(const ImGuiTable* table,int column_n)", + "call_args": "(table,column_n)", + "cimguiname": "igTableCalcMaxColumnWidth", + "defaults": {}, + "funcname": "TableCalcMaxColumnWidth", + "location": "imgui_internal:3623", + "namespace": "ImGui", + "ov_cimguiname": "igTableCalcMaxColumnWidth", + "ret": "float", + "signature": "(const ImGuiTable*,int)", + "stname": "" + } + ], + "igTableDrawBorders": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableDrawBorders", + "defaults": {}, + "funcname": "TableDrawBorders", + "location": "imgui_internal:3605", + "namespace": "ImGui", + "ov_cimguiname": "igTableDrawBorders", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableDrawDefaultContextMenu": [ + { + "args": "(ImGuiTable* table,ImGuiTableFlags flags_for_section_to_display)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + }, + { + "name": "flags_for_section_to_display", + "type": "ImGuiTableFlags" + } + ], + "argsoriginal": "(ImGuiTable* table,ImGuiTableFlags flags_for_section_to_display)", + "call_args": "(table,flags_for_section_to_display)", + "cimguiname": "igTableDrawDefaultContextMenu", + "defaults": {}, + "funcname": "TableDrawDefaultContextMenu", + "location": "imgui_internal:3606", + "namespace": "ImGui", + "ov_cimguiname": "igTableDrawDefaultContextMenu", + "ret": "void", + "signature": "(ImGuiTable*,ImGuiTableFlags)", + "stname": "" + } + ], + "igTableEndCell": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableEndCell", + "defaults": {}, + "funcname": "TableEndCell", + "location": "imgui_internal:3619", + "namespace": "ImGui", + "ov_cimguiname": "igTableEndCell", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableEndRow": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableEndRow", + "defaults": {}, + "funcname": "TableEndRow", + "location": "imgui_internal:3617", + "namespace": "ImGui", + "ov_cimguiname": "igTableEndRow", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableFindByID": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igTableFindByID", + "defaults": {}, + "funcname": "TableFindByID", + "location": "imgui_internal:3597", + "namespace": "ImGui", + "ov_cimguiname": "igTableFindByID", + "ret": "ImGuiTable*", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igTableFixColumnSortDirection": [ + { + "args": "(ImGuiTable* table,ImGuiTableColumn* column)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + }, + { + "name": "column", + "type": "ImGuiTableColumn*" + } + ], + "argsoriginal": "(ImGuiTable* table,ImGuiTableColumn* column)", + "call_args": "(table,column)", + "cimguiname": "igTableFixColumnSortDirection", + "defaults": {}, + "funcname": "TableFixColumnSortDirection", + "location": "imgui_internal:3614", + "namespace": "ImGui", + "ov_cimguiname": "igTableFixColumnSortDirection", + "ret": "void", + "signature": "(ImGuiTable*,ImGuiTableColumn*)", + "stname": "" + } + ], + "igTableGcCompactSettings": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTableGcCompactSettings", + "defaults": {}, + "funcname": "TableGcCompactSettings", + "location": "imgui_internal:3629", + "namespace": "ImGui", + "ov_cimguiname": "igTableGcCompactSettings", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igTableGcCompactTransientBuffers": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableGcCompactTransientBuffers", + "defaults": {}, + "funcname": "TableGcCompactTransientBuffers", + "location": "imgui_internal:3627", + "namespace": "ImGui", + "ov_cimguiname": "igTableGcCompactTransientBuffers_TablePtr", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + }, + { + "args": "(ImGuiTableTempData* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTableTempData*" + } + ], + "argsoriginal": "(ImGuiTableTempData* table)", + "call_args": "(table)", + "cimguiname": "igTableGcCompactTransientBuffers", + "defaults": {}, + "funcname": "TableGcCompactTransientBuffers", + "location": "imgui_internal:3628", + "namespace": "ImGui", + "ov_cimguiname": "igTableGcCompactTransientBuffers_TableTempDataPtr", + "ret": "void", + "signature": "(ImGuiTableTempData*)", + "stname": "" + } + ], + "igTableGetBoundSettings": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableGetBoundSettings", + "defaults": {}, + "funcname": "TableGetBoundSettings", + "location": "imgui_internal:3635", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetBoundSettings", + "ret": "ImGuiTableSettings*", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableGetCellBgRect": [ + { + "args": "(ImRect *pOut,const ImGuiTable* table,int column_n)", + "argsT": [ + { + "name": "pOut", + "type": "ImRect*" + }, + { + "name": "table", + "type": "const ImGuiTable*" + }, + { + "name": "column_n", + "type": "int" + } + ], + "argsoriginal": "(const ImGuiTable* table,int column_n)", + "call_args": "(table,column_n)", + "cimguiname": "igTableGetCellBgRect", + "defaults": {}, + "funcname": "TableGetCellBgRect", + "location": "imgui_internal:3620", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igTableGetCellBgRect", + "ret": "void", + "signature": "(const ImGuiTable*,int)", + "stname": "" + } + ], + "igTableGetColumnCount": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTableGetColumnCount", + "defaults": {}, + "funcname": "TableGetColumnCount", + "location": "imgui:847", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetColumnCount", + "ret": "int", + "signature": "()", + "stname": "" + } + ], + "igTableGetColumnFlags": [ + { + "args": "(int column_n)", + "argsT": [ + { + "name": "column_n", + "type": "int" + } + ], + "argsoriginal": "(int column_n=-1)", + "call_args": "(column_n)", + "cimguiname": "igTableGetColumnFlags", + "defaults": { + "column_n": "-1" + }, + "funcname": "TableGetColumnFlags", + "location": "imgui:851", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetColumnFlags", + "ret": "ImGuiTableColumnFlags", + "signature": "(int)", + "stname": "" + } + ], + "igTableGetColumnIndex": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTableGetColumnIndex", + "defaults": {}, + "funcname": "TableGetColumnIndex", + "location": "imgui:848", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetColumnIndex", + "ret": "int", + "signature": "()", + "stname": "" + } + ], + "igTableGetColumnName": [ + { + "args": "(int column_n)", + "argsT": [ + { + "name": "column_n", + "type": "int" + } + ], + "argsoriginal": "(int column_n=-1)", + "call_args": "(column_n)", + "cimguiname": "igTableGetColumnName", + "defaults": { + "column_n": "-1" + }, + "funcname": "TableGetColumnName", + "location": "imgui:850", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetColumnName_Int", + "ret": "const char*", + "signature": "(int)", + "stname": "" + }, + { + "args": "(const ImGuiTable* table,int column_n)", + "argsT": [ + { + "name": "table", + "type": "const ImGuiTable*" + }, + { + "name": "column_n", + "type": "int" + } + ], + "argsoriginal": "(const ImGuiTable* table,int column_n)", + "call_args": "(table,column_n)", + "cimguiname": "igTableGetColumnName", + "defaults": {}, + "funcname": "TableGetColumnName", + "location": "imgui_internal:3621", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetColumnName_TablePtr", + "ret": "const char*", + "signature": "(const ImGuiTable*,int)", + "stname": "" + } + ], + "igTableGetColumnNextSortDirection": [ + { + "args": "(ImGuiTableColumn* column)", + "argsT": [ + { + "name": "column", + "type": "ImGuiTableColumn*" + } + ], + "argsoriginal": "(ImGuiTableColumn* column)", + "call_args": "(column)", + "cimguiname": "igTableGetColumnNextSortDirection", + "defaults": {}, + "funcname": "TableGetColumnNextSortDirection", + "location": "imgui_internal:3613", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetColumnNextSortDirection", + "ret": "ImGuiSortDirection", + "signature": "(ImGuiTableColumn*)", + "stname": "" + } + ], + "igTableGetColumnResizeID": [ + { + "args": "(ImGuiTable* table,int column_n,int instance_no)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + }, + { + "name": "column_n", + "type": "int" + }, + { + "name": "instance_no", + "type": "int" + } + ], + "argsoriginal": "(ImGuiTable* table,int column_n,int instance_no=0)", + "call_args": "(table,column_n,instance_no)", + "cimguiname": "igTableGetColumnResizeID", + "defaults": { + "instance_no": "0" + }, + "funcname": "TableGetColumnResizeID", + "location": "imgui_internal:3622", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetColumnResizeID", + "ret": "ImGuiID", + "signature": "(ImGuiTable*,int,int)", + "stname": "" + } + ], + "igTableGetColumnWidthAuto": [ + { + "args": "(ImGuiTable* table,ImGuiTableColumn* column)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + }, + { + "name": "column", + "type": "ImGuiTableColumn*" + } + ], + "argsoriginal": "(ImGuiTable* table,ImGuiTableColumn* column)", + "call_args": "(table,column)", + "cimguiname": "igTableGetColumnWidthAuto", + "defaults": {}, + "funcname": "TableGetColumnWidthAuto", + "location": "imgui_internal:3615", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetColumnWidthAuto", + "ret": "float", + "signature": "(ImGuiTable*,ImGuiTableColumn*)", + "stname": "" + } + ], + "igTableGetHeaderAngledMaxLabelWidth": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTableGetHeaderAngledMaxLabelWidth", + "defaults": {}, + "funcname": "TableGetHeaderAngledMaxLabelWidth", + "location": "imgui_internal:3590", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetHeaderAngledMaxLabelWidth", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igTableGetHeaderRowHeight": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTableGetHeaderRowHeight", + "defaults": {}, + "funcname": "TableGetHeaderRowHeight", + "location": "imgui_internal:3589", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetHeaderRowHeight", + "ret": "float", + "signature": "()", + "stname": "" + } + ], + "igTableGetHoveredColumn": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTableGetHoveredColumn", + "defaults": {}, + "funcname": "TableGetHoveredColumn", + "location": "imgui:853", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetHoveredColumn", + "ret": "int", + "signature": "()", + "stname": "" + } + ], + "igTableGetHoveredRow": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTableGetHoveredRow", + "defaults": {}, + "funcname": "TableGetHoveredRow", + "location": "imgui_internal:3588", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetHoveredRow", + "ret": "int", + "signature": "()", + "stname": "" + } + ], + "igTableGetInstanceData": [ + { + "args": "(ImGuiTable* table,int instance_no)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + }, + { + "name": "instance_no", + "type": "int" + } + ], + "argsoriginal": "(ImGuiTable* table,int instance_no)", + "call_args": "(table,instance_no)", + "cimguiname": "igTableGetInstanceData", + "defaults": {}, + "funcname": "TableGetInstanceData", + "location": "imgui_internal:3609", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetInstanceData", + "ret": "ImGuiTableInstanceData*", + "signature": "(ImGuiTable*,int)", + "stname": "" + } + ], + "igTableGetInstanceID": [ + { + "args": "(ImGuiTable* table,int instance_no)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + }, + { + "name": "instance_no", + "type": "int" + } + ], + "argsoriginal": "(ImGuiTable* table,int instance_no)", + "call_args": "(table,instance_no)", + "cimguiname": "igTableGetInstanceID", + "defaults": {}, + "funcname": "TableGetInstanceID", + "location": "imgui_internal:3610", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetInstanceID", + "ret": "ImGuiID", + "signature": "(ImGuiTable*,int)", + "stname": "" + } + ], + "igTableGetRowIndex": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTableGetRowIndex", + "defaults": {}, + "funcname": "TableGetRowIndex", + "location": "imgui:849", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetRowIndex", + "ret": "int", + "signature": "()", + "stname": "" + } + ], + "igTableGetSortSpecs": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTableGetSortSpecs", + "defaults": {}, + "funcname": "TableGetSortSpecs", + "location": "imgui:846", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetSortSpecs", + "ret": "ImGuiTableSortSpecs*", + "signature": "()", + "stname": "" + } + ], + "igTableHeader": [ + { + "args": "(const char* label)", + "argsT": [ + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(const char* label)", + "call_args": "(label)", + "cimguiname": "igTableHeader", + "defaults": {}, + "funcname": "TableHeader", + "location": "imgui:836", + "namespace": "ImGui", + "ov_cimguiname": "igTableHeader", + "ret": "void", + "signature": "(const char*)", + "stname": "" + } + ], + "igTableHeadersRow": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTableHeadersRow", + "defaults": {}, + "funcname": "TableHeadersRow", + "location": "imgui:837", + "namespace": "ImGui", + "ov_cimguiname": "igTableHeadersRow", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igTableLoadSettings": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableLoadSettings", + "defaults": {}, + "funcname": "TableLoadSettings", + "location": "imgui_internal:3632", + "namespace": "ImGui", + "ov_cimguiname": "igTableLoadSettings", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableMergeDrawChannels": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableMergeDrawChannels", + "defaults": {}, + "funcname": "TableMergeDrawChannels", + "location": "imgui_internal:3608", + "namespace": "ImGui", + "ov_cimguiname": "igTableMergeDrawChannels", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableNextColumn": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTableNextColumn", + "defaults": {}, + "funcname": "TableNextColumn", + "location": "imgui:823", + "namespace": "ImGui", + "ov_cimguiname": "igTableNextColumn", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "igTableNextRow": [ + { + "args": "(ImGuiTableRowFlags row_flags,float min_row_height)", + "argsT": [ + { + "name": "row_flags", + "type": "ImGuiTableRowFlags" + }, + { + "name": "min_row_height", + "type": "float" + } + ], + "argsoriginal": "(ImGuiTableRowFlags row_flags=0,float min_row_height=0.0f)", + "call_args": "(row_flags,min_row_height)", + "cimguiname": "igTableNextRow", + "defaults": { + "min_row_height": "0.0f", + "row_flags": "0" + }, + "funcname": "TableNextRow", + "location": "imgui:822", + "namespace": "ImGui", + "ov_cimguiname": "igTableNextRow", + "ret": "void", + "signature": "(ImGuiTableRowFlags,float)", + "stname": "" + } + ], + "igTableOpenContextMenu": [ + { + "args": "(int column_n)", + "argsT": [ + { + "name": "column_n", + "type": "int" + } + ], + "argsoriginal": "(int column_n=-1)", + "call_args": "(column_n)", + "cimguiname": "igTableOpenContextMenu", + "defaults": { + "column_n": "-1" + }, + "funcname": "TableOpenContextMenu", + "location": "imgui_internal:3585", + "namespace": "ImGui", + "ov_cimguiname": "igTableOpenContextMenu", + "ret": "void", + "signature": "(int)", + "stname": "" + } + ], + "igTablePopBackgroundChannel": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTablePopBackgroundChannel", + "defaults": {}, + "funcname": "TablePopBackgroundChannel", + "location": "imgui_internal:3592", + "namespace": "ImGui", + "ov_cimguiname": "igTablePopBackgroundChannel", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igTablePushBackgroundChannel": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTablePushBackgroundChannel", + "defaults": {}, + "funcname": "TablePushBackgroundChannel", + "location": "imgui_internal:3591", + "namespace": "ImGui", + "ov_cimguiname": "igTablePushBackgroundChannel", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igTableRemove": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableRemove", + "defaults": {}, + "funcname": "TableRemove", + "location": "imgui_internal:3626", + "namespace": "ImGui", + "ov_cimguiname": "igTableRemove", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableResetSettings": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableResetSettings", + "defaults": {}, + "funcname": "TableResetSettings", + "location": "imgui_internal:3634", + "namespace": "ImGui", + "ov_cimguiname": "igTableResetSettings", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableSaveSettings": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableSaveSettings", + "defaults": {}, + "funcname": "TableSaveSettings", + "location": "imgui_internal:3633", + "namespace": "ImGui", + "ov_cimguiname": "igTableSaveSettings", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableSetBgColor": [ + { + "args": "(ImGuiTableBgTarget target,ImU32 color,int column_n)", + "argsT": [ + { + "name": "target", + "type": "ImGuiTableBgTarget" + }, + { + "name": "color", + "type": "ImU32" + }, + { + "name": "column_n", + "type": "int" + } + ], + "argsoriginal": "(ImGuiTableBgTarget target,ImU32 color,int column_n=-1)", + "call_args": "(target,color,column_n)", + "cimguiname": "igTableSetBgColor", + "defaults": { + "column_n": "-1" + }, + "funcname": "TableSetBgColor", + "location": "imgui:854", + "namespace": "ImGui", + "ov_cimguiname": "igTableSetBgColor", + "ret": "void", + "signature": "(ImGuiTableBgTarget,ImU32,int)", + "stname": "" + } + ], + "igTableSetColumnEnabled": [ + { + "args": "(int column_n,bool v)", + "argsT": [ + { + "name": "column_n", + "type": "int" + }, + { + "name": "v", + "type": "bool" + } + ], + "argsoriginal": "(int column_n,bool v)", + "call_args": "(column_n,v)", + "cimguiname": "igTableSetColumnEnabled", + "defaults": {}, + "funcname": "TableSetColumnEnabled", + "location": "imgui:852", + "namespace": "ImGui", + "ov_cimguiname": "igTableSetColumnEnabled", + "ret": "void", + "signature": "(int,bool)", + "stname": "" + } + ], + "igTableSetColumnIndex": [ + { + "args": "(int column_n)", + "argsT": [ + { + "name": "column_n", + "type": "int" + } + ], + "argsoriginal": "(int column_n)", + "call_args": "(column_n)", + "cimguiname": "igTableSetColumnIndex", + "defaults": {}, + "funcname": "TableSetColumnIndex", + "location": "imgui:824", + "namespace": "ImGui", + "ov_cimguiname": "igTableSetColumnIndex", + "ret": "bool", + "signature": "(int)", + "stname": "" + } + ], + "igTableSetColumnSortDirection": [ + { + "args": "(int column_n,ImGuiSortDirection sort_direction,bool append_to_sort_specs)", + "argsT": [ + { + "name": "column_n", + "type": "int" + }, + { + "name": "sort_direction", + "type": "ImGuiSortDirection" + }, + { + "name": "append_to_sort_specs", + "type": "bool" + } + ], + "argsoriginal": "(int column_n,ImGuiSortDirection sort_direction,bool append_to_sort_specs)", + "call_args": "(column_n,sort_direction,append_to_sort_specs)", + "cimguiname": "igTableSetColumnSortDirection", + "defaults": {}, + "funcname": "TableSetColumnSortDirection", + "location": "imgui_internal:3587", + "namespace": "ImGui", + "ov_cimguiname": "igTableSetColumnSortDirection", + "ret": "void", + "signature": "(int,ImGuiSortDirection,bool)", + "stname": "" + } + ], + "igTableSetColumnWidth": [ + { + "args": "(int column_n,float width)", + "argsT": [ + { + "name": "column_n", + "type": "int" + }, + { + "name": "width", + "type": "float" + } + ], + "argsoriginal": "(int column_n,float width)", + "call_args": "(column_n,width)", + "cimguiname": "igTableSetColumnWidth", + "defaults": {}, + "funcname": "TableSetColumnWidth", + "location": "imgui_internal:3586", + "namespace": "ImGui", + "ov_cimguiname": "igTableSetColumnWidth", + "ret": "void", + "signature": "(int,float)", + "stname": "" + } + ], + "igTableSetColumnWidthAutoAll": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableSetColumnWidthAutoAll", + "defaults": {}, + "funcname": "TableSetColumnWidthAutoAll", + "location": "imgui_internal:3625", + "namespace": "ImGui", + "ov_cimguiname": "igTableSetColumnWidthAutoAll", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableSetColumnWidthAutoSingle": [ + { + "args": "(ImGuiTable* table,int column_n)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + }, + { + "name": "column_n", + "type": "int" + } + ], + "argsoriginal": "(ImGuiTable* table,int column_n)", + "call_args": "(table,column_n)", + "cimguiname": "igTableSetColumnWidthAutoSingle", + "defaults": {}, + "funcname": "TableSetColumnWidthAutoSingle", + "location": "imgui_internal:3624", + "namespace": "ImGui", + "ov_cimguiname": "igTableSetColumnWidthAutoSingle", + "ret": "void", + "signature": "(ImGuiTable*,int)", + "stname": "" + } + ], + "igTableSettingsAddSettingsHandler": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTableSettingsAddSettingsHandler", + "defaults": {}, + "funcname": "TableSettingsAddSettingsHandler", + "location": "imgui_internal:3636", + "namespace": "ImGui", + "ov_cimguiname": "igTableSettingsAddSettingsHandler", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igTableSettingsCreate": [ + { + "args": "(ImGuiID id,int columns_count)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "columns_count", + "type": "int" + } + ], + "argsoriginal": "(ImGuiID id,int columns_count)", + "call_args": "(id,columns_count)", + "cimguiname": "igTableSettingsCreate", + "defaults": {}, + "funcname": "TableSettingsCreate", + "location": "imgui_internal:3637", + "namespace": "ImGui", + "ov_cimguiname": "igTableSettingsCreate", + "ret": "ImGuiTableSettings*", + "signature": "(ImGuiID,int)", + "stname": "" + } + ], + "igTableSettingsFindByID": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igTableSettingsFindByID", + "defaults": {}, + "funcname": "TableSettingsFindByID", + "location": "imgui_internal:3638", + "namespace": "ImGui", + "ov_cimguiname": "igTableSettingsFindByID", + "ret": "ImGuiTableSettings*", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igTableSetupColumn": [ + { + "args": "(const char* label,ImGuiTableColumnFlags flags,float init_width_or_weight,ImGuiID user_id)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiTableColumnFlags" + }, + { + "name": "init_width_or_weight", + "type": "float" + }, + { + "name": "user_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(const char* label,ImGuiTableColumnFlags flags=0,float init_width_or_weight=0.0f,ImGuiID user_id=0)", + "call_args": "(label,flags,init_width_or_weight,user_id)", + "cimguiname": "igTableSetupColumn", + "defaults": { + "flags": "0", + "init_width_or_weight": "0.0f", + "user_id": "0" + }, + "funcname": "TableSetupColumn", + "location": "imgui:834", + "namespace": "ImGui", + "ov_cimguiname": "igTableSetupColumn", + "ret": "void", + "signature": "(const char*,ImGuiTableColumnFlags,float,ImGuiID)", + "stname": "" + } + ], + "igTableSetupDrawChannels": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableSetupDrawChannels", + "defaults": {}, + "funcname": "TableSetupDrawChannels", + "location": "imgui_internal:3601", + "namespace": "ImGui", + "ov_cimguiname": "igTableSetupDrawChannels", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableSetupScrollFreeze": [ + { + "args": "(int cols,int rows)", + "argsT": [ + { + "name": "cols", + "type": "int" + }, + { + "name": "rows", + "type": "int" + } + ], + "argsoriginal": "(int cols,int rows)", + "call_args": "(cols,rows)", + "cimguiname": "igTableSetupScrollFreeze", + "defaults": {}, + "funcname": "TableSetupScrollFreeze", + "location": "imgui:835", + "namespace": "ImGui", + "ov_cimguiname": "igTableSetupScrollFreeze", + "ret": "void", + "signature": "(int,int)", + "stname": "" + } + ], + "igTableSortSpecsBuild": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableSortSpecsBuild", + "defaults": {}, + "funcname": "TableSortSpecsBuild", + "location": "imgui_internal:3612", + "namespace": "ImGui", + "ov_cimguiname": "igTableSortSpecsBuild", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableSortSpecsSanitize": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableSortSpecsSanitize", + "defaults": {}, + "funcname": "TableSortSpecsSanitize", + "location": "imgui_internal:3611", + "namespace": "ImGui", + "ov_cimguiname": "igTableSortSpecsSanitize", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableUpdateBorders": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableUpdateBorders", + "defaults": {}, + "funcname": "TableUpdateBorders", + "location": "imgui_internal:3603", + "namespace": "ImGui", + "ov_cimguiname": "igTableUpdateBorders", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableUpdateColumnsWeightFromWidth": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableUpdateColumnsWeightFromWidth", + "defaults": {}, + "funcname": "TableUpdateColumnsWeightFromWidth", + "location": "imgui_internal:3604", + "namespace": "ImGui", + "ov_cimguiname": "igTableUpdateColumnsWeightFromWidth", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTableUpdateLayout": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableUpdateLayout", + "defaults": {}, + "funcname": "TableUpdateLayout", + "location": "imgui_internal:3602", + "namespace": "ImGui", + "ov_cimguiname": "igTableUpdateLayout", + "ret": "void", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], + "igTeleportMousePos": [ + { + "args": "(const ImVec2 pos)", + "argsT": [ + { + "name": "pos", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& pos)", + "call_args": "(pos)", + "cimguiname": "igTeleportMousePos", + "defaults": {}, + "funcname": "TeleportMousePos", + "location": "imgui_internal:3422", + "namespace": "ImGui", + "ov_cimguiname": "igTeleportMousePos", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "" + } + ], + "igTempInputIsActive": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igTempInputIsActive", + "defaults": {}, + "funcname": "TempInputIsActive", + "location": "imgui_internal:3748", + "namespace": "ImGui", + "ov_cimguiname": "igTempInputIsActive", + "ret": "bool", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igTempInputScalar": [ + { + "args": "(const ImRect bb,ImGuiID id,const char* label,ImGuiDataType data_type,void* p_data,const char* format,const void* p_clamp_min,const void* p_clamp_max)", + "argsT": [ + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "label", + "type": "const char*" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_data", + "type": "void*" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "p_clamp_min", + "type": "const void*" + }, + { + "name": "p_clamp_max", + "type": "const void*" + } + ], + "argsoriginal": "(const ImRect& bb,ImGuiID id,const char* label,ImGuiDataType data_type,void* p_data,const char* format,const void* p_clamp_min=((void*)0),const void* p_clamp_max=((void*)0))", + "call_args": "(bb,id,label,data_type,p_data,format,p_clamp_min,p_clamp_max)", + "cimguiname": "igTempInputScalar", + "defaults": { + "p_clamp_max": "NULL", + "p_clamp_min": "NULL" + }, + "funcname": "TempInputScalar", + "location": "imgui_internal:3747", + "namespace": "ImGui", + "ov_cimguiname": "igTempInputScalar", + "ret": "bool", + "signature": "(const ImRect,ImGuiID,const char*,ImGuiDataType,void*,const char*,const void*,const void*)", + "stname": "" + } + ], + "igTempInputText": [ + { + "args": "(const ImRect bb,ImGuiID id,const char* label,char* buf,int buf_size,ImGuiInputTextFlags flags)", + "argsT": [ + { + "name": "bb", + "type": "const ImRect" + }, + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "label", + "type": "const char*" + }, + { + "name": "buf", + "type": "char*" + }, + { + "name": "buf_size", + "type": "int" + }, + { + "name": "flags", + "type": "ImGuiInputTextFlags" + } + ], + "argsoriginal": "(const ImRect& bb,ImGuiID id,const char* label,char* buf,int buf_size,ImGuiInputTextFlags flags)", + "call_args": "(bb,id,label,buf,buf_size,flags)", + "cimguiname": "igTempInputText", + "defaults": {}, + "funcname": "TempInputText", + "location": "imgui_internal:3746", + "namespace": "ImGui", + "ov_cimguiname": "igTempInputText", + "ret": "bool", + "signature": "(const ImRect,ImGuiID,const char*,char*,int,ImGuiInputTextFlags)", + "stname": "" + } + ], + "igTestKeyOwner": [ + { + "args": "(ImGuiKey key,ImGuiID owner_id)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiKey key,ImGuiID owner_id)", + "call_args": "(key,owner_id)", + "cimguiname": "igTestKeyOwner", + "defaults": {}, + "funcname": "TestKeyOwner", + "location": "imgui_internal:3441", + "namespace": "ImGui", + "ov_cimguiname": "igTestKeyOwner", + "ret": "bool", + "signature": "(ImGuiKey,ImGuiID)", + "stname": "" + } + ], + "igTestShortcutRouting": [ + { + "args": "(ImGuiKeyChord key_chord,ImGuiID owner_id)", + "argsT": [ + { + "name": "key_chord", + "type": "ImGuiKeyChord" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord,ImGuiID owner_id)", + "call_args": "(key_chord,owner_id)", + "cimguiname": "igTestShortcutRouting", + "defaults": {}, + "funcname": "TestShortcutRouting", + "location": "imgui_internal:3475", + "namespace": "ImGui", + "ov_cimguiname": "igTestShortcutRouting", + "ret": "bool", + "signature": "(ImGuiKeyChord,ImGuiID)", + "stname": "" + } + ], + "igText": [ + { + "args": "(const char* fmt,...)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "igText", + "defaults": {}, + "funcname": "Text", + "isvararg": "...)", + "location": "imgui:540", + "namespace": "ImGui", + "ov_cimguiname": "igText", + "ret": "void", + "signature": "(const char*,...)", + "stname": "" + } + ], + "igTextColored": [ + { + "args": "(const ImVec4 col,const char* fmt,...)", + "argsT": [ + { + "name": "col", + "type": "const ImVec4" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const ImVec4& col,const char* fmt,...)", + "call_args": "(col,fmt,...)", + "cimguiname": "igTextColored", + "defaults": {}, + "funcname": "TextColored", + "isvararg": "...)", + "location": "imgui:542", + "namespace": "ImGui", + "ov_cimguiname": "igTextColored", + "ret": "void", + "signature": "(const ImVec4,const char*,...)", + "stname": "" + } + ], + "igTextColoredV": [ + { + "args": "(const ImVec4 col,const char* fmt,va_list args)", + "argsT": [ + { + "name": "col", + "type": "const ImVec4" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const ImVec4& col,const char* fmt,va_list args)", + "call_args": "(col,fmt,args)", + "cimguiname": "igTextColoredV", + "defaults": {}, + "funcname": "TextColoredV", + "location": "imgui:543", + "namespace": "ImGui", + "ov_cimguiname": "igTextColoredV", + "ret": "void", + "signature": "(const ImVec4,const char*,va_list)", + "stname": "" + } + ], + "igTextDisabled": [ + { + "args": "(const char* fmt,...)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "igTextDisabled", + "defaults": {}, + "funcname": "TextDisabled", + "isvararg": "...)", + "location": "imgui:544", + "namespace": "ImGui", + "ov_cimguiname": "igTextDisabled", + "ret": "void", + "signature": "(const char*,...)", + "stname": "" + } + ], + "igTextDisabledV": [ + { + "args": "(const char* fmt,va_list args)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "igTextDisabledV", + "defaults": {}, + "funcname": "TextDisabledV", + "location": "imgui:545", + "namespace": "ImGui", + "ov_cimguiname": "igTextDisabledV", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "" + } + ], + "igTextEx": [ + { + "args": "(const char* text,const char* text_end,ImGuiTextFlags flags)", + "argsT": [ + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiTextFlags" + } + ], + "argsoriginal": "(const char* text,const char* text_end=((void*)0),ImGuiTextFlags flags=0)", + "call_args": "(text,text_end,flags)", + "cimguiname": "igTextEx", + "defaults": { + "flags": "0", + "text_end": "NULL" + }, + "funcname": "TextEx", + "location": "imgui_internal:3692", + "namespace": "ImGui", + "ov_cimguiname": "igTextEx", + "ret": "void", + "signature": "(const char*,const char*,ImGuiTextFlags)", + "stname": "" + } + ], + "igTextLink": [ + { + "args": "(const char* label)", + "argsT": [ + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(const char* label)", + "call_args": "(label)", + "cimguiname": "igTextLink", + "defaults": {}, + "funcname": "TextLink", + "location": "imgui:568", + "namespace": "ImGui", + "ov_cimguiname": "igTextLink", + "ret": "bool", + "signature": "(const char*)", + "stname": "" + } + ], + "igTextLinkOpenURL": [ + { + "args": "(const char* label,const char* url)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "url", + "type": "const char*" + } + ], + "argsoriginal": "(const char* label,const char* url=((void*)0))", + "call_args": "(label,url)", + "cimguiname": "igTextLinkOpenURL", + "defaults": { + "url": "NULL" + }, + "funcname": "TextLinkOpenURL", + "location": "imgui:569", + "namespace": "ImGui", + "ov_cimguiname": "igTextLinkOpenURL", + "ret": "void", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igTextUnformatted": [ + { + "args": "(const char* text,const char* text_end)", + "argsT": [ + { + "name": "text", + "type": "const char*" + }, + { + "name": "text_end", + "type": "const char*" + } + ], + "argsoriginal": "(const char* text,const char* text_end=((void*)0))", + "call_args": "(text,text_end)", + "cimguiname": "igTextUnformatted", + "defaults": { + "text_end": "NULL" + }, + "funcname": "TextUnformatted", + "location": "imgui:539", + "namespace": "ImGui", + "ov_cimguiname": "igTextUnformatted", + "ret": "void", + "signature": "(const char*,const char*)", + "stname": "" + } + ], + "igTextV": [ + { + "args": "(const char* fmt,va_list args)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "igTextV", + "defaults": {}, + "funcname": "TextV", + "location": "imgui:541", + "namespace": "ImGui", + "ov_cimguiname": "igTextV", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "" + } + ], + "igTextWrapped": [ + { + "args": "(const char* fmt,...)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "igTextWrapped", + "defaults": {}, + "funcname": "TextWrapped", + "isvararg": "...)", + "location": "imgui:546", + "namespace": "ImGui", + "ov_cimguiname": "igTextWrapped", + "ret": "void", + "signature": "(const char*,...)", + "stname": "" + } + ], + "igTextWrappedV": [ + { + "args": "(const char* fmt,va_list args)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "igTextWrappedV", + "defaults": {}, + "funcname": "TextWrappedV", + "location": "imgui:547", + "namespace": "ImGui", + "ov_cimguiname": "igTextWrappedV", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "" + } + ], + "igTranslateWindowsInViewport": [ + { + "args": "(ImGuiViewportP* viewport,const ImVec2 old_pos,const ImVec2 new_pos,const ImVec2 old_size,const ImVec2 new_size)", + "argsT": [ + { + "name": "viewport", + "type": "ImGuiViewportP*" + }, + { + "name": "old_pos", + "type": "const ImVec2" + }, + { + "name": "new_pos", + "type": "const ImVec2" + }, + { + "name": "old_size", + "type": "const ImVec2" + }, + { + "name": "new_size", + "type": "const ImVec2" + } + ], + "argsoriginal": "(ImGuiViewportP* viewport,const ImVec2& old_pos,const ImVec2& new_pos,const ImVec2& old_size,const ImVec2& new_size)", + "call_args": "(viewport,old_pos,new_pos,old_size,new_size)", + "cimguiname": "igTranslateWindowsInViewport", + "defaults": {}, + "funcname": "TranslateWindowsInViewport", + "location": "imgui_internal:3257", + "namespace": "ImGui", + "ov_cimguiname": "igTranslateWindowsInViewport", + "ret": "void", + "signature": "(ImGuiViewportP*,const ImVec2,const ImVec2,const ImVec2,const ImVec2)", + "stname": "" + } + ], + "igTreeNode": [ + { + "args": "(const char* label)", + "argsT": [ + { + "name": "label", + "type": "const char*" + } + ], + "argsoriginal": "(const char* label)", + "call_args": "(label)", + "cimguiname": "igTreeNode", + "defaults": {}, + "funcname": "TreeNode", + "location": "imgui:664", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNode_Str", + "ret": "bool", + "signature": "(const char*)", + "stname": "" + }, + { + "args": "(const char* str_id,const char* fmt,...)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* str_id,const char* fmt,...)", + "call_args": "(str_id,fmt,...)", + "cimguiname": "igTreeNode", + "defaults": {}, + "funcname": "TreeNode", + "isvararg": "...)", + "location": "imgui:665", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNode_StrStr", + "ret": "bool", + "signature": "(const char*,const char*,...)", + "stname": "" + }, + { + "args": "(const void* ptr_id,const char* fmt,...)", + "argsT": [ + { + "name": "ptr_id", + "type": "const void*" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const void* ptr_id,const char* fmt,...)", + "call_args": "(ptr_id,fmt,...)", + "cimguiname": "igTreeNode", + "defaults": {}, + "funcname": "TreeNode", + "isvararg": "...)", + "location": "imgui:666", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNode_Ptr", + "ret": "bool", + "signature": "(const void*,const char*,...)", + "stname": "" + } + ], + "igTreeNodeBehavior": [ + { + "args": "(ImGuiID id,ImGuiTreeNodeFlags flags,const char* label,const char* label_end)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "flags", + "type": "ImGuiTreeNodeFlags" + }, + { + "name": "label", + "type": "const char*" + }, + { + "name": "label_end", + "type": "const char*" + } + ], + "argsoriginal": "(ImGuiID id,ImGuiTreeNodeFlags flags,const char* label,const char* label_end=((void*)0))", + "call_args": "(id,flags,label,label_end)", + "cimguiname": "igTreeNodeBehavior", + "defaults": { + "label_end": "NULL" + }, + "funcname": "TreeNodeBehavior", + "location": "imgui_internal:3718", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeBehavior", + "ret": "bool", + "signature": "(ImGuiID,ImGuiTreeNodeFlags,const char*,const char*)", + "stname": "" + } + ], + "igTreeNodeEx": [ + { + "args": "(const char* label,ImGuiTreeNodeFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiTreeNodeFlags" + } + ], + "argsoriginal": "(const char* label,ImGuiTreeNodeFlags flags=0)", + "call_args": "(label,flags)", + "cimguiname": "igTreeNodeEx", + "defaults": { + "flags": "0" + }, + "funcname": "TreeNodeEx", + "location": "imgui:669", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeEx_Str", + "ret": "bool", + "signature": "(const char*,ImGuiTreeNodeFlags)", + "stname": "" + }, + { + "args": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiTreeNodeFlags" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", + "call_args": "(str_id,flags,fmt,...)", + "cimguiname": "igTreeNodeEx", + "defaults": {}, + "funcname": "TreeNodeEx", + "isvararg": "...)", + "location": "imgui:670", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeEx_StrStr", + "ret": "bool", + "signature": "(const char*,ImGuiTreeNodeFlags,const char*,...)", + "stname": "" + }, + { + "args": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", + "argsT": [ + { + "name": "ptr_id", + "type": "const void*" + }, + { + "name": "flags", + "type": "ImGuiTreeNodeFlags" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)", + "call_args": "(ptr_id,flags,fmt,...)", + "cimguiname": "igTreeNodeEx", + "defaults": {}, + "funcname": "TreeNodeEx", + "isvararg": "...)", + "location": "imgui:671", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeEx_Ptr", + "ret": "bool", + "signature": "(const void*,ImGuiTreeNodeFlags,const char*,...)", + "stname": "" + } + ], + "igTreeNodeExV": [ + { + "args": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiTreeNodeFlags" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", + "call_args": "(str_id,flags,fmt,args)", + "cimguiname": "igTreeNodeExV", + "defaults": {}, + "funcname": "TreeNodeExV", + "location": "imgui:672", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeExV_Str", + "ret": "bool", + "signature": "(const char*,ImGuiTreeNodeFlags,const char*,va_list)", + "stname": "" + }, + { + "args": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", + "argsT": [ + { + "name": "ptr_id", + "type": "const void*" + }, + { + "name": "flags", + "type": "ImGuiTreeNodeFlags" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)", + "call_args": "(ptr_id,flags,fmt,args)", + "cimguiname": "igTreeNodeExV", + "defaults": {}, + "funcname": "TreeNodeExV", + "location": "imgui:673", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeExV_Ptr", + "ret": "bool", + "signature": "(const void*,ImGuiTreeNodeFlags,const char*,va_list)", + "stname": "" + } + ], + "igTreeNodeGetOpen": [ + { + "args": "(ImGuiID storage_id)", + "argsT": [ + { + "name": "storage_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID storage_id)", + "call_args": "(storage_id)", + "cimguiname": "igTreeNodeGetOpen", + "defaults": {}, + "funcname": "TreeNodeGetOpen", + "location": "imgui_internal:3720", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeGetOpen", + "ret": "bool", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igTreeNodeSetOpen": [ + { + "args": "(ImGuiID storage_id,bool open)", + "argsT": [ + { + "name": "storage_id", + "type": "ImGuiID" + }, + { + "name": "open", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiID storage_id,bool open)", + "call_args": "(storage_id,open)", + "cimguiname": "igTreeNodeSetOpen", + "defaults": {}, + "funcname": "TreeNodeSetOpen", + "location": "imgui_internal:3721", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeSetOpen", + "ret": "void", + "signature": "(ImGuiID,bool)", + "stname": "" + } + ], + "igTreeNodeUpdateNextOpen": [ + { + "args": "(ImGuiID storage_id,ImGuiTreeNodeFlags flags)", + "argsT": [ + { + "name": "storage_id", + "type": "ImGuiID" + }, + { + "name": "flags", + "type": "ImGuiTreeNodeFlags" + } + ], + "argsoriginal": "(ImGuiID storage_id,ImGuiTreeNodeFlags flags)", + "call_args": "(storage_id,flags)", + "cimguiname": "igTreeNodeUpdateNextOpen", + "defaults": {}, + "funcname": "TreeNodeUpdateNextOpen", + "location": "imgui_internal:3722", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeUpdateNextOpen", + "ret": "bool", + "signature": "(ImGuiID,ImGuiTreeNodeFlags)", + "stname": "" + } + ], + "igTreeNodeV": [ + { + "args": "(const char* str_id,const char* fmt,va_list args)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* str_id,const char* fmt,va_list args)", + "call_args": "(str_id,fmt,args)", + "cimguiname": "igTreeNodeV", + "defaults": {}, + "funcname": "TreeNodeV", + "location": "imgui:667", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeV_Str", + "ret": "bool", + "signature": "(const char*,const char*,va_list)", + "stname": "" + }, + { + "args": "(const void* ptr_id,const char* fmt,va_list args)", + "argsT": [ + { + "name": "ptr_id", + "type": "const void*" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const void* ptr_id,const char* fmt,va_list args)", + "call_args": "(ptr_id,fmt,args)", + "cimguiname": "igTreeNodeV", + "defaults": {}, + "funcname": "TreeNodeV", + "location": "imgui:668", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeV_Ptr", + "ret": "bool", + "signature": "(const void*,const char*,va_list)", + "stname": "" + } + ], + "igTreePop": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTreePop", + "defaults": {}, + "funcname": "TreePop", + "location": "imgui:676", + "namespace": "ImGui", + "ov_cimguiname": "igTreePop", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igTreePush": [ + { + "args": "(const char* str_id)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + } + ], + "argsoriginal": "(const char* str_id)", + "call_args": "(str_id)", + "cimguiname": "igTreePush", + "defaults": {}, + "funcname": "TreePush", + "location": "imgui:674", + "namespace": "ImGui", + "ov_cimguiname": "igTreePush_Str", + "ret": "void", + "signature": "(const char*)", + "stname": "" + }, + { + "args": "(const void* ptr_id)", + "argsT": [ + { + "name": "ptr_id", + "type": "const void*" + } + ], + "argsoriginal": "(const void* ptr_id)", + "call_args": "(ptr_id)", + "cimguiname": "igTreePush", + "defaults": {}, + "funcname": "TreePush", + "location": "imgui:675", + "namespace": "ImGui", + "ov_cimguiname": "igTreePush_Ptr", + "ret": "void", + "signature": "(const void*)", + "stname": "" + } + ], + "igTreePushOverrideID": [ + { + "args": "(ImGuiID id)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "igTreePushOverrideID", + "defaults": {}, + "funcname": "TreePushOverrideID", + "location": "imgui_internal:3719", + "namespace": "ImGui", + "ov_cimguiname": "igTreePushOverrideID", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igTypingSelectFindBestLeadingMatch": [ + { + "args": "(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data)", + "argsT": [ + { + "name": "req", + "type": "ImGuiTypingSelectRequest*" + }, + { + "name": "items_count", + "type": "int" + }, + { + "name": "get_item_name_func", + "ret": "const char*", + "signature": "(void*,int)", + "type": "const char*(*)(void*,int)" + }, + { + "name": "user_data", + "type": "void*" + } + ], + "argsoriginal": "(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data)", + "call_args": "(req,items_count,get_item_name_func,user_data)", + "cimguiname": "igTypingSelectFindBestLeadingMatch", + "defaults": {}, + "funcname": "TypingSelectFindBestLeadingMatch", + "location": "imgui_internal:3558", + "namespace": "ImGui", + "ov_cimguiname": "igTypingSelectFindBestLeadingMatch", + "ret": "int", + "signature": "(ImGuiTypingSelectRequest*,int,const char*(*)(void*,int),void*)", + "stname": "" + } + ], + "igTypingSelectFindMatch": [ + { + "args": "(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx)", + "argsT": [ + { + "name": "req", + "type": "ImGuiTypingSelectRequest*" + }, + { + "name": "items_count", + "type": "int" + }, + { + "name": "get_item_name_func", + "ret": "const char*", + "signature": "(void*,int)", + "type": "const char*(*)(void*,int)" + }, + { + "name": "user_data", + "type": "void*" + }, + { + "name": "nav_item_idx", + "type": "int" + } + ], + "argsoriginal": "(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx)", + "call_args": "(req,items_count,get_item_name_func,user_data,nav_item_idx)", + "cimguiname": "igTypingSelectFindMatch", + "defaults": {}, + "funcname": "TypingSelectFindMatch", + "location": "imgui_internal:3556", + "namespace": "ImGui", + "ov_cimguiname": "igTypingSelectFindMatch", + "ret": "int", + "signature": "(ImGuiTypingSelectRequest*,int,const char*(*)(void*,int),void*,int)", + "stname": "" + } + ], + "igTypingSelectFindNextSingleCharMatch": [ + { + "args": "(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx)", + "argsT": [ + { + "name": "req", + "type": "ImGuiTypingSelectRequest*" + }, + { + "name": "items_count", + "type": "int" + }, + { + "name": "get_item_name_func", + "ret": "const char*", + "signature": "(void*,int)", + "type": "const char*(*)(void*,int)" + }, + { + "name": "user_data", + "type": "void*" + }, + { + "name": "nav_item_idx", + "type": "int" + } + ], + "argsoriginal": "(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx)", + "call_args": "(req,items_count,get_item_name_func,user_data,nav_item_idx)", + "cimguiname": "igTypingSelectFindNextSingleCharMatch", + "defaults": {}, + "funcname": "TypingSelectFindNextSingleCharMatch", + "location": "imgui_internal:3557", + "namespace": "ImGui", + "ov_cimguiname": "igTypingSelectFindNextSingleCharMatch", + "ret": "int", + "signature": "(ImGuiTypingSelectRequest*,int,const char*(*)(void*,int),void*,int)", + "stname": "" + } + ], + "igUnindent": [ + { + "args": "(float indent_w)", + "argsT": [ + { + "name": "indent_w", + "type": "float" + } + ], + "argsoriginal": "(float indent_w=0.0f)", + "call_args": "(indent_w)", + "cimguiname": "igUnindent", + "defaults": { + "indent_w": "0.0f" + }, + "funcname": "Unindent", + "location": "imgui:508", + "namespace": "ImGui", + "ov_cimguiname": "igUnindent", + "ret": "void", + "signature": "(float)", + "stname": "" + } + ], + "igUpdateHoveredWindowAndCaptureFlags": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igUpdateHoveredWindowAndCaptureFlags", + "defaults": {}, + "funcname": "UpdateHoveredWindowAndCaptureFlags", + "location": "imgui_internal:3244", + "namespace": "ImGui", + "ov_cimguiname": "igUpdateHoveredWindowAndCaptureFlags", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igUpdateInputEvents": [ + { + "args": "(bool trickle_fast_inputs)", + "argsT": [ + { + "name": "trickle_fast_inputs", + "type": "bool" + } + ], + "argsoriginal": "(bool trickle_fast_inputs)", + "call_args": "(trickle_fast_inputs)", + "cimguiname": "igUpdateInputEvents", + "defaults": {}, + "funcname": "UpdateInputEvents", + "location": "imgui_internal:3243", + "namespace": "ImGui", + "ov_cimguiname": "igUpdateInputEvents", + "ret": "void", + "signature": "(bool)", + "stname": "" + } + ], + "igUpdateMouseMovingWindowEndFrame": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igUpdateMouseMovingWindowEndFrame", + "defaults": {}, + "funcname": "UpdateMouseMovingWindowEndFrame", + "location": "imgui_internal:3249", + "namespace": "ImGui", + "ov_cimguiname": "igUpdateMouseMovingWindowEndFrame", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igUpdateMouseMovingWindowNewFrame": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igUpdateMouseMovingWindowNewFrame", + "defaults": {}, + "funcname": "UpdateMouseMovingWindowNewFrame", + "location": "imgui_internal:3248", + "namespace": "ImGui", + "ov_cimguiname": "igUpdateMouseMovingWindowNewFrame", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igUpdatePlatformWindows": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igUpdatePlatformWindows", + "defaults": {}, + "funcname": "UpdatePlatformWindows", + "location": "imgui:1088", + "namespace": "ImGui", + "ov_cimguiname": "igUpdatePlatformWindows", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igUpdateWindowParentAndRootLinks": [ + { + "args": "(ImGuiWindow* window,ImGuiWindowFlags flags,ImGuiWindow* parent_window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "flags", + "type": "ImGuiWindowFlags" + }, + { + "name": "parent_window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiWindowFlags flags,ImGuiWindow* parent_window)", + "call_args": "(window,flags,parent_window)", + "cimguiname": "igUpdateWindowParentAndRootLinks", + "defaults": {}, + "funcname": "UpdateWindowParentAndRootLinks", + "location": "imgui_internal:3201", + "namespace": "ImGui", + "ov_cimguiname": "igUpdateWindowParentAndRootLinks", + "ret": "void", + "signature": "(ImGuiWindow*,ImGuiWindowFlags,ImGuiWindow*)", + "stname": "" + } + ], + "igUpdateWindowSkipRefresh": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igUpdateWindowSkipRefresh", + "defaults": {}, + "funcname": "UpdateWindowSkipRefresh", + "location": "imgui_internal:3202", + "namespace": "ImGui", + "ov_cimguiname": "igUpdateWindowSkipRefresh", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igVSliderFloat": [ + { + "args": "(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "v", + "type": "float*" + }, + { + "name": "v_min", + "type": "float" + }, + { + "name": "v_max", + "type": "float" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",ImGuiSliderFlags flags=0)", + "call_args": "(label,size,v,v_min,v_max,format,flags)", + "cimguiname": "igVSliderFloat", + "defaults": { + "flags": "0", + "format": "\"%.3f\"" + }, + "funcname": "VSliderFloat", + "location": "imgui:630", + "namespace": "ImGui", + "ov_cimguiname": "igVSliderFloat", + "ret": "bool", + "signature": "(const char*,const ImVec2,float*,float,float,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igVSliderInt": [ + { + "args": "(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "v", + "type": "int*" + }, + { + "name": "v_min", + "type": "int" + }, + { + "name": "v_max", + "type": "int" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\",ImGuiSliderFlags flags=0)", + "call_args": "(label,size,v,v_min,v_max,format,flags)", + "cimguiname": "igVSliderInt", + "defaults": { + "flags": "0", + "format": "\"%d\"" + }, + "funcname": "VSliderInt", + "location": "imgui:631", + "namespace": "ImGui", + "ov_cimguiname": "igVSliderInt", + "ret": "bool", + "signature": "(const char*,const ImVec2,int*,int,int,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igVSliderScalar": [ + { + "args": "(const char* label,const ImVec2 size,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)", + "argsT": [ + { + "name": "label", + "type": "const char*" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_data", + "type": "void*" + }, + { + "name": "p_min", + "type": "const void*" + }, + { + "name": "p_max", + "type": "const void*" + }, + { + "name": "format", + "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiSliderFlags" + } + ], + "argsoriginal": "(const char* label,const ImVec2& size,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format=((void*)0),ImGuiSliderFlags flags=0)", + "call_args": "(label,size,data_type,p_data,p_min,p_max,format,flags)", + "cimguiname": "igVSliderScalar", + "defaults": { + "flags": "0", + "format": "NULL" + }, + "funcname": "VSliderScalar", + "location": "imgui:632", + "namespace": "ImGui", + "ov_cimguiname": "igVSliderScalar", + "ret": "bool", + "signature": "(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiSliderFlags)", + "stname": "" + } + ], + "igValue": [ + { + "args": "(const char* prefix,bool b)", + "argsT": [ + { + "name": "prefix", + "type": "const char*" + }, + { + "name": "b", + "type": "bool" + } + ], + "argsoriginal": "(const char* prefix,bool b)", + "call_args": "(prefix,b)", + "cimguiname": "igValue", + "defaults": {}, + "funcname": "Value", + "location": "imgui:721", + "namespace": "ImGui", + "ov_cimguiname": "igValue_Bool", + "ret": "void", + "signature": "(const char*,bool)", + "stname": "" + }, + { + "args": "(const char* prefix,int v)", + "argsT": [ + { + "name": "prefix", + "type": "const char*" + }, + { + "name": "v", + "type": "int" + } + ], + "argsoriginal": "(const char* prefix,int v)", + "call_args": "(prefix,v)", + "cimguiname": "igValue", + "defaults": {}, + "funcname": "Value", + "location": "imgui:722", + "namespace": "ImGui", + "ov_cimguiname": "igValue_Int", + "ret": "void", + "signature": "(const char*,int)", + "stname": "" + }, + { + "args": "(const char* prefix,unsigned int v)", + "argsT": [ + { + "name": "prefix", + "type": "const char*" + }, + { + "name": "v", + "type": "unsigned int" + } + ], + "argsoriginal": "(const char* prefix,unsigned int v)", + "call_args": "(prefix,v)", + "cimguiname": "igValue", + "defaults": {}, + "funcname": "Value", + "location": "imgui:723", + "namespace": "ImGui", + "ov_cimguiname": "igValue_Uint", + "ret": "void", + "signature": "(const char*,unsigned int)", + "stname": "" + }, + { + "args": "(const char* prefix,float v,const char* float_format)", + "argsT": [ + { + "name": "prefix", + "type": "const char*" + }, + { + "name": "v", + "type": "float" + }, + { + "name": "float_format", + "type": "const char*" + } + ], + "argsoriginal": "(const char* prefix,float v,const char* float_format=((void*)0))", + "call_args": "(prefix,v,float_format)", + "cimguiname": "igValue", + "defaults": { + "float_format": "NULL" + }, + "funcname": "Value", + "location": "imgui:724", + "namespace": "ImGui", + "ov_cimguiname": "igValue_Float", + "ret": "void", + "signature": "(const char*,float,const char*)", + "stname": "" + } + ], + "igWindowPosAbsToRel": [ + { + "args": "(ImVec2 *pOut,ImGuiWindow* window,const ImVec2 p)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "p", + "type": "const ImVec2" + } + ], + "argsoriginal": "(ImGuiWindow* window,const ImVec2& p)", + "call_args": "(window,p)", + "cimguiname": "igWindowPosAbsToRel", + "defaults": {}, + "funcname": "WindowPosAbsToRel", + "location": "imgui_internal:3216", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igWindowPosAbsToRel", + "ret": "void", + "signature": "(ImGuiWindow*,const ImVec2)", + "stname": "" + } + ], + "igWindowPosRelToAbs": [ + { + "args": "(ImVec2 *pOut,ImGuiWindow* window,const ImVec2 p)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "p", + "type": "const ImVec2" + } + ], + "argsoriginal": "(ImGuiWindow* window,const ImVec2& p)", + "call_args": "(window,p)", + "cimguiname": "igWindowPosRelToAbs", + "defaults": {}, + "funcname": "WindowPosRelToAbs", + "location": "imgui_internal:3217", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igWindowPosRelToAbs", + "ret": "void", + "signature": "(ImGuiWindow*,const ImVec2)", + "stname": "" + } + ], + "igWindowRectAbsToRel": [ + { + "args": "(ImRect *pOut,ImGuiWindow* window,const ImRect r)", + "argsT": [ + { + "name": "pOut", + "type": "ImRect*" + }, + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "r", + "type": "const ImRect" + } + ], + "argsoriginal": "(ImGuiWindow* window,const ImRect& r)", + "call_args": "(window,r)", + "cimguiname": "igWindowRectAbsToRel", + "defaults": {}, + "funcname": "WindowRectAbsToRel", + "location": "imgui_internal:3214", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igWindowRectAbsToRel", + "ret": "void", + "signature": "(ImGuiWindow*,const ImRect)", + "stname": "" + } + ], + "igWindowRectRelToAbs": [ + { + "args": "(ImRect *pOut,ImGuiWindow* window,const ImRect r)", + "argsT": [ + { + "name": "pOut", + "type": "ImRect*" + }, + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "r", + "type": "const ImRect" + } + ], + "argsoriginal": "(ImGuiWindow* window,const ImRect& r)", + "call_args": "(window,r)", + "cimguiname": "igWindowRectRelToAbs", + "defaults": {}, + "funcname": "WindowRectRelToAbs", + "location": "imgui_internal:3215", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igWindowRectRelToAbs", + "ret": "void", + "signature": "(ImGuiWindow*,const ImRect)", + "stname": "" + } + ] } \ No newline at end of file diff --git a/src/CodeGenerator/definitions/cimgui/structs_and_enums.json b/src/CodeGenerator/definitions/cimgui/structs_and_enums.json index e58c9467..af4542a5 100644 --- a/src/CodeGenerator/definitions/cimgui/structs_and_enums.json +++ b/src/CodeGenerator/definitions/cimgui/structs_and_enums.json @@ -1,10313 +1,12151 @@ -{ - "enums": { - "ImDrawFlags_": [ - { - "calc_value": 0, - "name": "ImDrawFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImDrawFlags_Closed", - "value": "1 << 0" - }, - { - "calc_value": 16, - "name": "ImDrawFlags_RoundCornersTopLeft", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImDrawFlags_RoundCornersTopRight", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImDrawFlags_RoundCornersBottomLeft", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImDrawFlags_RoundCornersBottomRight", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImDrawFlags_RoundCornersNone", - "value": "1 << 8" - }, - { - "calc_value": 48, - "name": "ImDrawFlags_RoundCornersTop", - "value": "ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight" - }, - { - "calc_value": 192, - "name": "ImDrawFlags_RoundCornersBottom", - "value": "ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight" - }, - { - "calc_value": 80, - "name": "ImDrawFlags_RoundCornersLeft", - "value": "ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft" - }, - { - "calc_value": 160, - "name": "ImDrawFlags_RoundCornersRight", - "value": "ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight" - }, - { - "calc_value": 240, - "name": "ImDrawFlags_RoundCornersAll", - "value": "ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight" - }, - { - "calc_value": 240, - "name": "ImDrawFlags_RoundCornersDefault_", - "value": "ImDrawFlags_RoundCornersAll" - }, - { - "calc_value": 496, - "name": "ImDrawFlags_RoundCornersMask_", - "value": "ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone" - } - ], - "ImDrawListFlags_": [ - { - "calc_value": 0, - "name": "ImDrawListFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImDrawListFlags_AntiAliasedLines", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImDrawListFlags_AntiAliasedLinesUseTex", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImDrawListFlags_AntiAliasedFill", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImDrawListFlags_AllowVtxOffset", - "value": "1 << 3" - } - ], - "ImFontAtlasFlags_": [ - { - "calc_value": 0, - "name": "ImFontAtlasFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImFontAtlasFlags_NoPowerOfTwoHeight", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImFontAtlasFlags_NoMouseCursors", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImFontAtlasFlags_NoBakedLines", - "value": "1 << 2" - } - ], - "ImGuiActivateFlags_": [ - { - "calc_value": 0, - "name": "ImGuiActivateFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiActivateFlags_PreferInput", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiActivateFlags_PreferTweak", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiActivateFlags_TryToPreserveState", - "value": "1 << 2" - } - ], - "ImGuiAxis": [ - { - "calc_value": -1, - "name": "ImGuiAxis_None", - "value": "-1" - }, - { - "calc_value": 0, - "name": "ImGuiAxis_X", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiAxis_Y", - "value": "1" - } - ], - "ImGuiBackendFlags_": [ - { - "calc_value": 0, - "name": "ImGuiBackendFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiBackendFlags_HasGamepad", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiBackendFlags_HasMouseCursors", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiBackendFlags_HasSetMousePos", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiBackendFlags_RendererHasVtxOffset", - "value": "1 << 3" - }, - { - "calc_value": 1024, - "name": "ImGuiBackendFlags_PlatformHasViewports", - "value": "1 << 10" - }, - { - "calc_value": 2048, - "name": "ImGuiBackendFlags_HasMouseHoveredViewport", - "value": "1 << 11" - }, - { - "calc_value": 4096, - "name": "ImGuiBackendFlags_RendererHasViewports", - "value": "1 << 12" - } - ], - "ImGuiButtonFlagsPrivate_": [ - { - "calc_value": 16, - "name": "ImGuiButtonFlags_PressedOnClick", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiButtonFlags_PressedOnClickRelease", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiButtonFlags_PressedOnClickReleaseAnywhere", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiButtonFlags_PressedOnRelease", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiButtonFlags_PressedOnDoubleClick", - "value": "1 << 8" - }, - { - "calc_value": 512, - "name": "ImGuiButtonFlags_PressedOnDragDropHold", - "value": "1 << 9" - }, - { - "calc_value": 1024, - "name": "ImGuiButtonFlags_Repeat", - "value": "1 << 10" - }, - { - "calc_value": 2048, - "name": "ImGuiButtonFlags_FlattenChildren", - "value": "1 << 11" - }, - { - "calc_value": 4096, - "name": "ImGuiButtonFlags_AllowItemOverlap", - "value": "1 << 12" - }, - { - "calc_value": 8192, - "name": "ImGuiButtonFlags_DontClosePopups", - "value": "1 << 13" - }, - { - "calc_value": 32768, - "name": "ImGuiButtonFlags_AlignTextBaseLine", - "value": "1 << 15" - }, - { - "calc_value": 65536, - "name": "ImGuiButtonFlags_NoKeyModifiers", - "value": "1 << 16" - }, - { - "calc_value": 131072, - "name": "ImGuiButtonFlags_NoHoldingActiveId", - "value": "1 << 17" - }, - { - "calc_value": 262144, - "name": "ImGuiButtonFlags_NoNavFocus", - "value": "1 << 18" - }, - { - "calc_value": 524288, - "name": "ImGuiButtonFlags_NoHoveredOnFocus", - "value": "1 << 19" - }, - { - "calc_value": 1048576, - "name": "ImGuiButtonFlags_NoSetKeyOwner", - "value": "1 << 20" - }, - { - "calc_value": 2097152, - "name": "ImGuiButtonFlags_NoTestKeyOwner", - "value": "1 << 21" - }, - { - "calc_value": 1008, - "name": "ImGuiButtonFlags_PressedOnMask_", - "value": "ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold" - }, - { - "calc_value": 32, - "name": "ImGuiButtonFlags_PressedOnDefault_", - "value": "ImGuiButtonFlags_PressedOnClickRelease" - } - ], - "ImGuiButtonFlags_": [ - { - "calc_value": 0, - "name": "ImGuiButtonFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiButtonFlags_MouseButtonLeft", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiButtonFlags_MouseButtonRight", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiButtonFlags_MouseButtonMiddle", - "value": "1 << 2" - }, - { - "calc_value": 7, - "name": "ImGuiButtonFlags_MouseButtonMask_", - "value": "ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle" - }, - { - "calc_value": 1, - "name": "ImGuiButtonFlags_MouseButtonDefault_", - "value": "ImGuiButtonFlags_MouseButtonLeft" - } - ], - "ImGuiCol_": [ - { - "calc_value": 0, - "name": "ImGuiCol_Text", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiCol_TextDisabled", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiCol_WindowBg", - "value": "2" - }, - { - "calc_value": 3, - "name": "ImGuiCol_ChildBg", - "value": "3" - }, - { - "calc_value": 4, - "name": "ImGuiCol_PopupBg", - "value": "4" - }, - { - "calc_value": 5, - "name": "ImGuiCol_Border", - "value": "5" - }, - { - "calc_value": 6, - "name": "ImGuiCol_BorderShadow", - "value": "6" - }, - { - "calc_value": 7, - "name": "ImGuiCol_FrameBg", - "value": "7" - }, - { - "calc_value": 8, - "name": "ImGuiCol_FrameBgHovered", - "value": "8" - }, - { - "calc_value": 9, - "name": "ImGuiCol_FrameBgActive", - "value": "9" - }, - { - "calc_value": 10, - "name": "ImGuiCol_TitleBg", - "value": "10" - }, - { - "calc_value": 11, - "name": "ImGuiCol_TitleBgActive", - "value": "11" - }, - { - "calc_value": 12, - "name": "ImGuiCol_TitleBgCollapsed", - "value": "12" - }, - { - "calc_value": 13, - "name": "ImGuiCol_MenuBarBg", - "value": "13" - }, - { - "calc_value": 14, - "name": "ImGuiCol_ScrollbarBg", - "value": "14" - }, - { - "calc_value": 15, - "name": "ImGuiCol_ScrollbarGrab", - "value": "15" - }, - { - "calc_value": 16, - "name": "ImGuiCol_ScrollbarGrabHovered", - "value": "16" - }, - { - "calc_value": 17, - "name": "ImGuiCol_ScrollbarGrabActive", - "value": "17" - }, - { - "calc_value": 18, - "name": "ImGuiCol_CheckMark", - "value": "18" - }, - { - "calc_value": 19, - "name": "ImGuiCol_SliderGrab", - "value": "19" - }, - { - "calc_value": 20, - "name": "ImGuiCol_SliderGrabActive", - "value": "20" - }, - { - "calc_value": 21, - "name": "ImGuiCol_Button", - "value": "21" - }, - { - "calc_value": 22, - "name": "ImGuiCol_ButtonHovered", - "value": "22" - }, - { - "calc_value": 23, - "name": "ImGuiCol_ButtonActive", - "value": "23" - }, - { - "calc_value": 24, - "name": "ImGuiCol_Header", - "value": "24" - }, - { - "calc_value": 25, - "name": "ImGuiCol_HeaderHovered", - "value": "25" - }, - { - "calc_value": 26, - "name": "ImGuiCol_HeaderActive", - "value": "26" - }, - { - "calc_value": 27, - "name": "ImGuiCol_Separator", - "value": "27" - }, - { - "calc_value": 28, - "name": "ImGuiCol_SeparatorHovered", - "value": "28" - }, - { - "calc_value": 29, - "name": "ImGuiCol_SeparatorActive", - "value": "29" - }, - { - "calc_value": 30, - "name": "ImGuiCol_ResizeGrip", - "value": "30" - }, - { - "calc_value": 31, - "name": "ImGuiCol_ResizeGripHovered", - "value": "31" - }, - { - "calc_value": 32, - "name": "ImGuiCol_ResizeGripActive", - "value": "32" - }, - { - "calc_value": 33, - "name": "ImGuiCol_Tab", - "value": "33" - }, - { - "calc_value": 34, - "name": "ImGuiCol_TabHovered", - "value": "34" - }, - { - "calc_value": 35, - "name": "ImGuiCol_TabActive", - "value": "35" - }, - { - "calc_value": 36, - "name": "ImGuiCol_TabUnfocused", - "value": "36" - }, - { - "calc_value": 37, - "name": "ImGuiCol_TabUnfocusedActive", - "value": "37" - }, - { - "calc_value": 38, - "name": "ImGuiCol_DockingPreview", - "value": "38" - }, - { - "calc_value": 39, - "name": "ImGuiCol_DockingEmptyBg", - "value": "39" - }, - { - "calc_value": 40, - "name": "ImGuiCol_PlotLines", - "value": "40" - }, - { - "calc_value": 41, - "name": "ImGuiCol_PlotLinesHovered", - "value": "41" - }, - { - "calc_value": 42, - "name": "ImGuiCol_PlotHistogram", - "value": "42" - }, - { - "calc_value": 43, - "name": "ImGuiCol_PlotHistogramHovered", - "value": "43" - }, - { - "calc_value": 44, - "name": "ImGuiCol_TableHeaderBg", - "value": "44" - }, - { - "calc_value": 45, - "name": "ImGuiCol_TableBorderStrong", - "value": "45" - }, - { - "calc_value": 46, - "name": "ImGuiCol_TableBorderLight", - "value": "46" - }, - { - "calc_value": 47, - "name": "ImGuiCol_TableRowBg", - "value": "47" - }, - { - "calc_value": 48, - "name": "ImGuiCol_TableRowBgAlt", - "value": "48" - }, - { - "calc_value": 49, - "name": "ImGuiCol_TextSelectedBg", - "value": "49" - }, - { - "calc_value": 50, - "name": "ImGuiCol_DragDropTarget", - "value": "50" - }, - { - "calc_value": 51, - "name": "ImGuiCol_NavHighlight", - "value": "51" - }, - { - "calc_value": 52, - "name": "ImGuiCol_NavWindowingHighlight", - "value": "52" - }, - { - "calc_value": 53, - "name": "ImGuiCol_NavWindowingDimBg", - "value": "53" - }, - { - "calc_value": 54, - "name": "ImGuiCol_ModalWindowDimBg", - "value": "54" - }, - { - "calc_value": 55, - "name": "ImGuiCol_COUNT", - "value": "55" - } - ], - "ImGuiColorEditFlags_": [ - { - "calc_value": 0, - "name": "ImGuiColorEditFlags_None", - "value": "0" - }, - { - "calc_value": 2, - "name": "ImGuiColorEditFlags_NoAlpha", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiColorEditFlags_NoPicker", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiColorEditFlags_NoOptions", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiColorEditFlags_NoSmallPreview", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiColorEditFlags_NoInputs", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiColorEditFlags_NoTooltip", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiColorEditFlags_NoLabel", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiColorEditFlags_NoSidePreview", - "value": "1 << 8" - }, - { - "calc_value": 512, - "name": "ImGuiColorEditFlags_NoDragDrop", - "value": "1 << 9" - }, - { - "calc_value": 1024, - "name": "ImGuiColorEditFlags_NoBorder", - "value": "1 << 10" - }, - { - "calc_value": 65536, - "name": "ImGuiColorEditFlags_AlphaBar", - "value": "1 << 16" - }, - { - "calc_value": 131072, - "name": "ImGuiColorEditFlags_AlphaPreview", - "value": "1 << 17" - }, - { - "calc_value": 262144, - "name": "ImGuiColorEditFlags_AlphaPreviewHalf", - "value": "1 << 18" - }, - { - "calc_value": 524288, - "name": "ImGuiColorEditFlags_HDR", - "value": "1 << 19" - }, - { - "calc_value": 1048576, - "name": "ImGuiColorEditFlags_DisplayRGB", - "value": "1 << 20" - }, - { - "calc_value": 2097152, - "name": "ImGuiColorEditFlags_DisplayHSV", - "value": "1 << 21" - }, - { - "calc_value": 4194304, - "name": "ImGuiColorEditFlags_DisplayHex", - "value": "1 << 22" - }, - { - "calc_value": 8388608, - "name": "ImGuiColorEditFlags_Uint8", - "value": "1 << 23" - }, - { - "calc_value": 16777216, - "name": "ImGuiColorEditFlags_Float", - "value": "1 << 24" - }, - { - "calc_value": 33554432, - "name": "ImGuiColorEditFlags_PickerHueBar", - "value": "1 << 25" - }, - { - "calc_value": 67108864, - "name": "ImGuiColorEditFlags_PickerHueWheel", - "value": "1 << 26" - }, - { - "calc_value": 134217728, - "name": "ImGuiColorEditFlags_InputRGB", - "value": "1 << 27" - }, - { - "calc_value": 268435456, - "name": "ImGuiColorEditFlags_InputHSV", - "value": "1 << 28" - }, - { - "calc_value": 177209344, - "name": "ImGuiColorEditFlags_DefaultOptions_", - "value": "ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_PickerHueBar" - }, - { - "calc_value": 7340032, - "name": "ImGuiColorEditFlags_DisplayMask_", - "value": "ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex" - }, - { - "calc_value": 25165824, - "name": "ImGuiColorEditFlags_DataTypeMask_", - "value": "ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_Float" - }, - { - "calc_value": 100663296, - "name": "ImGuiColorEditFlags_PickerMask_", - "value": "ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_PickerHueBar" - }, - { - "calc_value": 402653184, - "name": "ImGuiColorEditFlags_InputMask_", - "value": "ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV" - } - ], - "ImGuiComboFlagsPrivate_": [ - { - "calc_value": 1048576, - "name": "ImGuiComboFlags_CustomPreview", - "value": "1 << 20" - } - ], - "ImGuiComboFlags_": [ - { - "calc_value": 0, - "name": "ImGuiComboFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiComboFlags_PopupAlignLeft", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiComboFlags_HeightSmall", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiComboFlags_HeightRegular", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiComboFlags_HeightLarge", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiComboFlags_HeightLargest", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiComboFlags_NoArrowButton", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiComboFlags_NoPreview", - "value": "1 << 6" - }, - { - "calc_value": 30, - "name": "ImGuiComboFlags_HeightMask_", - "value": "ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest" - } - ], - "ImGuiCond_": [ - { - "calc_value": 0, - "name": "ImGuiCond_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiCond_Always", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiCond_Once", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiCond_FirstUseEver", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiCond_Appearing", - "value": "1 << 3" - } - ], - "ImGuiConfigFlags_": [ - { - "calc_value": 0, - "name": "ImGuiConfigFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiConfigFlags_NavEnableKeyboard", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiConfigFlags_NavEnableGamepad", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiConfigFlags_NavEnableSetMousePos", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiConfigFlags_NavNoCaptureKeyboard", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiConfigFlags_NoMouse", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiConfigFlags_NoMouseCursorChange", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiConfigFlags_DockingEnable", - "value": "1 << 6" - }, - { - "calc_value": 1024, - "name": "ImGuiConfigFlags_ViewportsEnable", - "value": "1 << 10" - }, - { - "calc_value": 16384, - "name": "ImGuiConfigFlags_DpiEnableScaleViewports", - "value": "1 << 14" - }, - { - "calc_value": 32768, - "name": "ImGuiConfigFlags_DpiEnableScaleFonts", - "value": "1 << 15" - }, - { - "calc_value": 1048576, - "name": "ImGuiConfigFlags_IsSRGB", - "value": "1 << 20" - }, - { - "calc_value": 2097152, - "name": "ImGuiConfigFlags_IsTouchScreen", - "value": "1 << 21" - } - ], - "ImGuiContextHookType": [ - { - "calc_value": 0, - "name": "ImGuiContextHookType_NewFramePre", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiContextHookType_NewFramePost", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiContextHookType_EndFramePre", - "value": "2" - }, - { - "calc_value": 3, - "name": "ImGuiContextHookType_EndFramePost", - "value": "3" - }, - { - "calc_value": 4, - "name": "ImGuiContextHookType_RenderPre", - "value": "4" - }, - { - "calc_value": 5, - "name": "ImGuiContextHookType_RenderPost", - "value": "5" - }, - { - "calc_value": 6, - "name": "ImGuiContextHookType_Shutdown", - "value": "6" - }, - { - "calc_value": 7, - "name": "ImGuiContextHookType_PendingRemoval_", - "value": "7" - } - ], - "ImGuiDataAuthority_": [ - { - "calc_value": 0, - "name": "ImGuiDataAuthority_Auto", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiDataAuthority_DockNode", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiDataAuthority_Window", - "value": "2" - } - ], - "ImGuiDataTypePrivate_": [ - { - "calc_value": 11, - "name": "ImGuiDataType_String", - "value": "ImGuiDataType_COUNT + 1" - }, - { - "calc_value": 12, - "name": "ImGuiDataType_Pointer", - "value": "ImGuiDataType_COUNT + 1+1" - }, - { - "calc_value": 13, - "name": "ImGuiDataType_ID", - "value": "ImGuiDataType_COUNT + 1+1+1" - } - ], - "ImGuiDataType_": [ - { - "calc_value": 0, - "name": "ImGuiDataType_S8", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiDataType_U8", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiDataType_S16", - "value": "2" - }, - { - "calc_value": 3, - "name": "ImGuiDataType_U16", - "value": "3" - }, - { - "calc_value": 4, - "name": "ImGuiDataType_S32", - "value": "4" - }, - { - "calc_value": 5, - "name": "ImGuiDataType_U32", - "value": "5" - }, - { - "calc_value": 6, - "name": "ImGuiDataType_S64", - "value": "6" - }, - { - "calc_value": 7, - "name": "ImGuiDataType_U64", - "value": "7" - }, - { - "calc_value": 8, - "name": "ImGuiDataType_Float", - "value": "8" - }, - { - "calc_value": 9, - "name": "ImGuiDataType_Double", - "value": "9" - }, - { - "calc_value": 10, - "name": "ImGuiDataType_COUNT", - "value": "10" - } - ], - "ImGuiDebugLogFlags_": [ - { - "calc_value": 0, - "name": "ImGuiDebugLogFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiDebugLogFlags_EventActiveId", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiDebugLogFlags_EventFocus", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiDebugLogFlags_EventPopup", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiDebugLogFlags_EventNav", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiDebugLogFlags_EventClipper", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiDebugLogFlags_EventIO", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiDebugLogFlags_EventDocking", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiDebugLogFlags_EventViewport", - "value": "1 << 7" - }, - { - "calc_value": 255, - "name": "ImGuiDebugLogFlags_EventMask_", - "value": "ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport" - }, - { - "calc_value": 1024, - "name": "ImGuiDebugLogFlags_OutputToTTY", - "value": "1 << 10" - } - ], - "ImGuiDir_": [ - { - "calc_value": -1, - "name": "ImGuiDir_None", - "value": "-1" - }, - { - "calc_value": 0, - "name": "ImGuiDir_Left", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiDir_Right", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiDir_Up", - "value": "2" - }, - { - "calc_value": 3, - "name": "ImGuiDir_Down", - "value": "3" - }, - { - "calc_value": 4, - "name": "ImGuiDir_COUNT", - "value": "4" - } - ], - "ImGuiDockNodeFlagsPrivate_": [ - { - "calc_value": 1024, - "name": "ImGuiDockNodeFlags_DockSpace", - "value": "1 << 10" - }, - { - "calc_value": 2048, - "name": "ImGuiDockNodeFlags_CentralNode", - "value": "1 << 11" - }, - { - "calc_value": 4096, - "name": "ImGuiDockNodeFlags_NoTabBar", - "value": "1 << 12" - }, - { - "calc_value": 8192, - "name": "ImGuiDockNodeFlags_HiddenTabBar", - "value": "1 << 13" - }, - { - "calc_value": 16384, - "name": "ImGuiDockNodeFlags_NoWindowMenuButton", - "value": "1 << 14" - }, - { - "calc_value": 32768, - "name": "ImGuiDockNodeFlags_NoCloseButton", - "value": "1 << 15" - }, - { - "calc_value": 65536, - "name": "ImGuiDockNodeFlags_NoDocking", - "value": "1 << 16" - }, - { - "calc_value": 131072, - "name": "ImGuiDockNodeFlags_NoDockingSplitMe", - "value": "1 << 17" - }, - { - "calc_value": 262144, - "name": "ImGuiDockNodeFlags_NoDockingSplitOther", - "value": "1 << 18" - }, - { - "calc_value": 524288, - "name": "ImGuiDockNodeFlags_NoDockingOverMe", - "value": "1 << 19" - }, - { - "calc_value": 1048576, - "name": "ImGuiDockNodeFlags_NoDockingOverOther", - "value": "1 << 20" - }, - { - "calc_value": 2097152, - "name": "ImGuiDockNodeFlags_NoDockingOverEmpty", - "value": "1 << 21" - }, - { - "calc_value": 4194304, - "name": "ImGuiDockNodeFlags_NoResizeX", - "value": "1 << 22" - }, - { - "calc_value": 8388608, - "name": "ImGuiDockNodeFlags_NoResizeY", - "value": "1 << 23" - }, - { - "calc_value": -1, - "name": "ImGuiDockNodeFlags_SharedFlagsInheritMask_", - "value": "~0" - }, - { - "calc_value": 12582944, - "name": "ImGuiDockNodeFlags_NoResizeFlagsMask_", - "value": "ImGuiDockNodeFlags_NoResize | ImGuiDockNodeFlags_NoResizeX | ImGuiDockNodeFlags_NoResizeY" - }, - { - "calc_value": 12713072, - "name": "ImGuiDockNodeFlags_LocalFlagsMask_", - "value": "ImGuiDockNodeFlags_NoSplit | ImGuiDockNodeFlags_NoResizeFlagsMask_ | ImGuiDockNodeFlags_AutoHideTabBar | ImGuiDockNodeFlags_DockSpace | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton | ImGuiDockNodeFlags_NoDocking" - }, - { - "calc_value": 12712048, - "name": "ImGuiDockNodeFlags_LocalFlagsTransferMask_", - "value": "ImGuiDockNodeFlags_LocalFlagsMask_ & ~ImGuiDockNodeFlags_DockSpace" - }, - { - "calc_value": 12712992, - "name": "ImGuiDockNodeFlags_SavedFlagsMask_", - "value": "ImGuiDockNodeFlags_NoResizeFlagsMask_ | ImGuiDockNodeFlags_DockSpace | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton | ImGuiDockNodeFlags_NoDocking" - } - ], - "ImGuiDockNodeFlags_": [ - { - "calc_value": 0, - "name": "ImGuiDockNodeFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiDockNodeFlags_KeepAliveOnly", - "value": "1 << 0" - }, - { - "calc_value": 4, - "name": "ImGuiDockNodeFlags_NoDockingInCentralNode", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiDockNodeFlags_PassthruCentralNode", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiDockNodeFlags_NoSplit", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiDockNodeFlags_NoResize", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiDockNodeFlags_AutoHideTabBar", - "value": "1 << 6" - } - ], - "ImGuiDockNodeState": [ - { - "calc_value": 0, - "name": "ImGuiDockNodeState_Unknown", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiDockNodeState_HostWindowHiddenBecauseSingleWindow", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiDockNodeState_HostWindowHiddenBecauseWindowsAreResizing", - "value": "2" - }, - { - "calc_value": 3, - "name": "ImGuiDockNodeState_HostWindowVisible", - "value": "3" - } - ], - "ImGuiDragDropFlags_": [ - { - "calc_value": 0, - "name": "ImGuiDragDropFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiDragDropFlags_SourceNoPreviewTooltip", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiDragDropFlags_SourceNoDisableHover", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiDragDropFlags_SourceNoHoldToOpenOthers", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiDragDropFlags_SourceAllowNullID", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiDragDropFlags_SourceExtern", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiDragDropFlags_SourceAutoExpirePayload", - "value": "1 << 5" - }, - { - "calc_value": 1024, - "name": "ImGuiDragDropFlags_AcceptBeforeDelivery", - "value": "1 << 10" - }, - { - "calc_value": 2048, - "name": "ImGuiDragDropFlags_AcceptNoDrawDefaultRect", - "value": "1 << 11" - }, - { - "calc_value": 4096, - "name": "ImGuiDragDropFlags_AcceptNoPreviewTooltip", - "value": "1 << 12" - }, - { - "calc_value": 3072, - "name": "ImGuiDragDropFlags_AcceptPeekOnly", - "value": "ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect" - } - ], - "ImGuiFocusedFlags_": [ - { - "calc_value": 0, - "name": "ImGuiFocusedFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiFocusedFlags_ChildWindows", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiFocusedFlags_RootWindow", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiFocusedFlags_AnyWindow", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiFocusedFlags_NoPopupHierarchy", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiFocusedFlags_DockHierarchy", - "value": "1 << 4" - }, - { - "calc_value": 3, - "name": "ImGuiFocusedFlags_RootAndChildWindows", - "value": "ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows" - } - ], - "ImGuiHoveredFlags_": [ - { - "calc_value": 0, - "name": "ImGuiHoveredFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiHoveredFlags_ChildWindows", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiHoveredFlags_RootWindow", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiHoveredFlags_AnyWindow", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiHoveredFlags_NoPopupHierarchy", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiHoveredFlags_DockHierarchy", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiHoveredFlags_AllowWhenBlockedByPopup", - "value": "1 << 5" - }, - { - "calc_value": 128, - "name": "ImGuiHoveredFlags_AllowWhenBlockedByActiveItem", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiHoveredFlags_AllowWhenOverlapped", - "value": "1 << 8" - }, - { - "calc_value": 512, - "name": "ImGuiHoveredFlags_AllowWhenDisabled", - "value": "1 << 9" - }, - { - "calc_value": 1024, - "name": "ImGuiHoveredFlags_NoNavOverride", - "value": "1 << 10" - }, - { - "calc_value": 416, - "name": "ImGuiHoveredFlags_RectOnly", - "value": "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped" - }, - { - "calc_value": 3, - "name": "ImGuiHoveredFlags_RootAndChildWindows", - "value": "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows" - }, - { - "calc_value": 2048, - "name": "ImGuiHoveredFlags_DelayNormal", - "value": "1 << 11" - }, - { - "calc_value": 4096, - "name": "ImGuiHoveredFlags_DelayShort", - "value": "1 << 12" - }, - { - "calc_value": 8192, - "name": "ImGuiHoveredFlags_NoSharedDelay", - "value": "1 << 13" - } - ], - "ImGuiInputEventType": [ - { - "calc_value": 0, - "name": "ImGuiInputEventType_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiInputEventType_MousePos", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiInputEventType_MouseWheel", - "value": "2" - }, - { - "calc_value": 3, - "name": "ImGuiInputEventType_MouseButton", - "value": "3" - }, - { - "calc_value": 4, - "name": "ImGuiInputEventType_MouseViewport", - "value": "4" - }, - { - "calc_value": 5, - "name": "ImGuiInputEventType_Key", - "value": "5" - }, - { - "calc_value": 6, - "name": "ImGuiInputEventType_Text", - "value": "6" - }, - { - "calc_value": 7, - "name": "ImGuiInputEventType_Focus", - "value": "7" - }, - { - "calc_value": 8, - "name": "ImGuiInputEventType_COUNT", - "value": "8" - } - ], - "ImGuiInputFlags_": [ - { - "calc_value": 0, - "name": "ImGuiInputFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiInputFlags_Repeat", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiInputFlags_RepeatRateDefault", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiInputFlags_RepeatRateNavMove", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiInputFlags_RepeatRateNavTweak", - "value": "1 << 3" - }, - { - "calc_value": 14, - "name": "ImGuiInputFlags_RepeatRateMask_", - "value": "ImGuiInputFlags_RepeatRateDefault | ImGuiInputFlags_RepeatRateNavMove | ImGuiInputFlags_RepeatRateNavTweak" - }, - { - "calc_value": 16, - "name": "ImGuiInputFlags_CondHovered", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiInputFlags_CondActive", - "value": "1 << 5" - }, - { - "calc_value": 48, - "name": "ImGuiInputFlags_CondDefault_", - "value": "ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive" - }, - { - "calc_value": 48, - "name": "ImGuiInputFlags_CondMask_", - "value": "ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive" - }, - { - "calc_value": 64, - "name": "ImGuiInputFlags_LockThisFrame", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiInputFlags_LockUntilRelease", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiInputFlags_RouteFocused", - "value": "1 << 8" - }, - { - "calc_value": 512, - "name": "ImGuiInputFlags_RouteGlobalLow", - "value": "1 << 9" - }, - { - "calc_value": 1024, - "name": "ImGuiInputFlags_RouteGlobal", - "value": "1 << 10" - }, - { - "calc_value": 2048, - "name": "ImGuiInputFlags_RouteGlobalHigh", - "value": "1 << 11" - }, - { - "calc_value": 3840, - "name": "ImGuiInputFlags_RouteMask_", - "value": "ImGuiInputFlags_RouteFocused | ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteGlobalLow | ImGuiInputFlags_RouteGlobalHigh" - }, - { - "calc_value": 4096, - "name": "ImGuiInputFlags_RouteAlways", - "value": "1 << 12" - }, - { - "calc_value": 8192, - "name": "ImGuiInputFlags_RouteUnlessBgFocused", - "value": "1 << 13" - }, - { - "calc_value": 12288, - "name": "ImGuiInputFlags_RouteExtraMask_", - "value": "ImGuiInputFlags_RouteAlways | ImGuiInputFlags_RouteUnlessBgFocused" - }, - { - "calc_value": 15, - "name": "ImGuiInputFlags_SupportedByIsKeyPressed", - "value": "ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_" - }, - { - "calc_value": 16143, - "name": "ImGuiInputFlags_SupportedByShortcut", - "value": "ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_ | ImGuiInputFlags_RouteMask_ | ImGuiInputFlags_RouteExtraMask_" - }, - { - "calc_value": 192, - "name": "ImGuiInputFlags_SupportedBySetKeyOwner", - "value": "ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease" - }, - { - "calc_value": 240, - "name": "ImGuiInputFlags_SupportedBySetItemKeyOwner", - "value": "ImGuiInputFlags_SupportedBySetKeyOwner | ImGuiInputFlags_CondMask_" - } - ], - "ImGuiInputSource": [ - { - "calc_value": 0, - "name": "ImGuiInputSource_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiInputSource_Mouse", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiInputSource_Keyboard", - "value": "2" - }, - { - "calc_value": 3, - "name": "ImGuiInputSource_Gamepad", - "value": "3" - }, - { - "calc_value": 4, - "name": "ImGuiInputSource_Clipboard", - "value": "4" - }, - { - "calc_value": 5, - "name": "ImGuiInputSource_Nav", - "value": "5" - }, - { - "calc_value": 6, - "name": "ImGuiInputSource_COUNT", - "value": "6" - } - ], - "ImGuiInputTextFlagsPrivate_": [ - { - "calc_value": 67108864, - "name": "ImGuiInputTextFlags_Multiline", - "value": "1 << 26" - }, - { - "calc_value": 134217728, - "name": "ImGuiInputTextFlags_NoMarkEdited", - "value": "1 << 27" - }, - { - "calc_value": 268435456, - "name": "ImGuiInputTextFlags_MergedItem", - "value": "1 << 28" - } - ], - "ImGuiInputTextFlags_": [ - { - "calc_value": 0, - "name": "ImGuiInputTextFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiInputTextFlags_CharsDecimal", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiInputTextFlags_CharsHexadecimal", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiInputTextFlags_CharsUppercase", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiInputTextFlags_CharsNoBlank", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiInputTextFlags_AutoSelectAll", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiInputTextFlags_EnterReturnsTrue", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiInputTextFlags_CallbackCompletion", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiInputTextFlags_CallbackHistory", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiInputTextFlags_CallbackAlways", - "value": "1 << 8" - }, - { - "calc_value": 512, - "name": "ImGuiInputTextFlags_CallbackCharFilter", - "value": "1 << 9" - }, - { - "calc_value": 1024, - "name": "ImGuiInputTextFlags_AllowTabInput", - "value": "1 << 10" - }, - { - "calc_value": 2048, - "name": "ImGuiInputTextFlags_CtrlEnterForNewLine", - "value": "1 << 11" - }, - { - "calc_value": 4096, - "name": "ImGuiInputTextFlags_NoHorizontalScroll", - "value": "1 << 12" - }, - { - "calc_value": 8192, - "name": "ImGuiInputTextFlags_AlwaysOverwrite", - "value": "1 << 13" - }, - { - "calc_value": 16384, - "name": "ImGuiInputTextFlags_ReadOnly", - "value": "1 << 14" - }, - { - "calc_value": 32768, - "name": "ImGuiInputTextFlags_Password", - "value": "1 << 15" - }, - { - "calc_value": 65536, - "name": "ImGuiInputTextFlags_NoUndoRedo", - "value": "1 << 16" - }, - { - "calc_value": 131072, - "name": "ImGuiInputTextFlags_CharsScientific", - "value": "1 << 17" - }, - { - "calc_value": 262144, - "name": "ImGuiInputTextFlags_CallbackResize", - "value": "1 << 18" - }, - { - "calc_value": 524288, - "name": "ImGuiInputTextFlags_CallbackEdit", - "value": "1 << 19" - }, - { - "calc_value": 1048576, - "name": "ImGuiInputTextFlags_EscapeClearsAll", - "value": "1 << 20" - } - ], - "ImGuiItemFlags_": [ - { - "calc_value": 0, - "name": "ImGuiItemFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiItemFlags_NoTabStop", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiItemFlags_ButtonRepeat", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiItemFlags_Disabled", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiItemFlags_NoNav", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiItemFlags_NoNavDefaultFocus", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiItemFlags_SelectableDontClosePopup", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiItemFlags_MixedValue", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiItemFlags_ReadOnly", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiItemFlags_NoWindowHoverableCheck", - "value": "1 << 8" - }, - { - "calc_value": 1024, - "name": "ImGuiItemFlags_Inputable", - "value": "1 << 10" - } - ], - "ImGuiItemStatusFlags_": [ - { - "calc_value": 0, - "name": "ImGuiItemStatusFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiItemStatusFlags_HoveredRect", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiItemStatusFlags_HasDisplayRect", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiItemStatusFlags_Edited", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiItemStatusFlags_ToggledSelection", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiItemStatusFlags_ToggledOpen", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiItemStatusFlags_HasDeactivated", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiItemStatusFlags_Deactivated", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiItemStatusFlags_HoveredWindow", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiItemStatusFlags_FocusedByTabbing", - "value": "1 << 8" - }, - { - "calc_value": 512, - "name": "ImGuiItemStatusFlags_Visible", - "value": "1 << 9" - } - ], - "ImGuiKey": [ - { - "calc_value": 0, - "name": "ImGuiKey_None", - "value": "0" - }, - { - "calc_value": 512, - "name": "ImGuiKey_Tab", - "value": "512" - }, - { - "calc_value": 513, - "name": "ImGuiKey_LeftArrow", - "value": "513" - }, - { - "calc_value": 514, - "name": "ImGuiKey_RightArrow", - "value": "514" - }, - { - "calc_value": 515, - "name": "ImGuiKey_UpArrow", - "value": "515" - }, - { - "calc_value": 516, - "name": "ImGuiKey_DownArrow", - "value": "516" - }, - { - "calc_value": 517, - "name": "ImGuiKey_PageUp", - "value": "517" - }, - { - "calc_value": 518, - "name": "ImGuiKey_PageDown", - "value": "518" - }, - { - "calc_value": 519, - "name": "ImGuiKey_Home", - "value": "519" - }, - { - "calc_value": 520, - "name": "ImGuiKey_End", - "value": "520" - }, - { - "calc_value": 521, - "name": "ImGuiKey_Insert", - "value": "521" - }, - { - "calc_value": 522, - "name": "ImGuiKey_Delete", - "value": "522" - }, - { - "calc_value": 523, - "name": "ImGuiKey_Backspace", - "value": "523" - }, - { - "calc_value": 524, - "name": "ImGuiKey_Space", - "value": "524" - }, - { - "calc_value": 525, - "name": "ImGuiKey_Enter", - "value": "525" - }, - { - "calc_value": 526, - "name": "ImGuiKey_Escape", - "value": "526" - }, - { - "calc_value": 527, - "name": "ImGuiKey_LeftCtrl", - "value": "527" - }, - { - "calc_value": 528, - "name": "ImGuiKey_LeftShift", - "value": "528" - }, - { - "calc_value": 529, - "name": "ImGuiKey_LeftAlt", - "value": "529" - }, - { - "calc_value": 530, - "name": "ImGuiKey_LeftSuper", - "value": "530" - }, - { - "calc_value": 531, - "name": "ImGuiKey_RightCtrl", - "value": "531" - }, - { - "calc_value": 532, - "name": "ImGuiKey_RightShift", - "value": "532" - }, - { - "calc_value": 533, - "name": "ImGuiKey_RightAlt", - "value": "533" - }, - { - "calc_value": 534, - "name": "ImGuiKey_RightSuper", - "value": "534" - }, - { - "calc_value": 535, - "name": "ImGuiKey_Menu", - "value": "535" - }, - { - "calc_value": 536, - "name": "ImGuiKey_0", - "value": "536" - }, - { - "calc_value": 537, - "name": "ImGuiKey_1", - "value": "537" - }, - { - "calc_value": 538, - "name": "ImGuiKey_2", - "value": "538" - }, - { - "calc_value": 539, - "name": "ImGuiKey_3", - "value": "539" - }, - { - "calc_value": 540, - "name": "ImGuiKey_4", - "value": "540" - }, - { - "calc_value": 541, - "name": "ImGuiKey_5", - "value": "541" - }, - { - "calc_value": 542, - "name": "ImGuiKey_6", - "value": "542" - }, - { - "calc_value": 543, - "name": "ImGuiKey_7", - "value": "543" - }, - { - "calc_value": 544, - "name": "ImGuiKey_8", - "value": "544" - }, - { - "calc_value": 545, - "name": "ImGuiKey_9", - "value": "545" - }, - { - "calc_value": 546, - "name": "ImGuiKey_A", - "value": "546" - }, - { - "calc_value": 547, - "name": "ImGuiKey_B", - "value": "547" - }, - { - "calc_value": 548, - "name": "ImGuiKey_C", - "value": "548" - }, - { - "calc_value": 549, - "name": "ImGuiKey_D", - "value": "549" - }, - { - "calc_value": 550, - "name": "ImGuiKey_E", - "value": "550" - }, - { - "calc_value": 551, - "name": "ImGuiKey_F", - "value": "551" - }, - { - "calc_value": 552, - "name": "ImGuiKey_G", - "value": "552" - }, - { - "calc_value": 553, - "name": "ImGuiKey_H", - "value": "553" - }, - { - "calc_value": 554, - "name": "ImGuiKey_I", - "value": "554" - }, - { - "calc_value": 555, - "name": "ImGuiKey_J", - "value": "555" - }, - { - "calc_value": 556, - "name": "ImGuiKey_K", - "value": "556" - }, - { - "calc_value": 557, - "name": "ImGuiKey_L", - "value": "557" - }, - { - "calc_value": 558, - "name": "ImGuiKey_M", - "value": "558" - }, - { - "calc_value": 559, - "name": "ImGuiKey_N", - "value": "559" - }, - { - "calc_value": 560, - "name": "ImGuiKey_O", - "value": "560" - }, - { - "calc_value": 561, - "name": "ImGuiKey_P", - "value": "561" - }, - { - "calc_value": 562, - "name": "ImGuiKey_Q", - "value": "562" - }, - { - "calc_value": 563, - "name": "ImGuiKey_R", - "value": "563" - }, - { - "calc_value": 564, - "name": "ImGuiKey_S", - "value": "564" - }, - { - "calc_value": 565, - "name": "ImGuiKey_T", - "value": "565" - }, - { - "calc_value": 566, - "name": "ImGuiKey_U", - "value": "566" - }, - { - "calc_value": 567, - "name": "ImGuiKey_V", - "value": "567" - }, - { - "calc_value": 568, - "name": "ImGuiKey_W", - "value": "568" - }, - { - "calc_value": 569, - "name": "ImGuiKey_X", - "value": "569" - }, - { - "calc_value": 570, - "name": "ImGuiKey_Y", - "value": "570" - }, - { - "calc_value": 571, - "name": "ImGuiKey_Z", - "value": "571" - }, - { - "calc_value": 572, - "name": "ImGuiKey_F1", - "value": "572" - }, - { - "calc_value": 573, - "name": "ImGuiKey_F2", - "value": "573" - }, - { - "calc_value": 574, - "name": "ImGuiKey_F3", - "value": "574" - }, - { - "calc_value": 575, - "name": "ImGuiKey_F4", - "value": "575" - }, - { - "calc_value": 576, - "name": "ImGuiKey_F5", - "value": "576" - }, - { - "calc_value": 577, - "name": "ImGuiKey_F6", - "value": "577" - }, - { - "calc_value": 578, - "name": "ImGuiKey_F7", - "value": "578" - }, - { - "calc_value": 579, - "name": "ImGuiKey_F8", - "value": "579" - }, - { - "calc_value": 580, - "name": "ImGuiKey_F9", - "value": "580" - }, - { - "calc_value": 581, - "name": "ImGuiKey_F10", - "value": "581" - }, - { - "calc_value": 582, - "name": "ImGuiKey_F11", - "value": "582" - }, - { - "calc_value": 583, - "name": "ImGuiKey_F12", - "value": "583" - }, - { - "calc_value": 584, - "name": "ImGuiKey_Apostrophe", - "value": "584" - }, - { - "calc_value": 585, - "name": "ImGuiKey_Comma", - "value": "585" - }, - { - "calc_value": 586, - "name": "ImGuiKey_Minus", - "value": "586" - }, - { - "calc_value": 587, - "name": "ImGuiKey_Period", - "value": "587" - }, - { - "calc_value": 588, - "name": "ImGuiKey_Slash", - "value": "588" - }, - { - "calc_value": 589, - "name": "ImGuiKey_Semicolon", - "value": "589" - }, - { - "calc_value": 590, - "name": "ImGuiKey_Equal", - "value": "590" - }, - { - "calc_value": 591, - "name": "ImGuiKey_LeftBracket", - "value": "591" - }, - { - "calc_value": 592, - "name": "ImGuiKey_Backslash", - "value": "592" - }, - { - "calc_value": 593, - "name": "ImGuiKey_RightBracket", - "value": "593" - }, - { - "calc_value": 594, - "name": "ImGuiKey_GraveAccent", - "value": "594" - }, - { - "calc_value": 595, - "name": "ImGuiKey_CapsLock", - "value": "595" - }, - { - "calc_value": 596, - "name": "ImGuiKey_ScrollLock", - "value": "596" - }, - { - "calc_value": 597, - "name": "ImGuiKey_NumLock", - "value": "597" - }, - { - "calc_value": 598, - "name": "ImGuiKey_PrintScreen", - "value": "598" - }, - { - "calc_value": 599, - "name": "ImGuiKey_Pause", - "value": "599" - }, - { - "calc_value": 600, - "name": "ImGuiKey_Keypad0", - "value": "600" - }, - { - "calc_value": 601, - "name": "ImGuiKey_Keypad1", - "value": "601" - }, - { - "calc_value": 602, - "name": "ImGuiKey_Keypad2", - "value": "602" - }, - { - "calc_value": 603, - "name": "ImGuiKey_Keypad3", - "value": "603" - }, - { - "calc_value": 604, - "name": "ImGuiKey_Keypad4", - "value": "604" - }, - { - "calc_value": 605, - "name": "ImGuiKey_Keypad5", - "value": "605" - }, - { - "calc_value": 606, - "name": "ImGuiKey_Keypad6", - "value": "606" - }, - { - "calc_value": 607, - "name": "ImGuiKey_Keypad7", - "value": "607" - }, - { - "calc_value": 608, - "name": "ImGuiKey_Keypad8", - "value": "608" - }, - { - "calc_value": 609, - "name": "ImGuiKey_Keypad9", - "value": "609" - }, - { - "calc_value": 610, - "name": "ImGuiKey_KeypadDecimal", - "value": "610" - }, - { - "calc_value": 611, - "name": "ImGuiKey_KeypadDivide", - "value": "611" - }, - { - "calc_value": 612, - "name": "ImGuiKey_KeypadMultiply", - "value": "612" - }, - { - "calc_value": 613, - "name": "ImGuiKey_KeypadSubtract", - "value": "613" - }, - { - "calc_value": 614, - "name": "ImGuiKey_KeypadAdd", - "value": "614" - }, - { - "calc_value": 615, - "name": "ImGuiKey_KeypadEnter", - "value": "615" - }, - { - "calc_value": 616, - "name": "ImGuiKey_KeypadEqual", - "value": "616" - }, - { - "calc_value": 617, - "name": "ImGuiKey_GamepadStart", - "value": "617" - }, - { - "calc_value": 618, - "name": "ImGuiKey_GamepadBack", - "value": "618" - }, - { - "calc_value": 619, - "name": "ImGuiKey_GamepadFaceLeft", - "value": "619" - }, - { - "calc_value": 620, - "name": "ImGuiKey_GamepadFaceRight", - "value": "620" - }, - { - "calc_value": 621, - "name": "ImGuiKey_GamepadFaceUp", - "value": "621" - }, - { - "calc_value": 622, - "name": "ImGuiKey_GamepadFaceDown", - "value": "622" - }, - { - "calc_value": 623, - "name": "ImGuiKey_GamepadDpadLeft", - "value": "623" - }, - { - "calc_value": 624, - "name": "ImGuiKey_GamepadDpadRight", - "value": "624" - }, - { - "calc_value": 625, - "name": "ImGuiKey_GamepadDpadUp", - "value": "625" - }, - { - "calc_value": 626, - "name": "ImGuiKey_GamepadDpadDown", - "value": "626" - }, - { - "calc_value": 627, - "name": "ImGuiKey_GamepadL1", - "value": "627" - }, - { - "calc_value": 628, - "name": "ImGuiKey_GamepadR1", - "value": "628" - }, - { - "calc_value": 629, - "name": "ImGuiKey_GamepadL2", - "value": "629" - }, - { - "calc_value": 630, - "name": "ImGuiKey_GamepadR2", - "value": "630" - }, - { - "calc_value": 631, - "name": "ImGuiKey_GamepadL3", - "value": "631" - }, - { - "calc_value": 632, - "name": "ImGuiKey_GamepadR3", - "value": "632" - }, - { - "calc_value": 633, - "name": "ImGuiKey_GamepadLStickLeft", - "value": "633" - }, - { - "calc_value": 634, - "name": "ImGuiKey_GamepadLStickRight", - "value": "634" - }, - { - "calc_value": 635, - "name": "ImGuiKey_GamepadLStickUp", - "value": "635" - }, - { - "calc_value": 636, - "name": "ImGuiKey_GamepadLStickDown", - "value": "636" - }, - { - "calc_value": 637, - "name": "ImGuiKey_GamepadRStickLeft", - "value": "637" - }, - { - "calc_value": 638, - "name": "ImGuiKey_GamepadRStickRight", - "value": "638" - }, - { - "calc_value": 639, - "name": "ImGuiKey_GamepadRStickUp", - "value": "639" - }, - { - "calc_value": 640, - "name": "ImGuiKey_GamepadRStickDown", - "value": "640" - }, - { - "calc_value": 641, - "name": "ImGuiKey_MouseLeft", - "value": "641" - }, - { - "calc_value": 642, - "name": "ImGuiKey_MouseRight", - "value": "642" - }, - { - "calc_value": 643, - "name": "ImGuiKey_MouseMiddle", - "value": "643" - }, - { - "calc_value": 644, - "name": "ImGuiKey_MouseX1", - "value": "644" - }, - { - "calc_value": 645, - "name": "ImGuiKey_MouseX2", - "value": "645" - }, - { - "calc_value": 646, - "name": "ImGuiKey_MouseWheelX", - "value": "646" - }, - { - "calc_value": 647, - "name": "ImGuiKey_MouseWheelY", - "value": "647" - }, - { - "calc_value": 648, - "name": "ImGuiKey_ReservedForModCtrl", - "value": "648" - }, - { - "calc_value": 649, - "name": "ImGuiKey_ReservedForModShift", - "value": "649" - }, - { - "calc_value": 650, - "name": "ImGuiKey_ReservedForModAlt", - "value": "650" - }, - { - "calc_value": 651, - "name": "ImGuiKey_ReservedForModSuper", - "value": "651" - }, - { - "calc_value": 652, - "name": "ImGuiKey_COUNT", - "value": "652" - }, - { - "calc_value": 0, - "name": "ImGuiMod_None", - "value": "0" - }, - { - "calc_value": 4096, - "name": "ImGuiMod_Ctrl", - "value": "1 << 12" - }, - { - "calc_value": 8192, - "name": "ImGuiMod_Shift", - "value": "1 << 13" - }, - { - "calc_value": 16384, - "name": "ImGuiMod_Alt", - "value": "1 << 14" - }, - { - "calc_value": 32768, - "name": "ImGuiMod_Super", - "value": "1 << 15" - }, - { - "calc_value": 61440, - "name": "ImGuiMod_Mask_", - "value": "0xF000" - }, - { - "calc_value": 4096, - "name": "ImGuiMod_Shortcut", - "value": "ImGuiMod_Ctrl" - }, - { - "calc_value": 512, - "name": "ImGuiKey_NamedKey_BEGIN", - "value": "512" - }, - { - "calc_value": 652, - "name": "ImGuiKey_NamedKey_END", - "value": "ImGuiKey_COUNT" - }, - { - "calc_value": 140, - "name": "ImGuiKey_NamedKey_COUNT", - "value": "ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN" - }, - { - "calc_value": 652, - "name": "ImGuiKey_KeysData_SIZE", - "value": "ImGuiKey_COUNT" - }, - { - "calc_value": 0, - "name": "ImGuiKey_KeysData_OFFSET", - "value": "0" - } - ], - "ImGuiLayoutType_": [ - { - "calc_value": 0, - "name": "ImGuiLayoutType_Horizontal", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiLayoutType_Vertical", - "value": "1" - } - ], - "ImGuiLocKey": [ - { - "calc_value": 0, - "name": "ImGuiLocKey_TableSizeOne", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiLocKey_TableSizeAllFit", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiLocKey_TableSizeAllDefault", - "value": "2" - }, - { - "calc_value": 3, - "name": "ImGuiLocKey_TableResetOrder", - "value": "3" - }, - { - "calc_value": 4, - "name": "ImGuiLocKey_WindowingMainMenuBar", - "value": "4" - }, - { - "calc_value": 5, - "name": "ImGuiLocKey_WindowingPopup", - "value": "5" - }, - { - "calc_value": 6, - "name": "ImGuiLocKey_WindowingUntitled", - "value": "6" - }, - { - "calc_value": 7, - "name": "ImGuiLocKey_COUNT", - "value": "7" - } - ], - "ImGuiLogType": [ - { - "calc_value": 0, - "name": "ImGuiLogType_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiLogType_TTY", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiLogType_File", - "value": "2" - }, - { - "calc_value": 3, - "name": "ImGuiLogType_Buffer", - "value": "3" - }, - { - "calc_value": 4, - "name": "ImGuiLogType_Clipboard", - "value": "4" - } - ], - "ImGuiMouseButton_": [ - { - "calc_value": 0, - "name": "ImGuiMouseButton_Left", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiMouseButton_Right", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiMouseButton_Middle", - "value": "2" - }, - { - "calc_value": 5, - "name": "ImGuiMouseButton_COUNT", - "value": "5" - } - ], - "ImGuiMouseCursor_": [ - { - "calc_value": -1, - "name": "ImGuiMouseCursor_None", - "value": "-1" - }, - { - "calc_value": 0, - "name": "ImGuiMouseCursor_Arrow", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiMouseCursor_TextInput", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiMouseCursor_ResizeAll", - "value": "2" - }, - { - "calc_value": 3, - "name": "ImGuiMouseCursor_ResizeNS", - "value": "3" - }, - { - "calc_value": 4, - "name": "ImGuiMouseCursor_ResizeEW", - "value": "4" - }, - { - "calc_value": 5, - "name": "ImGuiMouseCursor_ResizeNESW", - "value": "5" - }, - { - "calc_value": 6, - "name": "ImGuiMouseCursor_ResizeNWSE", - "value": "6" - }, - { - "calc_value": 7, - "name": "ImGuiMouseCursor_Hand", - "value": "7" - }, - { - "calc_value": 8, - "name": "ImGuiMouseCursor_NotAllowed", - "value": "8" - }, - { - "calc_value": 9, - "name": "ImGuiMouseCursor_COUNT", - "value": "9" - } - ], - "ImGuiNavHighlightFlags_": [ - { - "calc_value": 0, - "name": "ImGuiNavHighlightFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiNavHighlightFlags_TypeDefault", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiNavHighlightFlags_TypeThin", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiNavHighlightFlags_AlwaysDraw", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiNavHighlightFlags_NoRounding", - "value": "1 << 3" - } - ], - "ImGuiNavInput": [ - { - "calc_value": 0, - "name": "ImGuiNavInput_Activate", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiNavInput_Cancel", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiNavInput_Input", - "value": "2" - }, - { - "calc_value": 3, - "name": "ImGuiNavInput_Menu", - "value": "3" - }, - { - "calc_value": 4, - "name": "ImGuiNavInput_DpadLeft", - "value": "4" - }, - { - "calc_value": 5, - "name": "ImGuiNavInput_DpadRight", - "value": "5" - }, - { - "calc_value": 6, - "name": "ImGuiNavInput_DpadUp", - "value": "6" - }, - { - "calc_value": 7, - "name": "ImGuiNavInput_DpadDown", - "value": "7" - }, - { - "calc_value": 8, - "name": "ImGuiNavInput_LStickLeft", - "value": "8" - }, - { - "calc_value": 9, - "name": "ImGuiNavInput_LStickRight", - "value": "9" - }, - { - "calc_value": 10, - "name": "ImGuiNavInput_LStickUp", - "value": "10" - }, - { - "calc_value": 11, - "name": "ImGuiNavInput_LStickDown", - "value": "11" - }, - { - "calc_value": 12, - "name": "ImGuiNavInput_FocusPrev", - "value": "12" - }, - { - "calc_value": 13, - "name": "ImGuiNavInput_FocusNext", - "value": "13" - }, - { - "calc_value": 14, - "name": "ImGuiNavInput_TweakSlow", - "value": "14" - }, - { - "calc_value": 15, - "name": "ImGuiNavInput_TweakFast", - "value": "15" - }, - { - "calc_value": 16, - "name": "ImGuiNavInput_COUNT", - "value": "16" - } - ], - "ImGuiNavLayer": [ - { - "calc_value": 0, - "name": "ImGuiNavLayer_Main", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiNavLayer_Menu", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiNavLayer_COUNT", - "value": "2" - } - ], - "ImGuiNavMoveFlags_": [ - { - "calc_value": 0, - "name": "ImGuiNavMoveFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiNavMoveFlags_LoopX", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiNavMoveFlags_LoopY", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiNavMoveFlags_WrapX", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiNavMoveFlags_WrapY", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiNavMoveFlags_AllowCurrentNavId", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiNavMoveFlags_AlsoScoreVisibleSet", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiNavMoveFlags_ScrollToEdgeY", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiNavMoveFlags_Forwarded", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiNavMoveFlags_DebugNoResult", - "value": "1 << 8" - }, - { - "calc_value": 512, - "name": "ImGuiNavMoveFlags_FocusApi", - "value": "1 << 9" - }, - { - "calc_value": 1024, - "name": "ImGuiNavMoveFlags_Tabbing", - "value": "1 << 10" - }, - { - "calc_value": 2048, - "name": "ImGuiNavMoveFlags_Activate", - "value": "1 << 11" - }, - { - "calc_value": 4096, - "name": "ImGuiNavMoveFlags_DontSetNavHighlight", - "value": "1 << 12" - } - ], - "ImGuiNextItemDataFlags_": [ - { - "calc_value": 0, - "name": "ImGuiNextItemDataFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiNextItemDataFlags_HasWidth", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiNextItemDataFlags_HasOpen", - "value": "1 << 1" - } - ], - "ImGuiNextWindowDataFlags_": [ - { - "calc_value": 0, - "name": "ImGuiNextWindowDataFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiNextWindowDataFlags_HasPos", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiNextWindowDataFlags_HasSize", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiNextWindowDataFlags_HasContentSize", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiNextWindowDataFlags_HasCollapsed", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiNextWindowDataFlags_HasSizeConstraint", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiNextWindowDataFlags_HasFocus", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiNextWindowDataFlags_HasBgAlpha", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiNextWindowDataFlags_HasScroll", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiNextWindowDataFlags_HasViewport", - "value": "1 << 8" - }, - { - "calc_value": 512, - "name": "ImGuiNextWindowDataFlags_HasDock", - "value": "1 << 9" - }, - { - "calc_value": 1024, - "name": "ImGuiNextWindowDataFlags_HasWindowClass", - "value": "1 << 10" - } - ], - "ImGuiOldColumnFlags_": [ - { - "calc_value": 0, - "name": "ImGuiOldColumnFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiOldColumnFlags_NoBorder", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiOldColumnFlags_NoResize", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiOldColumnFlags_NoPreserveWidths", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiOldColumnFlags_NoForceWithinWindow", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiOldColumnFlags_GrowParentContentsSize", - "value": "1 << 4" - } - ], - "ImGuiPlotType": [ - { - "calc_value": 0, - "name": "ImGuiPlotType_Lines", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiPlotType_Histogram", - "value": "1" - } - ], - "ImGuiPopupFlags_": [ - { - "calc_value": 0, - "name": "ImGuiPopupFlags_None", - "value": "0" - }, - { - "calc_value": 0, - "name": "ImGuiPopupFlags_MouseButtonLeft", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiPopupFlags_MouseButtonRight", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiPopupFlags_MouseButtonMiddle", - "value": "2" - }, - { - "calc_value": 31, - "name": "ImGuiPopupFlags_MouseButtonMask_", - "value": "0x1F" - }, - { - "calc_value": 1, - "name": "ImGuiPopupFlags_MouseButtonDefault_", - "value": "1" - }, - { - "calc_value": 32, - "name": "ImGuiPopupFlags_NoOpenOverExistingPopup", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiPopupFlags_NoOpenOverItems", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiPopupFlags_AnyPopupId", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiPopupFlags_AnyPopupLevel", - "value": "1 << 8" - }, - { - "calc_value": 384, - "name": "ImGuiPopupFlags_AnyPopup", - "value": "ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel" - } - ], - "ImGuiPopupPositionPolicy": [ - { - "calc_value": 0, - "name": "ImGuiPopupPositionPolicy_Default", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiPopupPositionPolicy_ComboBox", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiPopupPositionPolicy_Tooltip", - "value": "2" - } - ], - "ImGuiScrollFlags_": [ - { - "calc_value": 0, - "name": "ImGuiScrollFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiScrollFlags_KeepVisibleEdgeX", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiScrollFlags_KeepVisibleEdgeY", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiScrollFlags_KeepVisibleCenterX", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiScrollFlags_KeepVisibleCenterY", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiScrollFlags_AlwaysCenterX", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiScrollFlags_AlwaysCenterY", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiScrollFlags_NoScrollParent", - "value": "1 << 6" - }, - { - "calc_value": 21, - "name": "ImGuiScrollFlags_MaskX_", - "value": "ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleCenterX | ImGuiScrollFlags_AlwaysCenterX" - }, - { - "calc_value": 42, - "name": "ImGuiScrollFlags_MaskY_", - "value": "ImGuiScrollFlags_KeepVisibleEdgeY | ImGuiScrollFlags_KeepVisibleCenterY | ImGuiScrollFlags_AlwaysCenterY" - } - ], - "ImGuiSelectableFlagsPrivate_": [ - { - "calc_value": 1048576, - "name": "ImGuiSelectableFlags_NoHoldingActiveID", - "value": "1 << 20" - }, - { - "calc_value": 2097152, - "name": "ImGuiSelectableFlags_SelectOnNav", - "value": "1 << 21" - }, - { - "calc_value": 4194304, - "name": "ImGuiSelectableFlags_SelectOnClick", - "value": "1 << 22" - }, - { - "calc_value": 8388608, - "name": "ImGuiSelectableFlags_SelectOnRelease", - "value": "1 << 23" - }, - { - "calc_value": 16777216, - "name": "ImGuiSelectableFlags_SpanAvailWidth", - "value": "1 << 24" - }, - { - "calc_value": 33554432, - "name": "ImGuiSelectableFlags_DrawHoveredWhenHeld", - "value": "1 << 25" - }, - { - "calc_value": 67108864, - "name": "ImGuiSelectableFlags_SetNavIdOnHover", - "value": "1 << 26" - }, - { - "calc_value": 134217728, - "name": "ImGuiSelectableFlags_NoPadWithHalfSpacing", - "value": "1 << 27" - }, - { - "calc_value": 268435456, - "name": "ImGuiSelectableFlags_NoSetKeyOwner", - "value": "1 << 28" - } - ], - "ImGuiSelectableFlags_": [ - { - "calc_value": 0, - "name": "ImGuiSelectableFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiSelectableFlags_DontClosePopups", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiSelectableFlags_SpanAllColumns", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiSelectableFlags_AllowDoubleClick", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiSelectableFlags_Disabled", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiSelectableFlags_AllowItemOverlap", - "value": "1 << 4" - } - ], - "ImGuiSeparatorFlags_": [ - { - "calc_value": 0, - "name": "ImGuiSeparatorFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiSeparatorFlags_Horizontal", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiSeparatorFlags_Vertical", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiSeparatorFlags_SpanAllColumns", - "value": "1 << 2" - } - ], - "ImGuiSliderFlagsPrivate_": [ - { - "calc_value": 1048576, - "name": "ImGuiSliderFlags_Vertical", - "value": "1 << 20" - }, - { - "calc_value": 2097152, - "name": "ImGuiSliderFlags_ReadOnly", - "value": "1 << 21" - } - ], - "ImGuiSliderFlags_": [ - { - "calc_value": 0, - "name": "ImGuiSliderFlags_None", - "value": "0" - }, - { - "calc_value": 16, - "name": "ImGuiSliderFlags_AlwaysClamp", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiSliderFlags_Logarithmic", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiSliderFlags_NoRoundToFormat", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiSliderFlags_NoInput", - "value": "1 << 7" - }, - { - "calc_value": 1879048207, - "name": "ImGuiSliderFlags_InvalidMask_", - "value": "0x7000000F" - } - ], - "ImGuiSortDirection_": [ - { - "calc_value": 0, - "name": "ImGuiSortDirection_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiSortDirection_Ascending", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiSortDirection_Descending", - "value": "2" - } - ], - "ImGuiStyleVar_": [ - { - "calc_value": 0, - "name": "ImGuiStyleVar_Alpha", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiStyleVar_DisabledAlpha", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiStyleVar_WindowPadding", - "value": "2" - }, - { - "calc_value": 3, - "name": "ImGuiStyleVar_WindowRounding", - "value": "3" - }, - { - "calc_value": 4, - "name": "ImGuiStyleVar_WindowBorderSize", - "value": "4" - }, - { - "calc_value": 5, - "name": "ImGuiStyleVar_WindowMinSize", - "value": "5" - }, - { - "calc_value": 6, - "name": "ImGuiStyleVar_WindowTitleAlign", - "value": "6" - }, - { - "calc_value": 7, - "name": "ImGuiStyleVar_ChildRounding", - "value": "7" - }, - { - "calc_value": 8, - "name": "ImGuiStyleVar_ChildBorderSize", - "value": "8" - }, - { - "calc_value": 9, - "name": "ImGuiStyleVar_PopupRounding", - "value": "9" - }, - { - "calc_value": 10, - "name": "ImGuiStyleVar_PopupBorderSize", - "value": "10" - }, - { - "calc_value": 11, - "name": "ImGuiStyleVar_FramePadding", - "value": "11" - }, - { - "calc_value": 12, - "name": "ImGuiStyleVar_FrameRounding", - "value": "12" - }, - { - "calc_value": 13, - "name": "ImGuiStyleVar_FrameBorderSize", - "value": "13" - }, - { - "calc_value": 14, - "name": "ImGuiStyleVar_ItemSpacing", - "value": "14" - }, - { - "calc_value": 15, - "name": "ImGuiStyleVar_ItemInnerSpacing", - "value": "15" - }, - { - "calc_value": 16, - "name": "ImGuiStyleVar_IndentSpacing", - "value": "16" - }, - { - "calc_value": 17, - "name": "ImGuiStyleVar_CellPadding", - "value": "17" - }, - { - "calc_value": 18, - "name": "ImGuiStyleVar_ScrollbarSize", - "value": "18" - }, - { - "calc_value": 19, - "name": "ImGuiStyleVar_ScrollbarRounding", - "value": "19" - }, - { - "calc_value": 20, - "name": "ImGuiStyleVar_GrabMinSize", - "value": "20" - }, - { - "calc_value": 21, - "name": "ImGuiStyleVar_GrabRounding", - "value": "21" - }, - { - "calc_value": 22, - "name": "ImGuiStyleVar_TabRounding", - "value": "22" - }, - { - "calc_value": 23, - "name": "ImGuiStyleVar_ButtonTextAlign", - "value": "23" - }, - { - "calc_value": 24, - "name": "ImGuiStyleVar_SelectableTextAlign", - "value": "24" - }, - { - "calc_value": 25, - "name": "ImGuiStyleVar_COUNT", - "value": "25" - } - ], - "ImGuiTabBarFlagsPrivate_": [ - { - "calc_value": 1048576, - "name": "ImGuiTabBarFlags_DockNode", - "value": "1 << 20" - }, - { - "calc_value": 2097152, - "name": "ImGuiTabBarFlags_IsFocused", - "value": "1 << 21" - }, - { - "calc_value": 4194304, - "name": "ImGuiTabBarFlags_SaveSettings", - "value": "1 << 22" - } - ], - "ImGuiTabBarFlags_": [ - { - "calc_value": 0, - "name": "ImGuiTabBarFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiTabBarFlags_Reorderable", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiTabBarFlags_AutoSelectNewTabs", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiTabBarFlags_TabListPopupButton", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiTabBarFlags_NoCloseWithMiddleMouseButton", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiTabBarFlags_NoTabListScrollingButtons", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiTabBarFlags_NoTooltip", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiTabBarFlags_FittingPolicyResizeDown", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiTabBarFlags_FittingPolicyScroll", - "value": "1 << 7" - }, - { - "calc_value": 192, - "name": "ImGuiTabBarFlags_FittingPolicyMask_", - "value": "ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll" - }, - { - "calc_value": 64, - "name": "ImGuiTabBarFlags_FittingPolicyDefault_", - "value": "ImGuiTabBarFlags_FittingPolicyResizeDown" - } - ], - "ImGuiTabItemFlagsPrivate_": [ - { - "calc_value": 192, - "name": "ImGuiTabItemFlags_SectionMask_", - "value": "ImGuiTabItemFlags_Leading | ImGuiTabItemFlags_Trailing" - }, - { - "calc_value": 1048576, - "name": "ImGuiTabItemFlags_NoCloseButton", - "value": "1 << 20" - }, - { - "calc_value": 2097152, - "name": "ImGuiTabItemFlags_Button", - "value": "1 << 21" - }, - { - "calc_value": 4194304, - "name": "ImGuiTabItemFlags_Unsorted", - "value": "1 << 22" - }, - { - "calc_value": 8388608, - "name": "ImGuiTabItemFlags_Preview", - "value": "1 << 23" - } - ], - "ImGuiTabItemFlags_": [ - { - "calc_value": 0, - "name": "ImGuiTabItemFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiTabItemFlags_UnsavedDocument", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiTabItemFlags_SetSelected", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiTabItemFlags_NoCloseWithMiddleMouseButton", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiTabItemFlags_NoPushId", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiTabItemFlags_NoTooltip", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiTabItemFlags_NoReorder", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiTabItemFlags_Leading", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiTabItemFlags_Trailing", - "value": "1 << 7" - } - ], - "ImGuiTableBgTarget_": [ - { - "calc_value": 0, - "name": "ImGuiTableBgTarget_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiTableBgTarget_RowBg0", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiTableBgTarget_RowBg1", - "value": "2" - }, - { - "calc_value": 3, - "name": "ImGuiTableBgTarget_CellBg", - "value": "3" - } - ], - "ImGuiTableColumnFlags_": [ - { - "calc_value": 0, - "name": "ImGuiTableColumnFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiTableColumnFlags_Disabled", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiTableColumnFlags_DefaultHide", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiTableColumnFlags_DefaultSort", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiTableColumnFlags_WidthStretch", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiTableColumnFlags_WidthFixed", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiTableColumnFlags_NoResize", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiTableColumnFlags_NoReorder", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiTableColumnFlags_NoHide", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiTableColumnFlags_NoClip", - "value": "1 << 8" - }, - { - "calc_value": 512, - "name": "ImGuiTableColumnFlags_NoSort", - "value": "1 << 9" - }, - { - "calc_value": 1024, - "name": "ImGuiTableColumnFlags_NoSortAscending", - "value": "1 << 10" - }, - { - "calc_value": 2048, - "name": "ImGuiTableColumnFlags_NoSortDescending", - "value": "1 << 11" - }, - { - "calc_value": 4096, - "name": "ImGuiTableColumnFlags_NoHeaderLabel", - "value": "1 << 12" - }, - { - "calc_value": 8192, - "name": "ImGuiTableColumnFlags_NoHeaderWidth", - "value": "1 << 13" - }, - { - "calc_value": 16384, - "name": "ImGuiTableColumnFlags_PreferSortAscending", - "value": "1 << 14" - }, - { - "calc_value": 32768, - "name": "ImGuiTableColumnFlags_PreferSortDescending", - "value": "1 << 15" - }, - { - "calc_value": 65536, - "name": "ImGuiTableColumnFlags_IndentEnable", - "value": "1 << 16" - }, - { - "calc_value": 131072, - "name": "ImGuiTableColumnFlags_IndentDisable", - "value": "1 << 17" - }, - { - "calc_value": 16777216, - "name": "ImGuiTableColumnFlags_IsEnabled", - "value": "1 << 24" - }, - { - "calc_value": 33554432, - "name": "ImGuiTableColumnFlags_IsVisible", - "value": "1 << 25" - }, - { - "calc_value": 67108864, - "name": "ImGuiTableColumnFlags_IsSorted", - "value": "1 << 26" - }, - { - "calc_value": 134217728, - "name": "ImGuiTableColumnFlags_IsHovered", - "value": "1 << 27" - }, - { - "calc_value": 24, - "name": "ImGuiTableColumnFlags_WidthMask_", - "value": "ImGuiTableColumnFlags_WidthStretch | ImGuiTableColumnFlags_WidthFixed" - }, - { - "calc_value": 196608, - "name": "ImGuiTableColumnFlags_IndentMask_", - "value": "ImGuiTableColumnFlags_IndentEnable | ImGuiTableColumnFlags_IndentDisable" - }, - { - "calc_value": 251658240, - "name": "ImGuiTableColumnFlags_StatusMask_", - "value": "ImGuiTableColumnFlags_IsEnabled | ImGuiTableColumnFlags_IsVisible | ImGuiTableColumnFlags_IsSorted | ImGuiTableColumnFlags_IsHovered" - }, - { - "calc_value": 1073741824, - "name": "ImGuiTableColumnFlags_NoDirectResize_", - "value": "1 << 30" - } - ], - "ImGuiTableFlags_": [ - { - "calc_value": 0, - "name": "ImGuiTableFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiTableFlags_Resizable", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiTableFlags_Reorderable", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiTableFlags_Hideable", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiTableFlags_Sortable", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiTableFlags_NoSavedSettings", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiTableFlags_ContextMenuInBody", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiTableFlags_RowBg", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiTableFlags_BordersInnerH", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiTableFlags_BordersOuterH", - "value": "1 << 8" - }, - { - "calc_value": 512, - "name": "ImGuiTableFlags_BordersInnerV", - "value": "1 << 9" - }, - { - "calc_value": 1024, - "name": "ImGuiTableFlags_BordersOuterV", - "value": "1 << 10" - }, - { - "calc_value": 384, - "name": "ImGuiTableFlags_BordersH", - "value": "ImGuiTableFlags_BordersInnerH | ImGuiTableFlags_BordersOuterH" - }, - { - "calc_value": 1536, - "name": "ImGuiTableFlags_BordersV", - "value": "ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersOuterV" - }, - { - "calc_value": 640, - "name": "ImGuiTableFlags_BordersInner", - "value": "ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersInnerH" - }, - { - "calc_value": 1280, - "name": "ImGuiTableFlags_BordersOuter", - "value": "ImGuiTableFlags_BordersOuterV | ImGuiTableFlags_BordersOuterH" - }, - { - "calc_value": 1920, - "name": "ImGuiTableFlags_Borders", - "value": "ImGuiTableFlags_BordersInner | ImGuiTableFlags_BordersOuter" - }, - { - "calc_value": 2048, - "name": "ImGuiTableFlags_NoBordersInBody", - "value": "1 << 11" - }, - { - "calc_value": 4096, - "name": "ImGuiTableFlags_NoBordersInBodyUntilResize", - "value": "1 << 12" - }, - { - "calc_value": 8192, - "name": "ImGuiTableFlags_SizingFixedFit", - "value": "1 << 13" - }, - { - "calc_value": 16384, - "name": "ImGuiTableFlags_SizingFixedSame", - "value": "2 << 13" - }, - { - "calc_value": 24576, - "name": "ImGuiTableFlags_SizingStretchProp", - "value": "3 << 13" - }, - { - "calc_value": 32768, - "name": "ImGuiTableFlags_SizingStretchSame", - "value": "4 << 13" - }, - { - "calc_value": 65536, - "name": "ImGuiTableFlags_NoHostExtendX", - "value": "1 << 16" - }, - { - "calc_value": 131072, - "name": "ImGuiTableFlags_NoHostExtendY", - "value": "1 << 17" - }, - { - "calc_value": 262144, - "name": "ImGuiTableFlags_NoKeepColumnsVisible", - "value": "1 << 18" - }, - { - "calc_value": 524288, - "name": "ImGuiTableFlags_PreciseWidths", - "value": "1 << 19" - }, - { - "calc_value": 1048576, - "name": "ImGuiTableFlags_NoClip", - "value": "1 << 20" - }, - { - "calc_value": 2097152, - "name": "ImGuiTableFlags_PadOuterX", - "value": "1 << 21" - }, - { - "calc_value": 4194304, - "name": "ImGuiTableFlags_NoPadOuterX", - "value": "1 << 22" - }, - { - "calc_value": 8388608, - "name": "ImGuiTableFlags_NoPadInnerX", - "value": "1 << 23" - }, - { - "calc_value": 16777216, - "name": "ImGuiTableFlags_ScrollX", - "value": "1 << 24" - }, - { - "calc_value": 33554432, - "name": "ImGuiTableFlags_ScrollY", - "value": "1 << 25" - }, - { - "calc_value": 67108864, - "name": "ImGuiTableFlags_SortMulti", - "value": "1 << 26" - }, - { - "calc_value": 134217728, - "name": "ImGuiTableFlags_SortTristate", - "value": "1 << 27" - }, - { - "calc_value": 57344, - "name": "ImGuiTableFlags_SizingMask_", - "value": "ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_SizingFixedSame | ImGuiTableFlags_SizingStretchProp | ImGuiTableFlags_SizingStretchSame" - } - ], - "ImGuiTableRowFlags_": [ - { - "calc_value": 0, - "name": "ImGuiTableRowFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiTableRowFlags_Headers", - "value": "1 << 0" - } - ], - "ImGuiTextFlags_": [ - { - "calc_value": 0, - "name": "ImGuiTextFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiTextFlags_NoWidthForLargeClippedText", - "value": "1 << 0" - } - ], - "ImGuiTooltipFlags_": [ - { - "calc_value": 0, - "name": "ImGuiTooltipFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiTooltipFlags_OverridePreviousTooltip", - "value": "1 << 0" - } - ], - "ImGuiTreeNodeFlagsPrivate_": [ - { - "calc_value": 1048576, - "name": "ImGuiTreeNodeFlags_ClipLabelForTrailingButton", - "value": "1 << 20" - } - ], - "ImGuiTreeNodeFlags_": [ - { - "calc_value": 0, - "name": "ImGuiTreeNodeFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiTreeNodeFlags_Selected", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiTreeNodeFlags_Framed", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiTreeNodeFlags_AllowItemOverlap", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiTreeNodeFlags_NoTreePushOnOpen", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiTreeNodeFlags_NoAutoOpenOnLog", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiTreeNodeFlags_DefaultOpen", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiTreeNodeFlags_OpenOnDoubleClick", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiTreeNodeFlags_OpenOnArrow", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiTreeNodeFlags_Leaf", - "value": "1 << 8" - }, - { - "calc_value": 512, - "name": "ImGuiTreeNodeFlags_Bullet", - "value": "1 << 9" - }, - { - "calc_value": 1024, - "name": "ImGuiTreeNodeFlags_FramePadding", - "value": "1 << 10" - }, - { - "calc_value": 2048, - "name": "ImGuiTreeNodeFlags_SpanAvailWidth", - "value": "1 << 11" - }, - { - "calc_value": 4096, - "name": "ImGuiTreeNodeFlags_SpanFullWidth", - "value": "1 << 12" - }, - { - "calc_value": 8192, - "name": "ImGuiTreeNodeFlags_NavLeftJumpsBackHere", - "value": "1 << 13" - }, - { - "calc_value": 26, - "name": "ImGuiTreeNodeFlags_CollapsingHeader", - "value": "ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog" - } - ], - "ImGuiViewportFlags_": [ - { - "calc_value": 0, - "name": "ImGuiViewportFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiViewportFlags_IsPlatformWindow", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiViewportFlags_IsPlatformMonitor", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiViewportFlags_OwnedByApp", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiViewportFlags_NoDecoration", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiViewportFlags_NoTaskBarIcon", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiViewportFlags_NoFocusOnAppearing", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiViewportFlags_NoFocusOnClick", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiViewportFlags_NoInputs", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiViewportFlags_NoRendererClear", - "value": "1 << 8" - }, - { - "calc_value": 512, - "name": "ImGuiViewportFlags_TopMost", - "value": "1 << 9" - }, - { - "calc_value": 1024, - "name": "ImGuiViewportFlags_Minimized", - "value": "1 << 10" - }, - { - "calc_value": 2048, - "name": "ImGuiViewportFlags_NoAutoMerge", - "value": "1 << 11" - }, - { - "calc_value": 4096, - "name": "ImGuiViewportFlags_CanHostOtherWindows", - "value": "1 << 12" - } - ], - "ImGuiWindowDockStyleCol": [ - { - "calc_value": 0, - "name": "ImGuiWindowDockStyleCol_Text", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiWindowDockStyleCol_Tab", - "value": "1" - }, - { - "calc_value": 2, - "name": "ImGuiWindowDockStyleCol_TabHovered", - "value": "2" - }, - { - "calc_value": 3, - "name": "ImGuiWindowDockStyleCol_TabActive", - "value": "3" - }, - { - "calc_value": 4, - "name": "ImGuiWindowDockStyleCol_TabUnfocused", - "value": "4" - }, - { - "calc_value": 5, - "name": "ImGuiWindowDockStyleCol_TabUnfocusedActive", - "value": "5" - }, - { - "calc_value": 6, - "name": "ImGuiWindowDockStyleCol_COUNT", - "value": "6" - } - ], - "ImGuiWindowFlags_": [ - { - "calc_value": 0, - "name": "ImGuiWindowFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiWindowFlags_NoTitleBar", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiWindowFlags_NoResize", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiWindowFlags_NoMove", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiWindowFlags_NoScrollbar", - "value": "1 << 3" - }, - { - "calc_value": 16, - "name": "ImGuiWindowFlags_NoScrollWithMouse", - "value": "1 << 4" - }, - { - "calc_value": 32, - "name": "ImGuiWindowFlags_NoCollapse", - "value": "1 << 5" - }, - { - "calc_value": 64, - "name": "ImGuiWindowFlags_AlwaysAutoResize", - "value": "1 << 6" - }, - { - "calc_value": 128, - "name": "ImGuiWindowFlags_NoBackground", - "value": "1 << 7" - }, - { - "calc_value": 256, - "name": "ImGuiWindowFlags_NoSavedSettings", - "value": "1 << 8" - }, - { - "calc_value": 512, - "name": "ImGuiWindowFlags_NoMouseInputs", - "value": "1 << 9" - }, - { - "calc_value": 1024, - "name": "ImGuiWindowFlags_MenuBar", - "value": "1 << 10" - }, - { - "calc_value": 2048, - "name": "ImGuiWindowFlags_HorizontalScrollbar", - "value": "1 << 11" - }, - { - "calc_value": 4096, - "name": "ImGuiWindowFlags_NoFocusOnAppearing", - "value": "1 << 12" - }, - { - "calc_value": 8192, - "name": "ImGuiWindowFlags_NoBringToFrontOnFocus", - "value": "1 << 13" - }, - { - "calc_value": 16384, - "name": "ImGuiWindowFlags_AlwaysVerticalScrollbar", - "value": "1 << 14" - }, - { - "calc_value": 32768, - "name": "ImGuiWindowFlags_AlwaysHorizontalScrollbar", - "value": "1<< 15" - }, - { - "calc_value": 65536, - "name": "ImGuiWindowFlags_AlwaysUseWindowPadding", - "value": "1 << 16" - }, - { - "calc_value": 262144, - "name": "ImGuiWindowFlags_NoNavInputs", - "value": "1 << 18" - }, - { - "calc_value": 524288, - "name": "ImGuiWindowFlags_NoNavFocus", - "value": "1 << 19" - }, - { - "calc_value": 1048576, - "name": "ImGuiWindowFlags_UnsavedDocument", - "value": "1 << 20" - }, - { - "calc_value": 2097152, - "name": "ImGuiWindowFlags_NoDocking", - "value": "1 << 21" - }, - { - "calc_value": 786432, - "name": "ImGuiWindowFlags_NoNav", - "value": "ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus" - }, - { - "calc_value": 43, - "name": "ImGuiWindowFlags_NoDecoration", - "value": "ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse" - }, - { - "calc_value": 786944, - "name": "ImGuiWindowFlags_NoInputs", - "value": "ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus" - }, - { - "calc_value": 8388608, - "name": "ImGuiWindowFlags_NavFlattened", - "value": "1 << 23" - }, - { - "calc_value": 16777216, - "name": "ImGuiWindowFlags_ChildWindow", - "value": "1 << 24" - }, - { - "calc_value": 33554432, - "name": "ImGuiWindowFlags_Tooltip", - "value": "1 << 25" - }, - { - "calc_value": 67108864, - "name": "ImGuiWindowFlags_Popup", - "value": "1 << 26" - }, - { - "calc_value": 134217728, - "name": "ImGuiWindowFlags_Modal", - "value": "1 << 27" - }, - { - "calc_value": 268435456, - "name": "ImGuiWindowFlags_ChildMenu", - "value": "1 << 28" - }, - { - "calc_value": 536870912, - "name": "ImGuiWindowFlags_DockNodeHost", - "value": "1 << 29" - } - ] - }, - "enumtypes": { - "ImGuiKey": "int", - "ImGuiLocKey": "int" - }, - "locations": { - "ImBitVector": "imgui_internal:593", - "ImColor": "imgui:2458", - "ImDrawChannel": "imgui:2548", - "ImDrawCmd": "imgui:2507", - "ImDrawCmdHeader": "imgui:2540", - "ImDrawData": "imgui:2740", - "ImDrawDataBuilder": "imgui_internal:782", - "ImDrawFlags_": "imgui:2574", - "ImDrawList": "imgui:2612", - "ImDrawListFlags_": "imgui:2594", - "ImDrawListSharedData": "imgui_internal:759", - "ImDrawListSplitter": "imgui:2557", - "ImDrawVert": "imgui:2525", - "ImFont": "imgui:2959", - "ImFontAtlas": "imgui:2857", - "ImFontAtlasCustomRect": "imgui:2819", - "ImFontAtlasFlags_": "imgui:2832", - "ImFontBuilderIO": "imgui_internal:3475", - "ImFontConfig": "imgui:2763", - "ImFontGlyph": "imgui:2792", - "ImFontGlyphRangesBuilder": "imgui:2804", - "ImGuiActivateFlags_": "imgui_internal:1428", - "ImGuiAxis": "imgui_internal:949", - "ImGuiBackendFlags_": "imgui:1579", - "ImGuiButtonFlagsPrivate_": "imgui_internal:853", - "ImGuiButtonFlags_": "imgui:1693", - "ImGuiCol_": "imgui:1594", - "ImGuiColorEditFlags_": "imgui:1706", - "ImGuiColorMod": "imgui_internal:992", - "ImGuiComboFlagsPrivate_": "imgui_internal:878", - "ImGuiComboFlags_": "imgui:1124", - "ImGuiComboPreviewData": "imgui_internal:1009", - "ImGuiCond_": "imgui:1797", - "ImGuiConfigFlags_": "imgui:1554", - "ImGuiContext": "imgui_internal:1904", - "ImGuiContextHook": "imgui_internal:1889", - "ImGuiContextHookType": "imgui_internal:1887", - "ImGuiDataAuthority_": "imgui_internal:1599", - "ImGuiDataTypeInfo": "imgui_internal:975", - "ImGuiDataTypePrivate_": "imgui_internal:984", - "ImGuiDataTypeTempStorage": "imgui_internal:969", - "ImGuiDataType_": "imgui:1376", - "ImGuiDebugLogFlags_": "imgui_internal:1819", - "ImGuiDir_": "imgui:1392", - "ImGuiDockContext": "imgui_internal:1697", - "ImGuiDockNode": "imgui_internal:1615", - "ImGuiDockNodeFlagsPrivate_": "imgui_internal:1574", - "ImGuiDockNodeFlags_": "imgui:1341", - "ImGuiDockNodeState": "imgui_internal:1606", - "ImGuiDragDropFlags_": "imgui:1354", - "ImGuiFocusedFlags_": "imgui:1301", - "ImGuiGroupData": "imgui_internal:1022", - "ImGuiHoveredFlags_": "imgui:1315", - "ImGuiIO": "imgui:1974", - "ImGuiInputEvent": "imgui_internal:1286", - "ImGuiInputEventAppFocused": "imgui_internal:1284", - "ImGuiInputEventKey": "imgui_internal:1282", - "ImGuiInputEventMouseButton": "imgui_internal:1280", - "ImGuiInputEventMousePos": "imgui_internal:1278", - "ImGuiInputEventMouseViewport": "imgui_internal:1281", - "ImGuiInputEventMouseWheel": "imgui_internal:1279", - "ImGuiInputEventText": "imgui_internal:1283", - "ImGuiInputEventType": "imgui_internal:1252", - "ImGuiInputFlags_": "imgui_internal:1349", - "ImGuiInputSource": "imgui_internal:1265", - "ImGuiInputTextCallbackData": "imgui:2162", - "ImGuiInputTextFlagsPrivate_": "imgui_internal:844", - "ImGuiInputTextFlags_": "imgui:1036", - "ImGuiInputTextState": "imgui_internal:1057", - "ImGuiItemFlags_": "imgui_internal:801", - "ImGuiItemStatusFlags_": "imgui_internal:821", - "ImGuiKey": "imgui:1413", - "ImGuiKeyData": "imgui:1966", - "ImGuiKeyOwnerData": "imgui_internal:1337", - "ImGuiKeyRoutingData": "imgui_internal:1312", - "ImGuiKeyRoutingTable": "imgui_internal:1325", - "ImGuiLastItemData": "imgui_internal:1171", - "ImGuiLayoutType_": "imgui_internal:933", - "ImGuiListClipper": "imgui:2407", - "ImGuiListClipperData": "imgui_internal:1412", - "ImGuiListClipperRange": "imgui_internal:1399", - "ImGuiLocEntry": "imgui_internal:1808", - "ImGuiLocKey": "imgui_internal:1796", - "ImGuiLogType": "imgui_internal:939", - "ImGuiMenuColumns": "imgui_internal:1038", - "ImGuiMetricsConfig": "imgui_internal:1835", - "ImGuiMouseButton_": "imgui:1769", - "ImGuiMouseCursor_": "imgui:1779", - "ImGuiNavHighlightFlags_": "imgui_internal:1451", - "ImGuiNavInput": "imgui:1545", - "ImGuiNavItemData": "imgui_internal:1485", - "ImGuiNavLayer": "imgui_internal:1478", - "ImGuiNavMoveFlags_": "imgui_internal:1460", - "ImGuiNextItemData": "imgui_internal:1158", - "ImGuiNextItemDataFlags_": "imgui_internal:1151", - "ImGuiNextWindowData": "imgui_internal:1124", - "ImGuiNextWindowDataFlags_": "imgui_internal:1107", - "ImGuiOldColumnData": "imgui_internal:1525", - "ImGuiOldColumnFlags_": "imgui_internal:1505", - "ImGuiOldColumns": "imgui_internal:1535", - "ImGuiOnceUponAFrame": "imgui:2282", - "ImGuiPayload": "imgui:2223", - "ImGuiPlatformIO": "imgui:3124", - "ImGuiPlatformImeData": "imgui:3196", - "ImGuiPlatformMonitor": "imgui:3187", - "ImGuiPlotType": "imgui_internal:956", - "ImGuiPopupData": "imgui_internal:1093", - "ImGuiPopupFlags_": "imgui:1097", - "ImGuiPopupPositionPolicy": "imgui_internal:962", - "ImGuiPtrOrIndex": "imgui_internal:1215", - "ImGuiScrollFlags_": "imgui_internal:1437", - "ImGuiSelectableFlagsPrivate_": "imgui_internal:891", - "ImGuiSelectableFlags_": "imgui:1113", - "ImGuiSeparatorFlags_": "imgui_internal:911", - "ImGuiSettingsHandler": "imgui_internal:1776", - "ImGuiShrinkWidthItem": "imgui_internal:1208", - "ImGuiSizeCallbackData": "imgui:2193", - "ImGuiSliderFlagsPrivate_": "imgui_internal:884", - "ImGuiSliderFlags_": "imgui:1752", - "ImGuiSortDirection_": "imgui:1403", - "ImGuiStackLevelInfo": "imgui_internal:1858", - "ImGuiStackSizes": "imgui_internal:1183", - "ImGuiStackTool": "imgui_internal:1870", - "ImGuiStorage": "imgui:2344", - "ImGuiStoragePair": "imgui:2347", - "ImGuiStyle": "imgui:1909", - "ImGuiStyleMod": "imgui_internal:999", - "ImGuiStyleVar_": "imgui:1661", - "ImGuiTabBar": "imgui_internal:2611", - "ImGuiTabBarFlagsPrivate_": "imgui_internal:2573", - "ImGuiTabBarFlags_": "imgui:1138", - "ImGuiTabItem": "imgui_internal:2591", - "ImGuiTabItemFlagsPrivate_": "imgui_internal:2581", - "ImGuiTabItemFlags_": "imgui:1154", - "ImGuiTable": "imgui_internal:2747", - "ImGuiTableBgTarget_": "imgui:1292", - "ImGuiTableCellData": "imgui_internal:2731", - "ImGuiTableColumn": "imgui_internal:2672", - "ImGuiTableColumnFlags_": "imgui:1240", - "ImGuiTableColumnSettings": "imgui_internal:2882", - "ImGuiTableColumnSortSpecs": "imgui:2245", - "ImGuiTableFlags_": "imgui:1189", - "ImGuiTableInstanceData": "imgui_internal:2738", - "ImGuiTableRowFlags_": "imgui:1277", - "ImGuiTableSettings": "imgui_internal:2906", - "ImGuiTableSortSpecs": "imgui:2259", - "ImGuiTableTempData": "imgui_internal:2861", - "ImGuiTextBuffer": "imgui:2317", - "ImGuiTextFilter": "imgui:2290", - "ImGuiTextFlags_": "imgui_internal:919", - "ImGuiTextIndex": "imgui_internal:716", - "ImGuiTextRange": "imgui:2300", - "ImGuiTooltipFlags_": "imgui_internal:925", - "ImGuiTreeNodeFlagsPrivate_": "imgui_internal:906", - "ImGuiTreeNodeFlags_": "imgui:1068", - "ImGuiViewport": "imgui:3040", - "ImGuiViewportFlags_": "imgui:3015", - "ImGuiViewportP": "imgui_internal:1714", - "ImGuiWindow": "imgui_internal:2429", - "ImGuiWindowClass": "imgui:2208", - "ImGuiWindowDockStyle": "imgui_internal:1692", - "ImGuiWindowDockStyleCol": "imgui_internal:1681", - "ImGuiWindowFlags_": "imgui:995", - "ImGuiWindowSettings": "imgui_internal:1759", - "ImGuiWindowStackData": "imgui_internal:1201", - "ImGuiWindowTempData": "imgui_internal:2381", - "ImRect": "imgui_internal:521", - "ImVec1": "imgui_internal:503", - "ImVec2": "imgui:259", - "ImVec2ih": "imgui_internal:511", - "ImVec4": "imgui:272", - "STB_TexteditState": "imstb_textedit:319", - "StbTexteditRow": "imstb_textedit:366", - "StbUndoRecord": "imstb_textedit:301", - "StbUndoState": "imstb_textedit:310" - }, - "structs": { - "ImBitVector": [ - { - "name": "Storage", - "template_type": "ImU32", - "type": "ImVector_ImU32" - } - ], - "ImColor": [ - { - "name": "Value", - "type": "ImVec4" - } - ], - "ImDrawChannel": [ - { - "name": "_CmdBuffer", - "template_type": "ImDrawCmd", - "type": "ImVector_ImDrawCmd" - }, - { - "name": "_IdxBuffer", - "template_type": "ImDrawIdx", - "type": "ImVector_ImDrawIdx" - } - ], - "ImDrawCmd": [ - { - "name": "ClipRect", - "type": "ImVec4" - }, - { - "name": "TextureId", - "type": "ImTextureID" - }, - { - "name": "VtxOffset", - "type": "unsigned int" - }, - { - "name": "IdxOffset", - "type": "unsigned int" - }, - { - "name": "ElemCount", - "type": "unsigned int" - }, - { - "name": "UserCallback", - "type": "ImDrawCallback" - }, - { - "name": "UserCallbackData", - "type": "void*" - } - ], - "ImDrawCmdHeader": [ - { - "name": "ClipRect", - "type": "ImVec4" - }, - { - "name": "TextureId", - "type": "ImTextureID" - }, - { - "name": "VtxOffset", - "type": "unsigned int" - } - ], - "ImDrawData": [ - { - "name": "Valid", - "type": "bool" - }, - { - "name": "CmdListsCount", - "type": "int" - }, - { - "name": "TotalIdxCount", - "type": "int" - }, - { - "name": "TotalVtxCount", - "type": "int" - }, - { - "name": "CmdLists", - "type": "ImDrawList**" - }, - { - "name": "DisplayPos", - "type": "ImVec2" - }, - { - "name": "DisplaySize", - "type": "ImVec2" - }, - { - "name": "FramebufferScale", - "type": "ImVec2" - }, - { - "name": "OwnerViewport", - "type": "ImGuiViewport*" - } - ], - "ImDrawDataBuilder": [ - { - "name": "Layers[2]", - "size": 2, - "template_type": "ImDrawList*", - "type": "ImVector_ImDrawListPtr" - } - ], - "ImDrawList": [ - { - "name": "CmdBuffer", - "template_type": "ImDrawCmd", - "type": "ImVector_ImDrawCmd" - }, - { - "name": "IdxBuffer", - "template_type": "ImDrawIdx", - "type": "ImVector_ImDrawIdx" - }, - { - "name": "VtxBuffer", - "template_type": "ImDrawVert", - "type": "ImVector_ImDrawVert" - }, - { - "name": "Flags", - "type": "ImDrawListFlags" - }, - { - "name": "_VtxCurrentIdx", - "type": "unsigned int" - }, - { - "name": "_Data", - "type": "ImDrawListSharedData*" - }, - { - "name": "_OwnerName", - "type": "const char*" - }, - { - "name": "_VtxWritePtr", - "type": "ImDrawVert*" - }, - { - "name": "_IdxWritePtr", - "type": "ImDrawIdx*" - }, - { - "name": "_ClipRectStack", - "template_type": "ImVec4", - "type": "ImVector_ImVec4" - }, - { - "name": "_TextureIdStack", - "template_type": "ImTextureID", - "type": "ImVector_ImTextureID" - }, - { - "name": "_Path", - "template_type": "ImVec2", - "type": "ImVector_ImVec2" - }, - { - "name": "_CmdHeader", - "type": "ImDrawCmdHeader" - }, - { - "name": "_Splitter", - "type": "ImDrawListSplitter" - }, - { - "name": "_FringeScale", - "type": "float" - } - ], - "ImDrawListSharedData": [ - { - "name": "TexUvWhitePixel", - "type": "ImVec2" - }, - { - "name": "Font", - "type": "ImFont*" - }, - { - "name": "FontSize", - "type": "float" - }, - { - "name": "CurveTessellationTol", - "type": "float" - }, - { - "name": "CircleSegmentMaxError", - "type": "float" - }, - { - "name": "ClipRectFullscreen", - "type": "ImVec4" - }, - { - "name": "InitialFlags", - "type": "ImDrawListFlags" - }, - { - "name": "TempBuffer", - "template_type": "ImVec2", - "type": "ImVector_ImVec2" - }, - { - "name": "ArcFastVtx[48]", - "size": 48, - "type": "ImVec2" - }, - { - "name": "ArcFastRadiusCutoff", - "type": "float" - }, - { - "name": "CircleSegmentCounts[64]", - "size": 64, - "type": "ImU8" - }, - { - "name": "TexUvLines", - "type": "const ImVec4*" - } - ], - "ImDrawListSplitter": [ - { - "name": "_Current", - "type": "int" - }, - { - "name": "_Count", - "type": "int" - }, - { - "name": "_Channels", - "template_type": "ImDrawChannel", - "type": "ImVector_ImDrawChannel" - } - ], - "ImDrawVert": [ - { - "name": "pos", - "type": "ImVec2" - }, - { - "name": "uv", - "type": "ImVec2" - }, - { - "name": "col", - "type": "ImU32" - } - ], - "ImFont": [ - { - "name": "IndexAdvanceX", - "template_type": "float", - "type": "ImVector_float" - }, - { - "name": "FallbackAdvanceX", - "type": "float" - }, - { - "name": "FontSize", - "type": "float" - }, - { - "name": "IndexLookup", - "template_type": "ImWchar", - "type": "ImVector_ImWchar" - }, - { - "name": "Glyphs", - "template_type": "ImFontGlyph", - "type": "ImVector_ImFontGlyph" - }, - { - "name": "FallbackGlyph", - "type": "const ImFontGlyph*" - }, - { - "name": "ContainerAtlas", - "type": "ImFontAtlas*" - }, - { - "name": "ConfigData", - "type": "const ImFontConfig*" - }, - { - "name": "ConfigDataCount", - "type": "short" - }, - { - "name": "FallbackChar", - "type": "ImWchar" - }, - { - "name": "EllipsisChar", - "type": "ImWchar" - }, - { - "name": "DotChar", - "type": "ImWchar" - }, - { - "name": "DirtyLookupTables", - "type": "bool" - }, - { - "name": "Scale", - "type": "float" - }, - { - "name": "Ascent", - "type": "float" - }, - { - "name": "Descent", - "type": "float" - }, - { - "name": "MetricsTotalSurface", - "type": "int" - }, - { - "name": "Used4kPagesMap[(0xFFFF+1)/4096/8]", - "size": 2, - "type": "ImU8" - } - ], - "ImFontAtlas": [ - { - "name": "Flags", - "type": "ImFontAtlasFlags" - }, - { - "name": "TexID", - "type": "ImTextureID" - }, - { - "name": "TexDesiredWidth", - "type": "int" - }, - { - "name": "TexGlyphPadding", - "type": "int" - }, - { - "name": "Locked", - "type": "bool" - }, - { - "name": "TexReady", - "type": "bool" - }, - { - "name": "TexPixelsUseColors", - "type": "bool" - }, - { - "name": "TexPixelsAlpha8", - "type": "unsigned char*" - }, - { - "name": "TexPixelsRGBA32", - "type": "unsigned int*" - }, - { - "name": "TexWidth", - "type": "int" - }, - { - "name": "TexHeight", - "type": "int" - }, - { - "name": "TexUvScale", - "type": "ImVec2" - }, - { - "name": "TexUvWhitePixel", - "type": "ImVec2" - }, - { - "name": "Fonts", - "template_type": "ImFont*", - "type": "ImVector_ImFontPtr" - }, - { - "name": "CustomRects", - "template_type": "ImFontAtlasCustomRect", - "type": "ImVector_ImFontAtlasCustomRect" - }, - { - "name": "ConfigData", - "template_type": "ImFontConfig", - "type": "ImVector_ImFontConfig" - }, - { - "name": "TexUvLines[(63)+1]", - "size": 64, - "type": "ImVec4" - }, - { - "name": "FontBuilderIO", - "type": "const ImFontBuilderIO*" - }, - { - "name": "FontBuilderFlags", - "type": "unsigned int" - }, - { - "name": "PackIdMouseCursors", - "type": "int" - }, - { - "name": "PackIdLines", - "type": "int" - } - ], - "ImFontAtlasCustomRect": [ - { - "name": "Width", - "type": "unsigned short" - }, - { - "name": "Height", - "type": "unsigned short" - }, - { - "name": "X", - "type": "unsigned short" - }, - { - "name": "Y", - "type": "unsigned short" - }, - { - "name": "GlyphID", - "type": "unsigned int" - }, - { - "name": "GlyphAdvanceX", - "type": "float" - }, - { - "name": "GlyphOffset", - "type": "ImVec2" - }, - { - "name": "Font", - "type": "ImFont*" - } - ], - "ImFontBuilderIO": [ - { - "name": "FontBuilder_Build", - "type": "bool(*)(ImFontAtlas* atlas)" - } - ], - "ImFontConfig": [ - { - "name": "FontData", - "type": "void*" - }, - { - "name": "FontDataSize", - "type": "int" - }, - { - "name": "FontDataOwnedByAtlas", - "type": "bool" - }, - { - "name": "FontNo", - "type": "int" - }, - { - "name": "SizePixels", - "type": "float" - }, - { - "name": "OversampleH", - "type": "int" - }, - { - "name": "OversampleV", - "type": "int" - }, - { - "name": "PixelSnapH", - "type": "bool" - }, - { - "name": "GlyphExtraSpacing", - "type": "ImVec2" - }, - { - "name": "GlyphOffset", - "type": "ImVec2" - }, - { - "name": "GlyphRanges", - "type": "const ImWchar*" - }, - { - "name": "GlyphMinAdvanceX", - "type": "float" - }, - { - "name": "GlyphMaxAdvanceX", - "type": "float" - }, - { - "name": "MergeMode", - "type": "bool" - }, - { - "name": "FontBuilderFlags", - "type": "unsigned int" - }, - { - "name": "RasterizerMultiply", - "type": "float" - }, - { - "name": "EllipsisChar", - "type": "ImWchar" - }, - { - "name": "Name[40]", - "size": 40, - "type": "char" - }, - { - "name": "DstFont", - "type": "ImFont*" - } - ], - "ImFontGlyph": [ - { - "bitfield": "1", - "name": "Colored", - "type": "unsigned int" - }, - { - "bitfield": "1", - "name": "Visible", - "type": "unsigned int" - }, - { - "bitfield": "30", - "name": "Codepoint", - "type": "unsigned int" - }, - { - "name": "AdvanceX", - "type": "float" - }, - { - "name": "X0", - "type": "float" - }, - { - "name": "Y0", - "type": "float" - }, - { - "name": "X1", - "type": "float" - }, - { - "name": "Y1", - "type": "float" - }, - { - "name": "U0", - "type": "float" - }, - { - "name": "V0", - "type": "float" - }, - { - "name": "U1", - "type": "float" - }, - { - "name": "V1", - "type": "float" - } - ], - "ImFontGlyphRangesBuilder": [ - { - "name": "UsedChars", - "template_type": "ImU32", - "type": "ImVector_ImU32" - } - ], - "ImGuiColorMod": [ - { - "name": "Col", - "type": "ImGuiCol" - }, - { - "name": "BackupValue", - "type": "ImVec4" - } - ], - "ImGuiComboPreviewData": [ - { - "name": "PreviewRect", - "type": "ImRect" - }, - { - "name": "BackupCursorPos", - "type": "ImVec2" - }, - { - "name": "BackupCursorMaxPos", - "type": "ImVec2" - }, - { - "name": "BackupCursorPosPrevLine", - "type": "ImVec2" - }, - { - "name": "BackupPrevLineTextBaseOffset", - "type": "float" - }, - { - "name": "BackupLayout", - "type": "ImGuiLayoutType" - } - ], - "ImGuiContext": [ - { - "name": "Initialized", - "type": "bool" - }, - { - "name": "FontAtlasOwnedByContext", - "type": "bool" - }, - { - "name": "IO", - "type": "ImGuiIO" - }, - { - "name": "PlatformIO", - "type": "ImGuiPlatformIO" - }, - { - "name": "InputEventsQueue", - "template_type": "ImGuiInputEvent", - "type": "ImVector_ImGuiInputEvent" - }, - { - "name": "InputEventsTrail", - "template_type": "ImGuiInputEvent", - "type": "ImVector_ImGuiInputEvent" - }, - { - "name": "Style", - "type": "ImGuiStyle" - }, - { - "name": "ConfigFlagsCurrFrame", - "type": "ImGuiConfigFlags" - }, - { - "name": "ConfigFlagsLastFrame", - "type": "ImGuiConfigFlags" - }, - { - "name": "Font", - "type": "ImFont*" - }, - { - "name": "FontSize", - "type": "float" - }, - { - "name": "FontBaseSize", - "type": "float" - }, - { - "name": "DrawListSharedData", - "type": "ImDrawListSharedData" - }, - { - "name": "Time", - "type": "double" - }, - { - "name": "FrameCount", - "type": "int" - }, - { - "name": "FrameCountEnded", - "type": "int" - }, - { - "name": "FrameCountPlatformEnded", - "type": "int" - }, - { - "name": "FrameCountRendered", - "type": "int" - }, - { - "name": "WithinFrameScope", - "type": "bool" - }, - { - "name": "WithinFrameScopeWithImplicitWindow", - "type": "bool" - }, - { - "name": "WithinEndChild", - "type": "bool" - }, - { - "name": "GcCompactAll", - "type": "bool" - }, - { - "name": "TestEngineHookItems", - "type": "bool" - }, - { - "name": "TestEngine", - "type": "void*" - }, - { - "name": "Windows", - "template_type": "ImGuiWindow*", - "type": "ImVector_ImGuiWindowPtr" - }, - { - "name": "WindowsFocusOrder", - "template_type": "ImGuiWindow*", - "type": "ImVector_ImGuiWindowPtr" - }, - { - "name": "WindowsTempSortBuffer", - "template_type": "ImGuiWindow*", - "type": "ImVector_ImGuiWindowPtr" - }, - { - "name": "CurrentWindowStack", - "template_type": "ImGuiWindowStackData", - "type": "ImVector_ImGuiWindowStackData" - }, - { - "name": "WindowsById", - "type": "ImGuiStorage" - }, - { - "name": "WindowsActiveCount", - "type": "int" - }, - { - "name": "WindowsHoverPadding", - "type": "ImVec2" - }, - { - "name": "CurrentWindow", - "type": "ImGuiWindow*" - }, - { - "name": "HoveredWindow", - "type": "ImGuiWindow*" - }, - { - "name": "HoveredWindowUnderMovingWindow", - "type": "ImGuiWindow*" - }, - { - "name": "MovingWindow", - "type": "ImGuiWindow*" - }, - { - "name": "WheelingWindow", - "type": "ImGuiWindow*" - }, - { - "name": "WheelingWindowRefMousePos", - "type": "ImVec2" - }, - { - "name": "WheelingWindowReleaseTimer", - "type": "float" - }, - { - "name": "DebugHookIdInfo", - "type": "ImGuiID" - }, - { - "name": "HoveredId", - "type": "ImGuiID" - }, - { - "name": "HoveredIdPreviousFrame", - "type": "ImGuiID" - }, - { - "name": "HoveredIdAllowOverlap", - "type": "bool" - }, - { - "name": "HoveredIdDisabled", - "type": "bool" - }, - { - "name": "HoveredIdTimer", - "type": "float" - }, - { - "name": "HoveredIdNotActiveTimer", - "type": "float" - }, - { - "name": "ActiveId", - "type": "ImGuiID" - }, - { - "name": "ActiveIdIsAlive", - "type": "ImGuiID" - }, - { - "name": "ActiveIdTimer", - "type": "float" - }, - { - "name": "ActiveIdIsJustActivated", - "type": "bool" - }, - { - "name": "ActiveIdAllowOverlap", - "type": "bool" - }, - { - "name": "ActiveIdNoClearOnFocusLoss", - "type": "bool" - }, - { - "name": "ActiveIdHasBeenPressedBefore", - "type": "bool" - }, - { - "name": "ActiveIdHasBeenEditedBefore", - "type": "bool" - }, - { - "name": "ActiveIdHasBeenEditedThisFrame", - "type": "bool" - }, - { - "name": "ActiveIdClickOffset", - "type": "ImVec2" - }, - { - "name": "ActiveIdWindow", - "type": "ImGuiWindow*" - }, - { - "name": "ActiveIdSource", - "type": "ImGuiInputSource" - }, - { - "name": "ActiveIdMouseButton", - "type": "int" - }, - { - "name": "ActiveIdPreviousFrame", - "type": "ImGuiID" - }, - { - "name": "ActiveIdPreviousFrameIsAlive", - "type": "bool" - }, - { - "name": "ActiveIdPreviousFrameHasBeenEditedBefore", - "type": "bool" - }, - { - "name": "ActiveIdPreviousFrameWindow", - "type": "ImGuiWindow*" - }, - { - "name": "LastActiveId", - "type": "ImGuiID" - }, - { - "name": "LastActiveIdTimer", - "type": "float" - }, - { - "name": "KeysOwnerData[ImGuiKey_NamedKey_COUNT]", - "size": 140, - "type": "ImGuiKeyOwnerData" - }, - { - "name": "KeysRoutingTable", - "type": "ImGuiKeyRoutingTable" - }, - { - "name": "ActiveIdUsingNavDirMask", - "type": "ImU32" - }, - { - "name": "ActiveIdUsingAllKeyboardKeys", - "type": "bool" - }, - { - "name": "ActiveIdUsingNavInputMask", - "type": "ImU32" - }, - { - "name": "CurrentFocusScopeId", - "type": "ImGuiID" - }, - { - "name": "CurrentItemFlags", - "type": "ImGuiItemFlags" - }, - { - "name": "DebugLocateId", - "type": "ImGuiID" - }, - { - "name": "NextItemData", - "type": "ImGuiNextItemData" - }, - { - "name": "LastItemData", - "type": "ImGuiLastItemData" - }, - { - "name": "NextWindowData", - "type": "ImGuiNextWindowData" - }, - { - "name": "ColorStack", - "template_type": "ImGuiColorMod", - "type": "ImVector_ImGuiColorMod" - }, - { - "name": "StyleVarStack", - "template_type": "ImGuiStyleMod", - "type": "ImVector_ImGuiStyleMod" - }, - { - "name": "FontStack", - "template_type": "ImFont*", - "type": "ImVector_ImFontPtr" - }, - { - "name": "FocusScopeStack", - "template_type": "ImGuiID", - "type": "ImVector_ImGuiID" - }, - { - "name": "ItemFlagsStack", - "template_type": "ImGuiItemFlags", - "type": "ImVector_ImGuiItemFlags" - }, - { - "name": "GroupStack", - "template_type": "ImGuiGroupData", - "type": "ImVector_ImGuiGroupData" - }, - { - "name": "OpenPopupStack", - "template_type": "ImGuiPopupData", - "type": "ImVector_ImGuiPopupData" - }, - { - "name": "BeginPopupStack", - "template_type": "ImGuiPopupData", - "type": "ImVector_ImGuiPopupData" - }, - { - "name": "BeginMenuCount", - "type": "int" - }, - { - "name": "Viewports", - "template_type": "ImGuiViewportP*", - "type": "ImVector_ImGuiViewportPPtr" - }, - { - "name": "CurrentDpiScale", - "type": "float" - }, - { - "name": "CurrentViewport", - "type": "ImGuiViewportP*" - }, - { - "name": "MouseViewport", - "type": "ImGuiViewportP*" - }, - { - "name": "MouseLastHoveredViewport", - "type": "ImGuiViewportP*" - }, - { - "name": "PlatformLastFocusedViewportId", - "type": "ImGuiID" - }, - { - "name": "FallbackMonitor", - "type": "ImGuiPlatformMonitor" - }, - { - "name": "ViewportFrontMostStampCount", - "type": "int" - }, - { - "name": "NavWindow", - "type": "ImGuiWindow*" - }, - { - "name": "NavId", - "type": "ImGuiID" - }, - { - "name": "NavFocusScopeId", - "type": "ImGuiID" - }, - { - "name": "NavActivateId", - "type": "ImGuiID" - }, - { - "name": "NavActivateDownId", - "type": "ImGuiID" - }, - { - "name": "NavActivatePressedId", - "type": "ImGuiID" - }, - { - "name": "NavActivateInputId", - "type": "ImGuiID" - }, - { - "name": "NavActivateFlags", - "type": "ImGuiActivateFlags" - }, - { - "name": "NavJustMovedToId", - "type": "ImGuiID" - }, - { - "name": "NavJustMovedToFocusScopeId", - "type": "ImGuiID" - }, - { - "name": "NavJustMovedToKeyMods", - "type": "ImGuiKeyChord" - }, - { - "name": "NavNextActivateId", - "type": "ImGuiID" - }, - { - "name": "NavNextActivateFlags", - "type": "ImGuiActivateFlags" - }, - { - "name": "NavInputSource", - "type": "ImGuiInputSource" - }, - { - "name": "NavLayer", - "type": "ImGuiNavLayer" - }, - { - "name": "NavIdIsAlive", - "type": "bool" - }, - { - "name": "NavMousePosDirty", - "type": "bool" - }, - { - "name": "NavDisableHighlight", - "type": "bool" - }, - { - "name": "NavDisableMouseHover", - "type": "bool" - }, - { - "name": "NavAnyRequest", - "type": "bool" - }, - { - "name": "NavInitRequest", - "type": "bool" - }, - { - "name": "NavInitRequestFromMove", - "type": "bool" - }, - { - "name": "NavInitResultId", - "type": "ImGuiID" - }, - { - "name": "NavInitResultRectRel", - "type": "ImRect" - }, - { - "name": "NavMoveSubmitted", - "type": "bool" - }, - { - "name": "NavMoveScoringItems", - "type": "bool" - }, - { - "name": "NavMoveForwardToNextFrame", - "type": "bool" - }, - { - "name": "NavMoveFlags", - "type": "ImGuiNavMoveFlags" - }, - { - "name": "NavMoveScrollFlags", - "type": "ImGuiScrollFlags" - }, - { - "name": "NavMoveKeyMods", - "type": "ImGuiKeyChord" - }, - { - "name": "NavMoveDir", - "type": "ImGuiDir" - }, - { - "name": "NavMoveDirForDebug", - "type": "ImGuiDir" - }, - { - "name": "NavMoveClipDir", - "type": "ImGuiDir" - }, - { - "name": "NavScoringRect", - "type": "ImRect" - }, - { - "name": "NavScoringNoClipRect", - "type": "ImRect" - }, - { - "name": "NavScoringDebugCount", - "type": "int" - }, - { - "name": "NavTabbingDir", - "type": "int" - }, - { - "name": "NavTabbingCounter", - "type": "int" - }, - { - "name": "NavMoveResultLocal", - "type": "ImGuiNavItemData" - }, - { - "name": "NavMoveResultLocalVisible", - "type": "ImGuiNavItemData" - }, - { - "name": "NavMoveResultOther", - "type": "ImGuiNavItemData" - }, - { - "name": "NavTabbingResultFirst", - "type": "ImGuiNavItemData" - }, - { - "name": "ConfigNavWindowingKeyNext", - "type": "ImGuiKeyChord" - }, - { - "name": "ConfigNavWindowingKeyPrev", - "type": "ImGuiKeyChord" - }, - { - "name": "NavWindowingTarget", - "type": "ImGuiWindow*" - }, - { - "name": "NavWindowingTargetAnim", - "type": "ImGuiWindow*" - }, - { - "name": "NavWindowingListWindow", - "type": "ImGuiWindow*" - }, - { - "name": "NavWindowingTimer", - "type": "float" - }, - { - "name": "NavWindowingHighlightAlpha", - "type": "float" - }, - { - "name": "NavWindowingToggleLayer", - "type": "bool" - }, - { - "name": "NavWindowingAccumDeltaPos", - "type": "ImVec2" - }, - { - "name": "NavWindowingAccumDeltaSize", - "type": "ImVec2" - }, - { - "name": "DimBgRatio", - "type": "float" - }, - { - "name": "MouseCursor", - "type": "ImGuiMouseCursor" - }, - { - "name": "DragDropActive", - "type": "bool" - }, - { - "name": "DragDropWithinSource", - "type": "bool" - }, - { - "name": "DragDropWithinTarget", - "type": "bool" - }, - { - "name": "DragDropSourceFlags", - "type": "ImGuiDragDropFlags" - }, - { - "name": "DragDropSourceFrameCount", - "type": "int" - }, - { - "name": "DragDropMouseButton", - "type": "int" - }, - { - "name": "DragDropPayload", - "type": "ImGuiPayload" - }, - { - "name": "DragDropTargetRect", - "type": "ImRect" - }, - { - "name": "DragDropTargetId", - "type": "ImGuiID" - }, - { - "name": "DragDropAcceptFlags", - "type": "ImGuiDragDropFlags" - }, - { - "name": "DragDropAcceptIdCurrRectSurface", - "type": "float" - }, - { - "name": "DragDropAcceptIdCurr", - "type": "ImGuiID" - }, - { - "name": "DragDropAcceptIdPrev", - "type": "ImGuiID" - }, - { - "name": "DragDropAcceptFrameCount", - "type": "int" - }, - { - "name": "DragDropHoldJustPressedId", - "type": "ImGuiID" - }, - { - "name": "DragDropPayloadBufHeap", - "template_type": "unsigned char", - "type": "ImVector_unsigned_char" - }, - { - "name": "DragDropPayloadBufLocal[16]", - "size": 16, - "type": "unsigned char" - }, - { - "name": "ClipperTempDataStacked", - "type": "int" - }, - { - "name": "ClipperTempData", - "template_type": "ImGuiListClipperData", - "type": "ImVector_ImGuiListClipperData" - }, - { - "name": "CurrentTable", - "type": "ImGuiTable*" - }, - { - "name": "TablesTempDataStacked", - "type": "int" - }, - { - "name": "TablesTempData", - "template_type": "ImGuiTableTempData", - "type": "ImVector_ImGuiTableTempData" - }, - { - "name": "Tables", - "template_type": "ImGuiTable", - "type": "ImPool_ImGuiTable" - }, - { - "name": "TablesLastTimeActive", - "template_type": "float", - "type": "ImVector_float" - }, - { - "name": "DrawChannelsTempMergeBuffer", - "template_type": "ImDrawChannel", - "type": "ImVector_ImDrawChannel" - }, - { - "name": "CurrentTabBar", - "type": "ImGuiTabBar*" - }, - { - "name": "TabBars", - "template_type": "ImGuiTabBar", - "type": "ImPool_ImGuiTabBar" - }, - { - "name": "CurrentTabBarStack", - "template_type": "ImGuiPtrOrIndex", - "type": "ImVector_ImGuiPtrOrIndex" - }, - { - "name": "ShrinkWidthBuffer", - "template_type": "ImGuiShrinkWidthItem", - "type": "ImVector_ImGuiShrinkWidthItem" - }, - { - "name": "HoverDelayId", - "type": "ImGuiID" - }, - { - "name": "HoverDelayIdPreviousFrame", - "type": "ImGuiID" - }, - { - "name": "HoverDelayTimer", - "type": "float" - }, - { - "name": "HoverDelayClearTimer", - "type": "float" - }, - { - "name": "MouseLastValidPos", - "type": "ImVec2" - }, - { - "name": "InputTextState", - "type": "ImGuiInputTextState" - }, - { - "name": "InputTextPasswordFont", - "type": "ImFont" - }, - { - "name": "TempInputId", - "type": "ImGuiID" - }, - { - "name": "ColorEditOptions", - "type": "ImGuiColorEditFlags" - }, - { - "name": "ColorEditLastHue", - "type": "float" - }, - { - "name": "ColorEditLastSat", - "type": "float" - }, - { - "name": "ColorEditLastColor", - "type": "ImU32" - }, - { - "name": "ColorPickerRef", - "type": "ImVec4" - }, - { - "name": "ComboPreviewData", - "type": "ImGuiComboPreviewData" - }, - { - "name": "SliderGrabClickOffset", - "type": "float" - }, - { - "name": "SliderCurrentAccum", - "type": "float" - }, - { - "name": "SliderCurrentAccumDirty", - "type": "bool" - }, - { - "name": "DragCurrentAccumDirty", - "type": "bool" - }, - { - "name": "DragCurrentAccum", - "type": "float" - }, - { - "name": "DragSpeedDefaultRatio", - "type": "float" - }, - { - "name": "ScrollbarClickDeltaToGrabCenter", - "type": "float" - }, - { - "name": "DisabledAlphaBackup", - "type": "float" - }, - { - "name": "DisabledStackSize", - "type": "short" - }, - { - "name": "TooltipOverrideCount", - "type": "short" - }, - { - "name": "ClipboardHandlerData", - "template_type": "char", - "type": "ImVector_char" - }, - { - "name": "MenusIdSubmittedThisFrame", - "template_type": "ImGuiID", - "type": "ImVector_ImGuiID" - }, - { - "name": "PlatformImeData", - "type": "ImGuiPlatformImeData" - }, - { - "name": "PlatformImeDataPrev", - "type": "ImGuiPlatformImeData" - }, - { - "name": "PlatformImeViewport", - "type": "ImGuiID" - }, - { - "name": "PlatformLocaleDecimalPoint", - "type": "char" - }, - { - "name": "DockContext", - "type": "ImGuiDockContext" - }, - { - "name": "SettingsLoaded", - "type": "bool" - }, - { - "name": "SettingsDirtyTimer", - "type": "float" - }, - { - "name": "SettingsIniData", - "type": "ImGuiTextBuffer" - }, - { - "name": "SettingsHandlers", - "template_type": "ImGuiSettingsHandler", - "type": "ImVector_ImGuiSettingsHandler" - }, - { - "name": "SettingsWindows", - "template_type": "ImGuiWindowSettings", - "type": "ImChunkStream_ImGuiWindowSettings" - }, - { - "name": "SettingsTables", - "template_type": "ImGuiTableSettings", - "type": "ImChunkStream_ImGuiTableSettings" - }, - { - "name": "Hooks", - "template_type": "ImGuiContextHook", - "type": "ImVector_ImGuiContextHook" - }, - { - "name": "HookIdNext", - "type": "ImGuiID" - }, - { - "name": "LocalizationTable[ImGuiLocKey_COUNT]", - "size": 7, - "type": "const char*" - }, - { - "name": "LogEnabled", - "type": "bool" - }, - { - "name": "LogType", - "type": "ImGuiLogType" - }, - { - "name": "LogFile", - "type": "ImFileHandle" - }, - { - "name": "LogBuffer", - "type": "ImGuiTextBuffer" - }, - { - "name": "LogNextPrefix", - "type": "const char*" - }, - { - "name": "LogNextSuffix", - "type": "const char*" - }, - { - "name": "LogLinePosY", - "type": "float" - }, - { - "name": "LogLineFirstItem", - "type": "bool" - }, - { - "name": "LogDepthRef", - "type": "int" - }, - { - "name": "LogDepthToExpand", - "type": "int" - }, - { - "name": "LogDepthToExpandDefault", - "type": "int" - }, - { - "name": "DebugLogFlags", - "type": "ImGuiDebugLogFlags" - }, - { - "name": "DebugLogBuf", - "type": "ImGuiTextBuffer" - }, - { - "name": "DebugLogIndex", - "type": "ImGuiTextIndex" - }, - { - "name": "DebugLocateFrames", - "type": "ImU8" - }, - { - "name": "DebugItemPickerActive", - "type": "bool" - }, - { - "name": "DebugItemPickerMouseButton", - "type": "ImU8" - }, - { - "name": "DebugItemPickerBreakId", - "type": "ImGuiID" - }, - { - "name": "DebugMetricsConfig", - "type": "ImGuiMetricsConfig" - }, - { - "name": "DebugStackTool", - "type": "ImGuiStackTool" - }, - { - "name": "DebugHoveredDockNode", - "type": "ImGuiDockNode*" - }, - { - "name": "FramerateSecPerFrame[60]", - "size": 60, - "type": "float" - }, - { - "name": "FramerateSecPerFrameIdx", - "type": "int" - }, - { - "name": "FramerateSecPerFrameCount", - "type": "int" - }, - { - "name": "FramerateSecPerFrameAccum", - "type": "float" - }, - { - "name": "WantCaptureMouseNextFrame", - "type": "int" - }, - { - "name": "WantCaptureKeyboardNextFrame", - "type": "int" - }, - { - "name": "WantTextInputNextFrame", - "type": "int" - }, - { - "name": "TempBuffer", - "template_type": "char", - "type": "ImVector_char" - } - ], - "ImGuiContextHook": [ - { - "name": "HookId", - "type": "ImGuiID" - }, - { - "name": "Type", - "type": "ImGuiContextHookType" - }, - { - "name": "Owner", - "type": "ImGuiID" - }, - { - "name": "Callback", - "type": "ImGuiContextHookCallback" - }, - { - "name": "UserData", - "type": "void*" - } - ], - "ImGuiDataTypeInfo": [ - { - "name": "Size", - "type": "size_t" - }, - { - "name": "Name", - "type": "const char*" - }, - { - "name": "PrintFmt", - "type": "const char*" - }, - { - "name": "ScanFmt", - "type": "const char*" - } - ], - "ImGuiDataTypeTempStorage": [ - { - "name": "Data[8]", - "size": 8, - "type": "ImU8" - } - ], - "ImGuiDockContext": [ - { - "name": "Nodes", - "type": "ImGuiStorage" - }, - { - "name": "Requests", - "template_type": "ImGuiDockRequest", - "type": "ImVector_ImGuiDockRequest" - }, - { - "name": "NodesSettings", - "template_type": "ImGuiDockNodeSettings", - "type": "ImVector_ImGuiDockNodeSettings" - }, - { - "name": "WantFullRebuild", - "type": "bool" - } - ], - "ImGuiDockNode": [ - { - "name": "ID", - "type": "ImGuiID" - }, - { - "name": "SharedFlags", - "type": "ImGuiDockNodeFlags" - }, - { - "name": "LocalFlags", - "type": "ImGuiDockNodeFlags" - }, - { - "name": "LocalFlagsInWindows", - "type": "ImGuiDockNodeFlags" - }, - { - "name": "MergedFlags", - "type": "ImGuiDockNodeFlags" - }, - { - "name": "State", - "type": "ImGuiDockNodeState" - }, - { - "name": "ParentNode", - "type": "ImGuiDockNode*" - }, - { - "name": "ChildNodes[2]", - "size": 2, - "type": "ImGuiDockNode*" - }, - { - "name": "Windows", - "template_type": "ImGuiWindow*", - "type": "ImVector_ImGuiWindowPtr" - }, - { - "name": "TabBar", - "type": "ImGuiTabBar*" - }, - { - "name": "Pos", - "type": "ImVec2" - }, - { - "name": "Size", - "type": "ImVec2" - }, - { - "name": "SizeRef", - "type": "ImVec2" - }, - { - "name": "SplitAxis", - "type": "ImGuiAxis" - }, - { - "name": "WindowClass", - "type": "ImGuiWindowClass" - }, - { - "name": "LastBgColor", - "type": "ImU32" - }, - { - "name": "HostWindow", - "type": "ImGuiWindow*" - }, - { - "name": "VisibleWindow", - "type": "ImGuiWindow*" - }, - { - "name": "CentralNode", - "type": "ImGuiDockNode*" - }, - { - "name": "OnlyNodeWithWindows", - "type": "ImGuiDockNode*" - }, - { - "name": "CountNodeWithWindows", - "type": "int" - }, - { - "name": "LastFrameAlive", - "type": "int" - }, - { - "name": "LastFrameActive", - "type": "int" - }, - { - "name": "LastFrameFocused", - "type": "int" - }, - { - "name": "LastFocusedNodeId", - "type": "ImGuiID" - }, - { - "name": "SelectedTabId", - "type": "ImGuiID" - }, - { - "name": "WantCloseTabId", - "type": "ImGuiID" - }, - { - "bitfield": "3", - "name": "AuthorityForPos", - "type": "ImGuiDataAuthority" - }, - { - "bitfield": "3", - "name": "AuthorityForSize", - "type": "ImGuiDataAuthority" - }, - { - "bitfield": "3", - "name": "AuthorityForViewport", - "type": "ImGuiDataAuthority" - }, - { - "bitfield": "1", - "name": "IsVisible", - "type": "bool" - }, - { - "bitfield": "1", - "name": "IsFocused", - "type": "bool" - }, - { - "bitfield": "1", - "name": "IsBgDrawnThisFrame", - "type": "bool" - }, - { - "bitfield": "1", - "name": "HasCloseButton", - "type": "bool" - }, - { - "bitfield": "1", - "name": "HasWindowMenuButton", - "type": "bool" - }, - { - "bitfield": "1", - "name": "HasCentralNodeChild", - "type": "bool" - }, - { - "bitfield": "1", - "name": "WantCloseAll", - "type": "bool" - }, - { - "bitfield": "1", - "name": "WantLockSizeOnce", - "type": "bool" - }, - { - "bitfield": "1", - "name": "WantMouseMove", - "type": "bool" - }, - { - "bitfield": "1", - "name": "WantHiddenTabBarUpdate", - "type": "bool" - }, - { - "bitfield": "1", - "name": "WantHiddenTabBarToggle", - "type": "bool" - } - ], - "ImGuiGroupData": [ - { - "name": "WindowID", - "type": "ImGuiID" - }, - { - "name": "BackupCursorPos", - "type": "ImVec2" - }, - { - "name": "BackupCursorMaxPos", - "type": "ImVec2" - }, - { - "name": "BackupIndent", - "type": "ImVec1" - }, - { - "name": "BackupGroupOffset", - "type": "ImVec1" - }, - { - "name": "BackupCurrLineSize", - "type": "ImVec2" - }, - { - "name": "BackupCurrLineTextBaseOffset", - "type": "float" - }, - { - "name": "BackupActiveIdIsAlive", - "type": "ImGuiID" - }, - { - "name": "BackupActiveIdPreviousFrameIsAlive", - "type": "bool" - }, - { - "name": "BackupHoveredIdIsAlive", - "type": "bool" - }, - { - "name": "EmitItem", - "type": "bool" - } - ], - "ImGuiIO": [ - { - "name": "ConfigFlags", - "type": "ImGuiConfigFlags" - }, - { - "name": "BackendFlags", - "type": "ImGuiBackendFlags" - }, - { - "name": "DisplaySize", - "type": "ImVec2" - }, - { - "name": "DeltaTime", - "type": "float" - }, - { - "name": "IniSavingRate", - "type": "float" - }, - { - "name": "IniFilename", - "type": "const char*" - }, - { - "name": "LogFilename", - "type": "const char*" - }, - { - "name": "MouseDoubleClickTime", - "type": "float" - }, - { - "name": "MouseDoubleClickMaxDist", - "type": "float" - }, - { - "name": "MouseDragThreshold", - "type": "float" - }, - { - "name": "KeyRepeatDelay", - "type": "float" - }, - { - "name": "KeyRepeatRate", - "type": "float" - }, - { - "name": "HoverDelayNormal", - "type": "float" - }, - { - "name": "HoverDelayShort", - "type": "float" - }, - { - "name": "UserData", - "type": "void*" - }, - { - "name": "Fonts", - "type": "ImFontAtlas*" - }, - { - "name": "FontGlobalScale", - "type": "float" - }, - { - "name": "FontAllowUserScaling", - "type": "bool" - }, - { - "name": "FontDefault", - "type": "ImFont*" - }, - { - "name": "DisplayFramebufferScale", - "type": "ImVec2" - }, - { - "name": "ConfigDockingNoSplit", - "type": "bool" - }, - { - "name": "ConfigDockingWithShift", - "type": "bool" - }, - { - "name": "ConfigDockingAlwaysTabBar", - "type": "bool" - }, - { - "name": "ConfigDockingTransparentPayload", - "type": "bool" - }, - { - "name": "ConfigViewportsNoAutoMerge", - "type": "bool" - }, - { - "name": "ConfigViewportsNoTaskBarIcon", - "type": "bool" - }, - { - "name": "ConfigViewportsNoDecoration", - "type": "bool" - }, - { - "name": "ConfigViewportsNoDefaultParent", - "type": "bool" - }, - { - "name": "MouseDrawCursor", - "type": "bool" - }, - { - "name": "ConfigMacOSXBehaviors", - "type": "bool" - }, - { - "name": "ConfigInputTrickleEventQueue", - "type": "bool" - }, - { - "name": "ConfigInputTextCursorBlink", - "type": "bool" - }, - { - "name": "ConfigInputTextEnterKeepActive", - "type": "bool" - }, - { - "name": "ConfigDragClickToInputText", - "type": "bool" - }, - { - "name": "ConfigWindowsResizeFromEdges", - "type": "bool" - }, - { - "name": "ConfigWindowsMoveFromTitleBarOnly", - "type": "bool" - }, - { - "name": "ConfigMemoryCompactTimer", - "type": "float" - }, - { - "name": "BackendPlatformName", - "type": "const char*" - }, - { - "name": "BackendRendererName", - "type": "const char*" - }, - { - "name": "BackendPlatformUserData", - "type": "void*" - }, - { - "name": "BackendRendererUserData", - "type": "void*" - }, - { - "name": "BackendLanguageUserData", - "type": "void*" - }, - { - "name": "GetClipboardTextFn", - "type": "const char*(*)(void* user_data)" - }, - { - "name": "SetClipboardTextFn", - "type": "void(*)(void* user_data,const char* text)" - }, - { - "name": "ClipboardUserData", - "type": "void*" - }, - { - "name": "SetPlatformImeDataFn", - "type": "void(*)(ImGuiViewport* viewport,ImGuiPlatformImeData* data)" - }, - { - "name": "_UnusedPadding", - "type": "void*" - }, - { - "name": "WantCaptureMouse", - "type": "bool" - }, - { - "name": "WantCaptureKeyboard", - "type": "bool" - }, - { - "name": "WantTextInput", - "type": "bool" - }, - { - "name": "WantSetMousePos", - "type": "bool" - }, - { - "name": "WantSaveIniSettings", - "type": "bool" - }, - { - "name": "NavActive", - "type": "bool" - }, - { - "name": "NavVisible", - "type": "bool" - }, - { - "name": "Framerate", - "type": "float" - }, - { - "name": "MetricsRenderVertices", - "type": "int" - }, - { - "name": "MetricsRenderIndices", - "type": "int" - }, - { - "name": "MetricsRenderWindows", - "type": "int" - }, - { - "name": "MetricsActiveWindows", - "type": "int" - }, - { - "name": "MetricsActiveAllocations", - "type": "int" - }, - { - "name": "MouseDelta", - "type": "ImVec2" - }, - { - "name": "KeyMap[ImGuiKey_COUNT]", - "size": 652, - "type": "int" - }, - { - "name": "KeysDown[ImGuiKey_COUNT]", - "size": 652, - "type": "bool" - }, - { - "name": "NavInputs[ImGuiNavInput_COUNT]", - "size": 16, - "type": "float" - }, - { - "name": "MousePos", - "type": "ImVec2" - }, - { - "name": "MouseDown[5]", - "size": 5, - "type": "bool" - }, - { - "name": "MouseWheel", - "type": "float" - }, - { - "name": "MouseWheelH", - "type": "float" - }, - { - "name": "MouseHoveredViewport", - "type": "ImGuiID" - }, - { - "name": "KeyCtrl", - "type": "bool" - }, - { - "name": "KeyShift", - "type": "bool" - }, - { - "name": "KeyAlt", - "type": "bool" - }, - { - "name": "KeySuper", - "type": "bool" - }, - { - "name": "KeyMods", - "type": "ImGuiKeyChord" - }, - { - "name": "KeysData[ImGuiKey_KeysData_SIZE]", - "size": 652, - "type": "ImGuiKeyData" - }, - { - "name": "WantCaptureMouseUnlessPopupClose", - "type": "bool" - }, - { - "name": "MousePosPrev", - "type": "ImVec2" - }, - { - "name": "MouseClickedPos[5]", - "size": 5, - "type": "ImVec2" - }, - { - "name": "MouseClickedTime[5]", - "size": 5, - "type": "double" - }, - { - "name": "MouseClicked[5]", - "size": 5, - "type": "bool" - }, - { - "name": "MouseDoubleClicked[5]", - "size": 5, - "type": "bool" - }, - { - "name": "MouseClickedCount[5]", - "size": 5, - "type": "ImU16" - }, - { - "name": "MouseClickedLastCount[5]", - "size": 5, - "type": "ImU16" - }, - { - "name": "MouseReleased[5]", - "size": 5, - "type": "bool" - }, - { - "name": "MouseDownOwned[5]", - "size": 5, - "type": "bool" - }, - { - "name": "MouseDownOwnedUnlessPopupClose[5]", - "size": 5, - "type": "bool" - }, - { - "name": "MouseDownDuration[5]", - "size": 5, - "type": "float" - }, - { - "name": "MouseDownDurationPrev[5]", - "size": 5, - "type": "float" - }, - { - "name": "MouseDragMaxDistanceAbs[5]", - "size": 5, - "type": "ImVec2" - }, - { - "name": "MouseDragMaxDistanceSqr[5]", - "size": 5, - "type": "float" - }, - { - "name": "PenPressure", - "type": "float" - }, - { - "name": "AppFocusLost", - "type": "bool" - }, - { - "name": "AppAcceptingEvents", - "type": "bool" - }, - { - "name": "BackendUsingLegacyKeyArrays", - "type": "ImS8" - }, - { - "name": "BackendUsingLegacyNavInputArray", - "type": "bool" - }, - { - "name": "InputQueueSurrogate", - "type": "ImWchar16" - }, - { - "name": "InputQueueCharacters", - "template_type": "ImWchar", - "type": "ImVector_ImWchar" - } - ], - "ImGuiInputEvent": [ - { - "name": "Type", - "type": "ImGuiInputEventType" - }, - { - "name": "Source", - "type": "ImGuiInputSource" - }, - { - "name": "", - "type": "union { ImGuiInputEventMousePos MousePos; ImGuiInputEventMouseWheel MouseWheel; ImGuiInputEventMouseButton MouseButton; ImGuiInputEventMouseViewport MouseViewport; ImGuiInputEventKey Key; ImGuiInputEventText Text; ImGuiInputEventAppFocused AppFocused;}" - }, - { - "name": "AddedByTestEngine", - "type": "bool" - } - ], - "ImGuiInputEventAppFocused": [ - { - "name": "Focused", - "type": "bool" - } - ], - "ImGuiInputEventKey": [ - { - "name": "Key", - "type": "ImGuiKey" - }, - { - "name": "Down", - "type": "bool" - }, - { - "name": "AnalogValue", - "type": "float" - } - ], - "ImGuiInputEventMouseButton": [ - { - "name": "Button", - "type": "int" - }, - { - "name": "Down", - "type": "bool" - } - ], - "ImGuiInputEventMousePos": [ - { - "name": "PosX", - "type": "float" - }, - { - "name": "PosY", - "type": "float" - } - ], - "ImGuiInputEventMouseViewport": [ - { - "name": "HoveredViewportID", - "type": "ImGuiID" - } - ], - "ImGuiInputEventMouseWheel": [ - { - "name": "WheelX", - "type": "float" - }, - { - "name": "WheelY", - "type": "float" - } - ], - "ImGuiInputEventText": [ - { - "name": "Char", - "type": "unsigned int" - } - ], - "ImGuiInputTextCallbackData": [ - { - "name": "EventFlag", - "type": "ImGuiInputTextFlags" - }, - { - "name": "Flags", - "type": "ImGuiInputTextFlags" - }, - { - "name": "UserData", - "type": "void*" - }, - { - "name": "EventChar", - "type": "ImWchar" - }, - { - "name": "EventKey", - "type": "ImGuiKey" - }, - { - "name": "Buf", - "type": "char*" - }, - { - "name": "BufTextLen", - "type": "int" - }, - { - "name": "BufSize", - "type": "int" - }, - { - "name": "BufDirty", - "type": "bool" - }, - { - "name": "CursorPos", - "type": "int" - }, - { - "name": "SelectionStart", - "type": "int" - }, - { - "name": "SelectionEnd", - "type": "int" - } - ], - "ImGuiInputTextState": [ - { - "name": "ID", - "type": "ImGuiID" - }, - { - "name": "CurLenW", - "type": "int" - }, - { - "name": "CurLenA", - "type": "int" - }, - { - "name": "TextW", - "template_type": "ImWchar", - "type": "ImVector_ImWchar" - }, - { - "name": "TextA", - "template_type": "char", - "type": "ImVector_char" - }, - { - "name": "InitialTextA", - "template_type": "char", - "type": "ImVector_char" - }, - { - "name": "TextAIsValid", - "type": "bool" - }, - { - "name": "BufCapacityA", - "type": "int" - }, - { - "name": "ScrollX", - "type": "float" - }, - { - "name": "Stb", - "type": "STB_TexteditState" - }, - { - "name": "CursorAnim", - "type": "float" - }, - { - "name": "CursorFollow", - "type": "bool" - }, - { - "name": "SelectedAllMouseLock", - "type": "bool" - }, - { - "name": "Edited", - "type": "bool" - }, - { - "name": "Flags", - "type": "ImGuiInputTextFlags" - } - ], - "ImGuiKeyData": [ - { - "name": "Down", - "type": "bool" - }, - { - "name": "DownDuration", - "type": "float" - }, - { - "name": "DownDurationPrev", - "type": "float" - }, - { - "name": "AnalogValue", - "type": "float" - } - ], - "ImGuiKeyOwnerData": [ - { - "name": "OwnerCurr", - "type": "ImGuiID" - }, - { - "name": "OwnerNext", - "type": "ImGuiID" - }, - { - "name": "LockThisFrame", - "type": "bool" - }, - { - "name": "LockUntilRelease", - "type": "bool" - } - ], - "ImGuiKeyRoutingData": [ - { - "name": "NextEntryIndex", - "type": "ImGuiKeyRoutingIndex" - }, - { - "name": "Mods", - "type": "ImU16" - }, - { - "name": "RoutingNextScore", - "type": "ImU8" - }, - { - "name": "RoutingCurr", - "type": "ImGuiID" - }, - { - "name": "RoutingNext", - "type": "ImGuiID" - } - ], - "ImGuiKeyRoutingTable": [ - { - "name": "Index[ImGuiKey_NamedKey_COUNT]", - "size": 140, - "type": "ImGuiKeyRoutingIndex" - }, - { - "name": "Entries", - "template_type": "ImGuiKeyRoutingData", - "type": "ImVector_ImGuiKeyRoutingData" - }, - { - "name": "EntriesNext", - "template_type": "ImGuiKeyRoutingData", - "type": "ImVector_ImGuiKeyRoutingData" - } - ], - "ImGuiLastItemData": [ - { - "name": "ID", - "type": "ImGuiID" - }, - { - "name": "InFlags", - "type": "ImGuiItemFlags" - }, - { - "name": "StatusFlags", - "type": "ImGuiItemStatusFlags" - }, - { - "name": "Rect", - "type": "ImRect" - }, - { - "name": "NavRect", - "type": "ImRect" - }, - { - "name": "DisplayRect", - "type": "ImRect" - } - ], - "ImGuiListClipper": [ - { - "name": "DisplayStart", - "type": "int" - }, - { - "name": "DisplayEnd", - "type": "int" - }, - { - "name": "ItemsCount", - "type": "int" - }, - { - "name": "ItemsHeight", - "type": "float" - }, - { - "name": "StartPosY", - "type": "float" - }, - { - "name": "TempData", - "type": "void*" - } - ], - "ImGuiListClipperData": [ - { - "name": "ListClipper", - "type": "ImGuiListClipper*" - }, - { - "name": "LossynessOffset", - "type": "float" - }, - { - "name": "StepNo", - "type": "int" - }, - { - "name": "ItemsFrozen", - "type": "int" - }, - { - "name": "Ranges", - "template_type": "ImGuiListClipperRange", - "type": "ImVector_ImGuiListClipperRange" - } - ], - "ImGuiListClipperRange": [ - { - "name": "Min", - "type": "int" - }, - { - "name": "Max", - "type": "int" - }, - { - "name": "PosToIndexConvert", - "type": "bool" - }, - { - "name": "PosToIndexOffsetMin", - "type": "ImS8" - }, - { - "name": "PosToIndexOffsetMax", - "type": "ImS8" - } - ], - "ImGuiLocEntry": [ - { - "name": "Key", - "type": "ImGuiLocKey" - }, - { - "name": "Text", - "type": "const char*" - } - ], - "ImGuiMenuColumns": [ - { - "name": "TotalWidth", - "type": "ImU32" - }, - { - "name": "NextTotalWidth", - "type": "ImU32" - }, - { - "name": "Spacing", - "type": "ImU16" - }, - { - "name": "OffsetIcon", - "type": "ImU16" - }, - { - "name": "OffsetLabel", - "type": "ImU16" - }, - { - "name": "OffsetShortcut", - "type": "ImU16" - }, - { - "name": "OffsetMark", - "type": "ImU16" - }, - { - "name": "Widths[4]", - "size": 4, - "type": "ImU16" - } - ], - "ImGuiMetricsConfig": [ - { - "name": "ShowDebugLog", - "type": "bool" - }, - { - "name": "ShowStackTool", - "type": "bool" - }, - { - "name": "ShowWindowsRects", - "type": "bool" - }, - { - "name": "ShowWindowsBeginOrder", - "type": "bool" - }, - { - "name": "ShowTablesRects", - "type": "bool" - }, - { - "name": "ShowDrawCmdMesh", - "type": "bool" - }, - { - "name": "ShowDrawCmdBoundingBoxes", - "type": "bool" - }, - { - "name": "ShowDockingNodes", - "type": "bool" - }, - { - "name": "ShowWindowsRectsType", - "type": "int" - }, - { - "name": "ShowTablesRectsType", - "type": "int" - } - ], - "ImGuiNavItemData": [ - { - "name": "Window", - "type": "ImGuiWindow*" - }, - { - "name": "ID", - "type": "ImGuiID" - }, - { - "name": "FocusScopeId", - "type": "ImGuiID" - }, - { - "name": "RectRel", - "type": "ImRect" - }, - { - "name": "InFlags", - "type": "ImGuiItemFlags" - }, - { - "name": "DistBox", - "type": "float" - }, - { - "name": "DistCenter", - "type": "float" - }, - { - "name": "DistAxial", - "type": "float" - } - ], - "ImGuiNextItemData": [ - { - "name": "Flags", - "type": "ImGuiNextItemDataFlags" - }, - { - "name": "Width", - "type": "float" - }, - { - "name": "FocusScopeId", - "type": "ImGuiID" - }, - { - "name": "OpenCond", - "type": "ImGuiCond" - }, - { - "name": "OpenVal", - "type": "bool" - } - ], - "ImGuiNextWindowData": [ - { - "name": "Flags", - "type": "ImGuiNextWindowDataFlags" - }, - { - "name": "PosCond", - "type": "ImGuiCond" - }, - { - "name": "SizeCond", - "type": "ImGuiCond" - }, - { - "name": "CollapsedCond", - "type": "ImGuiCond" - }, - { - "name": "DockCond", - "type": "ImGuiCond" - }, - { - "name": "PosVal", - "type": "ImVec2" - }, - { - "name": "PosPivotVal", - "type": "ImVec2" - }, - { - "name": "SizeVal", - "type": "ImVec2" - }, - { - "name": "ContentSizeVal", - "type": "ImVec2" - }, - { - "name": "ScrollVal", - "type": "ImVec2" - }, - { - "name": "PosUndock", - "type": "bool" - }, - { - "name": "CollapsedVal", - "type": "bool" - }, - { - "name": "SizeConstraintRect", - "type": "ImRect" - }, - { - "name": "SizeCallback", - "type": "ImGuiSizeCallback" - }, - { - "name": "SizeCallbackUserData", - "type": "void*" - }, - { - "name": "BgAlphaVal", - "type": "float" - }, - { - "name": "ViewportId", - "type": "ImGuiID" - }, - { - "name": "DockId", - "type": "ImGuiID" - }, - { - "name": "WindowClass", - "type": "ImGuiWindowClass" - }, - { - "name": "MenuBarOffsetMinVal", - "type": "ImVec2" - } - ], - "ImGuiOldColumnData": [ - { - "name": "OffsetNorm", - "type": "float" - }, - { - "name": "OffsetNormBeforeResize", - "type": "float" - }, - { - "name": "Flags", - "type": "ImGuiOldColumnFlags" - }, - { - "name": "ClipRect", - "type": "ImRect" - } - ], - "ImGuiOldColumns": [ - { - "name": "ID", - "type": "ImGuiID" - }, - { - "name": "Flags", - "type": "ImGuiOldColumnFlags" - }, - { - "name": "IsFirstFrame", - "type": "bool" - }, - { - "name": "IsBeingResized", - "type": "bool" - }, - { - "name": "Current", - "type": "int" - }, - { - "name": "Count", - "type": "int" - }, - { - "name": "OffMinX", - "type": "float" - }, - { - "name": "OffMaxX", - "type": "float" - }, - { - "name": "LineMinY", - "type": "float" - }, - { - "name": "LineMaxY", - "type": "float" - }, - { - "name": "HostCursorPosY", - "type": "float" - }, - { - "name": "HostCursorMaxPosX", - "type": "float" - }, - { - "name": "HostInitialClipRect", - "type": "ImRect" - }, - { - "name": "HostBackupClipRect", - "type": "ImRect" - }, - { - "name": "HostBackupParentWorkRect", - "type": "ImRect" - }, - { - "name": "Columns", - "template_type": "ImGuiOldColumnData", - "type": "ImVector_ImGuiOldColumnData" - }, - { - "name": "Splitter", - "type": "ImDrawListSplitter" - } - ], - "ImGuiOnceUponAFrame": [ - { - "name": "RefFrame", - "type": "int" - } - ], - "ImGuiPayload": [ - { - "name": "Data", - "type": "void*" - }, - { - "name": "DataSize", - "type": "int" - }, - { - "name": "SourceId", - "type": "ImGuiID" - }, - { - "name": "SourceParentId", - "type": "ImGuiID" - }, - { - "name": "DataFrameCount", - "type": "int" - }, - { - "name": "DataType[32+1]", - "size": 33, - "type": "char" - }, - { - "name": "Preview", - "type": "bool" - }, - { - "name": "Delivery", - "type": "bool" - } - ], - "ImGuiPlatformIO": [ - { - "name": "Platform_CreateWindow", - "type": "void(*)(ImGuiViewport* vp)" - }, - { - "name": "Platform_DestroyWindow", - "type": "void(*)(ImGuiViewport* vp)" - }, - { - "name": "Platform_ShowWindow", - "type": "void(*)(ImGuiViewport* vp)" - }, - { - "name": "Platform_SetWindowPos", - "type": "void(*)(ImGuiViewport* vp,ImVec2 pos)" - }, - { - "name": "Platform_GetWindowPos", - "type": "ImVec2(*)(ImGuiViewport* vp)" - }, - { - "name": "Platform_SetWindowSize", - "type": "void(*)(ImGuiViewport* vp,ImVec2 size)" - }, - { - "name": "Platform_GetWindowSize", - "type": "ImVec2(*)(ImGuiViewport* vp)" - }, - { - "name": "Platform_SetWindowFocus", - "type": "void(*)(ImGuiViewport* vp)" - }, - { - "name": "Platform_GetWindowFocus", - "type": "bool(*)(ImGuiViewport* vp)" - }, - { - "name": "Platform_GetWindowMinimized", - "type": "bool(*)(ImGuiViewport* vp)" - }, - { - "name": "Platform_SetWindowTitle", - "type": "void(*)(ImGuiViewport* vp,const char* str)" - }, - { - "name": "Platform_SetWindowAlpha", - "type": "void(*)(ImGuiViewport* vp,float alpha)" - }, - { - "name": "Platform_UpdateWindow", - "type": "void(*)(ImGuiViewport* vp)" - }, - { - "name": "Platform_RenderWindow", - "type": "void(*)(ImGuiViewport* vp,void* render_arg)" - }, - { - "name": "Platform_SwapBuffers", - "type": "void(*)(ImGuiViewport* vp,void* render_arg)" - }, - { - "name": "Platform_GetWindowDpiScale", - "type": "float(*)(ImGuiViewport* vp)" - }, - { - "name": "Platform_OnChangedViewport", - "type": "void(*)(ImGuiViewport* vp)" - }, - { - "name": "Platform_CreateVkSurface", - "type": "int(*)(ImGuiViewport* vp,ImU64 vk_inst,const void* vk_allocators,ImU64* out_vk_surface)" - }, - { - "name": "Renderer_CreateWindow", - "type": "void(*)(ImGuiViewport* vp)" - }, - { - "name": "Renderer_DestroyWindow", - "type": "void(*)(ImGuiViewport* vp)" - }, - { - "name": "Renderer_SetWindowSize", - "type": "void(*)(ImGuiViewport* vp,ImVec2 size)" - }, - { - "name": "Renderer_RenderWindow", - "type": "void(*)(ImGuiViewport* vp,void* render_arg)" - }, - { - "name": "Renderer_SwapBuffers", - "type": "void(*)(ImGuiViewport* vp,void* render_arg)" - }, - { - "name": "Monitors", - "template_type": "ImGuiPlatformMonitor", - "type": "ImVector_ImGuiPlatformMonitor" - }, - { - "name": "Viewports", - "template_type": "ImGuiViewport*", - "type": "ImVector_ImGuiViewportPtr" - } - ], - "ImGuiPlatformImeData": [ - { - "name": "WantVisible", - "type": "bool" - }, - { - "name": "InputPos", - "type": "ImVec2" - }, - { - "name": "InputLineHeight", - "type": "float" - } - ], - "ImGuiPlatformMonitor": [ - { - "name": "MainPos", - "type": "ImVec2" - }, - { - "name": "MainSize", - "type": "ImVec2" - }, - { - "name": "WorkPos", - "type": "ImVec2" - }, - { - "name": "WorkSize", - "type": "ImVec2" - }, - { - "name": "DpiScale", - "type": "float" - } - ], - "ImGuiPopupData": [ - { - "name": "PopupId", - "type": "ImGuiID" - }, - { - "name": "Window", - "type": "ImGuiWindow*" - }, - { - "name": "BackupNavWindow", - "type": "ImGuiWindow*" - }, - { - "name": "ParentNavLayer", - "type": "int" - }, - { - "name": "OpenFrameCount", - "type": "int" - }, - { - "name": "OpenParentId", - "type": "ImGuiID" - }, - { - "name": "OpenPopupPos", - "type": "ImVec2" - }, - { - "name": "OpenMousePos", - "type": "ImVec2" - } - ], - "ImGuiPtrOrIndex": [ - { - "name": "Ptr", - "type": "void*" - }, - { - "name": "Index", - "type": "int" - } - ], - "ImGuiSettingsHandler": [ - { - "name": "TypeName", - "type": "const char*" - }, - { - "name": "TypeHash", - "type": "ImGuiID" - }, - { - "name": "ClearAllFn", - "type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler)" - }, - { - "name": "ReadInitFn", - "type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler)" - }, - { - "name": "ReadOpenFn", - "type": "void*(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler,const char* name)" - }, - { - "name": "ReadLineFn", - "type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler,void* entry,const char* line)" - }, - { - "name": "ApplyAllFn", - "type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler)" - }, - { - "name": "WriteAllFn", - "type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler,ImGuiTextBuffer* out_buf)" - }, - { - "name": "UserData", - "type": "void*" - } - ], - "ImGuiShrinkWidthItem": [ - { - "name": "Index", - "type": "int" - }, - { - "name": "Width", - "type": "float" - }, - { - "name": "InitialWidth", - "type": "float" - } - ], - "ImGuiSizeCallbackData": [ - { - "name": "UserData", - "type": "void*" - }, - { - "name": "Pos", - "type": "ImVec2" - }, - { - "name": "CurrentSize", - "type": "ImVec2" - }, - { - "name": "DesiredSize", - "type": "ImVec2" - } - ], - "ImGuiStackLevelInfo": [ - { - "name": "ID", - "type": "ImGuiID" - }, - { - "name": "QueryFrameCount", - "type": "ImS8" - }, - { - "name": "QuerySuccess", - "type": "bool" - }, - { - "bitfield": "8", - "name": "DataType", - "type": "ImGuiDataType" - }, - { - "name": "Desc[57]", - "size": 57, - "type": "char" - } - ], - "ImGuiStackSizes": [ - { - "name": "SizeOfIDStack", - "type": "short" - }, - { - "name": "SizeOfColorStack", - "type": "short" - }, - { - "name": "SizeOfStyleVarStack", - "type": "short" - }, - { - "name": "SizeOfFontStack", - "type": "short" - }, - { - "name": "SizeOfFocusScopeStack", - "type": "short" - }, - { - "name": "SizeOfGroupStack", - "type": "short" - }, - { - "name": "SizeOfItemFlagsStack", - "type": "short" - }, - { - "name": "SizeOfBeginPopupStack", - "type": "short" - }, - { - "name": "SizeOfDisabledStack", - "type": "short" - } - ], - "ImGuiStackTool": [ - { - "name": "LastActiveFrame", - "type": "int" - }, - { - "name": "StackLevel", - "type": "int" - }, - { - "name": "QueryId", - "type": "ImGuiID" - }, - { - "name": "Results", - "template_type": "ImGuiStackLevelInfo", - "type": "ImVector_ImGuiStackLevelInfo" - }, - { - "name": "CopyToClipboardOnCtrlC", - "type": "bool" - }, - { - "name": "CopyToClipboardLastTime", - "type": "float" - } - ], - "ImGuiStorage": [ - { - "name": "Data", - "template_type": "ImGuiStoragePair", - "type": "ImVector_ImGuiStoragePair" - } - ], - "ImGuiStoragePair": [ - { - "name": "key", - "type": "ImGuiID" - }, - { - "name": "", - "type": "union { int val_i; float val_f; void* val_p;}" - } - ], - "ImGuiStyle": [ - { - "name": "Alpha", - "type": "float" - }, - { - "name": "DisabledAlpha", - "type": "float" - }, - { - "name": "WindowPadding", - "type": "ImVec2" - }, - { - "name": "WindowRounding", - "type": "float" - }, - { - "name": "WindowBorderSize", - "type": "float" - }, - { - "name": "WindowMinSize", - "type": "ImVec2" - }, - { - "name": "WindowTitleAlign", - "type": "ImVec2" - }, - { - "name": "WindowMenuButtonPosition", - "type": "ImGuiDir" - }, - { - "name": "ChildRounding", - "type": "float" - }, - { - "name": "ChildBorderSize", - "type": "float" - }, - { - "name": "PopupRounding", - "type": "float" - }, - { - "name": "PopupBorderSize", - "type": "float" - }, - { - "name": "FramePadding", - "type": "ImVec2" - }, - { - "name": "FrameRounding", - "type": "float" - }, - { - "name": "FrameBorderSize", - "type": "float" - }, - { - "name": "ItemSpacing", - "type": "ImVec2" - }, - { - "name": "ItemInnerSpacing", - "type": "ImVec2" - }, - { - "name": "CellPadding", - "type": "ImVec2" - }, - { - "name": "TouchExtraPadding", - "type": "ImVec2" - }, - { - "name": "IndentSpacing", - "type": "float" - }, - { - "name": "ColumnsMinSpacing", - "type": "float" - }, - { - "name": "ScrollbarSize", - "type": "float" - }, - { - "name": "ScrollbarRounding", - "type": "float" - }, - { - "name": "GrabMinSize", - "type": "float" - }, - { - "name": "GrabRounding", - "type": "float" - }, - { - "name": "LogSliderDeadzone", - "type": "float" - }, - { - "name": "TabRounding", - "type": "float" - }, - { - "name": "TabBorderSize", - "type": "float" - }, - { - "name": "TabMinWidthForCloseButton", - "type": "float" - }, - { - "name": "ColorButtonPosition", - "type": "ImGuiDir" - }, - { - "name": "ButtonTextAlign", - "type": "ImVec2" - }, - { - "name": "SelectableTextAlign", - "type": "ImVec2" - }, - { - "name": "DisplayWindowPadding", - "type": "ImVec2" - }, - { - "name": "DisplaySafeAreaPadding", - "type": "ImVec2" - }, - { - "name": "MouseCursorScale", - "type": "float" - }, - { - "name": "AntiAliasedLines", - "type": "bool" - }, - { - "name": "AntiAliasedLinesUseTex", - "type": "bool" - }, - { - "name": "AntiAliasedFill", - "type": "bool" - }, - { - "name": "CurveTessellationTol", - "type": "float" - }, - { - "name": "CircleTessellationMaxError", - "type": "float" - }, - { - "name": "Colors[ImGuiCol_COUNT]", - "size": 55, - "type": "ImVec4" - } - ], - "ImGuiStyleMod": [ - { - "name": "VarIdx", - "type": "ImGuiStyleVar" - }, - { - "name": "", - "type": "union { int BackupInt[2]; float BackupFloat[2];}" - } - ], - "ImGuiTabBar": [ - { - "name": "Tabs", - "template_type": "ImGuiTabItem", - "type": "ImVector_ImGuiTabItem" - }, - { - "name": "Flags", - "type": "ImGuiTabBarFlags" - }, - { - "name": "ID", - "type": "ImGuiID" - }, - { - "name": "SelectedTabId", - "type": "ImGuiID" - }, - { - "name": "NextSelectedTabId", - "type": "ImGuiID" - }, - { - "name": "VisibleTabId", - "type": "ImGuiID" - }, - { - "name": "CurrFrameVisible", - "type": "int" - }, - { - "name": "PrevFrameVisible", - "type": "int" - }, - { - "name": "BarRect", - "type": "ImRect" - }, - { - "name": "CurrTabsContentsHeight", - "type": "float" - }, - { - "name": "PrevTabsContentsHeight", - "type": "float" - }, - { - "name": "WidthAllTabs", - "type": "float" - }, - { - "name": "WidthAllTabsIdeal", - "type": "float" - }, - { - "name": "ScrollingAnim", - "type": "float" - }, - { - "name": "ScrollingTarget", - "type": "float" - }, - { - "name": "ScrollingTargetDistToVisibility", - "type": "float" - }, - { - "name": "ScrollingSpeed", - "type": "float" - }, - { - "name": "ScrollingRectMinX", - "type": "float" - }, - { - "name": "ScrollingRectMaxX", - "type": "float" - }, - { - "name": "ReorderRequestTabId", - "type": "ImGuiID" - }, - { - "name": "ReorderRequestOffset", - "type": "ImS16" - }, - { - "name": "BeginCount", - "type": "ImS8" - }, - { - "name": "WantLayout", - "type": "bool" - }, - { - "name": "VisibleTabWasSubmitted", - "type": "bool" - }, - { - "name": "TabsAddedNew", - "type": "bool" - }, - { - "name": "TabsActiveCount", - "type": "ImS16" - }, - { - "name": "LastTabItemIdx", - "type": "ImS16" - }, - { - "name": "ItemSpacingY", - "type": "float" - }, - { - "name": "FramePadding", - "type": "ImVec2" - }, - { - "name": "BackupCursorPos", - "type": "ImVec2" - }, - { - "name": "TabsNames", - "type": "ImGuiTextBuffer" - } - ], - "ImGuiTabItem": [ - { - "name": "ID", - "type": "ImGuiID" - }, - { - "name": "Flags", - "type": "ImGuiTabItemFlags" - }, - { - "name": "Window", - "type": "ImGuiWindow*" - }, - { - "name": "LastFrameVisible", - "type": "int" - }, - { - "name": "LastFrameSelected", - "type": "int" - }, - { - "name": "Offset", - "type": "float" - }, - { - "name": "Width", - "type": "float" - }, - { - "name": "ContentWidth", - "type": "float" - }, - { - "name": "RequestedWidth", - "type": "float" - }, - { - "name": "NameOffset", - "type": "ImS32" - }, - { - "name": "BeginOrder", - "type": "ImS16" - }, - { - "name": "IndexDuringLayout", - "type": "ImS16" - }, - { - "name": "WantClose", - "type": "bool" - } - ], - "ImGuiTable": [ - { - "name": "ID", - "type": "ImGuiID" - }, - { - "name": "Flags", - "type": "ImGuiTableFlags" - }, - { - "name": "RawData", - "type": "void*" - }, - { - "name": "TempData", - "type": "ImGuiTableTempData*" - }, - { - "name": "Columns", - "template_type": "ImGuiTableColumn", - "type": "ImSpan_ImGuiTableColumn" - }, - { - "name": "DisplayOrderToIndex", - "template_type": "ImGuiTableColumnIdx", - "type": "ImSpan_ImGuiTableColumnIdx" - }, - { - "name": "RowCellData", - "template_type": "ImGuiTableCellData", - "type": "ImSpan_ImGuiTableCellData" - }, - { - "name": "EnabledMaskByDisplayOrder", - "type": "ImU64" - }, - { - "name": "EnabledMaskByIndex", - "type": "ImU64" - }, - { - "name": "VisibleMaskByIndex", - "type": "ImU64" - }, - { - "name": "RequestOutputMaskByIndex", - "type": "ImU64" - }, - { - "name": "SettingsLoadedFlags", - "type": "ImGuiTableFlags" - }, - { - "name": "SettingsOffset", - "type": "int" - }, - { - "name": "LastFrameActive", - "type": "int" - }, - { - "name": "ColumnsCount", - "type": "int" - }, - { - "name": "CurrentRow", - "type": "int" - }, - { - "name": "CurrentColumn", - "type": "int" - }, - { - "name": "InstanceCurrent", - "type": "ImS16" - }, - { - "name": "InstanceInteracted", - "type": "ImS16" - }, - { - "name": "RowPosY1", - "type": "float" - }, - { - "name": "RowPosY2", - "type": "float" - }, - { - "name": "RowMinHeight", - "type": "float" - }, - { - "name": "RowTextBaseline", - "type": "float" - }, - { - "name": "RowIndentOffsetX", - "type": "float" - }, - { - "bitfield": "16", - "name": "RowFlags", - "type": "ImGuiTableRowFlags" - }, - { - "bitfield": "16", - "name": "LastRowFlags", - "type": "ImGuiTableRowFlags" - }, - { - "name": "RowBgColorCounter", - "type": "int" - }, - { - "name": "RowBgColor[2]", - "size": 2, - "type": "ImU32" - }, - { - "name": "BorderColorStrong", - "type": "ImU32" - }, - { - "name": "BorderColorLight", - "type": "ImU32" - }, - { - "name": "BorderX1", - "type": "float" - }, - { - "name": "BorderX2", - "type": "float" - }, - { - "name": "HostIndentX", - "type": "float" - }, - { - "name": "MinColumnWidth", - "type": "float" - }, - { - "name": "OuterPaddingX", - "type": "float" - }, - { - "name": "CellPaddingX", - "type": "float" - }, - { - "name": "CellPaddingY", - "type": "float" - }, - { - "name": "CellSpacingX1", - "type": "float" - }, - { - "name": "CellSpacingX2", - "type": "float" - }, - { - "name": "InnerWidth", - "type": "float" - }, - { - "name": "ColumnsGivenWidth", - "type": "float" - }, - { - "name": "ColumnsAutoFitWidth", - "type": "float" - }, - { - "name": "ColumnsStretchSumWeights", - "type": "float" - }, - { - "name": "ResizedColumnNextWidth", - "type": "float" - }, - { - "name": "ResizeLockMinContentsX2", - "type": "float" - }, - { - "name": "RefScale", - "type": "float" - }, - { - "name": "OuterRect", - "type": "ImRect" - }, - { - "name": "InnerRect", - "type": "ImRect" - }, - { - "name": "WorkRect", - "type": "ImRect" - }, - { - "name": "InnerClipRect", - "type": "ImRect" - }, - { - "name": "BgClipRect", - "type": "ImRect" - }, - { - "name": "Bg0ClipRectForDrawCmd", - "type": "ImRect" - }, - { - "name": "Bg2ClipRectForDrawCmd", - "type": "ImRect" - }, - { - "name": "HostClipRect", - "type": "ImRect" - }, - { - "name": "HostBackupInnerClipRect", - "type": "ImRect" - }, - { - "name": "OuterWindow", - "type": "ImGuiWindow*" - }, - { - "name": "InnerWindow", - "type": "ImGuiWindow*" - }, - { - "name": "ColumnsNames", - "type": "ImGuiTextBuffer" - }, - { - "name": "DrawSplitter", - "type": "ImDrawListSplitter*" - }, - { - "name": "InstanceDataFirst", - "type": "ImGuiTableInstanceData" - }, - { - "name": "InstanceDataExtra", - "template_type": "ImGuiTableInstanceData", - "type": "ImVector_ImGuiTableInstanceData" - }, - { - "name": "SortSpecsSingle", - "type": "ImGuiTableColumnSortSpecs" - }, - { - "name": "SortSpecsMulti", - "template_type": "ImGuiTableColumnSortSpecs", - "type": "ImVector_ImGuiTableColumnSortSpecs" - }, - { - "name": "SortSpecs", - "type": "ImGuiTableSortSpecs" - }, - { - "name": "SortSpecsCount", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "ColumnsEnabledCount", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "ColumnsEnabledFixedCount", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "DeclColumnsCount", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "HoveredColumnBody", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "HoveredColumnBorder", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "AutoFitSingleColumn", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "ResizedColumn", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "LastResizedColumn", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "HeldHeaderColumn", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "ReorderColumn", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "ReorderColumnDir", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "LeftMostEnabledColumn", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "RightMostEnabledColumn", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "LeftMostStretchedColumn", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "RightMostStretchedColumn", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "ContextPopupColumn", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "FreezeRowsRequest", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "FreezeRowsCount", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "FreezeColumnsRequest", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "FreezeColumnsCount", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "RowCellDataCurrent", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "DummyDrawChannel", - "type": "ImGuiTableDrawChannelIdx" - }, - { - "name": "Bg2DrawChannelCurrent", - "type": "ImGuiTableDrawChannelIdx" - }, - { - "name": "Bg2DrawChannelUnfrozen", - "type": "ImGuiTableDrawChannelIdx" - }, - { - "name": "IsLayoutLocked", - "type": "bool" - }, - { - "name": "IsInsideRow", - "type": "bool" - }, - { - "name": "IsInitializing", - "type": "bool" - }, - { - "name": "IsSortSpecsDirty", - "type": "bool" - }, - { - "name": "IsUsingHeaders", - "type": "bool" - }, - { - "name": "IsContextPopupOpen", - "type": "bool" - }, - { - "name": "IsSettingsRequestLoad", - "type": "bool" - }, - { - "name": "IsSettingsDirty", - "type": "bool" - }, - { - "name": "IsDefaultDisplayOrder", - "type": "bool" - }, - { - "name": "IsResetAllRequest", - "type": "bool" - }, - { - "name": "IsResetDisplayOrderRequest", - "type": "bool" - }, - { - "name": "IsUnfrozenRows", - "type": "bool" - }, - { - "name": "IsDefaultSizingPolicy", - "type": "bool" - }, - { - "name": "MemoryCompacted", - "type": "bool" - }, - { - "name": "HostSkipItems", - "type": "bool" - } - ], - "ImGuiTableCellData": [ - { - "name": "BgColor", - "type": "ImU32" - }, - { - "name": "Column", - "type": "ImGuiTableColumnIdx" - } - ], - "ImGuiTableColumn": [ - { - "name": "Flags", - "type": "ImGuiTableColumnFlags" - }, - { - "name": "WidthGiven", - "type": "float" - }, - { - "name": "MinX", - "type": "float" - }, - { - "name": "MaxX", - "type": "float" - }, - { - "name": "WidthRequest", - "type": "float" - }, - { - "name": "WidthAuto", - "type": "float" - }, - { - "name": "StretchWeight", - "type": "float" - }, - { - "name": "InitStretchWeightOrWidth", - "type": "float" - }, - { - "name": "ClipRect", - "type": "ImRect" - }, - { - "name": "UserID", - "type": "ImGuiID" - }, - { - "name": "WorkMinX", - "type": "float" - }, - { - "name": "WorkMaxX", - "type": "float" - }, - { - "name": "ItemWidth", - "type": "float" - }, - { - "name": "ContentMaxXFrozen", - "type": "float" - }, - { - "name": "ContentMaxXUnfrozen", - "type": "float" - }, - { - "name": "ContentMaxXHeadersUsed", - "type": "float" - }, - { - "name": "ContentMaxXHeadersIdeal", - "type": "float" - }, - { - "name": "NameOffset", - "type": "ImS16" - }, - { - "name": "DisplayOrder", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "IndexWithinEnabledSet", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "PrevEnabledColumn", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "NextEnabledColumn", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "SortOrder", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "DrawChannelCurrent", - "type": "ImGuiTableDrawChannelIdx" - }, - { - "name": "DrawChannelFrozen", - "type": "ImGuiTableDrawChannelIdx" - }, - { - "name": "DrawChannelUnfrozen", - "type": "ImGuiTableDrawChannelIdx" - }, - { - "name": "IsEnabled", - "type": "bool" - }, - { - "name": "IsUserEnabled", - "type": "bool" - }, - { - "name": "IsUserEnabledNextFrame", - "type": "bool" - }, - { - "name": "IsVisibleX", - "type": "bool" - }, - { - "name": "IsVisibleY", - "type": "bool" - }, - { - "name": "IsRequestOutput", - "type": "bool" - }, - { - "name": "IsSkipItems", - "type": "bool" - }, - { - "name": "IsPreserveWidthAuto", - "type": "bool" - }, - { - "name": "NavLayerCurrent", - "type": "ImS8" - }, - { - "name": "AutoFitQueue", - "type": "ImU8" - }, - { - "name": "CannotSkipItemsQueue", - "type": "ImU8" - }, - { - "bitfield": "2", - "name": "SortDirection", - "type": "ImU8" - }, - { - "bitfield": "2", - "name": "SortDirectionsAvailCount", - "type": "ImU8" - }, - { - "bitfield": "4", - "name": "SortDirectionsAvailMask", - "type": "ImU8" - }, - { - "name": "SortDirectionsAvailList", - "type": "ImU8" - } - ], - "ImGuiTableColumnSettings": [ - { - "name": "WidthOrWeight", - "type": "float" - }, - { - "name": "UserID", - "type": "ImGuiID" - }, - { - "name": "Index", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "DisplayOrder", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "SortOrder", - "type": "ImGuiTableColumnIdx" - }, - { - "bitfield": "2", - "name": "SortDirection", - "type": "ImU8" - }, - { - "bitfield": "1", - "name": "IsEnabled", - "type": "ImU8" - }, - { - "bitfield": "1", - "name": "IsStretch", - "type": "ImU8" - } - ], - "ImGuiTableColumnSortSpecs": [ - { - "name": "ColumnUserID", - "type": "ImGuiID" - }, - { - "name": "ColumnIndex", - "type": "ImS16" - }, - { - "name": "SortOrder", - "type": "ImS16" - }, - { - "bitfield": "8", - "name": "SortDirection", - "type": "ImGuiSortDirection" - } - ], - "ImGuiTableInstanceData": [ - { - "name": "LastOuterHeight", - "type": "float" - }, - { - "name": "LastFirstRowHeight", - "type": "float" - } - ], - "ImGuiTableSettings": [ - { - "name": "ID", - "type": "ImGuiID" - }, - { - "name": "SaveFlags", - "type": "ImGuiTableFlags" - }, - { - "name": "RefScale", - "type": "float" - }, - { - "name": "ColumnsCount", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "ColumnsCountMax", - "type": "ImGuiTableColumnIdx" - }, - { - "name": "WantApply", - "type": "bool" - } - ], - "ImGuiTableSortSpecs": [ - { - "name": "Specs", - "type": "const ImGuiTableColumnSortSpecs*" - }, - { - "name": "SpecsCount", - "type": "int" - }, - { - "name": "SpecsDirty", - "type": "bool" - } - ], - "ImGuiTableTempData": [ - { - "name": "TableIndex", - "type": "int" - }, - { - "name": "LastTimeActive", - "type": "float" - }, - { - "name": "UserOuterSize", - "type": "ImVec2" - }, - { - "name": "DrawSplitter", - "type": "ImDrawListSplitter" - }, - { - "name": "HostBackupWorkRect", - "type": "ImRect" - }, - { - "name": "HostBackupParentWorkRect", - "type": "ImRect" - }, - { - "name": "HostBackupPrevLineSize", - "type": "ImVec2" - }, - { - "name": "HostBackupCurrLineSize", - "type": "ImVec2" - }, - { - "name": "HostBackupCursorMaxPos", - "type": "ImVec2" - }, - { - "name": "HostBackupColumnsOffset", - "type": "ImVec1" - }, - { - "name": "HostBackupItemWidth", - "type": "float" - }, - { - "name": "HostBackupItemWidthStackSize", - "type": "int" - } - ], - "ImGuiTextBuffer": [ - { - "name": "Buf", - "template_type": "char", - "type": "ImVector_char" - } - ], - "ImGuiTextFilter": [ - { - "name": "InputBuf[256]", - "size": 256, - "type": "char" - }, - { - "name": "Filters", - "template_type": "ImGuiTextRange", - "type": "ImVector_ImGuiTextRange" - }, - { - "name": "CountGrep", - "type": "int" - } - ], - "ImGuiTextIndex": [ - { - "name": "LineOffsets", - "template_type": "int", - "type": "ImVector_int" - }, - { - "name": "EndOffset", - "type": "int" - } - ], - "ImGuiTextRange": [ - { - "name": "b", - "type": "const char*" - }, - { - "name": "e", - "type": "const char*" - } - ], - "ImGuiViewport": [ - { - "name": "ID", - "type": "ImGuiID" - }, - { - "name": "Flags", - "type": "ImGuiViewportFlags" - }, - { - "name": "Pos", - "type": "ImVec2" - }, - { - "name": "Size", - "type": "ImVec2" - }, - { - "name": "WorkPos", - "type": "ImVec2" - }, - { - "name": "WorkSize", - "type": "ImVec2" - }, - { - "name": "DpiScale", - "type": "float" - }, - { - "name": "ParentViewportId", - "type": "ImGuiID" - }, - { - "name": "DrawData", - "type": "ImDrawData*" - }, - { - "name": "RendererUserData", - "type": "void*" - }, - { - "name": "PlatformUserData", - "type": "void*" - }, - { - "name": "PlatformHandle", - "type": "void*" - }, - { - "name": "PlatformHandleRaw", - "type": "void*" - }, - { - "name": "PlatformWindowCreated", - "type": "bool" - }, - { - "name": "PlatformRequestMove", - "type": "bool" - }, - { - "name": "PlatformRequestResize", - "type": "bool" - }, - { - "name": "PlatformRequestClose", - "type": "bool" - } - ], - "ImGuiViewportP": [ - { - "name": "_ImGuiViewport", - "type": "ImGuiViewport" - }, - { - "name": "Idx", - "type": "int" - }, - { - "name": "LastFrameActive", - "type": "int" - }, - { - "name": "LastFrontMostStampCount", - "type": "int" - }, - { - "name": "LastNameHash", - "type": "ImGuiID" - }, - { - "name": "LastPos", - "type": "ImVec2" - }, - { - "name": "Alpha", - "type": "float" - }, - { - "name": "LastAlpha", - "type": "float" - }, - { - "name": "PlatformMonitor", - "type": "short" - }, - { - "name": "Window", - "type": "ImGuiWindow*" - }, - { - "name": "DrawListsLastFrame[2]", - "size": 2, - "type": "int" - }, - { - "name": "DrawLists[2]", - "size": 2, - "type": "ImDrawList*" - }, - { - "name": "DrawDataP", - "type": "ImDrawData" - }, - { - "name": "DrawDataBuilder", - "type": "ImDrawDataBuilder" - }, - { - "name": "LastPlatformPos", - "type": "ImVec2" - }, - { - "name": "LastPlatformSize", - "type": "ImVec2" - }, - { - "name": "LastRendererSize", - "type": "ImVec2" - }, - { - "name": "WorkOffsetMin", - "type": "ImVec2" - }, - { - "name": "WorkOffsetMax", - "type": "ImVec2" - }, - { - "name": "BuildWorkOffsetMin", - "type": "ImVec2" - }, - { - "name": "BuildWorkOffsetMax", - "type": "ImVec2" - } - ], - "ImGuiWindow": [ - { - "name": "Name", - "type": "char*" - }, - { - "name": "ID", - "type": "ImGuiID" - }, - { - "name": "Flags", - "type": "ImGuiWindowFlags" - }, - { - "name": "FlagsPreviousFrame", - "type": "ImGuiWindowFlags" - }, - { - "name": "WindowClass", - "type": "ImGuiWindowClass" - }, - { - "name": "Viewport", - "type": "ImGuiViewportP*" - }, - { - "name": "ViewportId", - "type": "ImGuiID" - }, - { - "name": "ViewportPos", - "type": "ImVec2" - }, - { - "name": "ViewportAllowPlatformMonitorExtend", - "type": "int" - }, - { - "name": "Pos", - "type": "ImVec2" - }, - { - "name": "Size", - "type": "ImVec2" - }, - { - "name": "SizeFull", - "type": "ImVec2" - }, - { - "name": "ContentSize", - "type": "ImVec2" - }, - { - "name": "ContentSizeIdeal", - "type": "ImVec2" - }, - { - "name": "ContentSizeExplicit", - "type": "ImVec2" - }, - { - "name": "WindowPadding", - "type": "ImVec2" - }, - { - "name": "WindowRounding", - "type": "float" - }, - { - "name": "WindowBorderSize", - "type": "float" - }, - { - "name": "NameBufLen", - "type": "int" - }, - { - "name": "MoveId", - "type": "ImGuiID" - }, - { - "name": "TabId", - "type": "ImGuiID" - }, - { - "name": "ChildId", - "type": "ImGuiID" - }, - { - "name": "Scroll", - "type": "ImVec2" - }, - { - "name": "ScrollMax", - "type": "ImVec2" - }, - { - "name": "ScrollTarget", - "type": "ImVec2" - }, - { - "name": "ScrollTargetCenterRatio", - "type": "ImVec2" - }, - { - "name": "ScrollTargetEdgeSnapDist", - "type": "ImVec2" - }, - { - "name": "ScrollbarSizes", - "type": "ImVec2" - }, - { - "name": "ScrollbarX", - "type": "bool" - }, - { - "name": "ScrollbarY", - "type": "bool" - }, - { - "name": "ViewportOwned", - "type": "bool" - }, - { - "name": "Active", - "type": "bool" - }, - { - "name": "WasActive", - "type": "bool" - }, - { - "name": "WriteAccessed", - "type": "bool" - }, - { - "name": "Collapsed", - "type": "bool" - }, - { - "name": "WantCollapseToggle", - "type": "bool" - }, - { - "name": "SkipItems", - "type": "bool" - }, - { - "name": "Appearing", - "type": "bool" - }, - { - "name": "Hidden", - "type": "bool" - }, - { - "name": "IsFallbackWindow", - "type": "bool" - }, - { - "name": "IsExplicitChild", - "type": "bool" - }, - { - "name": "HasCloseButton", - "type": "bool" - }, - { - "name": "ResizeBorderHeld", - "type": "signed char" - }, - { - "name": "BeginCount", - "type": "short" - }, - { - "name": "BeginCountPreviousFrame", - "type": "short" - }, - { - "name": "BeginOrderWithinParent", - "type": "short" - }, - { - "name": "BeginOrderWithinContext", - "type": "short" - }, - { - "name": "FocusOrder", - "type": "short" - }, - { - "name": "PopupId", - "type": "ImGuiID" - }, - { - "name": "AutoFitFramesX", - "type": "ImS8" - }, - { - "name": "AutoFitFramesY", - "type": "ImS8" - }, - { - "name": "AutoFitChildAxises", - "type": "ImS8" - }, - { - "name": "AutoFitOnlyGrows", - "type": "bool" - }, - { - "name": "AutoPosLastDirection", - "type": "ImGuiDir" - }, - { - "name": "HiddenFramesCanSkipItems", - "type": "ImS8" - }, - { - "name": "HiddenFramesCannotSkipItems", - "type": "ImS8" - }, - { - "name": "HiddenFramesForRenderOnly", - "type": "ImS8" - }, - { - "name": "DisableInputsFrames", - "type": "ImS8" - }, - { - "bitfield": "8", - "name": "SetWindowPosAllowFlags", - "type": "ImGuiCond" - }, - { - "bitfield": "8", - "name": "SetWindowSizeAllowFlags", - "type": "ImGuiCond" - }, - { - "bitfield": "8", - "name": "SetWindowCollapsedAllowFlags", - "type": "ImGuiCond" - }, - { - "bitfield": "8", - "name": "SetWindowDockAllowFlags", - "type": "ImGuiCond" - }, - { - "name": "SetWindowPosVal", - "type": "ImVec2" - }, - { - "name": "SetWindowPosPivot", - "type": "ImVec2" - }, - { - "name": "IDStack", - "template_type": "ImGuiID", - "type": "ImVector_ImGuiID" - }, - { - "name": "DC", - "type": "ImGuiWindowTempData" - }, - { - "name": "OuterRectClipped", - "type": "ImRect" - }, - { - "name": "InnerRect", - "type": "ImRect" - }, - { - "name": "InnerClipRect", - "type": "ImRect" - }, - { - "name": "WorkRect", - "type": "ImRect" - }, - { - "name": "ParentWorkRect", - "type": "ImRect" - }, - { - "name": "ClipRect", - "type": "ImRect" - }, - { - "name": "ContentRegionRect", - "type": "ImRect" - }, - { - "name": "HitTestHoleSize", - "type": "ImVec2ih" - }, - { - "name": "HitTestHoleOffset", - "type": "ImVec2ih" - }, - { - "name": "LastFrameActive", - "type": "int" - }, - { - "name": "LastFrameJustFocused", - "type": "int" - }, - { - "name": "LastTimeActive", - "type": "float" - }, - { - "name": "ItemWidthDefault", - "type": "float" - }, - { - "name": "StateStorage", - "type": "ImGuiStorage" - }, - { - "name": "ColumnsStorage", - "template_type": "ImGuiOldColumns", - "type": "ImVector_ImGuiOldColumns" - }, - { - "name": "FontWindowScale", - "type": "float" - }, - { - "name": "FontDpiScale", - "type": "float" - }, - { - "name": "SettingsOffset", - "type": "int" - }, - { - "name": "DrawList", - "type": "ImDrawList*" - }, - { - "name": "DrawListInst", - "type": "ImDrawList" - }, - { - "name": "ParentWindow", - "type": "ImGuiWindow*" - }, - { - "name": "ParentWindowInBeginStack", - "type": "ImGuiWindow*" - }, - { - "name": "RootWindow", - "type": "ImGuiWindow*" - }, - { - "name": "RootWindowPopupTree", - "type": "ImGuiWindow*" - }, - { - "name": "RootWindowDockTree", - "type": "ImGuiWindow*" - }, - { - "name": "RootWindowForTitleBarHighlight", - "type": "ImGuiWindow*" - }, - { - "name": "RootWindowForNav", - "type": "ImGuiWindow*" - }, - { - "name": "NavLastChildNavWindow", - "type": "ImGuiWindow*" - }, - { - "name": "NavLastIds[ImGuiNavLayer_COUNT]", - "size": 2, - "type": "ImGuiID" - }, - { - "name": "NavRectRel[ImGuiNavLayer_COUNT]", - "size": 2, - "type": "ImRect" - }, - { - "name": "NavRootFocusScopeId", - "type": "ImGuiID" - }, - { - "name": "MemoryDrawListIdxCapacity", - "type": "int" - }, - { - "name": "MemoryDrawListVtxCapacity", - "type": "int" - }, - { - "name": "MemoryCompacted", - "type": "bool" - }, - { - "bitfield": "1", - "name": "DockIsActive", - "type": "bool" - }, - { - "bitfield": "1", - "name": "DockNodeIsVisible", - "type": "bool" - }, - { - "bitfield": "1", - "name": "DockTabIsVisible", - "type": "bool" - }, - { - "bitfield": "1", - "name": "DockTabWantClose", - "type": "bool" - }, - { - "name": "DockOrder", - "type": "short" - }, - { - "name": "DockStyle", - "type": "ImGuiWindowDockStyle" - }, - { - "name": "DockNode", - "type": "ImGuiDockNode*" - }, - { - "name": "DockNodeAsHost", - "type": "ImGuiDockNode*" - }, - { - "name": "DockId", - "type": "ImGuiID" - }, - { - "name": "DockTabItemStatusFlags", - "type": "ImGuiItemStatusFlags" - }, - { - "name": "DockTabItemRect", - "type": "ImRect" - } - ], - "ImGuiWindowClass": [ - { - "name": "ClassId", - "type": "ImGuiID" - }, - { - "name": "ParentViewportId", - "type": "ImGuiID" - }, - { - "name": "ViewportFlagsOverrideSet", - "type": "ImGuiViewportFlags" - }, - { - "name": "ViewportFlagsOverrideClear", - "type": "ImGuiViewportFlags" - }, - { - "name": "TabItemFlagsOverrideSet", - "type": "ImGuiTabItemFlags" - }, - { - "name": "DockNodeFlagsOverrideSet", - "type": "ImGuiDockNodeFlags" - }, - { - "name": "DockingAlwaysTabBar", - "type": "bool" - }, - { - "name": "DockingAllowUnclassed", - "type": "bool" - } - ], - "ImGuiWindowDockStyle": [ - { - "name": "Colors[ImGuiWindowDockStyleCol_COUNT]", - "size": 6, - "type": "ImU32" - } - ], - "ImGuiWindowSettings": [ - { - "name": "ID", - "type": "ImGuiID" - }, - { - "name": "Pos", - "type": "ImVec2ih" - }, - { - "name": "Size", - "type": "ImVec2ih" - }, - { - "name": "ViewportPos", - "type": "ImVec2ih" - }, - { - "name": "ViewportId", - "type": "ImGuiID" - }, - { - "name": "DockId", - "type": "ImGuiID" - }, - { - "name": "ClassId", - "type": "ImGuiID" - }, - { - "name": "DockOrder", - "type": "short" - }, - { - "name": "Collapsed", - "type": "bool" - }, - { - "name": "WantApply", - "type": "bool" - } - ], - "ImGuiWindowStackData": [ - { - "name": "Window", - "type": "ImGuiWindow*" - }, - { - "name": "ParentLastItemDataBackup", - "type": "ImGuiLastItemData" - }, - { - "name": "StackSizesOnBegin", - "type": "ImGuiStackSizes" - } - ], - "ImGuiWindowTempData": [ - { - "name": "CursorPos", - "type": "ImVec2" - }, - { - "name": "CursorPosPrevLine", - "type": "ImVec2" - }, - { - "name": "CursorStartPos", - "type": "ImVec2" - }, - { - "name": "CursorMaxPos", - "type": "ImVec2" - }, - { - "name": "IdealMaxPos", - "type": "ImVec2" - }, - { - "name": "CurrLineSize", - "type": "ImVec2" - }, - { - "name": "PrevLineSize", - "type": "ImVec2" - }, - { - "name": "CurrLineTextBaseOffset", - "type": "float" - }, - { - "name": "PrevLineTextBaseOffset", - "type": "float" - }, - { - "name": "IsSameLine", - "type": "bool" - }, - { - "name": "IsSetPos", - "type": "bool" - }, - { - "name": "Indent", - "type": "ImVec1" - }, - { - "name": "ColumnsOffset", - "type": "ImVec1" - }, - { - "name": "GroupOffset", - "type": "ImVec1" - }, - { - "name": "CursorStartPosLossyness", - "type": "ImVec2" - }, - { - "name": "NavLayerCurrent", - "type": "ImGuiNavLayer" - }, - { - "name": "NavLayersActiveMask", - "type": "short" - }, - { - "name": "NavLayersActiveMaskNext", - "type": "short" - }, - { - "name": "NavHideHighlightOneFrame", - "type": "bool" - }, - { - "name": "NavHasScroll", - "type": "bool" - }, - { - "name": "MenuBarAppending", - "type": "bool" - }, - { - "name": "MenuBarOffset", - "type": "ImVec2" - }, - { - "name": "MenuColumns", - "type": "ImGuiMenuColumns" - }, - { - "name": "TreeDepth", - "type": "int" - }, - { - "name": "TreeJumpToParentOnPopMask", - "type": "ImU32" - }, - { - "name": "ChildWindows", - "template_type": "ImGuiWindow*", - "type": "ImVector_ImGuiWindowPtr" - }, - { - "name": "StateStorage", - "type": "ImGuiStorage*" - }, - { - "name": "CurrentColumns", - "type": "ImGuiOldColumns*" - }, - { - "name": "CurrentTableIdx", - "type": "int" - }, - { - "name": "LayoutType", - "type": "ImGuiLayoutType" - }, - { - "name": "ParentLayoutType", - "type": "ImGuiLayoutType" - }, - { - "name": "ItemWidth", - "type": "float" - }, - { - "name": "TextWrapPos", - "type": "float" - }, - { - "name": "ItemWidthStack", - "template_type": "float", - "type": "ImVector_float" - }, - { - "name": "TextWrapPosStack", - "template_type": "float", - "type": "ImVector_float" - } - ], - "ImRect": [ - { - "name": "Min", - "type": "ImVec2" - }, - { - "name": "Max", - "type": "ImVec2" - } - ], - "ImVec1": [ - { - "name": "x", - "type": "float" - } - ], - "ImVec2": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ], - "ImVec2ih": [ - { - "name": "x", - "type": "short" - }, - { - "name": "y", - "type": "short" - } - ], - "ImVec4": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "w", - "type": "float" - } - ], - "STB_TexteditState": [ - { - "name": "cursor", - "type": "int" - }, - { - "name": "select_start", - "type": "int" - }, - { - "name": "select_end", - "type": "int" - }, - { - "name": "insert_mode", - "type": "unsigned char" - }, - { - "name": "row_count_per_page", - "type": "int" - }, - { - "name": "cursor_at_end_of_line", - "type": "unsigned char" - }, - { - "name": "initialized", - "type": "unsigned char" - }, - { - "name": "has_preferred_x", - "type": "unsigned char" - }, - { - "name": "single_line", - "type": "unsigned char" - }, - { - "name": "padding1", - "type": "unsigned char" - }, - { - "name": "padding2", - "type": "unsigned char" - }, - { - "name": "padding3", - "type": "unsigned char" - }, - { - "name": "preferred_x", - "type": "float" - }, - { - "name": "undostate", - "type": "StbUndoState" - } - ], - "StbTexteditRow": [ - { - "name": "x0", - "type": "float" - }, - { - "name": "x1", - "type": "float" - }, - { - "name": "baseline_y_delta", - "type": "float" - }, - { - "name": "ymin", - "type": "float" - }, - { - "name": "ymax", - "type": "float" - }, - { - "name": "num_chars", - "type": "int" - } - ], - "StbUndoRecord": [ - { - "name": "where", - "type": "int" - }, - { - "name": "insert_length", - "type": "int" - }, - { - "name": "delete_length", - "type": "int" - }, - { - "name": "char_storage", - "type": "int" - } - ], - "StbUndoState": [ - { - "name": "undo_rec[99]", - "size": 99, - "type": "StbUndoRecord" - }, - { - "name": "undo_char[999]", - "size": 999, - "type": "ImWchar" - }, - { - "name": "undo_point", - "type": "short" - }, - { - "name": "redo_point", - "type": "short" - }, - { - "name": "undo_char_point", - "type": "int" - }, - { - "name": "redo_char_point", - "type": "int" - } - ] - } +{ + "enums": { + "ImDrawFlags_": [ + { + "calc_value": 0, + "name": "ImDrawFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImDrawFlags_Closed", + "value": "1 << 0" + }, + { + "calc_value": 16, + "name": "ImDrawFlags_RoundCornersTopLeft", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImDrawFlags_RoundCornersTopRight", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImDrawFlags_RoundCornersBottomLeft", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImDrawFlags_RoundCornersBottomRight", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImDrawFlags_RoundCornersNone", + "value": "1 << 8" + }, + { + "calc_value": 48, + "name": "ImDrawFlags_RoundCornersTop", + "value": "ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight" + }, + { + "calc_value": 192, + "name": "ImDrawFlags_RoundCornersBottom", + "value": "ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight" + }, + { + "calc_value": 80, + "name": "ImDrawFlags_RoundCornersLeft", + "value": "ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft" + }, + { + "calc_value": 160, + "name": "ImDrawFlags_RoundCornersRight", + "value": "ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight" + }, + { + "calc_value": 240, + "name": "ImDrawFlags_RoundCornersAll", + "value": "ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight" + }, + { + "calc_value": 240, + "name": "ImDrawFlags_RoundCornersDefault_", + "value": "ImDrawFlags_RoundCornersAll" + }, + { + "calc_value": 496, + "name": "ImDrawFlags_RoundCornersMask_", + "value": "ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone" + } + ], + "ImDrawListFlags_": [ + { + "calc_value": 0, + "name": "ImDrawListFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImDrawListFlags_AntiAliasedLines", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImDrawListFlags_AntiAliasedLinesUseTex", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImDrawListFlags_AntiAliasedFill", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImDrawListFlags_AllowVtxOffset", + "value": "1 << 3" + } + ], + "ImFontAtlasFlags_": [ + { + "calc_value": 0, + "name": "ImFontAtlasFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImFontAtlasFlags_NoPowerOfTwoHeight", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImFontAtlasFlags_NoMouseCursors", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImFontAtlasFlags_NoBakedLines", + "value": "1 << 2" + } + ], + "ImGuiActivateFlags_": [ + { + "calc_value": 0, + "name": "ImGuiActivateFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiActivateFlags_PreferInput", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiActivateFlags_PreferTweak", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiActivateFlags_TryToPreserveState", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiActivateFlags_FromTabbing", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiActivateFlags_FromShortcut", + "value": "1 << 4" + } + ], + "ImGuiAxis": [ + { + "calc_value": -1, + "name": "ImGuiAxis_None", + "value": "-1" + }, + { + "calc_value": 0, + "name": "ImGuiAxis_X", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiAxis_Y", + "value": "1" + } + ], + "ImGuiBackendFlags_": [ + { + "calc_value": 0, + "name": "ImGuiBackendFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiBackendFlags_HasGamepad", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiBackendFlags_HasMouseCursors", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiBackendFlags_HasSetMousePos", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiBackendFlags_RendererHasVtxOffset", + "value": "1 << 3" + }, + { + "calc_value": 1024, + "name": "ImGuiBackendFlags_PlatformHasViewports", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiBackendFlags_HasMouseHoveredViewport", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiBackendFlags_RendererHasViewports", + "value": "1 << 12" + } + ], + "ImGuiButtonFlagsPrivate_": [ + { + "calc_value": 16, + "name": "ImGuiButtonFlags_PressedOnClick", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiButtonFlags_PressedOnClickRelease", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiButtonFlags_PressedOnClickReleaseAnywhere", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiButtonFlags_PressedOnRelease", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiButtonFlags_PressedOnDoubleClick", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiButtonFlags_PressedOnDragDropHold", + "value": "1 << 9" + }, + { + "calc_value": 2048, + "name": "ImGuiButtonFlags_FlattenChildren", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiButtonFlags_AllowOverlap", + "value": "1 << 12" + }, + { + "calc_value": 32768, + "name": "ImGuiButtonFlags_AlignTextBaseLine", + "value": "1 << 15" + }, + { + "calc_value": 65536, + "name": "ImGuiButtonFlags_NoKeyModsAllowed", + "value": "1 << 16" + }, + { + "calc_value": 131072, + "name": "ImGuiButtonFlags_NoHoldingActiveId", + "value": "1 << 17" + }, + { + "calc_value": 262144, + "name": "ImGuiButtonFlags_NoNavFocus", + "value": "1 << 18" + }, + { + "calc_value": 524288, + "name": "ImGuiButtonFlags_NoHoveredOnFocus", + "value": "1 << 19" + }, + { + "calc_value": 1048576, + "name": "ImGuiButtonFlags_NoSetKeyOwner", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiButtonFlags_NoTestKeyOwner", + "value": "1 << 21" + }, + { + "calc_value": 1008, + "name": "ImGuiButtonFlags_PressedOnMask_", + "value": "ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold" + }, + { + "calc_value": 32, + "name": "ImGuiButtonFlags_PressedOnDefault_", + "value": "ImGuiButtonFlags_PressedOnClickRelease" + } + ], + "ImGuiButtonFlags_": [ + { + "calc_value": 0, + "name": "ImGuiButtonFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiButtonFlags_MouseButtonLeft", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiButtonFlags_MouseButtonRight", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiButtonFlags_MouseButtonMiddle", + "value": "1 << 2" + }, + { + "calc_value": 7, + "name": "ImGuiButtonFlags_MouseButtonMask_", + "value": "ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle" + }, + { + "calc_value": 8, + "name": "ImGuiButtonFlags_EnableNav", + "value": "1 << 3" + } + ], + "ImGuiChildFlags_": [ + { + "calc_value": 0, + "name": "ImGuiChildFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiChildFlags_Borders", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiChildFlags_AlwaysUseWindowPadding", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiChildFlags_ResizeX", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiChildFlags_ResizeY", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiChildFlags_AutoResizeX", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiChildFlags_AutoResizeY", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiChildFlags_AlwaysAutoResize", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiChildFlags_FrameStyle", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiChildFlags_NavFlattened", + "value": "1 << 8" + } + ], + "ImGuiCol_": [ + { + "calc_value": 0, + "name": "ImGuiCol_Text", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiCol_TextDisabled", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiCol_WindowBg", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiCol_ChildBg", + "value": "3" + }, + { + "calc_value": 4, + "name": "ImGuiCol_PopupBg", + "value": "4" + }, + { + "calc_value": 5, + "name": "ImGuiCol_Border", + "value": "5" + }, + { + "calc_value": 6, + "name": "ImGuiCol_BorderShadow", + "value": "6" + }, + { + "calc_value": 7, + "name": "ImGuiCol_FrameBg", + "value": "7" + }, + { + "calc_value": 8, + "name": "ImGuiCol_FrameBgHovered", + "value": "8" + }, + { + "calc_value": 9, + "name": "ImGuiCol_FrameBgActive", + "value": "9" + }, + { + "calc_value": 10, + "name": "ImGuiCol_TitleBg", + "value": "10" + }, + { + "calc_value": 11, + "name": "ImGuiCol_TitleBgActive", + "value": "11" + }, + { + "calc_value": 12, + "name": "ImGuiCol_TitleBgCollapsed", + "value": "12" + }, + { + "calc_value": 13, + "name": "ImGuiCol_MenuBarBg", + "value": "13" + }, + { + "calc_value": 14, + "name": "ImGuiCol_ScrollbarBg", + "value": "14" + }, + { + "calc_value": 15, + "name": "ImGuiCol_ScrollbarGrab", + "value": "15" + }, + { + "calc_value": 16, + "name": "ImGuiCol_ScrollbarGrabHovered", + "value": "16" + }, + { + "calc_value": 17, + "name": "ImGuiCol_ScrollbarGrabActive", + "value": "17" + }, + { + "calc_value": 18, + "name": "ImGuiCol_CheckMark", + "value": "18" + }, + { + "calc_value": 19, + "name": "ImGuiCol_SliderGrab", + "value": "19" + }, + { + "calc_value": 20, + "name": "ImGuiCol_SliderGrabActive", + "value": "20" + }, + { + "calc_value": 21, + "name": "ImGuiCol_Button", + "value": "21" + }, + { + "calc_value": 22, + "name": "ImGuiCol_ButtonHovered", + "value": "22" + }, + { + "calc_value": 23, + "name": "ImGuiCol_ButtonActive", + "value": "23" + }, + { + "calc_value": 24, + "name": "ImGuiCol_Header", + "value": "24" + }, + { + "calc_value": 25, + "name": "ImGuiCol_HeaderHovered", + "value": "25" + }, + { + "calc_value": 26, + "name": "ImGuiCol_HeaderActive", + "value": "26" + }, + { + "calc_value": 27, + "name": "ImGuiCol_Separator", + "value": "27" + }, + { + "calc_value": 28, + "name": "ImGuiCol_SeparatorHovered", + "value": "28" + }, + { + "calc_value": 29, + "name": "ImGuiCol_SeparatorActive", + "value": "29" + }, + { + "calc_value": 30, + "name": "ImGuiCol_ResizeGrip", + "value": "30" + }, + { + "calc_value": 31, + "name": "ImGuiCol_ResizeGripHovered", + "value": "31" + }, + { + "calc_value": 32, + "name": "ImGuiCol_ResizeGripActive", + "value": "32" + }, + { + "calc_value": 33, + "name": "ImGuiCol_TabHovered", + "value": "33" + }, + { + "calc_value": 34, + "name": "ImGuiCol_Tab", + "value": "34" + }, + { + "calc_value": 35, + "name": "ImGuiCol_TabSelected", + "value": "35" + }, + { + "calc_value": 36, + "name": "ImGuiCol_TabSelectedOverline", + "value": "36" + }, + { + "calc_value": 37, + "name": "ImGuiCol_TabDimmed", + "value": "37" + }, + { + "calc_value": 38, + "name": "ImGuiCol_TabDimmedSelected", + "value": "38" + }, + { + "calc_value": 39, + "name": "ImGuiCol_TabDimmedSelectedOverline", + "value": "39" + }, + { + "calc_value": 40, + "name": "ImGuiCol_DockingPreview", + "value": "40" + }, + { + "calc_value": 41, + "name": "ImGuiCol_DockingEmptyBg", + "value": "41" + }, + { + "calc_value": 42, + "name": "ImGuiCol_PlotLines", + "value": "42" + }, + { + "calc_value": 43, + "name": "ImGuiCol_PlotLinesHovered", + "value": "43" + }, + { + "calc_value": 44, + "name": "ImGuiCol_PlotHistogram", + "value": "44" + }, + { + "calc_value": 45, + "name": "ImGuiCol_PlotHistogramHovered", + "value": "45" + }, + { + "calc_value": 46, + "name": "ImGuiCol_TableHeaderBg", + "value": "46" + }, + { + "calc_value": 47, + "name": "ImGuiCol_TableBorderStrong", + "value": "47" + }, + { + "calc_value": 48, + "name": "ImGuiCol_TableBorderLight", + "value": "48" + }, + { + "calc_value": 49, + "name": "ImGuiCol_TableRowBg", + "value": "49" + }, + { + "calc_value": 50, + "name": "ImGuiCol_TableRowBgAlt", + "value": "50" + }, + { + "calc_value": 51, + "name": "ImGuiCol_TextLink", + "value": "51" + }, + { + "calc_value": 52, + "name": "ImGuiCol_TextSelectedBg", + "value": "52" + }, + { + "calc_value": 53, + "name": "ImGuiCol_DragDropTarget", + "value": "53" + }, + { + "calc_value": 54, + "name": "ImGuiCol_NavCursor", + "value": "54" + }, + { + "calc_value": 55, + "name": "ImGuiCol_NavWindowingHighlight", + "value": "55" + }, + { + "calc_value": 56, + "name": "ImGuiCol_NavWindowingDimBg", + "value": "56" + }, + { + "calc_value": 57, + "name": "ImGuiCol_ModalWindowDimBg", + "value": "57" + }, + { + "calc_value": 58, + "name": "ImGuiCol_COUNT", + "value": "58" + } + ], + "ImGuiColorEditFlags_": [ + { + "calc_value": 0, + "name": "ImGuiColorEditFlags_None", + "value": "0" + }, + { + "calc_value": 2, + "name": "ImGuiColorEditFlags_NoAlpha", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiColorEditFlags_NoPicker", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiColorEditFlags_NoOptions", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiColorEditFlags_NoSmallPreview", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiColorEditFlags_NoInputs", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiColorEditFlags_NoTooltip", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiColorEditFlags_NoLabel", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiColorEditFlags_NoSidePreview", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiColorEditFlags_NoDragDrop", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiColorEditFlags_NoBorder", + "value": "1 << 10" + }, + { + "calc_value": 65536, + "name": "ImGuiColorEditFlags_AlphaBar", + "value": "1 << 16" + }, + { + "calc_value": 131072, + "name": "ImGuiColorEditFlags_AlphaPreview", + "value": "1 << 17" + }, + { + "calc_value": 262144, + "name": "ImGuiColorEditFlags_AlphaPreviewHalf", + "value": "1 << 18" + }, + { + "calc_value": 524288, + "name": "ImGuiColorEditFlags_HDR", + "value": "1 << 19" + }, + { + "calc_value": 1048576, + "name": "ImGuiColorEditFlags_DisplayRGB", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiColorEditFlags_DisplayHSV", + "value": "1 << 21" + }, + { + "calc_value": 4194304, + "name": "ImGuiColorEditFlags_DisplayHex", + "value": "1 << 22" + }, + { + "calc_value": 8388608, + "name": "ImGuiColorEditFlags_Uint8", + "value": "1 << 23" + }, + { + "calc_value": 16777216, + "name": "ImGuiColorEditFlags_Float", + "value": "1 << 24" + }, + { + "calc_value": 33554432, + "name": "ImGuiColorEditFlags_PickerHueBar", + "value": "1 << 25" + }, + { + "calc_value": 67108864, + "name": "ImGuiColorEditFlags_PickerHueWheel", + "value": "1 << 26" + }, + { + "calc_value": 134217728, + "name": "ImGuiColorEditFlags_InputRGB", + "value": "1 << 27" + }, + { + "calc_value": 268435456, + "name": "ImGuiColorEditFlags_InputHSV", + "value": "1 << 28" + }, + { + "calc_value": 177209344, + "name": "ImGuiColorEditFlags_DefaultOptions_", + "value": "ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_PickerHueBar" + }, + { + "calc_value": 7340032, + "name": "ImGuiColorEditFlags_DisplayMask_", + "value": "ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex" + }, + { + "calc_value": 25165824, + "name": "ImGuiColorEditFlags_DataTypeMask_", + "value": "ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_Float" + }, + { + "calc_value": 100663296, + "name": "ImGuiColorEditFlags_PickerMask_", + "value": "ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_PickerHueBar" + }, + { + "calc_value": 402653184, + "name": "ImGuiColorEditFlags_InputMask_", + "value": "ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV" + } + ], + "ImGuiComboFlagsPrivate_": [ + { + "calc_value": 1048576, + "name": "ImGuiComboFlags_CustomPreview", + "value": "1 << 20" + } + ], + "ImGuiComboFlags_": [ + { + "calc_value": 0, + "name": "ImGuiComboFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiComboFlags_PopupAlignLeft", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiComboFlags_HeightSmall", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiComboFlags_HeightRegular", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiComboFlags_HeightLarge", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiComboFlags_HeightLargest", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiComboFlags_NoArrowButton", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiComboFlags_NoPreview", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiComboFlags_WidthFitPreview", + "value": "1 << 7" + }, + { + "calc_value": 30, + "name": "ImGuiComboFlags_HeightMask_", + "value": "ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest" + } + ], + "ImGuiCond_": [ + { + "calc_value": 0, + "name": "ImGuiCond_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiCond_Always", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiCond_Once", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiCond_FirstUseEver", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiCond_Appearing", + "value": "1 << 3" + } + ], + "ImGuiConfigFlags_": [ + { + "calc_value": 0, + "name": "ImGuiConfigFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiConfigFlags_NavEnableKeyboard", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiConfigFlags_NavEnableGamepad", + "value": "1 << 1" + }, + { + "calc_value": 16, + "name": "ImGuiConfigFlags_NoMouse", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiConfigFlags_NoMouseCursorChange", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiConfigFlags_NoKeyboard", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiConfigFlags_DockingEnable", + "value": "1 << 7" + }, + { + "calc_value": 1024, + "name": "ImGuiConfigFlags_ViewportsEnable", + "value": "1 << 10" + }, + { + "calc_value": 16384, + "name": "ImGuiConfigFlags_DpiEnableScaleViewports", + "value": "1 << 14" + }, + { + "calc_value": 32768, + "name": "ImGuiConfigFlags_DpiEnableScaleFonts", + "value": "1 << 15" + }, + { + "calc_value": 1048576, + "name": "ImGuiConfigFlags_IsSRGB", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiConfigFlags_IsTouchScreen", + "value": "1 << 21" + } + ], + "ImGuiContextHookType": [ + { + "calc_value": 0, + "name": "ImGuiContextHookType_NewFramePre", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiContextHookType_NewFramePost", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiContextHookType_EndFramePre", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiContextHookType_EndFramePost", + "value": "3" + }, + { + "calc_value": 4, + "name": "ImGuiContextHookType_RenderPre", + "value": "4" + }, + { + "calc_value": 5, + "name": "ImGuiContextHookType_RenderPost", + "value": "5" + }, + { + "calc_value": 6, + "name": "ImGuiContextHookType_Shutdown", + "value": "6" + }, + { + "calc_value": 7, + "name": "ImGuiContextHookType_PendingRemoval_", + "value": "7" + } + ], + "ImGuiDataAuthority_": [ + { + "calc_value": 0, + "name": "ImGuiDataAuthority_Auto", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiDataAuthority_DockNode", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiDataAuthority_Window", + "value": "2" + } + ], + "ImGuiDataTypePrivate_": [ + { + "calc_value": 12, + "name": "ImGuiDataType_String", + "value": "ImGuiDataType_COUNT + 1" + }, + { + "calc_value": 13, + "name": "ImGuiDataType_Pointer", + "value": "ImGuiDataType_COUNT + 1+1" + }, + { + "calc_value": 14, + "name": "ImGuiDataType_ID", + "value": "ImGuiDataType_COUNT + 1+1+1" + } + ], + "ImGuiDataType_": [ + { + "calc_value": 0, + "name": "ImGuiDataType_S8", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiDataType_U8", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiDataType_S16", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiDataType_U16", + "value": "3" + }, + { + "calc_value": 4, + "name": "ImGuiDataType_S32", + "value": "4" + }, + { + "calc_value": 5, + "name": "ImGuiDataType_U32", + "value": "5" + }, + { + "calc_value": 6, + "name": "ImGuiDataType_S64", + "value": "6" + }, + { + "calc_value": 7, + "name": "ImGuiDataType_U64", + "value": "7" + }, + { + "calc_value": 8, + "name": "ImGuiDataType_Float", + "value": "8" + }, + { + "calc_value": 9, + "name": "ImGuiDataType_Double", + "value": "9" + }, + { + "calc_value": 10, + "name": "ImGuiDataType_Bool", + "value": "10" + }, + { + "calc_value": 11, + "name": "ImGuiDataType_COUNT", + "value": "11" + } + ], + "ImGuiDebugLogFlags_": [ + { + "calc_value": 0, + "name": "ImGuiDebugLogFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiDebugLogFlags_EventError", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiDebugLogFlags_EventActiveId", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiDebugLogFlags_EventFocus", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiDebugLogFlags_EventPopup", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiDebugLogFlags_EventNav", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiDebugLogFlags_EventClipper", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiDebugLogFlags_EventSelection", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiDebugLogFlags_EventIO", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiDebugLogFlags_EventFont", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiDebugLogFlags_EventInputRouting", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiDebugLogFlags_EventDocking", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiDebugLogFlags_EventViewport", + "value": "1 << 11" + }, + { + "calc_value": 4095, + "name": "ImGuiDebugLogFlags_EventMask_", + "value": "ImGuiDebugLogFlags_EventError | ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventSelection | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventFont | ImGuiDebugLogFlags_EventInputRouting | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport" + }, + { + "calc_value": 1048576, + "name": "ImGuiDebugLogFlags_OutputToTTY", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiDebugLogFlags_OutputToTestEngine", + "value": "1 << 21" + } + ], + "ImGuiDir": [ + { + "calc_value": -1, + "name": "ImGuiDir_None", + "value": "-1" + }, + { + "calc_value": 0, + "name": "ImGuiDir_Left", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiDir_Right", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiDir_Up", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiDir_Down", + "value": "3" + }, + { + "calc_value": 4, + "name": "ImGuiDir_COUNT", + "value": "4" + } + ], + "ImGuiDockNodeFlagsPrivate_": [ + { + "calc_value": 1024, + "name": "ImGuiDockNodeFlags_DockSpace", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiDockNodeFlags_CentralNode", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiDockNodeFlags_NoTabBar", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiDockNodeFlags_HiddenTabBar", + "value": "1 << 13" + }, + { + "calc_value": 16384, + "name": "ImGuiDockNodeFlags_NoWindowMenuButton", + "value": "1 << 14" + }, + { + "calc_value": 32768, + "name": "ImGuiDockNodeFlags_NoCloseButton", + "value": "1 << 15" + }, + { + "calc_value": 65536, + "name": "ImGuiDockNodeFlags_NoResizeX", + "value": "1 << 16" + }, + { + "calc_value": 131072, + "name": "ImGuiDockNodeFlags_NoResizeY", + "value": "1 << 17" + }, + { + "calc_value": 262144, + "name": "ImGuiDockNodeFlags_DockedWindowsInFocusRoute", + "value": "1 << 18" + }, + { + "calc_value": 524288, + "name": "ImGuiDockNodeFlags_NoDockingSplitOther", + "value": "1 << 19" + }, + { + "calc_value": 1048576, + "name": "ImGuiDockNodeFlags_NoDockingOverMe", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiDockNodeFlags_NoDockingOverOther", + "value": "1 << 21" + }, + { + "calc_value": 4194304, + "name": "ImGuiDockNodeFlags_NoDockingOverEmpty", + "value": "1 << 22" + }, + { + "calc_value": 7864336, + "name": "ImGuiDockNodeFlags_NoDocking", + "value": "ImGuiDockNodeFlags_NoDockingOverMe | ImGuiDockNodeFlags_NoDockingOverOther | ImGuiDockNodeFlags_NoDockingOverEmpty | ImGuiDockNodeFlags_NoDockingSplit | ImGuiDockNodeFlags_NoDockingSplitOther" + }, + { + "calc_value": -1, + "name": "ImGuiDockNodeFlags_SharedFlagsInheritMask_", + "value": "~0" + }, + { + "calc_value": 196640, + "name": "ImGuiDockNodeFlags_NoResizeFlagsMask_", + "value": "(int)ImGuiDockNodeFlags_NoResize | ImGuiDockNodeFlags_NoResizeX | ImGuiDockNodeFlags_NoResizeY" + }, + { + "calc_value": 260208, + "name": "ImGuiDockNodeFlags_LocalFlagsTransferMask_", + "value": "(int)ImGuiDockNodeFlags_NoDockingSplit | ImGuiDockNodeFlags_NoResizeFlagsMask_ | (int)ImGuiDockNodeFlags_AutoHideTabBar | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton" + }, + { + "calc_value": 261152, + "name": "ImGuiDockNodeFlags_SavedFlagsMask_", + "value": "ImGuiDockNodeFlags_NoResizeFlagsMask_ | ImGuiDockNodeFlags_DockSpace | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton" + } + ], + "ImGuiDockNodeFlags_": [ + { + "calc_value": 0, + "name": "ImGuiDockNodeFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiDockNodeFlags_KeepAliveOnly", + "value": "1 << 0" + }, + { + "calc_value": 4, + "name": "ImGuiDockNodeFlags_NoDockingOverCentralNode", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiDockNodeFlags_PassthruCentralNode", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiDockNodeFlags_NoDockingSplit", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiDockNodeFlags_NoResize", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiDockNodeFlags_AutoHideTabBar", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiDockNodeFlags_NoUndocking", + "value": "1 << 7" + } + ], + "ImGuiDockNodeState": [ + { + "calc_value": 0, + "name": "ImGuiDockNodeState_Unknown", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiDockNodeState_HostWindowHiddenBecauseSingleWindow", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiDockNodeState_HostWindowHiddenBecauseWindowsAreResizing", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiDockNodeState_HostWindowVisible", + "value": "3" + } + ], + "ImGuiDragDropFlags_": [ + { + "calc_value": 0, + "name": "ImGuiDragDropFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiDragDropFlags_SourceNoPreviewTooltip", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiDragDropFlags_SourceNoDisableHover", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiDragDropFlags_SourceNoHoldToOpenOthers", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiDragDropFlags_SourceAllowNullID", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiDragDropFlags_SourceExtern", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiDragDropFlags_PayloadAutoExpire", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiDragDropFlags_PayloadNoCrossContext", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiDragDropFlags_PayloadNoCrossProcess", + "value": "1 << 7" + }, + { + "calc_value": 1024, + "name": "ImGuiDragDropFlags_AcceptBeforeDelivery", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiDragDropFlags_AcceptNoDrawDefaultRect", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiDragDropFlags_AcceptNoPreviewTooltip", + "value": "1 << 12" + }, + { + "calc_value": 3072, + "name": "ImGuiDragDropFlags_AcceptPeekOnly", + "value": "ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect" + } + ], + "ImGuiFocusRequestFlags_": [ + { + "calc_value": 0, + "name": "ImGuiFocusRequestFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiFocusRequestFlags_RestoreFocusedChild", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiFocusRequestFlags_UnlessBelowModal", + "value": "1 << 1" + } + ], + "ImGuiFocusedFlags_": [ + { + "calc_value": 0, + "name": "ImGuiFocusedFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiFocusedFlags_ChildWindows", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiFocusedFlags_RootWindow", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiFocusedFlags_AnyWindow", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiFocusedFlags_NoPopupHierarchy", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiFocusedFlags_DockHierarchy", + "value": "1 << 4" + }, + { + "calc_value": 3, + "name": "ImGuiFocusedFlags_RootAndChildWindows", + "value": "ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows" + } + ], + "ImGuiFreeTypeBuilderFlags": [ + { + "calc_value": 1, + "name": "ImGuiFreeTypeBuilderFlags_NoHinting", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiFreeTypeBuilderFlags_NoAutoHint", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiFreeTypeBuilderFlags_ForceAutoHint", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiFreeTypeBuilderFlags_LightHinting", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiFreeTypeBuilderFlags_MonoHinting", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiFreeTypeBuilderFlags_Bold", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiFreeTypeBuilderFlags_Oblique", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiFreeTypeBuilderFlags_Monochrome", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiFreeTypeBuilderFlags_LoadColor", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiFreeTypeBuilderFlags_Bitmap", + "value": "1 << 9" + } + ], + "ImGuiHoveredFlagsPrivate_": [ + { + "calc_value": 245760, + "name": "ImGuiHoveredFlags_DelayMask_", + "value": "ImGuiHoveredFlags_DelayNone | ImGuiHoveredFlags_DelayShort | ImGuiHoveredFlags_DelayNormal | ImGuiHoveredFlags_NoSharedDelay" + }, + { + "calc_value": 12479, + "name": "ImGuiHoveredFlags_AllowedMaskForIsWindowHovered", + "value": "ImGuiHoveredFlags_ChildWindows | ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_AnyWindow | ImGuiHoveredFlags_NoPopupHierarchy | ImGuiHoveredFlags_DockHierarchy | ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_ForTooltip | ImGuiHoveredFlags_Stationary" + }, + { + "calc_value": 262048, + "name": "ImGuiHoveredFlags_AllowedMaskForIsItemHovered", + "value": "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped | ImGuiHoveredFlags_AllowWhenDisabled | ImGuiHoveredFlags_NoNavOverride | ImGuiHoveredFlags_ForTooltip | ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayMask_" + } + ], + "ImGuiHoveredFlags_": [ + { + "calc_value": 0, + "name": "ImGuiHoveredFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiHoveredFlags_ChildWindows", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiHoveredFlags_RootWindow", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiHoveredFlags_AnyWindow", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiHoveredFlags_NoPopupHierarchy", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiHoveredFlags_DockHierarchy", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiHoveredFlags_AllowWhenBlockedByPopup", + "value": "1 << 5" + }, + { + "calc_value": 128, + "name": "ImGuiHoveredFlags_AllowWhenBlockedByActiveItem", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiHoveredFlags_AllowWhenOverlappedByItem", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiHoveredFlags_AllowWhenOverlappedByWindow", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiHoveredFlags_AllowWhenDisabled", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiHoveredFlags_NoNavOverride", + "value": "1 << 11" + }, + { + "calc_value": 768, + "name": "ImGuiHoveredFlags_AllowWhenOverlapped", + "value": "ImGuiHoveredFlags_AllowWhenOverlappedByItem | ImGuiHoveredFlags_AllowWhenOverlappedByWindow" + }, + { + "calc_value": 928, + "name": "ImGuiHoveredFlags_RectOnly", + "value": "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped" + }, + { + "calc_value": 3, + "name": "ImGuiHoveredFlags_RootAndChildWindows", + "value": "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows" + }, + { + "calc_value": 4096, + "name": "ImGuiHoveredFlags_ForTooltip", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiHoveredFlags_Stationary", + "value": "1 << 13" + }, + { + "calc_value": 16384, + "name": "ImGuiHoveredFlags_DelayNone", + "value": "1 << 14" + }, + { + "calc_value": 32768, + "name": "ImGuiHoveredFlags_DelayShort", + "value": "1 << 15" + }, + { + "calc_value": 65536, + "name": "ImGuiHoveredFlags_DelayNormal", + "value": "1 << 16" + }, + { + "calc_value": 131072, + "name": "ImGuiHoveredFlags_NoSharedDelay", + "value": "1 << 17" + } + ], + "ImGuiInputEventType": [ + { + "calc_value": 0, + "name": "ImGuiInputEventType_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiInputEventType_MousePos", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiInputEventType_MouseWheel", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiInputEventType_MouseButton", + "value": "3" + }, + { + "calc_value": 4, + "name": "ImGuiInputEventType_MouseViewport", + "value": "4" + }, + { + "calc_value": 5, + "name": "ImGuiInputEventType_Key", + "value": "5" + }, + { + "calc_value": 6, + "name": "ImGuiInputEventType_Text", + "value": "6" + }, + { + "calc_value": 7, + "name": "ImGuiInputEventType_Focus", + "value": "7" + }, + { + "calc_value": 8, + "name": "ImGuiInputEventType_COUNT", + "value": "8" + } + ], + "ImGuiInputFlagsPrivate_": [ + { + "calc_value": 2, + "name": "ImGuiInputFlags_RepeatRateDefault", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiInputFlags_RepeatRateNavMove", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiInputFlags_RepeatRateNavTweak", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiInputFlags_RepeatUntilRelease", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiInputFlags_RepeatUntilKeyModsChange", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiInputFlags_RepeatUntilOtherKeyPress", + "value": "1 << 7" + }, + { + "calc_value": 1048576, + "name": "ImGuiInputFlags_LockThisFrame", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiInputFlags_LockUntilRelease", + "value": "1 << 21" + }, + { + "calc_value": 4194304, + "name": "ImGuiInputFlags_CondHovered", + "value": "1 << 22" + }, + { + "calc_value": 8388608, + "name": "ImGuiInputFlags_CondActive", + "value": "1 << 23" + }, + { + "calc_value": 12582912, + "name": "ImGuiInputFlags_CondDefault_", + "value": "ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive" + }, + { + "calc_value": 14, + "name": "ImGuiInputFlags_RepeatRateMask_", + "value": "ImGuiInputFlags_RepeatRateDefault | ImGuiInputFlags_RepeatRateNavMove | ImGuiInputFlags_RepeatRateNavTweak" + }, + { + "calc_value": 240, + "name": "ImGuiInputFlags_RepeatUntilMask_", + "value": "ImGuiInputFlags_RepeatUntilRelease | ImGuiInputFlags_RepeatUntilKeyModsChange | ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone | ImGuiInputFlags_RepeatUntilOtherKeyPress" + }, + { + "calc_value": 255, + "name": "ImGuiInputFlags_RepeatMask_", + "value": "ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_ | ImGuiInputFlags_RepeatUntilMask_" + }, + { + "calc_value": 12582912, + "name": "ImGuiInputFlags_CondMask_", + "value": "ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive" + }, + { + "calc_value": 15360, + "name": "ImGuiInputFlags_RouteTypeMask_", + "value": "ImGuiInputFlags_RouteActive | ImGuiInputFlags_RouteFocused | ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteAlways" + }, + { + "calc_value": 245760, + "name": "ImGuiInputFlags_RouteOptionsMask_", + "value": "ImGuiInputFlags_RouteOverFocused | ImGuiInputFlags_RouteOverActive | ImGuiInputFlags_RouteUnlessBgFocused | ImGuiInputFlags_RouteFromRootWindow" + }, + { + "calc_value": 255, + "name": "ImGuiInputFlags_SupportedByIsKeyPressed", + "value": "ImGuiInputFlags_RepeatMask_" + }, + { + "calc_value": 1, + "name": "ImGuiInputFlags_SupportedByIsMouseClicked", + "value": "ImGuiInputFlags_Repeat" + }, + { + "calc_value": 261375, + "name": "ImGuiInputFlags_SupportedByShortcut", + "value": "ImGuiInputFlags_RepeatMask_ | ImGuiInputFlags_RouteTypeMask_ | ImGuiInputFlags_RouteOptionsMask_" + }, + { + "calc_value": 523519, + "name": "ImGuiInputFlags_SupportedBySetNextItemShortcut", + "value": "ImGuiInputFlags_RepeatMask_ | ImGuiInputFlags_RouteTypeMask_ | ImGuiInputFlags_RouteOptionsMask_ | ImGuiInputFlags_Tooltip" + }, + { + "calc_value": 3145728, + "name": "ImGuiInputFlags_SupportedBySetKeyOwner", + "value": "ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease" + }, + { + "calc_value": 15728640, + "name": "ImGuiInputFlags_SupportedBySetItemKeyOwner", + "value": "ImGuiInputFlags_SupportedBySetKeyOwner | ImGuiInputFlags_CondMask_" + } + ], + "ImGuiInputFlags_": [ + { + "calc_value": 0, + "name": "ImGuiInputFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiInputFlags_Repeat", + "value": "1 << 0" + }, + { + "calc_value": 1024, + "name": "ImGuiInputFlags_RouteActive", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiInputFlags_RouteFocused", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiInputFlags_RouteGlobal", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiInputFlags_RouteAlways", + "value": "1 << 13" + }, + { + "calc_value": 16384, + "name": "ImGuiInputFlags_RouteOverFocused", + "value": "1 << 14" + }, + { + "calc_value": 32768, + "name": "ImGuiInputFlags_RouteOverActive", + "value": "1 << 15" + }, + { + "calc_value": 65536, + "name": "ImGuiInputFlags_RouteUnlessBgFocused", + "value": "1 << 16" + }, + { + "calc_value": 131072, + "name": "ImGuiInputFlags_RouteFromRootWindow", + "value": "1 << 17" + }, + { + "calc_value": 262144, + "name": "ImGuiInputFlags_Tooltip", + "value": "1 << 18" + } + ], + "ImGuiInputSource": [ + { + "calc_value": 0, + "name": "ImGuiInputSource_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiInputSource_Mouse", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiInputSource_Keyboard", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiInputSource_Gamepad", + "value": "3" + }, + { + "calc_value": 4, + "name": "ImGuiInputSource_COUNT", + "value": "4" + } + ], + "ImGuiInputTextFlagsPrivate_": [ + { + "calc_value": 67108864, + "name": "ImGuiInputTextFlags_Multiline", + "value": "1 << 26" + }, + { + "calc_value": 134217728, + "name": "ImGuiInputTextFlags_MergedItem", + "value": "1 << 27" + }, + { + "calc_value": 268435456, + "name": "ImGuiInputTextFlags_LocalizeDecimalPoint", + "value": "1 << 28" + } + ], + "ImGuiInputTextFlags_": [ + { + "calc_value": 0, + "name": "ImGuiInputTextFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiInputTextFlags_CharsDecimal", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiInputTextFlags_CharsHexadecimal", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiInputTextFlags_CharsScientific", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiInputTextFlags_CharsUppercase", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiInputTextFlags_CharsNoBlank", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiInputTextFlags_AllowTabInput", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiInputTextFlags_EnterReturnsTrue", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiInputTextFlags_EscapeClearsAll", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiInputTextFlags_CtrlEnterForNewLine", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiInputTextFlags_ReadOnly", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiInputTextFlags_Password", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiInputTextFlags_AlwaysOverwrite", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiInputTextFlags_AutoSelectAll", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiInputTextFlags_ParseEmptyRefVal", + "value": "1 << 13" + }, + { + "calc_value": 16384, + "name": "ImGuiInputTextFlags_DisplayEmptyRefVal", + "value": "1 << 14" + }, + { + "calc_value": 32768, + "name": "ImGuiInputTextFlags_NoHorizontalScroll", + "value": "1 << 15" + }, + { + "calc_value": 65536, + "name": "ImGuiInputTextFlags_NoUndoRedo", + "value": "1 << 16" + }, + { + "calc_value": 131072, + "name": "ImGuiInputTextFlags_ElideLeft", + "value": "1 << 17" + }, + { + "calc_value": 262144, + "name": "ImGuiInputTextFlags_CallbackCompletion", + "value": "1 << 18" + }, + { + "calc_value": 524288, + "name": "ImGuiInputTextFlags_CallbackHistory", + "value": "1 << 19" + }, + { + "calc_value": 1048576, + "name": "ImGuiInputTextFlags_CallbackAlways", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiInputTextFlags_CallbackCharFilter", + "value": "1 << 21" + }, + { + "calc_value": 4194304, + "name": "ImGuiInputTextFlags_CallbackResize", + "value": "1 << 22" + }, + { + "calc_value": 8388608, + "name": "ImGuiInputTextFlags_CallbackEdit", + "value": "1 << 23" + } + ], + "ImGuiItemFlagsPrivate_": [ + { + "calc_value": 1024, + "name": "ImGuiItemFlags_Disabled", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiItemFlags_ReadOnly", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiItemFlags_MixedValue", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiItemFlags_NoWindowHoverableCheck", + "value": "1 << 13" + }, + { + "calc_value": 16384, + "name": "ImGuiItemFlags_AllowOverlap", + "value": "1 << 14" + }, + { + "calc_value": 32768, + "name": "ImGuiItemFlags_NoNavDisableMouseHover", + "value": "1 << 15" + }, + { + "calc_value": 65536, + "name": "ImGuiItemFlags_NoMarkEdited", + "value": "1 << 16" + }, + { + "calc_value": 1048576, + "name": "ImGuiItemFlags_Inputable", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiItemFlags_HasSelectionUserData", + "value": "1 << 21" + }, + { + "calc_value": 4194304, + "name": "ImGuiItemFlags_IsMultiSelect", + "value": "1 << 22" + }, + { + "calc_value": 16, + "name": "ImGuiItemFlags_Default_", + "value": "ImGuiItemFlags_AutoClosePopups" + } + ], + "ImGuiItemFlags_": [ + { + "calc_value": 0, + "name": "ImGuiItemFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiItemFlags_NoTabStop", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiItemFlags_NoNav", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiItemFlags_NoNavDefaultFocus", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiItemFlags_ButtonRepeat", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiItemFlags_AutoClosePopups", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiItemFlags_AllowDuplicateId", + "value": "1 << 5" + } + ], + "ImGuiItemStatusFlags_": [ + { + "calc_value": 0, + "name": "ImGuiItemStatusFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiItemStatusFlags_HoveredRect", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiItemStatusFlags_HasDisplayRect", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiItemStatusFlags_Edited", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiItemStatusFlags_ToggledSelection", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiItemStatusFlags_ToggledOpen", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiItemStatusFlags_HasDeactivated", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiItemStatusFlags_Deactivated", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiItemStatusFlags_HoveredWindow", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiItemStatusFlags_Visible", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiItemStatusFlags_HasClipRect", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiItemStatusFlags_HasShortcut", + "value": "1 << 10" + } + ], + "ImGuiKey": [ + { + "calc_value": 0, + "name": "ImGuiKey_None", + "value": "0" + }, + { + "calc_value": 512, + "name": "ImGuiKey_NamedKey_BEGIN", + "value": "512" + }, + { + "calc_value": 512, + "name": "ImGuiKey_Tab", + "value": "512" + }, + { + "calc_value": 513, + "name": "ImGuiKey_LeftArrow", + "value": "513" + }, + { + "calc_value": 514, + "name": "ImGuiKey_RightArrow", + "value": "514" + }, + { + "calc_value": 515, + "name": "ImGuiKey_UpArrow", + "value": "515" + }, + { + "calc_value": 516, + "name": "ImGuiKey_DownArrow", + "value": "516" + }, + { + "calc_value": 517, + "name": "ImGuiKey_PageUp", + "value": "517" + }, + { + "calc_value": 518, + "name": "ImGuiKey_PageDown", + "value": "518" + }, + { + "calc_value": 519, + "name": "ImGuiKey_Home", + "value": "519" + }, + { + "calc_value": 520, + "name": "ImGuiKey_End", + "value": "520" + }, + { + "calc_value": 521, + "name": "ImGuiKey_Insert", + "value": "521" + }, + { + "calc_value": 522, + "name": "ImGuiKey_Delete", + "value": "522" + }, + { + "calc_value": 523, + "name": "ImGuiKey_Backspace", + "value": "523" + }, + { + "calc_value": 524, + "name": "ImGuiKey_Space", + "value": "524" + }, + { + "calc_value": 525, + "name": "ImGuiKey_Enter", + "value": "525" + }, + { + "calc_value": 526, + "name": "ImGuiKey_Escape", + "value": "526" + }, + { + "calc_value": 527, + "name": "ImGuiKey_LeftCtrl", + "value": "527" + }, + { + "calc_value": 528, + "name": "ImGuiKey_LeftShift", + "value": "528" + }, + { + "calc_value": 529, + "name": "ImGuiKey_LeftAlt", + "value": "529" + }, + { + "calc_value": 530, + "name": "ImGuiKey_LeftSuper", + "value": "530" + }, + { + "calc_value": 531, + "name": "ImGuiKey_RightCtrl", + "value": "531" + }, + { + "calc_value": 532, + "name": "ImGuiKey_RightShift", + "value": "532" + }, + { + "calc_value": 533, + "name": "ImGuiKey_RightAlt", + "value": "533" + }, + { + "calc_value": 534, + "name": "ImGuiKey_RightSuper", + "value": "534" + }, + { + "calc_value": 535, + "name": "ImGuiKey_Menu", + "value": "535" + }, + { + "calc_value": 536, + "name": "ImGuiKey_0", + "value": "536" + }, + { + "calc_value": 537, + "name": "ImGuiKey_1", + "value": "537" + }, + { + "calc_value": 538, + "name": "ImGuiKey_2", + "value": "538" + }, + { + "calc_value": 539, + "name": "ImGuiKey_3", + "value": "539" + }, + { + "calc_value": 540, + "name": "ImGuiKey_4", + "value": "540" + }, + { + "calc_value": 541, + "name": "ImGuiKey_5", + "value": "541" + }, + { + "calc_value": 542, + "name": "ImGuiKey_6", + "value": "542" + }, + { + "calc_value": 543, + "name": "ImGuiKey_7", + "value": "543" + }, + { + "calc_value": 544, + "name": "ImGuiKey_8", + "value": "544" + }, + { + "calc_value": 545, + "name": "ImGuiKey_9", + "value": "545" + }, + { + "calc_value": 546, + "name": "ImGuiKey_A", + "value": "546" + }, + { + "calc_value": 547, + "name": "ImGuiKey_B", + "value": "547" + }, + { + "calc_value": 548, + "name": "ImGuiKey_C", + "value": "548" + }, + { + "calc_value": 549, + "name": "ImGuiKey_D", + "value": "549" + }, + { + "calc_value": 550, + "name": "ImGuiKey_E", + "value": "550" + }, + { + "calc_value": 551, + "name": "ImGuiKey_F", + "value": "551" + }, + { + "calc_value": 552, + "name": "ImGuiKey_G", + "value": "552" + }, + { + "calc_value": 553, + "name": "ImGuiKey_H", + "value": "553" + }, + { + "calc_value": 554, + "name": "ImGuiKey_I", + "value": "554" + }, + { + "calc_value": 555, + "name": "ImGuiKey_J", + "value": "555" + }, + { + "calc_value": 556, + "name": "ImGuiKey_K", + "value": "556" + }, + { + "calc_value": 557, + "name": "ImGuiKey_L", + "value": "557" + }, + { + "calc_value": 558, + "name": "ImGuiKey_M", + "value": "558" + }, + { + "calc_value": 559, + "name": "ImGuiKey_N", + "value": "559" + }, + { + "calc_value": 560, + "name": "ImGuiKey_O", + "value": "560" + }, + { + "calc_value": 561, + "name": "ImGuiKey_P", + "value": "561" + }, + { + "calc_value": 562, + "name": "ImGuiKey_Q", + "value": "562" + }, + { + "calc_value": 563, + "name": "ImGuiKey_R", + "value": "563" + }, + { + "calc_value": 564, + "name": "ImGuiKey_S", + "value": "564" + }, + { + "calc_value": 565, + "name": "ImGuiKey_T", + "value": "565" + }, + { + "calc_value": 566, + "name": "ImGuiKey_U", + "value": "566" + }, + { + "calc_value": 567, + "name": "ImGuiKey_V", + "value": "567" + }, + { + "calc_value": 568, + "name": "ImGuiKey_W", + "value": "568" + }, + { + "calc_value": 569, + "name": "ImGuiKey_X", + "value": "569" + }, + { + "calc_value": 570, + "name": "ImGuiKey_Y", + "value": "570" + }, + { + "calc_value": 571, + "name": "ImGuiKey_Z", + "value": "571" + }, + { + "calc_value": 572, + "name": "ImGuiKey_F1", + "value": "572" + }, + { + "calc_value": 573, + "name": "ImGuiKey_F2", + "value": "573" + }, + { + "calc_value": 574, + "name": "ImGuiKey_F3", + "value": "574" + }, + { + "calc_value": 575, + "name": "ImGuiKey_F4", + "value": "575" + }, + { + "calc_value": 576, + "name": "ImGuiKey_F5", + "value": "576" + }, + { + "calc_value": 577, + "name": "ImGuiKey_F6", + "value": "577" + }, + { + "calc_value": 578, + "name": "ImGuiKey_F7", + "value": "578" + }, + { + "calc_value": 579, + "name": "ImGuiKey_F8", + "value": "579" + }, + { + "calc_value": 580, + "name": "ImGuiKey_F9", + "value": "580" + }, + { + "calc_value": 581, + "name": "ImGuiKey_F10", + "value": "581" + }, + { + "calc_value": 582, + "name": "ImGuiKey_F11", + "value": "582" + }, + { + "calc_value": 583, + "name": "ImGuiKey_F12", + "value": "583" + }, + { + "calc_value": 584, + "name": "ImGuiKey_F13", + "value": "584" + }, + { + "calc_value": 585, + "name": "ImGuiKey_F14", + "value": "585" + }, + { + "calc_value": 586, + "name": "ImGuiKey_F15", + "value": "586" + }, + { + "calc_value": 587, + "name": "ImGuiKey_F16", + "value": "587" + }, + { + "calc_value": 588, + "name": "ImGuiKey_F17", + "value": "588" + }, + { + "calc_value": 589, + "name": "ImGuiKey_F18", + "value": "589" + }, + { + "calc_value": 590, + "name": "ImGuiKey_F19", + "value": "590" + }, + { + "calc_value": 591, + "name": "ImGuiKey_F20", + "value": "591" + }, + { + "calc_value": 592, + "name": "ImGuiKey_F21", + "value": "592" + }, + { + "calc_value": 593, + "name": "ImGuiKey_F22", + "value": "593" + }, + { + "calc_value": 594, + "name": "ImGuiKey_F23", + "value": "594" + }, + { + "calc_value": 595, + "name": "ImGuiKey_F24", + "value": "595" + }, + { + "calc_value": 596, + "name": "ImGuiKey_Apostrophe", + "value": "596" + }, + { + "calc_value": 597, + "name": "ImGuiKey_Comma", + "value": "597" + }, + { + "calc_value": 598, + "name": "ImGuiKey_Minus", + "value": "598" + }, + { + "calc_value": 599, + "name": "ImGuiKey_Period", + "value": "599" + }, + { + "calc_value": 600, + "name": "ImGuiKey_Slash", + "value": "600" + }, + { + "calc_value": 601, + "name": "ImGuiKey_Semicolon", + "value": "601" + }, + { + "calc_value": 602, + "name": "ImGuiKey_Equal", + "value": "602" + }, + { + "calc_value": 603, + "name": "ImGuiKey_LeftBracket", + "value": "603" + }, + { + "calc_value": 604, + "name": "ImGuiKey_Backslash", + "value": "604" + }, + { + "calc_value": 605, + "name": "ImGuiKey_RightBracket", + "value": "605" + }, + { + "calc_value": 606, + "name": "ImGuiKey_GraveAccent", + "value": "606" + }, + { + "calc_value": 607, + "name": "ImGuiKey_CapsLock", + "value": "607" + }, + { + "calc_value": 608, + "name": "ImGuiKey_ScrollLock", + "value": "608" + }, + { + "calc_value": 609, + "name": "ImGuiKey_NumLock", + "value": "609" + }, + { + "calc_value": 610, + "name": "ImGuiKey_PrintScreen", + "value": "610" + }, + { + "calc_value": 611, + "name": "ImGuiKey_Pause", + "value": "611" + }, + { + "calc_value": 612, + "name": "ImGuiKey_Keypad0", + "value": "612" + }, + { + "calc_value": 613, + "name": "ImGuiKey_Keypad1", + "value": "613" + }, + { + "calc_value": 614, + "name": "ImGuiKey_Keypad2", + "value": "614" + }, + { + "calc_value": 615, + "name": "ImGuiKey_Keypad3", + "value": "615" + }, + { + "calc_value": 616, + "name": "ImGuiKey_Keypad4", + "value": "616" + }, + { + "calc_value": 617, + "name": "ImGuiKey_Keypad5", + "value": "617" + }, + { + "calc_value": 618, + "name": "ImGuiKey_Keypad6", + "value": "618" + }, + { + "calc_value": 619, + "name": "ImGuiKey_Keypad7", + "value": "619" + }, + { + "calc_value": 620, + "name": "ImGuiKey_Keypad8", + "value": "620" + }, + { + "calc_value": 621, + "name": "ImGuiKey_Keypad9", + "value": "621" + }, + { + "calc_value": 622, + "name": "ImGuiKey_KeypadDecimal", + "value": "622" + }, + { + "calc_value": 623, + "name": "ImGuiKey_KeypadDivide", + "value": "623" + }, + { + "calc_value": 624, + "name": "ImGuiKey_KeypadMultiply", + "value": "624" + }, + { + "calc_value": 625, + "name": "ImGuiKey_KeypadSubtract", + "value": "625" + }, + { + "calc_value": 626, + "name": "ImGuiKey_KeypadAdd", + "value": "626" + }, + { + "calc_value": 627, + "name": "ImGuiKey_KeypadEnter", + "value": "627" + }, + { + "calc_value": 628, + "name": "ImGuiKey_KeypadEqual", + "value": "628" + }, + { + "calc_value": 629, + "name": "ImGuiKey_AppBack", + "value": "629" + }, + { + "calc_value": 630, + "name": "ImGuiKey_AppForward", + "value": "630" + }, + { + "calc_value": 631, + "name": "ImGuiKey_GamepadStart", + "value": "631" + }, + { + "calc_value": 632, + "name": "ImGuiKey_GamepadBack", + "value": "632" + }, + { + "calc_value": 633, + "name": "ImGuiKey_GamepadFaceLeft", + "value": "633" + }, + { + "calc_value": 634, + "name": "ImGuiKey_GamepadFaceRight", + "value": "634" + }, + { + "calc_value": 635, + "name": "ImGuiKey_GamepadFaceUp", + "value": "635" + }, + { + "calc_value": 636, + "name": "ImGuiKey_GamepadFaceDown", + "value": "636" + }, + { + "calc_value": 637, + "name": "ImGuiKey_GamepadDpadLeft", + "value": "637" + }, + { + "calc_value": 638, + "name": "ImGuiKey_GamepadDpadRight", + "value": "638" + }, + { + "calc_value": 639, + "name": "ImGuiKey_GamepadDpadUp", + "value": "639" + }, + { + "calc_value": 640, + "name": "ImGuiKey_GamepadDpadDown", + "value": "640" + }, + { + "calc_value": 641, + "name": "ImGuiKey_GamepadL1", + "value": "641" + }, + { + "calc_value": 642, + "name": "ImGuiKey_GamepadR1", + "value": "642" + }, + { + "calc_value": 643, + "name": "ImGuiKey_GamepadL2", + "value": "643" + }, + { + "calc_value": 644, + "name": "ImGuiKey_GamepadR2", + "value": "644" + }, + { + "calc_value": 645, + "name": "ImGuiKey_GamepadL3", + "value": "645" + }, + { + "calc_value": 646, + "name": "ImGuiKey_GamepadR3", + "value": "646" + }, + { + "calc_value": 647, + "name": "ImGuiKey_GamepadLStickLeft", + "value": "647" + }, + { + "calc_value": 648, + "name": "ImGuiKey_GamepadLStickRight", + "value": "648" + }, + { + "calc_value": 649, + "name": "ImGuiKey_GamepadLStickUp", + "value": "649" + }, + { + "calc_value": 650, + "name": "ImGuiKey_GamepadLStickDown", + "value": "650" + }, + { + "calc_value": 651, + "name": "ImGuiKey_GamepadRStickLeft", + "value": "651" + }, + { + "calc_value": 652, + "name": "ImGuiKey_GamepadRStickRight", + "value": "652" + }, + { + "calc_value": 653, + "name": "ImGuiKey_GamepadRStickUp", + "value": "653" + }, + { + "calc_value": 654, + "name": "ImGuiKey_GamepadRStickDown", + "value": "654" + }, + { + "calc_value": 655, + "name": "ImGuiKey_MouseLeft", + "value": "655" + }, + { + "calc_value": 656, + "name": "ImGuiKey_MouseRight", + "value": "656" + }, + { + "calc_value": 657, + "name": "ImGuiKey_MouseMiddle", + "value": "657" + }, + { + "calc_value": 658, + "name": "ImGuiKey_MouseX1", + "value": "658" + }, + { + "calc_value": 659, + "name": "ImGuiKey_MouseX2", + "value": "659" + }, + { + "calc_value": 660, + "name": "ImGuiKey_MouseWheelX", + "value": "660" + }, + { + "calc_value": 661, + "name": "ImGuiKey_MouseWheelY", + "value": "661" + }, + { + "calc_value": 662, + "name": "ImGuiKey_ReservedForModCtrl", + "value": "662" + }, + { + "calc_value": 663, + "name": "ImGuiKey_ReservedForModShift", + "value": "663" + }, + { + "calc_value": 664, + "name": "ImGuiKey_ReservedForModAlt", + "value": "664" + }, + { + "calc_value": 665, + "name": "ImGuiKey_ReservedForModSuper", + "value": "665" + }, + { + "calc_value": 666, + "name": "ImGuiKey_NamedKey_END", + "value": "666" + }, + { + "calc_value": 0, + "name": "ImGuiMod_None", + "value": "0" + }, + { + "calc_value": 4096, + "name": "ImGuiMod_Ctrl", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiMod_Shift", + "value": "1 << 13" + }, + { + "calc_value": 16384, + "name": "ImGuiMod_Alt", + "value": "1 << 14" + }, + { + "calc_value": 32768, + "name": "ImGuiMod_Super", + "value": "1 << 15" + }, + { + "calc_value": 61440, + "name": "ImGuiMod_Mask_", + "value": "0xF000" + }, + { + "calc_value": 154, + "name": "ImGuiKey_NamedKey_COUNT", + "value": "ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN" + } + ], + "ImGuiLayoutType_": [ + { + "calc_value": 0, + "name": "ImGuiLayoutType_Horizontal", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiLayoutType_Vertical", + "value": "1" + } + ], + "ImGuiLocKey": [ + { + "calc_value": 0, + "name": "ImGuiLocKey_VersionStr", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiLocKey_TableSizeOne", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiLocKey_TableSizeAllFit", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiLocKey_TableSizeAllDefault", + "value": "3" + }, + { + "calc_value": 4, + "name": "ImGuiLocKey_TableResetOrder", + "value": "4" + }, + { + "calc_value": 5, + "name": "ImGuiLocKey_WindowingMainMenuBar", + "value": "5" + }, + { + "calc_value": 6, + "name": "ImGuiLocKey_WindowingPopup", + "value": "6" + }, + { + "calc_value": 7, + "name": "ImGuiLocKey_WindowingUntitled", + "value": "7" + }, + { + "calc_value": 8, + "name": "ImGuiLocKey_OpenLink_s", + "value": "8" + }, + { + "calc_value": 9, + "name": "ImGuiLocKey_CopyLink", + "value": "9" + }, + { + "calc_value": 10, + "name": "ImGuiLocKey_DockingHideTabBar", + "value": "10" + }, + { + "calc_value": 11, + "name": "ImGuiLocKey_DockingHoldShiftToDock", + "value": "11" + }, + { + "calc_value": 12, + "name": "ImGuiLocKey_DockingDragToUndockOrMoveNode", + "value": "12" + }, + { + "calc_value": 13, + "name": "ImGuiLocKey_COUNT", + "value": "13" + } + ], + "ImGuiLogFlags_": [ + { + "calc_value": 0, + "name": "ImGuiLogFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiLogFlags_OutputTTY", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiLogFlags_OutputFile", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiLogFlags_OutputBuffer", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiLogFlags_OutputClipboard", + "value": "1 << 3" + }, + { + "calc_value": 15, + "name": "ImGuiLogFlags_OutputMask_", + "value": "ImGuiLogFlags_OutputTTY | ImGuiLogFlags_OutputFile | ImGuiLogFlags_OutputBuffer | ImGuiLogFlags_OutputClipboard" + } + ], + "ImGuiMouseButton_": [ + { + "calc_value": 0, + "name": "ImGuiMouseButton_Left", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiMouseButton_Right", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiMouseButton_Middle", + "value": "2" + }, + { + "calc_value": 5, + "name": "ImGuiMouseButton_COUNT", + "value": "5" + } + ], + "ImGuiMouseCursor_": [ + { + "calc_value": -1, + "name": "ImGuiMouseCursor_None", + "value": "-1" + }, + { + "calc_value": 0, + "name": "ImGuiMouseCursor_Arrow", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiMouseCursor_TextInput", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiMouseCursor_ResizeAll", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiMouseCursor_ResizeNS", + "value": "3" + }, + { + "calc_value": 4, + "name": "ImGuiMouseCursor_ResizeEW", + "value": "4" + }, + { + "calc_value": 5, + "name": "ImGuiMouseCursor_ResizeNESW", + "value": "5" + }, + { + "calc_value": 6, + "name": "ImGuiMouseCursor_ResizeNWSE", + "value": "6" + }, + { + "calc_value": 7, + "name": "ImGuiMouseCursor_Hand", + "value": "7" + }, + { + "calc_value": 8, + "name": "ImGuiMouseCursor_NotAllowed", + "value": "8" + }, + { + "calc_value": 9, + "name": "ImGuiMouseCursor_COUNT", + "value": "9" + } + ], + "ImGuiMouseSource": [ + { + "calc_value": 0, + "name": "ImGuiMouseSource_Mouse", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiMouseSource_TouchScreen", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiMouseSource_Pen", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiMouseSource_COUNT", + "value": "3" + } + ], + "ImGuiMultiSelectFlags_": [ + { + "calc_value": 0, + "name": "ImGuiMultiSelectFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiMultiSelectFlags_SingleSelect", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiMultiSelectFlags_NoSelectAll", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiMultiSelectFlags_NoRangeSelect", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiMultiSelectFlags_NoAutoSelect", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiMultiSelectFlags_NoAutoClear", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiMultiSelectFlags_NoAutoClearOnReselect", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiMultiSelectFlags_BoxSelect1d", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiMultiSelectFlags_BoxSelect2d", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiMultiSelectFlags_BoxSelectNoScroll", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiMultiSelectFlags_ClearOnEscape", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiMultiSelectFlags_ClearOnClickVoid", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiMultiSelectFlags_ScopeWindow", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiMultiSelectFlags_ScopeRect", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiMultiSelectFlags_SelectOnClick", + "value": "1 << 13" + }, + { + "calc_value": 16384, + "name": "ImGuiMultiSelectFlags_SelectOnClickRelease", + "value": "1 << 14" + }, + { + "calc_value": 65536, + "name": "ImGuiMultiSelectFlags_NavWrapX", + "value": "1 << 16" + } + ], + "ImGuiNavLayer": [ + { + "calc_value": 0, + "name": "ImGuiNavLayer_Main", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiNavLayer_Menu", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiNavLayer_COUNT", + "value": "2" + } + ], + "ImGuiNavMoveFlags_": [ + { + "calc_value": 0, + "name": "ImGuiNavMoveFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiNavMoveFlags_LoopX", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiNavMoveFlags_LoopY", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiNavMoveFlags_WrapX", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiNavMoveFlags_WrapY", + "value": "1 << 3" + }, + { + "calc_value": 15, + "name": "ImGuiNavMoveFlags_WrapMask_", + "value": "ImGuiNavMoveFlags_LoopX | ImGuiNavMoveFlags_LoopY | ImGuiNavMoveFlags_WrapX | ImGuiNavMoveFlags_WrapY" + }, + { + "calc_value": 16, + "name": "ImGuiNavMoveFlags_AllowCurrentNavId", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiNavMoveFlags_AlsoScoreVisibleSet", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiNavMoveFlags_ScrollToEdgeY", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiNavMoveFlags_Forwarded", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiNavMoveFlags_DebugNoResult", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiNavMoveFlags_FocusApi", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiNavMoveFlags_IsTabbing", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiNavMoveFlags_IsPageMove", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiNavMoveFlags_Activate", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiNavMoveFlags_NoSelect", + "value": "1 << 13" + }, + { + "calc_value": 16384, + "name": "ImGuiNavMoveFlags_NoSetNavCursorVisible", + "value": "1 << 14" + }, + { + "calc_value": 32768, + "name": "ImGuiNavMoveFlags_NoClearActiveId", + "value": "1 << 15" + } + ], + "ImGuiNavRenderCursorFlags_": [ + { + "calc_value": 0, + "name": "ImGuiNavRenderCursorFlags_None", + "value": "0" + }, + { + "calc_value": 2, + "name": "ImGuiNavRenderCursorFlags_Compact", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiNavRenderCursorFlags_AlwaysDraw", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiNavRenderCursorFlags_NoRounding", + "value": "1 << 3" + } + ], + "ImGuiNextItemDataFlags_": [ + { + "calc_value": 0, + "name": "ImGuiNextItemDataFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiNextItemDataFlags_HasWidth", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiNextItemDataFlags_HasOpen", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiNextItemDataFlags_HasShortcut", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiNextItemDataFlags_HasRefVal", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiNextItemDataFlags_HasStorageID", + "value": "1 << 4" + } + ], + "ImGuiNextWindowDataFlags_": [ + { + "calc_value": 0, + "name": "ImGuiNextWindowDataFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiNextWindowDataFlags_HasPos", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiNextWindowDataFlags_HasSize", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiNextWindowDataFlags_HasContentSize", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiNextWindowDataFlags_HasCollapsed", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiNextWindowDataFlags_HasSizeConstraint", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiNextWindowDataFlags_HasFocus", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiNextWindowDataFlags_HasBgAlpha", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiNextWindowDataFlags_HasScroll", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiNextWindowDataFlags_HasChildFlags", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiNextWindowDataFlags_HasRefreshPolicy", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiNextWindowDataFlags_HasViewport", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiNextWindowDataFlags_HasDock", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiNextWindowDataFlags_HasWindowClass", + "value": "1 << 12" + } + ], + "ImGuiOldColumnFlags_": [ + { + "calc_value": 0, + "name": "ImGuiOldColumnFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiOldColumnFlags_NoBorder", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiOldColumnFlags_NoResize", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiOldColumnFlags_NoPreserveWidths", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiOldColumnFlags_NoForceWithinWindow", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiOldColumnFlags_GrowParentContentsSize", + "value": "1 << 4" + } + ], + "ImGuiPlotType": [ + { + "calc_value": 0, + "name": "ImGuiPlotType_Lines", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiPlotType_Histogram", + "value": "1" + } + ], + "ImGuiPopupFlags_": [ + { + "calc_value": 0, + "name": "ImGuiPopupFlags_None", + "value": "0" + }, + { + "calc_value": 0, + "name": "ImGuiPopupFlags_MouseButtonLeft", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiPopupFlags_MouseButtonRight", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiPopupFlags_MouseButtonMiddle", + "value": "2" + }, + { + "calc_value": 31, + "name": "ImGuiPopupFlags_MouseButtonMask_", + "value": "0x1F" + }, + { + "calc_value": 1, + "name": "ImGuiPopupFlags_MouseButtonDefault_", + "value": "1" + }, + { + "calc_value": 32, + "name": "ImGuiPopupFlags_NoReopen", + "value": "1 << 5" + }, + { + "calc_value": 128, + "name": "ImGuiPopupFlags_NoOpenOverExistingPopup", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiPopupFlags_NoOpenOverItems", + "value": "1 << 8" + }, + { + "calc_value": 1024, + "name": "ImGuiPopupFlags_AnyPopupId", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiPopupFlags_AnyPopupLevel", + "value": "1 << 11" + }, + { + "calc_value": 3072, + "name": "ImGuiPopupFlags_AnyPopup", + "value": "ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel" + } + ], + "ImGuiPopupPositionPolicy": [ + { + "calc_value": 0, + "name": "ImGuiPopupPositionPolicy_Default", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiPopupPositionPolicy_ComboBox", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiPopupPositionPolicy_Tooltip", + "value": "2" + } + ], + "ImGuiScrollFlags_": [ + { + "calc_value": 0, + "name": "ImGuiScrollFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiScrollFlags_KeepVisibleEdgeX", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiScrollFlags_KeepVisibleEdgeY", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiScrollFlags_KeepVisibleCenterX", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiScrollFlags_KeepVisibleCenterY", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiScrollFlags_AlwaysCenterX", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiScrollFlags_AlwaysCenterY", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiScrollFlags_NoScrollParent", + "value": "1 << 6" + }, + { + "calc_value": 21, + "name": "ImGuiScrollFlags_MaskX_", + "value": "ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleCenterX | ImGuiScrollFlags_AlwaysCenterX" + }, + { + "calc_value": 42, + "name": "ImGuiScrollFlags_MaskY_", + "value": "ImGuiScrollFlags_KeepVisibleEdgeY | ImGuiScrollFlags_KeepVisibleCenterY | ImGuiScrollFlags_AlwaysCenterY" + } + ], + "ImGuiSelectableFlagsPrivate_": [ + { + "calc_value": 1048576, + "name": "ImGuiSelectableFlags_NoHoldingActiveID", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiSelectableFlags_SelectOnNav", + "value": "1 << 21" + }, + { + "calc_value": 4194304, + "name": "ImGuiSelectableFlags_SelectOnClick", + "value": "1 << 22" + }, + { + "calc_value": 8388608, + "name": "ImGuiSelectableFlags_SelectOnRelease", + "value": "1 << 23" + }, + { + "calc_value": 16777216, + "name": "ImGuiSelectableFlags_SpanAvailWidth", + "value": "1 << 24" + }, + { + "calc_value": 33554432, + "name": "ImGuiSelectableFlags_SetNavIdOnHover", + "value": "1 << 25" + }, + { + "calc_value": 67108864, + "name": "ImGuiSelectableFlags_NoPadWithHalfSpacing", + "value": "1 << 26" + }, + { + "calc_value": 134217728, + "name": "ImGuiSelectableFlags_NoSetKeyOwner", + "value": "1 << 27" + } + ], + "ImGuiSelectableFlags_": [ + { + "calc_value": 0, + "name": "ImGuiSelectableFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiSelectableFlags_NoAutoClosePopups", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiSelectableFlags_SpanAllColumns", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiSelectableFlags_AllowDoubleClick", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiSelectableFlags_Disabled", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiSelectableFlags_AllowOverlap", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiSelectableFlags_Highlight", + "value": "1 << 5" + } + ], + "ImGuiSelectionRequestType": [ + { + "calc_value": 0, + "name": "ImGuiSelectionRequestType_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiSelectionRequestType_SetAll", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiSelectionRequestType_SetRange", + "value": "2" + } + ], + "ImGuiSeparatorFlags_": [ + { + "calc_value": 0, + "name": "ImGuiSeparatorFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiSeparatorFlags_Horizontal", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiSeparatorFlags_Vertical", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiSeparatorFlags_SpanAllColumns", + "value": "1 << 2" + } + ], + "ImGuiSliderFlagsPrivate_": [ + { + "calc_value": 1048576, + "name": "ImGuiSliderFlags_Vertical", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiSliderFlags_ReadOnly", + "value": "1 << 21" + } + ], + "ImGuiSliderFlags_": [ + { + "calc_value": 0, + "name": "ImGuiSliderFlags_None", + "value": "0" + }, + { + "calc_value": 32, + "name": "ImGuiSliderFlags_Logarithmic", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiSliderFlags_NoRoundToFormat", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiSliderFlags_NoInput", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiSliderFlags_WrapAround", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiSliderFlags_ClampOnInput", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiSliderFlags_ClampZeroRange", + "value": "1 << 10" + }, + { + "calc_value": 1536, + "name": "ImGuiSliderFlags_AlwaysClamp", + "value": "ImGuiSliderFlags_ClampOnInput | ImGuiSliderFlags_ClampZeroRange" + }, + { + "calc_value": 1879048207, + "name": "ImGuiSliderFlags_InvalidMask_", + "value": "0x7000000F" + } + ], + "ImGuiSortDirection": [ + { + "calc_value": 0, + "name": "ImGuiSortDirection_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiSortDirection_Ascending", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiSortDirection_Descending", + "value": "2" + } + ], + "ImGuiStyleVar_": [ + { + "calc_value": 0, + "name": "ImGuiStyleVar_Alpha", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiStyleVar_DisabledAlpha", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiStyleVar_WindowPadding", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiStyleVar_WindowRounding", + "value": "3" + }, + { + "calc_value": 4, + "name": "ImGuiStyleVar_WindowBorderSize", + "value": "4" + }, + { + "calc_value": 5, + "name": "ImGuiStyleVar_WindowMinSize", + "value": "5" + }, + { + "calc_value": 6, + "name": "ImGuiStyleVar_WindowTitleAlign", + "value": "6" + }, + { + "calc_value": 7, + "name": "ImGuiStyleVar_ChildRounding", + "value": "7" + }, + { + "calc_value": 8, + "name": "ImGuiStyleVar_ChildBorderSize", + "value": "8" + }, + { + "calc_value": 9, + "name": "ImGuiStyleVar_PopupRounding", + "value": "9" + }, + { + "calc_value": 10, + "name": "ImGuiStyleVar_PopupBorderSize", + "value": "10" + }, + { + "calc_value": 11, + "name": "ImGuiStyleVar_FramePadding", + "value": "11" + }, + { + "calc_value": 12, + "name": "ImGuiStyleVar_FrameRounding", + "value": "12" + }, + { + "calc_value": 13, + "name": "ImGuiStyleVar_FrameBorderSize", + "value": "13" + }, + { + "calc_value": 14, + "name": "ImGuiStyleVar_ItemSpacing", + "value": "14" + }, + { + "calc_value": 15, + "name": "ImGuiStyleVar_ItemInnerSpacing", + "value": "15" + }, + { + "calc_value": 16, + "name": "ImGuiStyleVar_IndentSpacing", + "value": "16" + }, + { + "calc_value": 17, + "name": "ImGuiStyleVar_CellPadding", + "value": "17" + }, + { + "calc_value": 18, + "name": "ImGuiStyleVar_ScrollbarSize", + "value": "18" + }, + { + "calc_value": 19, + "name": "ImGuiStyleVar_ScrollbarRounding", + "value": "19" + }, + { + "calc_value": 20, + "name": "ImGuiStyleVar_GrabMinSize", + "value": "20" + }, + { + "calc_value": 21, + "name": "ImGuiStyleVar_GrabRounding", + "value": "21" + }, + { + "calc_value": 22, + "name": "ImGuiStyleVar_TabRounding", + "value": "22" + }, + { + "calc_value": 23, + "name": "ImGuiStyleVar_TabBorderSize", + "value": "23" + }, + { + "calc_value": 24, + "name": "ImGuiStyleVar_TabBarBorderSize", + "value": "24" + }, + { + "calc_value": 25, + "name": "ImGuiStyleVar_TabBarOverlineSize", + "value": "25" + }, + { + "calc_value": 26, + "name": "ImGuiStyleVar_TableAngledHeadersAngle", + "value": "26" + }, + { + "calc_value": 27, + "name": "ImGuiStyleVar_TableAngledHeadersTextAlign", + "value": "27" + }, + { + "calc_value": 28, + "name": "ImGuiStyleVar_ButtonTextAlign", + "value": "28" + }, + { + "calc_value": 29, + "name": "ImGuiStyleVar_SelectableTextAlign", + "value": "29" + }, + { + "calc_value": 30, + "name": "ImGuiStyleVar_SeparatorTextBorderSize", + "value": "30" + }, + { + "calc_value": 31, + "name": "ImGuiStyleVar_SeparatorTextAlign", + "value": "31" + }, + { + "calc_value": 32, + "name": "ImGuiStyleVar_SeparatorTextPadding", + "value": "32" + }, + { + "calc_value": 33, + "name": "ImGuiStyleVar_DockingSeparatorSize", + "value": "33" + }, + { + "calc_value": 34, + "name": "ImGuiStyleVar_COUNT", + "value": "34" + } + ], + "ImGuiTabBarFlagsPrivate_": [ + { + "calc_value": 1048576, + "name": "ImGuiTabBarFlags_DockNode", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiTabBarFlags_IsFocused", + "value": "1 << 21" + }, + { + "calc_value": 4194304, + "name": "ImGuiTabBarFlags_SaveSettings", + "value": "1 << 22" + } + ], + "ImGuiTabBarFlags_": [ + { + "calc_value": 0, + "name": "ImGuiTabBarFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiTabBarFlags_Reorderable", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiTabBarFlags_AutoSelectNewTabs", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiTabBarFlags_TabListPopupButton", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiTabBarFlags_NoCloseWithMiddleMouseButton", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiTabBarFlags_NoTabListScrollingButtons", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiTabBarFlags_NoTooltip", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiTabBarFlags_DrawSelectedOverline", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiTabBarFlags_FittingPolicyResizeDown", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiTabBarFlags_FittingPolicyScroll", + "value": "1 << 8" + }, + { + "calc_value": 384, + "name": "ImGuiTabBarFlags_FittingPolicyMask_", + "value": "ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll" + }, + { + "calc_value": 128, + "name": "ImGuiTabBarFlags_FittingPolicyDefault_", + "value": "ImGuiTabBarFlags_FittingPolicyResizeDown" + } + ], + "ImGuiTabItemFlagsPrivate_": [ + { + "calc_value": 192, + "name": "ImGuiTabItemFlags_SectionMask_", + "value": "ImGuiTabItemFlags_Leading | ImGuiTabItemFlags_Trailing" + }, + { + "calc_value": 1048576, + "name": "ImGuiTabItemFlags_NoCloseButton", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiTabItemFlags_Button", + "value": "1 << 21" + }, + { + "calc_value": 4194304, + "name": "ImGuiTabItemFlags_Unsorted", + "value": "1 << 22" + } + ], + "ImGuiTabItemFlags_": [ + { + "calc_value": 0, + "name": "ImGuiTabItemFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiTabItemFlags_UnsavedDocument", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiTabItemFlags_SetSelected", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiTabItemFlags_NoCloseWithMiddleMouseButton", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiTabItemFlags_NoPushId", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiTabItemFlags_NoTooltip", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiTabItemFlags_NoReorder", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiTabItemFlags_Leading", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiTabItemFlags_Trailing", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiTabItemFlags_NoAssumedClosure", + "value": "1 << 8" + } + ], + "ImGuiTableBgTarget_": [ + { + "calc_value": 0, + "name": "ImGuiTableBgTarget_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiTableBgTarget_RowBg0", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiTableBgTarget_RowBg1", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiTableBgTarget_CellBg", + "value": "3" + } + ], + "ImGuiTableColumnFlags_": [ + { + "calc_value": 0, + "name": "ImGuiTableColumnFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiTableColumnFlags_Disabled", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiTableColumnFlags_DefaultHide", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiTableColumnFlags_DefaultSort", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiTableColumnFlags_WidthStretch", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiTableColumnFlags_WidthFixed", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiTableColumnFlags_NoResize", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiTableColumnFlags_NoReorder", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiTableColumnFlags_NoHide", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiTableColumnFlags_NoClip", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiTableColumnFlags_NoSort", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiTableColumnFlags_NoSortAscending", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiTableColumnFlags_NoSortDescending", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiTableColumnFlags_NoHeaderLabel", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiTableColumnFlags_NoHeaderWidth", + "value": "1 << 13" + }, + { + "calc_value": 16384, + "name": "ImGuiTableColumnFlags_PreferSortAscending", + "value": "1 << 14" + }, + { + "calc_value": 32768, + "name": "ImGuiTableColumnFlags_PreferSortDescending", + "value": "1 << 15" + }, + { + "calc_value": 65536, + "name": "ImGuiTableColumnFlags_IndentEnable", + "value": "1 << 16" + }, + { + "calc_value": 131072, + "name": "ImGuiTableColumnFlags_IndentDisable", + "value": "1 << 17" + }, + { + "calc_value": 262144, + "name": "ImGuiTableColumnFlags_AngledHeader", + "value": "1 << 18" + }, + { + "calc_value": 16777216, + "name": "ImGuiTableColumnFlags_IsEnabled", + "value": "1 << 24" + }, + { + "calc_value": 33554432, + "name": "ImGuiTableColumnFlags_IsVisible", + "value": "1 << 25" + }, + { + "calc_value": 67108864, + "name": "ImGuiTableColumnFlags_IsSorted", + "value": "1 << 26" + }, + { + "calc_value": 134217728, + "name": "ImGuiTableColumnFlags_IsHovered", + "value": "1 << 27" + }, + { + "calc_value": 24, + "name": "ImGuiTableColumnFlags_WidthMask_", + "value": "ImGuiTableColumnFlags_WidthStretch | ImGuiTableColumnFlags_WidthFixed" + }, + { + "calc_value": 196608, + "name": "ImGuiTableColumnFlags_IndentMask_", + "value": "ImGuiTableColumnFlags_IndentEnable | ImGuiTableColumnFlags_IndentDisable" + }, + { + "calc_value": 251658240, + "name": "ImGuiTableColumnFlags_StatusMask_", + "value": "ImGuiTableColumnFlags_IsEnabled | ImGuiTableColumnFlags_IsVisible | ImGuiTableColumnFlags_IsSorted | ImGuiTableColumnFlags_IsHovered" + }, + { + "calc_value": 1073741824, + "name": "ImGuiTableColumnFlags_NoDirectResize_", + "value": "1 << 30" + } + ], + "ImGuiTableFlags_": [ + { + "calc_value": 0, + "name": "ImGuiTableFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiTableFlags_Resizable", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiTableFlags_Reorderable", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiTableFlags_Hideable", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiTableFlags_Sortable", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiTableFlags_NoSavedSettings", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiTableFlags_ContextMenuInBody", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiTableFlags_RowBg", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiTableFlags_BordersInnerH", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiTableFlags_BordersOuterH", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiTableFlags_BordersInnerV", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiTableFlags_BordersOuterV", + "value": "1 << 10" + }, + { + "calc_value": 384, + "name": "ImGuiTableFlags_BordersH", + "value": "ImGuiTableFlags_BordersInnerH | ImGuiTableFlags_BordersOuterH" + }, + { + "calc_value": 1536, + "name": "ImGuiTableFlags_BordersV", + "value": "ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersOuterV" + }, + { + "calc_value": 640, + "name": "ImGuiTableFlags_BordersInner", + "value": "ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersInnerH" + }, + { + "calc_value": 1280, + "name": "ImGuiTableFlags_BordersOuter", + "value": "ImGuiTableFlags_BordersOuterV | ImGuiTableFlags_BordersOuterH" + }, + { + "calc_value": 1920, + "name": "ImGuiTableFlags_Borders", + "value": "ImGuiTableFlags_BordersInner | ImGuiTableFlags_BordersOuter" + }, + { + "calc_value": 2048, + "name": "ImGuiTableFlags_NoBordersInBody", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiTableFlags_NoBordersInBodyUntilResize", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiTableFlags_SizingFixedFit", + "value": "1 << 13" + }, + { + "calc_value": 16384, + "name": "ImGuiTableFlags_SizingFixedSame", + "value": "2 << 13" + }, + { + "calc_value": 24576, + "name": "ImGuiTableFlags_SizingStretchProp", + "value": "3 << 13" + }, + { + "calc_value": 32768, + "name": "ImGuiTableFlags_SizingStretchSame", + "value": "4 << 13" + }, + { + "calc_value": 65536, + "name": "ImGuiTableFlags_NoHostExtendX", + "value": "1 << 16" + }, + { + "calc_value": 131072, + "name": "ImGuiTableFlags_NoHostExtendY", + "value": "1 << 17" + }, + { + "calc_value": 262144, + "name": "ImGuiTableFlags_NoKeepColumnsVisible", + "value": "1 << 18" + }, + { + "calc_value": 524288, + "name": "ImGuiTableFlags_PreciseWidths", + "value": "1 << 19" + }, + { + "calc_value": 1048576, + "name": "ImGuiTableFlags_NoClip", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiTableFlags_PadOuterX", + "value": "1 << 21" + }, + { + "calc_value": 4194304, + "name": "ImGuiTableFlags_NoPadOuterX", + "value": "1 << 22" + }, + { + "calc_value": 8388608, + "name": "ImGuiTableFlags_NoPadInnerX", + "value": "1 << 23" + }, + { + "calc_value": 16777216, + "name": "ImGuiTableFlags_ScrollX", + "value": "1 << 24" + }, + { + "calc_value": 33554432, + "name": "ImGuiTableFlags_ScrollY", + "value": "1 << 25" + }, + { + "calc_value": 67108864, + "name": "ImGuiTableFlags_SortMulti", + "value": "1 << 26" + }, + { + "calc_value": 134217728, + "name": "ImGuiTableFlags_SortTristate", + "value": "1 << 27" + }, + { + "calc_value": 268435456, + "name": "ImGuiTableFlags_HighlightHoveredColumn", + "value": "1 << 28" + }, + { + "calc_value": 57344, + "name": "ImGuiTableFlags_SizingMask_", + "value": "ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_SizingFixedSame | ImGuiTableFlags_SizingStretchProp | ImGuiTableFlags_SizingStretchSame" + } + ], + "ImGuiTableRowFlags_": [ + { + "calc_value": 0, + "name": "ImGuiTableRowFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiTableRowFlags_Headers", + "value": "1 << 0" + } + ], + "ImGuiTextFlags_": [ + { + "calc_value": 0, + "name": "ImGuiTextFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiTextFlags_NoWidthForLargeClippedText", + "value": "1 << 0" + } + ], + "ImGuiTooltipFlags_": [ + { + "calc_value": 0, + "name": "ImGuiTooltipFlags_None", + "value": "0" + }, + { + "calc_value": 2, + "name": "ImGuiTooltipFlags_OverridePrevious", + "value": "1 << 1" + } + ], + "ImGuiTreeNodeFlagsPrivate_": [ + { + "calc_value": 268435456, + "name": "ImGuiTreeNodeFlags_ClipLabelForTrailingButton", + "value": "1 << 28" + }, + { + "calc_value": 536870912, + "name": "ImGuiTreeNodeFlags_UpsideDownArrow", + "value": "1 << 29" + }, + { + "calc_value": 192, + "name": "ImGuiTreeNodeFlags_OpenOnMask_", + "value": "ImGuiTreeNodeFlags_OpenOnDoubleClick | ImGuiTreeNodeFlags_OpenOnArrow" + } + ], + "ImGuiTreeNodeFlags_": [ + { + "calc_value": 0, + "name": "ImGuiTreeNodeFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiTreeNodeFlags_Selected", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiTreeNodeFlags_Framed", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiTreeNodeFlags_AllowOverlap", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiTreeNodeFlags_NoTreePushOnOpen", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiTreeNodeFlags_NoAutoOpenOnLog", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiTreeNodeFlags_DefaultOpen", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiTreeNodeFlags_OpenOnDoubleClick", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiTreeNodeFlags_OpenOnArrow", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiTreeNodeFlags_Leaf", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiTreeNodeFlags_Bullet", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiTreeNodeFlags_FramePadding", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiTreeNodeFlags_SpanAvailWidth", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiTreeNodeFlags_SpanFullWidth", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiTreeNodeFlags_SpanTextWidth", + "value": "1 << 13" + }, + { + "calc_value": 16384, + "name": "ImGuiTreeNodeFlags_SpanAllColumns", + "value": "1 << 14" + }, + { + "calc_value": 32768, + "name": "ImGuiTreeNodeFlags_NavLeftJumpsBackHere", + "value": "1 << 15" + }, + { + "calc_value": 26, + "name": "ImGuiTreeNodeFlags_CollapsingHeader", + "value": "ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog" + } + ], + "ImGuiTypingSelectFlags_": [ + { + "calc_value": 0, + "name": "ImGuiTypingSelectFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiTypingSelectFlags_AllowBackspace", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiTypingSelectFlags_AllowSingleCharMode", + "value": "1 << 1" + } + ], + "ImGuiViewportFlags_": [ + { + "calc_value": 0, + "name": "ImGuiViewportFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiViewportFlags_IsPlatformWindow", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiViewportFlags_IsPlatformMonitor", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiViewportFlags_OwnedByApp", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiViewportFlags_NoDecoration", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiViewportFlags_NoTaskBarIcon", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiViewportFlags_NoFocusOnAppearing", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiViewportFlags_NoFocusOnClick", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiViewportFlags_NoInputs", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiViewportFlags_NoRendererClear", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiViewportFlags_NoAutoMerge", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiViewportFlags_TopMost", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiViewportFlags_CanHostOtherWindows", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiViewportFlags_IsMinimized", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiViewportFlags_IsFocused", + "value": "1 << 13" + } + ], + "ImGuiWindowDockStyleCol": [ + { + "calc_value": 0, + "name": "ImGuiWindowDockStyleCol_Text", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiWindowDockStyleCol_TabHovered", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiWindowDockStyleCol_TabFocused", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiWindowDockStyleCol_TabSelected", + "value": "3" + }, + { + "calc_value": 4, + "name": "ImGuiWindowDockStyleCol_TabSelectedOverline", + "value": "4" + }, + { + "calc_value": 5, + "name": "ImGuiWindowDockStyleCol_TabDimmed", + "value": "5" + }, + { + "calc_value": 6, + "name": "ImGuiWindowDockStyleCol_TabDimmedSelected", + "value": "6" + }, + { + "calc_value": 7, + "name": "ImGuiWindowDockStyleCol_TabDimmedSelectedOverline", + "value": "7" + }, + { + "calc_value": 8, + "name": "ImGuiWindowDockStyleCol_COUNT", + "value": "8" + } + ], + "ImGuiWindowFlags_": [ + { + "calc_value": 0, + "name": "ImGuiWindowFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiWindowFlags_NoTitleBar", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiWindowFlags_NoResize", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiWindowFlags_NoMove", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiWindowFlags_NoScrollbar", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiWindowFlags_NoScrollWithMouse", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiWindowFlags_NoCollapse", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiWindowFlags_AlwaysAutoResize", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiWindowFlags_NoBackground", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiWindowFlags_NoSavedSettings", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiWindowFlags_NoMouseInputs", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiWindowFlags_MenuBar", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiWindowFlags_HorizontalScrollbar", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiWindowFlags_NoFocusOnAppearing", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiWindowFlags_NoBringToFrontOnFocus", + "value": "1 << 13" + }, + { + "calc_value": 16384, + "name": "ImGuiWindowFlags_AlwaysVerticalScrollbar", + "value": "1 << 14" + }, + { + "calc_value": 32768, + "name": "ImGuiWindowFlags_AlwaysHorizontalScrollbar", + "value": "1<< 15" + }, + { + "calc_value": 65536, + "name": "ImGuiWindowFlags_NoNavInputs", + "value": "1 << 16" + }, + { + "calc_value": 131072, + "name": "ImGuiWindowFlags_NoNavFocus", + "value": "1 << 17" + }, + { + "calc_value": 262144, + "name": "ImGuiWindowFlags_UnsavedDocument", + "value": "1 << 18" + }, + { + "calc_value": 524288, + "name": "ImGuiWindowFlags_NoDocking", + "value": "1 << 19" + }, + { + "calc_value": 196608, + "name": "ImGuiWindowFlags_NoNav", + "value": "ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus" + }, + { + "calc_value": 43, + "name": "ImGuiWindowFlags_NoDecoration", + "value": "ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse" + }, + { + "calc_value": 197120, + "name": "ImGuiWindowFlags_NoInputs", + "value": "ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus" + }, + { + "calc_value": 16777216, + "name": "ImGuiWindowFlags_ChildWindow", + "value": "1 << 24" + }, + { + "calc_value": 33554432, + "name": "ImGuiWindowFlags_Tooltip", + "value": "1 << 25" + }, + { + "calc_value": 67108864, + "name": "ImGuiWindowFlags_Popup", + "value": "1 << 26" + }, + { + "calc_value": 134217728, + "name": "ImGuiWindowFlags_Modal", + "value": "1 << 27" + }, + { + "calc_value": 268435456, + "name": "ImGuiWindowFlags_ChildMenu", + "value": "1 << 28" + }, + { + "calc_value": 536870912, + "name": "ImGuiWindowFlags_DockNodeHost", + "value": "1 << 29" + } + ], + "ImGuiWindowRefreshFlags_": [ + { + "calc_value": 0, + "name": "ImGuiWindowRefreshFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiWindowRefreshFlags_TryToAvoidRefresh", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiWindowRefreshFlags_RefreshOnHover", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiWindowRefreshFlags_RefreshOnFocus", + "value": "1 << 2" + } + ] + }, + "enumtypes": { + "ImGuiDir": "int", + "ImGuiKey": "int", + "ImGuiLocKey": "int", + "ImGuiMouseSource": "int", + "ImGuiSortDirection": "ImU8" + }, + "locations": { + "ImBitVector": "imgui_internal:614", + "ImColor": "imgui:2862", + "ImDrawChannel": "imgui:3102", + "ImDrawCmd": "imgui:3059", + "ImDrawCmdHeader": "imgui:3094", + "ImDrawData": "imgui:3319", + "ImDrawDataBuilder": "imgui_internal:803", + "ImDrawFlags_": "imgui:3128", + "ImDrawList": "imgui:3166", + "ImDrawListFlags_": "imgui:3148", + "ImDrawListSharedData": "imgui_internal:781", + "ImDrawListSplitter": "imgui:3111", + "ImDrawVert": "imgui:3079", + "ImFont": "imgui:3545", + "ImFontAtlas": "imgui:3441", + "ImFontAtlasCustomRect": "imgui:3400", + "ImFontAtlasFlags_": "imgui:3416", + "ImFontBuilderIO": "imgui_internal:3839", + "ImFontConfig": "imgui:3343", + "ImFontGlyph": "imgui:3373", + "ImFontGlyphRangesBuilder": "imgui:3385", + "ImGuiActivateFlags_": "imgui_internal:1562", + "ImGuiAxis": "imgui_internal:1029", + "ImGuiBackendFlags_": "imgui:1667", + "ImGuiBoxSelectState": "imgui_internal:1751", + "ImGuiButtonFlagsPrivate_": "imgui_internal:919", + "ImGuiButtonFlags_": "imgui:1801", + "ImGuiChildFlags_": "imgui:1153", + "ImGuiCol_": "imgui:1682", + "ImGuiColorEditFlags_": "imgui:1812", + "ImGuiColorMod": "imgui_internal:1043", + "ImGuiComboFlagsPrivate_": "imgui_internal:944", + "ImGuiComboFlags_": "imgui:1299", + "ImGuiComboPreviewData": "imgui_internal:1060", + "ImGuiCond_": "imgui:1913", + "ImGuiConfigFlags_": "imgui:1638", + "ImGuiContext": "imgui_internal:2222", + "ImGuiContextHook": "imgui_internal:2207", + "ImGuiContextHookType": "imgui_internal:2205", + "ImGuiDataAuthority_": "imgui_internal:1864", + "ImGuiDataTypeInfo": "imgui_internal:829", + "ImGuiDataTypePrivate_": "imgui_internal:838", + "ImGuiDataTypeStorage": "imgui_internal:823", + "ImGuiDataType_": "imgui:1447", + "ImGuiDataVarInfo": "imgui_internal:815", + "ImGuiDebugAllocEntry": "imgui_internal:2141", + "ImGuiDebugAllocInfo": "imgui_internal:2148", + "ImGuiDebugLogFlags_": "imgui_internal:2119", + "ImGuiDir": "imgui:1464", + "ImGuiDockContext": "imgui_internal:1966", + "ImGuiDockNode": "imgui_internal:1880", + "ImGuiDockNodeFlagsPrivate_": "imgui_internal:1832", + "ImGuiDockNodeFlags_": "imgui:1400", + "ImGuiDockNodeState": "imgui_internal:1871", + "ImGuiDragDropFlags_": "imgui:1419", + "ImGuiErrorRecoveryState": "imgui_internal:1293", + "ImGuiFocusRequestFlags_": "imgui_internal:989", + "ImGuiFocusScopeData": "imgui_internal:1648", + "ImGuiFocusedFlags_": "imgui:1346", + "ImGuiFreeTypeBuilderFlags": "imgui_freetype:26", + "ImGuiGroupData": "imgui_internal:1073", + "ImGuiHoveredFlagsPrivate_": "imgui_internal:902", + "ImGuiHoveredFlags_": "imgui:1360", + "ImGuiIDStackTool": "imgui_internal:2188", + "ImGuiIO": "imgui:2286", + "ImGuiInputEvent": "imgui_internal:1422", + "ImGuiInputEventAppFocused": "imgui_internal:1420", + "ImGuiInputEventKey": "imgui_internal:1418", + "ImGuiInputEventMouseButton": "imgui_internal:1416", + "ImGuiInputEventMousePos": "imgui_internal:1414", + "ImGuiInputEventMouseViewport": "imgui_internal:1417", + "ImGuiInputEventMouseWheel": "imgui_internal:1415", + "ImGuiInputEventText": "imgui_internal:1419", + "ImGuiInputEventType": "imgui_internal:1390", + "ImGuiInputFlagsPrivate_": "imgui_internal:1489", + "ImGuiInputFlags_": "imgui:1615", + "ImGuiInputSource": "imgui_internal:1403", + "ImGuiInputTextCallbackData": "imgui:2540", + "ImGuiInputTextDeactivatedState": "imgui_internal:1109", + "ImGuiInputTextFlagsPrivate_": "imgui_internal:910", + "ImGuiInputTextFlags_": "imgui:1187", + "ImGuiInputTextState": "imgui_internal:1131", + "ImGuiItemFlagsPrivate_": "imgui_internal:852", + "ImGuiItemFlags_": "imgui:1174", + "ImGuiItemStatusFlags_": "imgui_internal:876", + "ImGuiKey": "imgui:1488", + "ImGuiKeyData": "imgui:2278", + "ImGuiKeyOwnerData": "imgui_internal:1476", + "ImGuiKeyRoutingData": "imgui_internal:1450", + "ImGuiKeyRoutingTable": "imgui_internal:1464", + "ImGuiLastItemData": "imgui_internal:1265", + "ImGuiLayoutType_": "imgui_internal:1010", + "ImGuiListClipper": "imgui:2769", + "ImGuiListClipperData": "imgui_internal:1546", + "ImGuiListClipperRange": "imgui_internal:1533", + "ImGuiLocEntry": "imgui_internal:2092", + "ImGuiLocKey": "imgui_internal:2074", + "ImGuiLogFlags_": "imgui_internal:1017", + "ImGuiMenuColumns": "imgui_internal:1091", + "ImGuiMetricsConfig": "imgui_internal:2158", + "ImGuiMouseButton_": "imgui:1873", + "ImGuiMouseCursor_": "imgui:1883", + "ImGuiMouseSource": "imgui:1902", + "ImGuiMultiSelectFlags_": "imgui:2920", + "ImGuiMultiSelectIO": "imgui:2947", + "ImGuiMultiSelectState": "imgui_internal:1808", + "ImGuiMultiSelectTempData": "imgui_internal:1783", + "ImGuiNavItemData": "imgui_internal:1631", + "ImGuiNavLayer": "imgui_internal:1623", + "ImGuiNavMoveFlags_": "imgui_internal:1601", + "ImGuiNavRenderCursorFlags_": "imgui_internal:1587", + "ImGuiNextItemData": "imgui_internal:1245", + "ImGuiNextItemDataFlags_": "imgui_internal:1235", + "ImGuiNextWindowData": "imgui_internal:1206", + "ImGuiNextWindowDataFlags_": "imgui_internal:1187", + "ImGuiOldColumnData": "imgui_internal:1716", + "ImGuiOldColumnFlags_": "imgui_internal:1696", + "ImGuiOldColumns": "imgui_internal:1726", + "ImGuiOnceUponAFrame": "imgui:2640", + "ImGuiPayload": "imgui:2605", + "ImGuiPlatformIO": "imgui:3717", + "ImGuiPlatformImeData": "imgui:3823", + "ImGuiPlatformMonitor": "imgui:3813", + "ImGuiPlotType": "imgui_internal:1036", + "ImGuiPopupData": "imgui_internal:1347", + "ImGuiPopupFlags_": "imgui:1264", + "ImGuiPopupPositionPolicy": "imgui_internal:1339", + "ImGuiPtrOrIndex": "imgui_internal:1326", + "ImGuiScrollFlags_": "imgui_internal:1573", + "ImGuiSelectableFlagsPrivate_": "imgui_internal:957", + "ImGuiSelectableFlags_": "imgui:1282", + "ImGuiSelectionBasicStorage": "imgui:2993", + "ImGuiSelectionExternalStorage": "imgui:3016", + "ImGuiSelectionRequest": "imgui:2967", + "ImGuiSelectionRequestType": "imgui:2959", + "ImGuiSeparatorFlags_": "imgui_internal:978", + "ImGuiSettingsHandler": "imgui_internal:2054", + "ImGuiShrinkWidthItem": "imgui_internal:1319", + "ImGuiSizeCallbackData": "imgui:2574", + "ImGuiSliderFlagsPrivate_": "imgui_internal:950", + "ImGuiSliderFlags_": "imgui:1858", + "ImGuiSortDirection": "imgui:1475", + "ImGuiStackLevelInfo": "imgui_internal:2176", + "ImGuiStorage": "imgui:2712", + "ImGuiStoragePair": "imgui:2695", + "ImGuiStyle": "imgui:2200", + "ImGuiStyleMod": "imgui_internal:1050", + "ImGuiStyleVar_": "imgui:1760", + "ImGuiTabBar": "imgui_internal:2852", + "ImGuiTabBarFlagsPrivate_": "imgui_internal:2815", + "ImGuiTabBarFlags_": "imgui:1314", + "ImGuiTabItem": "imgui_internal:2832", + "ImGuiTabItemFlagsPrivate_": "imgui_internal:2823", + "ImGuiTabItemFlags_": "imgui:1331", + "ImGuiTable": "imgui_internal:2999", + "ImGuiTableBgTarget_": "imgui:2054", + "ImGuiTableCellData": "imgui_internal:2967", + "ImGuiTableColumn": "imgui_internal:2907", + "ImGuiTableColumnFlags_": "imgui:2001", + "ImGuiTableColumnSettings": "imgui_internal:3146", + "ImGuiTableColumnSortSpecs": "imgui:2076", + "ImGuiTableFlags_": "imgui:1948", + "ImGuiTableHeaderData": "imgui_internal:2976", + "ImGuiTableInstanceData": "imgui_internal:2986", + "ImGuiTableRowFlags_": "imgui:2039", + "ImGuiTableSettings": "imgui_internal:3170", + "ImGuiTableSortSpecs": "imgui:2066", + "ImGuiTableTempData": "imgui_internal:3123", + "ImGuiTextBuffer": "imgui:2675", + "ImGuiTextFilter": "imgui:2648", + "ImGuiTextFlags_": "imgui_internal:996", + "ImGuiTextIndex": "imgui_internal:734", + "ImGuiTextRange": "imgui:2658", + "ImGuiTooltipFlags_": "imgui_internal:1002", + "ImGuiTreeNodeFlagsPrivate_": "imgui_internal:971", + "ImGuiTreeNodeFlags_": "imgui:1229", + "ImGuiTreeNodeStackData": "imgui_internal:1284", + "ImGuiTypingSelectFlags_": "imgui_internal:1659", + "ImGuiTypingSelectRequest": "imgui_internal:1667", + "ImGuiTypingSelectState": "imgui_internal:1678", + "ImGuiViewport": "imgui:3632", + "ImGuiViewportFlags_": "imgui:3604", + "ImGuiViewportP": "imgui_internal:1983", + "ImGuiWindow": "imgui_internal:2663", + "ImGuiWindowClass": "imgui:2589", + "ImGuiWindowDockStyle": "imgui_internal:1961", + "ImGuiWindowDockStyleCol": "imgui_internal:1947", + "ImGuiWindowFlags_": "imgui:1102", + "ImGuiWindowRefreshFlags_": "imgui_internal:1178", + "ImGuiWindowSettings": "imgui_internal:2035", + "ImGuiWindowStackData": "imgui_internal:1311", + "ImGuiWindowTempData": "imgui_internal:2613", + "ImRect": "imgui_internal:536", + "ImVec1": "imgui_internal:518", + "ImVec2": "imgui:296", + "ImVec2ih": "imgui_internal:526", + "ImVec4": "imgui:309" + }, + "structs": { + "ImBitVector": [ + { + "name": "Storage", + "template_type": "ImU32", + "type": "ImVector_ImU32" + } + ], + "ImColor": [ + { + "name": "Value", + "type": "ImVec4" + } + ], + "ImDrawChannel": [ + { + "name": "_CmdBuffer", + "template_type": "ImDrawCmd", + "type": "ImVector_ImDrawCmd" + }, + { + "name": "_IdxBuffer", + "template_type": "ImDrawIdx", + "type": "ImVector_ImDrawIdx" + } + ], + "ImDrawCmd": [ + { + "name": "ClipRect", + "type": "ImVec4" + }, + { + "name": "TextureId", + "type": "ImTextureID" + }, + { + "name": "VtxOffset", + "type": "unsigned int" + }, + { + "name": "IdxOffset", + "type": "unsigned int" + }, + { + "name": "ElemCount", + "type": "unsigned int" + }, + { + "name": "UserCallback", + "type": "ImDrawCallback" + }, + { + "name": "UserCallbackData", + "type": "void*" + }, + { + "name": "UserCallbackDataSize", + "type": "int" + }, + { + "name": "UserCallbackDataOffset", + "type": "int" + } + ], + "ImDrawCmdHeader": [ + { + "name": "ClipRect", + "type": "ImVec4" + }, + { + "name": "TextureId", + "type": "ImTextureID" + }, + { + "name": "VtxOffset", + "type": "unsigned int" + } + ], + "ImDrawData": [ + { + "name": "Valid", + "type": "bool" + }, + { + "name": "CmdListsCount", + "type": "int" + }, + { + "name": "TotalIdxCount", + "type": "int" + }, + { + "name": "TotalVtxCount", + "type": "int" + }, + { + "name": "CmdLists", + "template_type": "ImDrawList*", + "type": "ImVector_ImDrawListPtr" + }, + { + "name": "DisplayPos", + "type": "ImVec2" + }, + { + "name": "DisplaySize", + "type": "ImVec2" + }, + { + "name": "FramebufferScale", + "type": "ImVec2" + }, + { + "name": "OwnerViewport", + "type": "ImGuiViewport*" + } + ], + "ImDrawDataBuilder": [ + { + "name": "Layers[2]", + "size": 2, + "template_type": "ImDrawList*", + "type": "ImVector_ImDrawListPtr*" + }, + { + "name": "LayerData1", + "template_type": "ImDrawList*", + "type": "ImVector_ImDrawListPtr" + } + ], + "ImDrawList": [ + { + "name": "CmdBuffer", + "template_type": "ImDrawCmd", + "type": "ImVector_ImDrawCmd" + }, + { + "name": "IdxBuffer", + "template_type": "ImDrawIdx", + "type": "ImVector_ImDrawIdx" + }, + { + "name": "VtxBuffer", + "template_type": "ImDrawVert", + "type": "ImVector_ImDrawVert" + }, + { + "name": "Flags", + "type": "ImDrawListFlags" + }, + { + "name": "_VtxCurrentIdx", + "type": "unsigned int" + }, + { + "name": "_Data", + "type": "ImDrawListSharedData*" + }, + { + "name": "_VtxWritePtr", + "type": "ImDrawVert*" + }, + { + "name": "_IdxWritePtr", + "type": "ImDrawIdx*" + }, + { + "name": "_Path", + "template_type": "ImVec2", + "type": "ImVector_ImVec2" + }, + { + "name": "_CmdHeader", + "type": "ImDrawCmdHeader" + }, + { + "name": "_Splitter", + "type": "ImDrawListSplitter" + }, + { + "name": "_ClipRectStack", + "template_type": "ImVec4", + "type": "ImVector_ImVec4" + }, + { + "name": "_TextureIdStack", + "template_type": "ImTextureID", + "type": "ImVector_ImTextureID" + }, + { + "name": "_CallbacksDataBuf", + "template_type": "ImU8", + "type": "ImVector_ImU8" + }, + { + "name": "_FringeScale", + "type": "float" + }, + { + "name": "_OwnerName", + "type": "const char*" + } + ], + "ImDrawListSharedData": [ + { + "name": "TexUvWhitePixel", + "type": "ImVec2" + }, + { + "name": "TexUvLines", + "type": "const ImVec4*" + }, + { + "name": "Font", + "type": "ImFont*" + }, + { + "name": "FontSize", + "type": "float" + }, + { + "name": "FontScale", + "type": "float" + }, + { + "name": "CurveTessellationTol", + "type": "float" + }, + { + "name": "CircleSegmentMaxError", + "type": "float" + }, + { + "name": "ClipRectFullscreen", + "type": "ImVec4" + }, + { + "name": "InitialFlags", + "type": "ImDrawListFlags" + }, + { + "name": "TempBuffer", + "template_type": "ImVec2", + "type": "ImVector_ImVec2" + }, + { + "name": "ArcFastVtx[48]", + "size": 48, + "type": "ImVec2" + }, + { + "name": "ArcFastRadiusCutoff", + "type": "float" + }, + { + "name": "CircleSegmentCounts[64]", + "size": 64, + "type": "ImU8" + } + ], + "ImDrawListSplitter": [ + { + "name": "_Current", + "type": "int" + }, + { + "name": "_Count", + "type": "int" + }, + { + "name": "_Channels", + "template_type": "ImDrawChannel", + "type": "ImVector_ImDrawChannel" + } + ], + "ImDrawVert": [ + { + "name": "pos", + "type": "ImVec2" + }, + { + "name": "uv", + "type": "ImVec2" + }, + { + "name": "col", + "type": "ImU32" + } + ], + "ImFont": [ + { + "name": "IndexAdvanceX", + "template_type": "float", + "type": "ImVector_float" + }, + { + "name": "FallbackAdvanceX", + "type": "float" + }, + { + "name": "FontSize", + "type": "float" + }, + { + "name": "IndexLookup", + "template_type": "ImWchar", + "type": "ImVector_ImWchar" + }, + { + "name": "Glyphs", + "template_type": "ImFontGlyph", + "type": "ImVector_ImFontGlyph" + }, + { + "name": "FallbackGlyph", + "type": "const ImFontGlyph*" + }, + { + "name": "ContainerAtlas", + "type": "ImFontAtlas*" + }, + { + "name": "ConfigData", + "type": "const ImFontConfig*" + }, + { + "name": "ConfigDataCount", + "type": "short" + }, + { + "name": "EllipsisCharCount", + "type": "short" + }, + { + "name": "EllipsisChar", + "type": "ImWchar" + }, + { + "name": "FallbackChar", + "type": "ImWchar" + }, + { + "name": "EllipsisWidth", + "type": "float" + }, + { + "name": "EllipsisCharStep", + "type": "float" + }, + { + "name": "DirtyLookupTables", + "type": "bool" + }, + { + "name": "Scale", + "type": "float" + }, + { + "name": "Ascent", + "type": "float" + }, + { + "name": "Descent", + "type": "float" + }, + { + "name": "MetricsTotalSurface", + "type": "int" + }, + { + "name": "Used4kPagesMap[(0xFFFF+1)/4096/8]", + "size": 2, + "type": "ImU8" + } + ], + "ImFontAtlas": [ + { + "name": "Flags", + "type": "ImFontAtlasFlags" + }, + { + "name": "TexID", + "type": "ImTextureID" + }, + { + "name": "TexDesiredWidth", + "type": "int" + }, + { + "name": "TexGlyphPadding", + "type": "int" + }, + { + "name": "Locked", + "type": "bool" + }, + { + "name": "UserData", + "type": "void*" + }, + { + "name": "TexReady", + "type": "bool" + }, + { + "name": "TexPixelsUseColors", + "type": "bool" + }, + { + "name": "TexPixelsAlpha8", + "type": "unsigned char*" + }, + { + "name": "TexPixelsRGBA32", + "type": "unsigned int*" + }, + { + "name": "TexWidth", + "type": "int" + }, + { + "name": "TexHeight", + "type": "int" + }, + { + "name": "TexUvScale", + "type": "ImVec2" + }, + { + "name": "TexUvWhitePixel", + "type": "ImVec2" + }, + { + "name": "Fonts", + "template_type": "ImFont*", + "type": "ImVector_ImFontPtr" + }, + { + "name": "CustomRects", + "template_type": "ImFontAtlasCustomRect", + "type": "ImVector_ImFontAtlasCustomRect" + }, + { + "name": "ConfigData", + "template_type": "ImFontConfig", + "type": "ImVector_ImFontConfig" + }, + { + "name": "TexUvLines[(63)+1]", + "size": 64, + "type": "ImVec4" + }, + { + "name": "FontBuilderIO", + "type": "const ImFontBuilderIO*" + }, + { + "name": "FontBuilderFlags", + "type": "unsigned int" + }, + { + "name": "PackIdMouseCursors", + "type": "int" + }, + { + "name": "PackIdLines", + "type": "int" + } + ], + "ImFontAtlasCustomRect": [ + { + "name": "X", + "type": "unsigned short" + }, + { + "name": "Y", + "type": "unsigned short" + }, + { + "name": "Width", + "type": "unsigned short" + }, + { + "name": "Height", + "type": "unsigned short" + }, + { + "bitfield": "31", + "name": "GlyphID", + "type": "unsigned int" + }, + { + "bitfield": "1", + "name": "GlyphColored", + "type": "unsigned int" + }, + { + "name": "GlyphAdvanceX", + "type": "float" + }, + { + "name": "GlyphOffset", + "type": "ImVec2" + }, + { + "name": "Font", + "type": "ImFont*" + } + ], + "ImFontBuilderIO": [ + { + "name": "FontBuilder_Build", + "type": "bool(*)(ImFontAtlas* atlas)" + } + ], + "ImFontConfig": [ + { + "name": "FontData", + "type": "void*" + }, + { + "name": "FontDataSize", + "type": "int" + }, + { + "name": "FontDataOwnedByAtlas", + "type": "bool" + }, + { + "name": "FontNo", + "type": "int" + }, + { + "name": "SizePixels", + "type": "float" + }, + { + "name": "OversampleH", + "type": "int" + }, + { + "name": "OversampleV", + "type": "int" + }, + { + "name": "PixelSnapH", + "type": "bool" + }, + { + "name": "GlyphExtraSpacing", + "type": "ImVec2" + }, + { + "name": "GlyphOffset", + "type": "ImVec2" + }, + { + "name": "GlyphRanges", + "type": "const ImWchar*" + }, + { + "name": "GlyphMinAdvanceX", + "type": "float" + }, + { + "name": "GlyphMaxAdvanceX", + "type": "float" + }, + { + "name": "MergeMode", + "type": "bool" + }, + { + "name": "FontBuilderFlags", + "type": "unsigned int" + }, + { + "name": "RasterizerMultiply", + "type": "float" + }, + { + "name": "RasterizerDensity", + "type": "float" + }, + { + "name": "EllipsisChar", + "type": "ImWchar" + }, + { + "name": "Name[40]", + "size": 40, + "type": "char" + }, + { + "name": "DstFont", + "type": "ImFont*" + } + ], + "ImFontGlyph": [ + { + "bitfield": "1", + "name": "Colored", + "type": "unsigned int" + }, + { + "bitfield": "1", + "name": "Visible", + "type": "unsigned int" + }, + { + "bitfield": "30", + "name": "Codepoint", + "type": "unsigned int" + }, + { + "name": "AdvanceX", + "type": "float" + }, + { + "name": "X0", + "type": "float" + }, + { + "name": "Y0", + "type": "float" + }, + { + "name": "X1", + "type": "float" + }, + { + "name": "Y1", + "type": "float" + }, + { + "name": "U0", + "type": "float" + }, + { + "name": "V0", + "type": "float" + }, + { + "name": "U1", + "type": "float" + }, + { + "name": "V1", + "type": "float" + } + ], + "ImFontGlyphRangesBuilder": [ + { + "name": "UsedChars", + "template_type": "ImU32", + "type": "ImVector_ImU32" + } + ], + "ImGuiBoxSelectState": [ + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "IsActive", + "type": "bool" + }, + { + "name": "IsStarting", + "type": "bool" + }, + { + "name": "IsStartedFromVoid", + "type": "bool" + }, + { + "name": "IsStartedSetNavIdOnce", + "type": "bool" + }, + { + "name": "RequestClear", + "type": "bool" + }, + { + "bitfield": "16", + "name": "KeyMods", + "type": "ImGuiKeyChord" + }, + { + "name": "StartPosRel", + "type": "ImVec2" + }, + { + "name": "EndPosRel", + "type": "ImVec2" + }, + { + "name": "ScrollAccum", + "type": "ImVec2" + }, + { + "name": "Window", + "type": "ImGuiWindow*" + }, + { + "name": "UnclipMode", + "type": "bool" + }, + { + "name": "UnclipRect", + "type": "ImRect" + }, + { + "name": "BoxSelectRectPrev", + "type": "ImRect" + }, + { + "name": "BoxSelectRectCurr", + "type": "ImRect" + } + ], + "ImGuiColorMod": [ + { + "name": "Col", + "type": "ImGuiCol" + }, + { + "name": "BackupValue", + "type": "ImVec4" + } + ], + "ImGuiComboPreviewData": [ + { + "name": "PreviewRect", + "type": "ImRect" + }, + { + "name": "BackupCursorPos", + "type": "ImVec2" + }, + { + "name": "BackupCursorMaxPos", + "type": "ImVec2" + }, + { + "name": "BackupCursorPosPrevLine", + "type": "ImVec2" + }, + { + "name": "BackupPrevLineTextBaseOffset", + "type": "float" + }, + { + "name": "BackupLayout", + "type": "ImGuiLayoutType" + } + ], + "ImGuiContext": [ + { + "name": "Initialized", + "type": "bool" + }, + { + "name": "FontAtlasOwnedByContext", + "type": "bool" + }, + { + "name": "IO", + "type": "ImGuiIO" + }, + { + "name": "PlatformIO", + "type": "ImGuiPlatformIO" + }, + { + "name": "Style", + "type": "ImGuiStyle" + }, + { + "name": "ConfigFlagsCurrFrame", + "type": "ImGuiConfigFlags" + }, + { + "name": "ConfigFlagsLastFrame", + "type": "ImGuiConfigFlags" + }, + { + "name": "Font", + "type": "ImFont*" + }, + { + "name": "FontSize", + "type": "float" + }, + { + "name": "FontBaseSize", + "type": "float" + }, + { + "name": "FontScale", + "type": "float" + }, + { + "name": "CurrentDpiScale", + "type": "float" + }, + { + "name": "DrawListSharedData", + "type": "ImDrawListSharedData" + }, + { + "name": "Time", + "type": "double" + }, + { + "name": "FrameCount", + "type": "int" + }, + { + "name": "FrameCountEnded", + "type": "int" + }, + { + "name": "FrameCountPlatformEnded", + "type": "int" + }, + { + "name": "FrameCountRendered", + "type": "int" + }, + { + "name": "WithinFrameScope", + "type": "bool" + }, + { + "name": "WithinFrameScopeWithImplicitWindow", + "type": "bool" + }, + { + "name": "WithinEndChild", + "type": "bool" + }, + { + "name": "GcCompactAll", + "type": "bool" + }, + { + "name": "TestEngineHookItems", + "type": "bool" + }, + { + "name": "TestEngine", + "type": "void*" + }, + { + "name": "ContextName[16]", + "size": 16, + "type": "char" + }, + { + "name": "InputEventsQueue", + "template_type": "ImGuiInputEvent", + "type": "ImVector_ImGuiInputEvent" + }, + { + "name": "InputEventsTrail", + "template_type": "ImGuiInputEvent", + "type": "ImVector_ImGuiInputEvent" + }, + { + "name": "InputEventsNextMouseSource", + "type": "ImGuiMouseSource" + }, + { + "name": "InputEventsNextEventId", + "type": "ImU32" + }, + { + "name": "Windows", + "template_type": "ImGuiWindow*", + "type": "ImVector_ImGuiWindowPtr" + }, + { + "name": "WindowsFocusOrder", + "template_type": "ImGuiWindow*", + "type": "ImVector_ImGuiWindowPtr" + }, + { + "name": "WindowsTempSortBuffer", + "template_type": "ImGuiWindow*", + "type": "ImVector_ImGuiWindowPtr" + }, + { + "name": "CurrentWindowStack", + "template_type": "ImGuiWindowStackData", + "type": "ImVector_ImGuiWindowStackData" + }, + { + "name": "WindowsById", + "type": "ImGuiStorage" + }, + { + "name": "WindowsActiveCount", + "type": "int" + }, + { + "name": "WindowsHoverPadding", + "type": "ImVec2" + }, + { + "name": "DebugBreakInWindow", + "type": "ImGuiID" + }, + { + "name": "CurrentWindow", + "type": "ImGuiWindow*" + }, + { + "name": "HoveredWindow", + "type": "ImGuiWindow*" + }, + { + "name": "HoveredWindowUnderMovingWindow", + "type": "ImGuiWindow*" + }, + { + "name": "HoveredWindowBeforeClear", + "type": "ImGuiWindow*" + }, + { + "name": "MovingWindow", + "type": "ImGuiWindow*" + }, + { + "name": "WheelingWindow", + "type": "ImGuiWindow*" + }, + { + "name": "WheelingWindowRefMousePos", + "type": "ImVec2" + }, + { + "name": "WheelingWindowStartFrame", + "type": "int" + }, + { + "name": "WheelingWindowScrolledFrame", + "type": "int" + }, + { + "name": "WheelingWindowReleaseTimer", + "type": "float" + }, + { + "name": "WheelingWindowWheelRemainder", + "type": "ImVec2" + }, + { + "name": "WheelingAxisAvg", + "type": "ImVec2" + }, + { + "name": "DebugDrawIdConflicts", + "type": "ImGuiID" + }, + { + "name": "DebugHookIdInfo", + "type": "ImGuiID" + }, + { + "name": "HoveredId", + "type": "ImGuiID" + }, + { + "name": "HoveredIdPreviousFrame", + "type": "ImGuiID" + }, + { + "name": "HoveredIdPreviousFrameItemCount", + "type": "int" + }, + { + "name": "HoveredIdTimer", + "type": "float" + }, + { + "name": "HoveredIdNotActiveTimer", + "type": "float" + }, + { + "name": "HoveredIdAllowOverlap", + "type": "bool" + }, + { + "name": "HoveredIdIsDisabled", + "type": "bool" + }, + { + "name": "ItemUnclipByLog", + "type": "bool" + }, + { + "name": "ActiveId", + "type": "ImGuiID" + }, + { + "name": "ActiveIdIsAlive", + "type": "ImGuiID" + }, + { + "name": "ActiveIdTimer", + "type": "float" + }, + { + "name": "ActiveIdIsJustActivated", + "type": "bool" + }, + { + "name": "ActiveIdAllowOverlap", + "type": "bool" + }, + { + "name": "ActiveIdNoClearOnFocusLoss", + "type": "bool" + }, + { + "name": "ActiveIdHasBeenPressedBefore", + "type": "bool" + }, + { + "name": "ActiveIdHasBeenEditedBefore", + "type": "bool" + }, + { + "name": "ActiveIdHasBeenEditedThisFrame", + "type": "bool" + }, + { + "name": "ActiveIdFromShortcut", + "type": "bool" + }, + { + "bitfield": "8", + "name": "ActiveIdMouseButton", + "type": "int" + }, + { + "name": "ActiveIdClickOffset", + "type": "ImVec2" + }, + { + "name": "ActiveIdWindow", + "type": "ImGuiWindow*" + }, + { + "name": "ActiveIdSource", + "type": "ImGuiInputSource" + }, + { + "name": "ActiveIdPreviousFrame", + "type": "ImGuiID" + }, + { + "name": "ActiveIdPreviousFrameIsAlive", + "type": "bool" + }, + { + "name": "ActiveIdPreviousFrameHasBeenEditedBefore", + "type": "bool" + }, + { + "name": "ActiveIdPreviousFrameWindow", + "type": "ImGuiWindow*" + }, + { + "name": "LastActiveId", + "type": "ImGuiID" + }, + { + "name": "LastActiveIdTimer", + "type": "float" + }, + { + "name": "LastKeyModsChangeTime", + "type": "double" + }, + { + "name": "LastKeyModsChangeFromNoneTime", + "type": "double" + }, + { + "name": "LastKeyboardKeyPressTime", + "type": "double" + }, + { + "name": "KeysMayBeCharInput", + "type": "ImBitArrayForNamedKeys" + }, + { + "name": "KeysOwnerData[ImGuiKey_NamedKey_COUNT]", + "size": 154, + "type": "ImGuiKeyOwnerData" + }, + { + "name": "KeysRoutingTable", + "type": "ImGuiKeyRoutingTable" + }, + { + "name": "ActiveIdUsingNavDirMask", + "type": "ImU32" + }, + { + "name": "ActiveIdUsingAllKeyboardKeys", + "type": "bool" + }, + { + "name": "DebugBreakInShortcutRouting", + "type": "ImGuiKeyChord" + }, + { + "name": "CurrentFocusScopeId", + "type": "ImGuiID" + }, + { + "name": "CurrentItemFlags", + "type": "ImGuiItemFlags" + }, + { + "name": "DebugLocateId", + "type": "ImGuiID" + }, + { + "name": "NextItemData", + "type": "ImGuiNextItemData" + }, + { + "name": "LastItemData", + "type": "ImGuiLastItemData" + }, + { + "name": "NextWindowData", + "type": "ImGuiNextWindowData" + }, + { + "name": "DebugShowGroupRects", + "type": "bool" + }, + { + "name": "DebugFlashStyleColorIdx", + "type": "ImGuiCol" + }, + { + "name": "ColorStack", + "template_type": "ImGuiColorMod", + "type": "ImVector_ImGuiColorMod" + }, + { + "name": "StyleVarStack", + "template_type": "ImGuiStyleMod", + "type": "ImVector_ImGuiStyleMod" + }, + { + "name": "FontStack", + "template_type": "ImFont*", + "type": "ImVector_ImFontPtr" + }, + { + "name": "FocusScopeStack", + "template_type": "ImGuiFocusScopeData", + "type": "ImVector_ImGuiFocusScopeData" + }, + { + "name": "ItemFlagsStack", + "template_type": "ImGuiItemFlags", + "type": "ImVector_ImGuiItemFlags" + }, + { + "name": "GroupStack", + "template_type": "ImGuiGroupData", + "type": "ImVector_ImGuiGroupData" + }, + { + "name": "OpenPopupStack", + "template_type": "ImGuiPopupData", + "type": "ImVector_ImGuiPopupData" + }, + { + "name": "BeginPopupStack", + "template_type": "ImGuiPopupData", + "type": "ImVector_ImGuiPopupData" + }, + { + "name": "TreeNodeStack", + "template_type": "ImGuiTreeNodeStackData", + "type": "ImVector_ImGuiTreeNodeStackData" + }, + { + "name": "Viewports", + "template_type": "ImGuiViewportP*", + "type": "ImVector_ImGuiViewportPPtr" + }, + { + "name": "CurrentViewport", + "type": "ImGuiViewportP*" + }, + { + "name": "MouseViewport", + "type": "ImGuiViewportP*" + }, + { + "name": "MouseLastHoveredViewport", + "type": "ImGuiViewportP*" + }, + { + "name": "PlatformLastFocusedViewportId", + "type": "ImGuiID" + }, + { + "name": "FallbackMonitor", + "type": "ImGuiPlatformMonitor" + }, + { + "name": "PlatformMonitorsFullWorkRect", + "type": "ImRect" + }, + { + "name": "ViewportCreatedCount", + "type": "int" + }, + { + "name": "PlatformWindowsCreatedCount", + "type": "int" + }, + { + "name": "ViewportFocusedStampCount", + "type": "int" + }, + { + "name": "NavCursorVisible", + "type": "bool" + }, + { + "name": "NavHighlightItemUnderNav", + "type": "bool" + }, + { + "name": "NavMousePosDirty", + "type": "bool" + }, + { + "name": "NavIdIsAlive", + "type": "bool" + }, + { + "name": "NavId", + "type": "ImGuiID" + }, + { + "name": "NavWindow", + "type": "ImGuiWindow*" + }, + { + "name": "NavFocusScopeId", + "type": "ImGuiID" + }, + { + "name": "NavLayer", + "type": "ImGuiNavLayer" + }, + { + "name": "NavActivateId", + "type": "ImGuiID" + }, + { + "name": "NavActivateDownId", + "type": "ImGuiID" + }, + { + "name": "NavActivatePressedId", + "type": "ImGuiID" + }, + { + "name": "NavActivateFlags", + "type": "ImGuiActivateFlags" + }, + { + "name": "NavFocusRoute", + "template_type": "ImGuiFocusScopeData", + "type": "ImVector_ImGuiFocusScopeData" + }, + { + "name": "NavHighlightActivatedId", + "type": "ImGuiID" + }, + { + "name": "NavHighlightActivatedTimer", + "type": "float" + }, + { + "name": "NavNextActivateId", + "type": "ImGuiID" + }, + { + "name": "NavNextActivateFlags", + "type": "ImGuiActivateFlags" + }, + { + "name": "NavInputSource", + "type": "ImGuiInputSource" + }, + { + "name": "NavLastValidSelectionUserData", + "type": "ImGuiSelectionUserData" + }, + { + "name": "NavCursorHideFrames", + "type": "ImS8" + }, + { + "name": "NavAnyRequest", + "type": "bool" + }, + { + "name": "NavInitRequest", + "type": "bool" + }, + { + "name": "NavInitRequestFromMove", + "type": "bool" + }, + { + "name": "NavInitResult", + "type": "ImGuiNavItemData" + }, + { + "name": "NavMoveSubmitted", + "type": "bool" + }, + { + "name": "NavMoveScoringItems", + "type": "bool" + }, + { + "name": "NavMoveForwardToNextFrame", + "type": "bool" + }, + { + "name": "NavMoveFlags", + "type": "ImGuiNavMoveFlags" + }, + { + "name": "NavMoveScrollFlags", + "type": "ImGuiScrollFlags" + }, + { + "name": "NavMoveKeyMods", + "type": "ImGuiKeyChord" + }, + { + "name": "NavMoveDir", + "type": "ImGuiDir" + }, + { + "name": "NavMoveDirForDebug", + "type": "ImGuiDir" + }, + { + "name": "NavMoveClipDir", + "type": "ImGuiDir" + }, + { + "name": "NavScoringRect", + "type": "ImRect" + }, + { + "name": "NavScoringNoClipRect", + "type": "ImRect" + }, + { + "name": "NavScoringDebugCount", + "type": "int" + }, + { + "name": "NavTabbingDir", + "type": "int" + }, + { + "name": "NavTabbingCounter", + "type": "int" + }, + { + "name": "NavMoveResultLocal", + "type": "ImGuiNavItemData" + }, + { + "name": "NavMoveResultLocalVisible", + "type": "ImGuiNavItemData" + }, + { + "name": "NavMoveResultOther", + "type": "ImGuiNavItemData" + }, + { + "name": "NavTabbingResultFirst", + "type": "ImGuiNavItemData" + }, + { + "name": "NavJustMovedFromFocusScopeId", + "type": "ImGuiID" + }, + { + "name": "NavJustMovedToId", + "type": "ImGuiID" + }, + { + "name": "NavJustMovedToFocusScopeId", + "type": "ImGuiID" + }, + { + "name": "NavJustMovedToKeyMods", + "type": "ImGuiKeyChord" + }, + { + "name": "NavJustMovedToIsTabbing", + "type": "bool" + }, + { + "name": "NavJustMovedToHasSelectionData", + "type": "bool" + }, + { + "name": "ConfigNavWindowingKeyNext", + "type": "ImGuiKeyChord" + }, + { + "name": "ConfigNavWindowingKeyPrev", + "type": "ImGuiKeyChord" + }, + { + "name": "NavWindowingTarget", + "type": "ImGuiWindow*" + }, + { + "name": "NavWindowingTargetAnim", + "type": "ImGuiWindow*" + }, + { + "name": "NavWindowingListWindow", + "type": "ImGuiWindow*" + }, + { + "name": "NavWindowingTimer", + "type": "float" + }, + { + "name": "NavWindowingHighlightAlpha", + "type": "float" + }, + { + "name": "NavWindowingToggleLayer", + "type": "bool" + }, + { + "name": "NavWindowingToggleKey", + "type": "ImGuiKey" + }, + { + "name": "NavWindowingAccumDeltaPos", + "type": "ImVec2" + }, + { + "name": "NavWindowingAccumDeltaSize", + "type": "ImVec2" + }, + { + "name": "DimBgRatio", + "type": "float" + }, + { + "name": "DragDropActive", + "type": "bool" + }, + { + "name": "DragDropWithinSource", + "type": "bool" + }, + { + "name": "DragDropWithinTarget", + "type": "bool" + }, + { + "name": "DragDropSourceFlags", + "type": "ImGuiDragDropFlags" + }, + { + "name": "DragDropSourceFrameCount", + "type": "int" + }, + { + "name": "DragDropMouseButton", + "type": "int" + }, + { + "name": "DragDropPayload", + "type": "ImGuiPayload" + }, + { + "name": "DragDropTargetRect", + "type": "ImRect" + }, + { + "name": "DragDropTargetClipRect", + "type": "ImRect" + }, + { + "name": "DragDropTargetId", + "type": "ImGuiID" + }, + { + "name": "DragDropAcceptFlags", + "type": "ImGuiDragDropFlags" + }, + { + "name": "DragDropAcceptIdCurrRectSurface", + "type": "float" + }, + { + "name": "DragDropAcceptIdCurr", + "type": "ImGuiID" + }, + { + "name": "DragDropAcceptIdPrev", + "type": "ImGuiID" + }, + { + "name": "DragDropAcceptFrameCount", + "type": "int" + }, + { + "name": "DragDropHoldJustPressedId", + "type": "ImGuiID" + }, + { + "name": "DragDropPayloadBufHeap", + "template_type": "unsigned char", + "type": "ImVector_unsigned_char" + }, + { + "name": "DragDropPayloadBufLocal[16]", + "size": 16, + "type": "unsigned char" + }, + { + "name": "ClipperTempDataStacked", + "type": "int" + }, + { + "name": "ClipperTempData", + "template_type": "ImGuiListClipperData", + "type": "ImVector_ImGuiListClipperData" + }, + { + "name": "CurrentTable", + "type": "ImGuiTable*" + }, + { + "name": "DebugBreakInTable", + "type": "ImGuiID" + }, + { + "name": "TablesTempDataStacked", + "type": "int" + }, + { + "name": "TablesTempData", + "template_type": "ImGuiTableTempData", + "type": "ImVector_ImGuiTableTempData" + }, + { + "name": "Tables", + "template_type": "ImGuiTable", + "type": "ImPool_ImGuiTable" + }, + { + "name": "TablesLastTimeActive", + "template_type": "float", + "type": "ImVector_float" + }, + { + "name": "DrawChannelsTempMergeBuffer", + "template_type": "ImDrawChannel", + "type": "ImVector_ImDrawChannel" + }, + { + "name": "CurrentTabBar", + "type": "ImGuiTabBar*" + }, + { + "name": "TabBars", + "template_type": "ImGuiTabBar", + "type": "ImPool_ImGuiTabBar" + }, + { + "name": "CurrentTabBarStack", + "template_type": "ImGuiPtrOrIndex", + "type": "ImVector_ImGuiPtrOrIndex" + }, + { + "name": "ShrinkWidthBuffer", + "template_type": "ImGuiShrinkWidthItem", + "type": "ImVector_ImGuiShrinkWidthItem" + }, + { + "name": "BoxSelectState", + "type": "ImGuiBoxSelectState" + }, + { + "name": "CurrentMultiSelect", + "type": "ImGuiMultiSelectTempData*" + }, + { + "name": "MultiSelectTempDataStacked", + "type": "int" + }, + { + "name": "MultiSelectTempData", + "template_type": "ImGuiMultiSelectTempData", + "type": "ImVector_ImGuiMultiSelectTempData" + }, + { + "name": "MultiSelectStorage", + "template_type": "ImGuiMultiSelectState", + "type": "ImPool_ImGuiMultiSelectState" + }, + { + "name": "HoverItemDelayId", + "type": "ImGuiID" + }, + { + "name": "HoverItemDelayIdPreviousFrame", + "type": "ImGuiID" + }, + { + "name": "HoverItemDelayTimer", + "type": "float" + }, + { + "name": "HoverItemDelayClearTimer", + "type": "float" + }, + { + "name": "HoverItemUnlockedStationaryId", + "type": "ImGuiID" + }, + { + "name": "HoverWindowUnlockedStationaryId", + "type": "ImGuiID" + }, + { + "name": "MouseCursor", + "type": "ImGuiMouseCursor" + }, + { + "name": "MouseStationaryTimer", + "type": "float" + }, + { + "name": "MouseLastValidPos", + "type": "ImVec2" + }, + { + "name": "InputTextState", + "type": "ImGuiInputTextState" + }, + { + "name": "InputTextDeactivatedState", + "type": "ImGuiInputTextDeactivatedState" + }, + { + "name": "InputTextPasswordFont", + "type": "ImFont" + }, + { + "name": "TempInputId", + "type": "ImGuiID" + }, + { + "name": "DataTypeZeroValue", + "type": "ImGuiDataTypeStorage" + }, + { + "name": "BeginMenuDepth", + "type": "int" + }, + { + "name": "BeginComboDepth", + "type": "int" + }, + { + "name": "ColorEditOptions", + "type": "ImGuiColorEditFlags" + }, + { + "name": "ColorEditCurrentID", + "type": "ImGuiID" + }, + { + "name": "ColorEditSavedID", + "type": "ImGuiID" + }, + { + "name": "ColorEditSavedHue", + "type": "float" + }, + { + "name": "ColorEditSavedSat", + "type": "float" + }, + { + "name": "ColorEditSavedColor", + "type": "ImU32" + }, + { + "name": "ColorPickerRef", + "type": "ImVec4" + }, + { + "name": "ComboPreviewData", + "type": "ImGuiComboPreviewData" + }, + { + "name": "WindowResizeBorderExpectedRect", + "type": "ImRect" + }, + { + "name": "WindowResizeRelativeMode", + "type": "bool" + }, + { + "name": "ScrollbarSeekMode", + "type": "short" + }, + { + "name": "ScrollbarClickDeltaToGrabCenter", + "type": "float" + }, + { + "name": "SliderGrabClickOffset", + "type": "float" + }, + { + "name": "SliderCurrentAccum", + "type": "float" + }, + { + "name": "SliderCurrentAccumDirty", + "type": "bool" + }, + { + "name": "DragCurrentAccumDirty", + "type": "bool" + }, + { + "name": "DragCurrentAccum", + "type": "float" + }, + { + "name": "DragSpeedDefaultRatio", + "type": "float" + }, + { + "name": "DisabledAlphaBackup", + "type": "float" + }, + { + "name": "DisabledStackSize", + "type": "short" + }, + { + "name": "TooltipOverrideCount", + "type": "short" + }, + { + "name": "TooltipPreviousWindow", + "type": "ImGuiWindow*" + }, + { + "name": "ClipboardHandlerData", + "template_type": "char", + "type": "ImVector_char" + }, + { + "name": "MenusIdSubmittedThisFrame", + "template_type": "ImGuiID", + "type": "ImVector_ImGuiID" + }, + { + "name": "TypingSelectState", + "type": "ImGuiTypingSelectState" + }, + { + "name": "PlatformImeData", + "type": "ImGuiPlatformImeData" + }, + { + "name": "PlatformImeDataPrev", + "type": "ImGuiPlatformImeData" + }, + { + "name": "PlatformImeViewport", + "type": "ImGuiID" + }, + { + "name": "DockContext", + "type": "ImGuiDockContext" + }, + { + "name": "DockNodeWindowMenuHandler", + "type": "void(*)(ImGuiContext* ctx,ImGuiDockNode* node,ImGuiTabBar* tab_bar)" + }, + { + "name": "SettingsLoaded", + "type": "bool" + }, + { + "name": "SettingsDirtyTimer", + "type": "float" + }, + { + "name": "SettingsIniData", + "type": "ImGuiTextBuffer" + }, + { + "name": "SettingsHandlers", + "template_type": "ImGuiSettingsHandler", + "type": "ImVector_ImGuiSettingsHandler" + }, + { + "name": "SettingsWindows", + "template_type": "ImGuiWindowSettings", + "type": "ImChunkStream_ImGuiWindowSettings" + }, + { + "name": "SettingsTables", + "template_type": "ImGuiTableSettings", + "type": "ImChunkStream_ImGuiTableSettings" + }, + { + "name": "Hooks", + "template_type": "ImGuiContextHook", + "type": "ImVector_ImGuiContextHook" + }, + { + "name": "HookIdNext", + "type": "ImGuiID" + }, + { + "name": "LocalizationTable[ImGuiLocKey_COUNT]", + "size": 13, + "type": "const char*" + }, + { + "name": "LogEnabled", + "type": "bool" + }, + { + "name": "LogFlags", + "type": "ImGuiLogFlags" + }, + { + "name": "LogWindow", + "type": "ImGuiWindow*" + }, + { + "name": "LogFile", + "type": "ImFileHandle" + }, + { + "name": "LogBuffer", + "type": "ImGuiTextBuffer" + }, + { + "name": "LogNextPrefix", + "type": "const char*" + }, + { + "name": "LogNextSuffix", + "type": "const char*" + }, + { + "name": "LogLinePosY", + "type": "float" + }, + { + "name": "LogLineFirstItem", + "type": "bool" + }, + { + "name": "LogDepthRef", + "type": "int" + }, + { + "name": "LogDepthToExpand", + "type": "int" + }, + { + "name": "LogDepthToExpandDefault", + "type": "int" + }, + { + "name": "ErrorCallback", + "type": "ImGuiErrorCallback" + }, + { + "name": "ErrorCallbackUserData", + "type": "void*" + }, + { + "name": "ErrorTooltipLockedPos", + "type": "ImVec2" + }, + { + "name": "ErrorFirst", + "type": "bool" + }, + { + "name": "ErrorCountCurrentFrame", + "type": "int" + }, + { + "name": "StackSizesInNewFrame", + "type": "ImGuiErrorRecoveryState" + }, + { + "name": "StackSizesInBeginForCurrentWindow", + "type": "ImGuiErrorRecoveryState*" + }, + { + "name": "DebugDrawIdConflictsCount", + "type": "int" + }, + { + "name": "DebugLogFlags", + "type": "ImGuiDebugLogFlags" + }, + { + "name": "DebugLogBuf", + "type": "ImGuiTextBuffer" + }, + { + "name": "DebugLogIndex", + "type": "ImGuiTextIndex" + }, + { + "name": "DebugLogSkippedErrors", + "type": "int" + }, + { + "name": "DebugLogAutoDisableFlags", + "type": "ImGuiDebugLogFlags" + }, + { + "name": "DebugLogAutoDisableFrames", + "type": "ImU8" + }, + { + "name": "DebugLocateFrames", + "type": "ImU8" + }, + { + "name": "DebugBreakInLocateId", + "type": "bool" + }, + { + "name": "DebugBreakKeyChord", + "type": "ImGuiKeyChord" + }, + { + "name": "DebugBeginReturnValueCullDepth", + "type": "ImS8" + }, + { + "name": "DebugItemPickerActive", + "type": "bool" + }, + { + "name": "DebugItemPickerMouseButton", + "type": "ImU8" + }, + { + "name": "DebugItemPickerBreakId", + "type": "ImGuiID" + }, + { + "name": "DebugFlashStyleColorTime", + "type": "float" + }, + { + "name": "DebugFlashStyleColorBackup", + "type": "ImVec4" + }, + { + "name": "DebugMetricsConfig", + "type": "ImGuiMetricsConfig" + }, + { + "name": "DebugIDStackTool", + "type": "ImGuiIDStackTool" + }, + { + "name": "DebugAllocInfo", + "type": "ImGuiDebugAllocInfo" + }, + { + "name": "DebugHoveredDockNode", + "type": "ImGuiDockNode*" + }, + { + "name": "FramerateSecPerFrame[60]", + "size": 60, + "type": "float" + }, + { + "name": "FramerateSecPerFrameIdx", + "type": "int" + }, + { + "name": "FramerateSecPerFrameCount", + "type": "int" + }, + { + "name": "FramerateSecPerFrameAccum", + "type": "float" + }, + { + "name": "WantCaptureMouseNextFrame", + "type": "int" + }, + { + "name": "WantCaptureKeyboardNextFrame", + "type": "int" + }, + { + "name": "WantTextInputNextFrame", + "type": "int" + }, + { + "name": "TempBuffer", + "template_type": "char", + "type": "ImVector_char" + }, + { + "name": "TempKeychordName[64]", + "size": 64, + "type": "char" + } + ], + "ImGuiContextHook": [ + { + "name": "HookId", + "type": "ImGuiID" + }, + { + "name": "Type", + "type": "ImGuiContextHookType" + }, + { + "name": "Owner", + "type": "ImGuiID" + }, + { + "name": "Callback", + "type": "ImGuiContextHookCallback" + }, + { + "name": "UserData", + "type": "void*" + } + ], + "ImGuiDataTypeInfo": [ + { + "name": "Size", + "type": "size_t" + }, + { + "name": "Name", + "type": "const char*" + }, + { + "name": "PrintFmt", + "type": "const char*" + }, + { + "name": "ScanFmt", + "type": "const char*" + } + ], + "ImGuiDataTypeStorage": [ + { + "name": "Data[8]", + "size": 8, + "type": "ImU8" + } + ], + "ImGuiDataVarInfo": [ + { + "name": "Type", + "type": "ImGuiDataType" + }, + { + "name": "Count", + "type": "ImU32" + }, + { + "name": "Offset", + "type": "ImU32" + } + ], + "ImGuiDebugAllocEntry": [ + { + "name": "FrameCount", + "type": "int" + }, + { + "name": "AllocCount", + "type": "ImS16" + }, + { + "name": "FreeCount", + "type": "ImS16" + } + ], + "ImGuiDebugAllocInfo": [ + { + "name": "TotalAllocCount", + "type": "int" + }, + { + "name": "TotalFreeCount", + "type": "int" + }, + { + "name": "LastEntriesIdx", + "type": "ImS16" + }, + { + "name": "LastEntriesBuf[6]", + "size": 6, + "type": "ImGuiDebugAllocEntry" + } + ], + "ImGuiDockContext": [ + { + "name": "Nodes", + "type": "ImGuiStorage" + }, + { + "name": "Requests", + "template_type": "ImGuiDockRequest", + "type": "ImVector_ImGuiDockRequest" + }, + { + "name": "NodesSettings", + "template_type": "ImGuiDockNodeSettings", + "type": "ImVector_ImGuiDockNodeSettings" + }, + { + "name": "WantFullRebuild", + "type": "bool" + } + ], + "ImGuiDockNode": [ + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "SharedFlags", + "type": "ImGuiDockNodeFlags" + }, + { + "name": "LocalFlags", + "type": "ImGuiDockNodeFlags" + }, + { + "name": "LocalFlagsInWindows", + "type": "ImGuiDockNodeFlags" + }, + { + "name": "MergedFlags", + "type": "ImGuiDockNodeFlags" + }, + { + "name": "State", + "type": "ImGuiDockNodeState" + }, + { + "name": "ParentNode", + "type": "ImGuiDockNode*" + }, + { + "name": "ChildNodes[2]", + "size": 2, + "type": "ImGuiDockNode*" + }, + { + "name": "Windows", + "template_type": "ImGuiWindow*", + "type": "ImVector_ImGuiWindowPtr" + }, + { + "name": "TabBar", + "type": "ImGuiTabBar*" + }, + { + "name": "Pos", + "type": "ImVec2" + }, + { + "name": "Size", + "type": "ImVec2" + }, + { + "name": "SizeRef", + "type": "ImVec2" + }, + { + "name": "SplitAxis", + "type": "ImGuiAxis" + }, + { + "name": "WindowClass", + "type": "ImGuiWindowClass" + }, + { + "name": "LastBgColor", + "type": "ImU32" + }, + { + "name": "HostWindow", + "type": "ImGuiWindow*" + }, + { + "name": "VisibleWindow", + "type": "ImGuiWindow*" + }, + { + "name": "CentralNode", + "type": "ImGuiDockNode*" + }, + { + "name": "OnlyNodeWithWindows", + "type": "ImGuiDockNode*" + }, + { + "name": "CountNodeWithWindows", + "type": "int" + }, + { + "name": "LastFrameAlive", + "type": "int" + }, + { + "name": "LastFrameActive", + "type": "int" + }, + { + "name": "LastFrameFocused", + "type": "int" + }, + { + "name": "LastFocusedNodeId", + "type": "ImGuiID" + }, + { + "name": "SelectedTabId", + "type": "ImGuiID" + }, + { + "name": "WantCloseTabId", + "type": "ImGuiID" + }, + { + "name": "RefViewportId", + "type": "ImGuiID" + }, + { + "bitfield": "3", + "name": "AuthorityForPos", + "type": "ImGuiDataAuthority" + }, + { + "bitfield": "3", + "name": "AuthorityForSize", + "type": "ImGuiDataAuthority" + }, + { + "bitfield": "3", + "name": "AuthorityForViewport", + "type": "ImGuiDataAuthority" + }, + { + "bitfield": "1", + "name": "IsVisible", + "type": "bool" + }, + { + "bitfield": "1", + "name": "IsFocused", + "type": "bool" + }, + { + "bitfield": "1", + "name": "IsBgDrawnThisFrame", + "type": "bool" + }, + { + "bitfield": "1", + "name": "HasCloseButton", + "type": "bool" + }, + { + "bitfield": "1", + "name": "HasWindowMenuButton", + "type": "bool" + }, + { + "bitfield": "1", + "name": "HasCentralNodeChild", + "type": "bool" + }, + { + "bitfield": "1", + "name": "WantCloseAll", + "type": "bool" + }, + { + "bitfield": "1", + "name": "WantLockSizeOnce", + "type": "bool" + }, + { + "bitfield": "1", + "name": "WantMouseMove", + "type": "bool" + }, + { + "bitfield": "1", + "name": "WantHiddenTabBarUpdate", + "type": "bool" + }, + { + "bitfield": "1", + "name": "WantHiddenTabBarToggle", + "type": "bool" + } + ], + "ImGuiErrorRecoveryState": [ + { + "name": "SizeOfWindowStack", + "type": "short" + }, + { + "name": "SizeOfIDStack", + "type": "short" + }, + { + "name": "SizeOfTreeStack", + "type": "short" + }, + { + "name": "SizeOfColorStack", + "type": "short" + }, + { + "name": "SizeOfStyleVarStack", + "type": "short" + }, + { + "name": "SizeOfFontStack", + "type": "short" + }, + { + "name": "SizeOfFocusScopeStack", + "type": "short" + }, + { + "name": "SizeOfGroupStack", + "type": "short" + }, + { + "name": "SizeOfItemFlagsStack", + "type": "short" + }, + { + "name": "SizeOfBeginPopupStack", + "type": "short" + }, + { + "name": "SizeOfDisabledStack", + "type": "short" + } + ], + "ImGuiFocusScopeData": [ + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "WindowID", + "type": "ImGuiID" + } + ], + "ImGuiGroupData": [ + { + "name": "WindowID", + "type": "ImGuiID" + }, + { + "name": "BackupCursorPos", + "type": "ImVec2" + }, + { + "name": "BackupCursorMaxPos", + "type": "ImVec2" + }, + { + "name": "BackupCursorPosPrevLine", + "type": "ImVec2" + }, + { + "name": "BackupIndent", + "type": "ImVec1" + }, + { + "name": "BackupGroupOffset", + "type": "ImVec1" + }, + { + "name": "BackupCurrLineSize", + "type": "ImVec2" + }, + { + "name": "BackupCurrLineTextBaseOffset", + "type": "float" + }, + { + "name": "BackupActiveIdIsAlive", + "type": "ImGuiID" + }, + { + "name": "BackupActiveIdPreviousFrameIsAlive", + "type": "bool" + }, + { + "name": "BackupHoveredIdIsAlive", + "type": "bool" + }, + { + "name": "BackupIsSameLine", + "type": "bool" + }, + { + "name": "EmitItem", + "type": "bool" + } + ], + "ImGuiIDStackTool": [ + { + "name": "LastActiveFrame", + "type": "int" + }, + { + "name": "StackLevel", + "type": "int" + }, + { + "name": "QueryId", + "type": "ImGuiID" + }, + { + "name": "Results", + "template_type": "ImGuiStackLevelInfo", + "type": "ImVector_ImGuiStackLevelInfo" + }, + { + "name": "CopyToClipboardOnCtrlC", + "type": "bool" + }, + { + "name": "CopyToClipboardLastTime", + "type": "float" + } + ], + "ImGuiIO": [ + { + "name": "ConfigFlags", + "type": "ImGuiConfigFlags" + }, + { + "name": "BackendFlags", + "type": "ImGuiBackendFlags" + }, + { + "name": "DisplaySize", + "type": "ImVec2" + }, + { + "name": "DeltaTime", + "type": "float" + }, + { + "name": "IniSavingRate", + "type": "float" + }, + { + "name": "IniFilename", + "type": "const char*" + }, + { + "name": "LogFilename", + "type": "const char*" + }, + { + "name": "UserData", + "type": "void*" + }, + { + "name": "Fonts", + "type": "ImFontAtlas*" + }, + { + "name": "FontGlobalScale", + "type": "float" + }, + { + "name": "FontAllowUserScaling", + "type": "bool" + }, + { + "name": "FontDefault", + "type": "ImFont*" + }, + { + "name": "DisplayFramebufferScale", + "type": "ImVec2" + }, + { + "name": "ConfigNavSwapGamepadButtons", + "type": "bool" + }, + { + "name": "ConfigNavMoveSetMousePos", + "type": "bool" + }, + { + "name": "ConfigNavCaptureKeyboard", + "type": "bool" + }, + { + "name": "ConfigNavEscapeClearFocusItem", + "type": "bool" + }, + { + "name": "ConfigNavEscapeClearFocusWindow", + "type": "bool" + }, + { + "name": "ConfigNavCursorVisibleAuto", + "type": "bool" + }, + { + "name": "ConfigNavCursorVisibleAlways", + "type": "bool" + }, + { + "name": "ConfigDockingNoSplit", + "type": "bool" + }, + { + "name": "ConfigDockingWithShift", + "type": "bool" + }, + { + "name": "ConfigDockingAlwaysTabBar", + "type": "bool" + }, + { + "name": "ConfigDockingTransparentPayload", + "type": "bool" + }, + { + "name": "ConfigViewportsNoAutoMerge", + "type": "bool" + }, + { + "name": "ConfigViewportsNoTaskBarIcon", + "type": "bool" + }, + { + "name": "ConfigViewportsNoDecoration", + "type": "bool" + }, + { + "name": "ConfigViewportsNoDefaultParent", + "type": "bool" + }, + { + "name": "MouseDrawCursor", + "type": "bool" + }, + { + "name": "ConfigMacOSXBehaviors", + "type": "bool" + }, + { + "name": "ConfigInputTrickleEventQueue", + "type": "bool" + }, + { + "name": "ConfigInputTextCursorBlink", + "type": "bool" + }, + { + "name": "ConfigInputTextEnterKeepActive", + "type": "bool" + }, + { + "name": "ConfigDragClickToInputText", + "type": "bool" + }, + { + "name": "ConfigWindowsResizeFromEdges", + "type": "bool" + }, + { + "name": "ConfigWindowsMoveFromTitleBarOnly", + "type": "bool" + }, + { + "name": "ConfigWindowsCopyContentsWithCtrlC", + "type": "bool" + }, + { + "name": "ConfigScrollbarScrollByPage", + "type": "bool" + }, + { + "name": "ConfigMemoryCompactTimer", + "type": "float" + }, + { + "name": "MouseDoubleClickTime", + "type": "float" + }, + { + "name": "MouseDoubleClickMaxDist", + "type": "float" + }, + { + "name": "MouseDragThreshold", + "type": "float" + }, + { + "name": "KeyRepeatDelay", + "type": "float" + }, + { + "name": "KeyRepeatRate", + "type": "float" + }, + { + "name": "ConfigErrorRecovery", + "type": "bool" + }, + { + "name": "ConfigErrorRecoveryEnableAssert", + "type": "bool" + }, + { + "name": "ConfigErrorRecoveryEnableDebugLog", + "type": "bool" + }, + { + "name": "ConfigErrorRecoveryEnableTooltip", + "type": "bool" + }, + { + "name": "ConfigDebugIsDebuggerPresent", + "type": "bool" + }, + { + "name": "ConfigDebugHighlightIdConflicts", + "type": "bool" + }, + { + "name": "ConfigDebugBeginReturnValueOnce", + "type": "bool" + }, + { + "name": "ConfigDebugBeginReturnValueLoop", + "type": "bool" + }, + { + "name": "ConfigDebugIgnoreFocusLoss", + "type": "bool" + }, + { + "name": "ConfigDebugIniSettings", + "type": "bool" + }, + { + "name": "BackendPlatformName", + "type": "const char*" + }, + { + "name": "BackendRendererName", + "type": "const char*" + }, + { + "name": "BackendPlatformUserData", + "type": "void*" + }, + { + "name": "BackendRendererUserData", + "type": "void*" + }, + { + "name": "BackendLanguageUserData", + "type": "void*" + }, + { + "name": "WantCaptureMouse", + "type": "bool" + }, + { + "name": "WantCaptureKeyboard", + "type": "bool" + }, + { + "name": "WantTextInput", + "type": "bool" + }, + { + "name": "WantSetMousePos", + "type": "bool" + }, + { + "name": "WantSaveIniSettings", + "type": "bool" + }, + { + "name": "NavActive", + "type": "bool" + }, + { + "name": "NavVisible", + "type": "bool" + }, + { + "name": "Framerate", + "type": "float" + }, + { + "name": "MetricsRenderVertices", + "type": "int" + }, + { + "name": "MetricsRenderIndices", + "type": "int" + }, + { + "name": "MetricsRenderWindows", + "type": "int" + }, + { + "name": "MetricsActiveWindows", + "type": "int" + }, + { + "name": "MouseDelta", + "type": "ImVec2" + }, + { + "name": "Ctx", + "type": "ImGuiContext*" + }, + { + "name": "MousePos", + "type": "ImVec2" + }, + { + "name": "MouseDown[5]", + "size": 5, + "type": "bool" + }, + { + "name": "MouseWheel", + "type": "float" + }, + { + "name": "MouseWheelH", + "type": "float" + }, + { + "name": "MouseSource", + "type": "ImGuiMouseSource" + }, + { + "name": "MouseHoveredViewport", + "type": "ImGuiID" + }, + { + "name": "KeyCtrl", + "type": "bool" + }, + { + "name": "KeyShift", + "type": "bool" + }, + { + "name": "KeyAlt", + "type": "bool" + }, + { + "name": "KeySuper", + "type": "bool" + }, + { + "name": "KeyMods", + "type": "ImGuiKeyChord" + }, + { + "name": "KeysData[ImGuiKey_NamedKey_COUNT]", + "size": 154, + "type": "ImGuiKeyData" + }, + { + "name": "WantCaptureMouseUnlessPopupClose", + "type": "bool" + }, + { + "name": "MousePosPrev", + "type": "ImVec2" + }, + { + "name": "MouseClickedPos[5]", + "size": 5, + "type": "ImVec2" + }, + { + "name": "MouseClickedTime[5]", + "size": 5, + "type": "double" + }, + { + "name": "MouseClicked[5]", + "size": 5, + "type": "bool" + }, + { + "name": "MouseDoubleClicked[5]", + "size": 5, + "type": "bool" + }, + { + "name": "MouseClickedCount[5]", + "size": 5, + "type": "ImU16" + }, + { + "name": "MouseClickedLastCount[5]", + "size": 5, + "type": "ImU16" + }, + { + "name": "MouseReleased[5]", + "size": 5, + "type": "bool" + }, + { + "name": "MouseDownOwned[5]", + "size": 5, + "type": "bool" + }, + { + "name": "MouseDownOwnedUnlessPopupClose[5]", + "size": 5, + "type": "bool" + }, + { + "name": "MouseWheelRequestAxisSwap", + "type": "bool" + }, + { + "name": "MouseCtrlLeftAsRightClick", + "type": "bool" + }, + { + "name": "MouseDownDuration[5]", + "size": 5, + "type": "float" + }, + { + "name": "MouseDownDurationPrev[5]", + "size": 5, + "type": "float" + }, + { + "name": "MouseDragMaxDistanceAbs[5]", + "size": 5, + "type": "ImVec2" + }, + { + "name": "MouseDragMaxDistanceSqr[5]", + "size": 5, + "type": "float" + }, + { + "name": "PenPressure", + "type": "float" + }, + { + "name": "AppFocusLost", + "type": "bool" + }, + { + "name": "AppAcceptingEvents", + "type": "bool" + }, + { + "name": "InputQueueSurrogate", + "type": "ImWchar16" + }, + { + "name": "InputQueueCharacters", + "template_type": "ImWchar", + "type": "ImVector_ImWchar" + } + ], + "ImGuiInputEvent": [ + { + "name": "Type", + "type": "ImGuiInputEventType" + }, + { + "name": "Source", + "type": "ImGuiInputSource" + }, + { + "name": "EventId", + "type": "ImU32" + }, + { + "name": "", + "type": "union { ImGuiInputEventMousePos MousePos; ImGuiInputEventMouseWheel MouseWheel; ImGuiInputEventMouseButton MouseButton; ImGuiInputEventMouseViewport MouseViewport; ImGuiInputEventKey Key; ImGuiInputEventText Text; ImGuiInputEventAppFocused AppFocused;}" + }, + { + "name": "AddedByTestEngine", + "type": "bool" + } + ], + "ImGuiInputEventAppFocused": [ + { + "name": "Focused", + "type": "bool" + } + ], + "ImGuiInputEventKey": [ + { + "name": "Key", + "type": "ImGuiKey" + }, + { + "name": "Down", + "type": "bool" + }, + { + "name": "AnalogValue", + "type": "float" + } + ], + "ImGuiInputEventMouseButton": [ + { + "name": "Button", + "type": "int" + }, + { + "name": "Down", + "type": "bool" + }, + { + "name": "MouseSource", + "type": "ImGuiMouseSource" + } + ], + "ImGuiInputEventMousePos": [ + { + "name": "PosX", + "type": "float" + }, + { + "name": "PosY", + "type": "float" + }, + { + "name": "MouseSource", + "type": "ImGuiMouseSource" + } + ], + "ImGuiInputEventMouseViewport": [ + { + "name": "HoveredViewportID", + "type": "ImGuiID" + } + ], + "ImGuiInputEventMouseWheel": [ + { + "name": "WheelX", + "type": "float" + }, + { + "name": "WheelY", + "type": "float" + }, + { + "name": "MouseSource", + "type": "ImGuiMouseSource" + } + ], + "ImGuiInputEventText": [ + { + "name": "Char", + "type": "unsigned int" + } + ], + "ImGuiInputTextCallbackData": [ + { + "name": "Ctx", + "type": "ImGuiContext*" + }, + { + "name": "EventFlag", + "type": "ImGuiInputTextFlags" + }, + { + "name": "Flags", + "type": "ImGuiInputTextFlags" + }, + { + "name": "UserData", + "type": "void*" + }, + { + "name": "EventChar", + "type": "ImWchar" + }, + { + "name": "EventKey", + "type": "ImGuiKey" + }, + { + "name": "Buf", + "type": "char*" + }, + { + "name": "BufTextLen", + "type": "int" + }, + { + "name": "BufSize", + "type": "int" + }, + { + "name": "BufDirty", + "type": "bool" + }, + { + "name": "CursorPos", + "type": "int" + }, + { + "name": "SelectionStart", + "type": "int" + }, + { + "name": "SelectionEnd", + "type": "int" + } + ], + "ImGuiInputTextDeactivatedState": [ + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "TextA", + "template_type": "char", + "type": "ImVector_char" + } + ], + "ImGuiInputTextState": [ + { + "name": "Ctx", + "type": "ImGuiContext*" + }, + { + "name": "Stb", + "type": "ImStbTexteditState*" + }, + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "TextLen", + "type": "int" + }, + { + "name": "TextA", + "template_type": "char", + "type": "ImVector_char" + }, + { + "name": "TextToRevertTo", + "template_type": "char", + "type": "ImVector_char" + }, + { + "name": "CallbackTextBackup", + "template_type": "char", + "type": "ImVector_char" + }, + { + "name": "BufCapacity", + "type": "int" + }, + { + "name": "Scroll", + "type": "ImVec2" + }, + { + "name": "CursorAnim", + "type": "float" + }, + { + "name": "CursorFollow", + "type": "bool" + }, + { + "name": "SelectedAllMouseLock", + "type": "bool" + }, + { + "name": "Edited", + "type": "bool" + }, + { + "name": "Flags", + "type": "ImGuiInputTextFlags" + }, + { + "name": "ReloadUserBuf", + "type": "bool" + }, + { + "name": "ReloadSelectionStart", + "type": "int" + }, + { + "name": "ReloadSelectionEnd", + "type": "int" + } + ], + "ImGuiKeyData": [ + { + "name": "Down", + "type": "bool" + }, + { + "name": "DownDuration", + "type": "float" + }, + { + "name": "DownDurationPrev", + "type": "float" + }, + { + "name": "AnalogValue", + "type": "float" + } + ], + "ImGuiKeyOwnerData": [ + { + "name": "OwnerCurr", + "type": "ImGuiID" + }, + { + "name": "OwnerNext", + "type": "ImGuiID" + }, + { + "name": "LockThisFrame", + "type": "bool" + }, + { + "name": "LockUntilRelease", + "type": "bool" + } + ], + "ImGuiKeyRoutingData": [ + { + "name": "NextEntryIndex", + "type": "ImGuiKeyRoutingIndex" + }, + { + "name": "Mods", + "type": "ImU16" + }, + { + "name": "RoutingCurrScore", + "type": "ImU8" + }, + { + "name": "RoutingNextScore", + "type": "ImU8" + }, + { + "name": "RoutingCurr", + "type": "ImGuiID" + }, + { + "name": "RoutingNext", + "type": "ImGuiID" + } + ], + "ImGuiKeyRoutingTable": [ + { + "name": "Index[ImGuiKey_NamedKey_COUNT]", + "size": 154, + "type": "ImGuiKeyRoutingIndex" + }, + { + "name": "Entries", + "template_type": "ImGuiKeyRoutingData", + "type": "ImVector_ImGuiKeyRoutingData" + }, + { + "name": "EntriesNext", + "template_type": "ImGuiKeyRoutingData", + "type": "ImVector_ImGuiKeyRoutingData" + } + ], + "ImGuiLastItemData": [ + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "ItemFlags", + "type": "ImGuiItemFlags" + }, + { + "name": "StatusFlags", + "type": "ImGuiItemStatusFlags" + }, + { + "name": "Rect", + "type": "ImRect" + }, + { + "name": "NavRect", + "type": "ImRect" + }, + { + "name": "DisplayRect", + "type": "ImRect" + }, + { + "name": "ClipRect", + "type": "ImRect" + }, + { + "name": "Shortcut", + "type": "ImGuiKeyChord" + } + ], + "ImGuiListClipper": [ + { + "name": "Ctx", + "type": "ImGuiContext*" + }, + { + "name": "DisplayStart", + "type": "int" + }, + { + "name": "DisplayEnd", + "type": "int" + }, + { + "name": "ItemsCount", + "type": "int" + }, + { + "name": "ItemsHeight", + "type": "float" + }, + { + "name": "StartPosY", + "type": "float" + }, + { + "name": "StartSeekOffsetY", + "type": "double" + }, + { + "name": "TempData", + "type": "void*" + } + ], + "ImGuiListClipperData": [ + { + "name": "ListClipper", + "type": "ImGuiListClipper*" + }, + { + "name": "LossynessOffset", + "type": "float" + }, + { + "name": "StepNo", + "type": "int" + }, + { + "name": "ItemsFrozen", + "type": "int" + }, + { + "name": "Ranges", + "template_type": "ImGuiListClipperRange", + "type": "ImVector_ImGuiListClipperRange" + } + ], + "ImGuiListClipperRange": [ + { + "name": "Min", + "type": "int" + }, + { + "name": "Max", + "type": "int" + }, + { + "name": "PosToIndexConvert", + "type": "bool" + }, + { + "name": "PosToIndexOffsetMin", + "type": "ImS8" + }, + { + "name": "PosToIndexOffsetMax", + "type": "ImS8" + } + ], + "ImGuiLocEntry": [ + { + "name": "Key", + "type": "ImGuiLocKey" + }, + { + "name": "Text", + "type": "const char*" + } + ], + "ImGuiMenuColumns": [ + { + "name": "TotalWidth", + "type": "ImU32" + }, + { + "name": "NextTotalWidth", + "type": "ImU32" + }, + { + "name": "Spacing", + "type": "ImU16" + }, + { + "name": "OffsetIcon", + "type": "ImU16" + }, + { + "name": "OffsetLabel", + "type": "ImU16" + }, + { + "name": "OffsetShortcut", + "type": "ImU16" + }, + { + "name": "OffsetMark", + "type": "ImU16" + }, + { + "name": "Widths[4]", + "size": 4, + "type": "ImU16" + } + ], + "ImGuiMetricsConfig": [ + { + "name": "ShowDebugLog", + "type": "bool" + }, + { + "name": "ShowIDStackTool", + "type": "bool" + }, + { + "name": "ShowWindowsRects", + "type": "bool" + }, + { + "name": "ShowWindowsBeginOrder", + "type": "bool" + }, + { + "name": "ShowTablesRects", + "type": "bool" + }, + { + "name": "ShowDrawCmdMesh", + "type": "bool" + }, + { + "name": "ShowDrawCmdBoundingBoxes", + "type": "bool" + }, + { + "name": "ShowTextEncodingViewer", + "type": "bool" + }, + { + "name": "ShowAtlasTintedWithTextColor", + "type": "bool" + }, + { + "name": "ShowDockingNodes", + "type": "bool" + }, + { + "name": "ShowWindowsRectsType", + "type": "int" + }, + { + "name": "ShowTablesRectsType", + "type": "int" + }, + { + "name": "HighlightMonitorIdx", + "type": "int" + }, + { + "name": "HighlightViewportID", + "type": "ImGuiID" + } + ], + "ImGuiMultiSelectIO": [ + { + "name": "Requests", + "template_type": "ImGuiSelectionRequest", + "type": "ImVector_ImGuiSelectionRequest" + }, + { + "name": "RangeSrcItem", + "type": "ImGuiSelectionUserData" + }, + { + "name": "NavIdItem", + "type": "ImGuiSelectionUserData" + }, + { + "name": "NavIdSelected", + "type": "bool" + }, + { + "name": "RangeSrcReset", + "type": "bool" + }, + { + "name": "ItemsCount", + "type": "int" + } + ], + "ImGuiMultiSelectState": [ + { + "name": "Window", + "type": "ImGuiWindow*" + }, + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "LastFrameActive", + "type": "int" + }, + { + "name": "LastSelectionSize", + "type": "int" + }, + { + "name": "RangeSelected", + "type": "ImS8" + }, + { + "name": "NavIdSelected", + "type": "ImS8" + }, + { + "name": "RangeSrcItem", + "type": "ImGuiSelectionUserData" + }, + { + "name": "NavIdItem", + "type": "ImGuiSelectionUserData" + } + ], + "ImGuiMultiSelectTempData": [ + { + "name": "IO", + "type": "ImGuiMultiSelectIO" + }, + { + "name": "Storage", + "type": "ImGuiMultiSelectState*" + }, + { + "name": "FocusScopeId", + "type": "ImGuiID" + }, + { + "name": "Flags", + "type": "ImGuiMultiSelectFlags" + }, + { + "name": "ScopeRectMin", + "type": "ImVec2" + }, + { + "name": "BackupCursorMaxPos", + "type": "ImVec2" + }, + { + "name": "LastSubmittedItem", + "type": "ImGuiSelectionUserData" + }, + { + "name": "BoxSelectId", + "type": "ImGuiID" + }, + { + "name": "KeyMods", + "type": "ImGuiKeyChord" + }, + { + "name": "LoopRequestSetAll", + "type": "ImS8" + }, + { + "name": "IsEndIO", + "type": "bool" + }, + { + "name": "IsFocused", + "type": "bool" + }, + { + "name": "IsKeyboardSetRange", + "type": "bool" + }, + { + "name": "NavIdPassedBy", + "type": "bool" + }, + { + "name": "RangeSrcPassedBy", + "type": "bool" + }, + { + "name": "RangeDstPassedBy", + "type": "bool" + } + ], + "ImGuiNavItemData": [ + { + "name": "Window", + "type": "ImGuiWindow*" + }, + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "FocusScopeId", + "type": "ImGuiID" + }, + { + "name": "RectRel", + "type": "ImRect" + }, + { + "name": "ItemFlags", + "type": "ImGuiItemFlags" + }, + { + "name": "DistBox", + "type": "float" + }, + { + "name": "DistCenter", + "type": "float" + }, + { + "name": "DistAxial", + "type": "float" + }, + { + "name": "SelectionUserData", + "type": "ImGuiSelectionUserData" + } + ], + "ImGuiNextItemData": [ + { + "name": "HasFlags", + "type": "ImGuiNextItemDataFlags" + }, + { + "name": "ItemFlags", + "type": "ImGuiItemFlags" + }, + { + "name": "FocusScopeId", + "type": "ImGuiID" + }, + { + "name": "SelectionUserData", + "type": "ImGuiSelectionUserData" + }, + { + "name": "Width", + "type": "float" + }, + { + "name": "Shortcut", + "type": "ImGuiKeyChord" + }, + { + "name": "ShortcutFlags", + "type": "ImGuiInputFlags" + }, + { + "name": "OpenVal", + "type": "bool" + }, + { + "name": "OpenCond", + "type": "ImU8" + }, + { + "name": "RefVal", + "type": "ImGuiDataTypeStorage" + }, + { + "name": "StorageId", + "type": "ImGuiID" + } + ], + "ImGuiNextWindowData": [ + { + "name": "Flags", + "type": "ImGuiNextWindowDataFlags" + }, + { + "name": "PosCond", + "type": "ImGuiCond" + }, + { + "name": "SizeCond", + "type": "ImGuiCond" + }, + { + "name": "CollapsedCond", + "type": "ImGuiCond" + }, + { + "name": "DockCond", + "type": "ImGuiCond" + }, + { + "name": "PosVal", + "type": "ImVec2" + }, + { + "name": "PosPivotVal", + "type": "ImVec2" + }, + { + "name": "SizeVal", + "type": "ImVec2" + }, + { + "name": "ContentSizeVal", + "type": "ImVec2" + }, + { + "name": "ScrollVal", + "type": "ImVec2" + }, + { + "name": "ChildFlags", + "type": "ImGuiChildFlags" + }, + { + "name": "PosUndock", + "type": "bool" + }, + { + "name": "CollapsedVal", + "type": "bool" + }, + { + "name": "SizeConstraintRect", + "type": "ImRect" + }, + { + "name": "SizeCallback", + "type": "ImGuiSizeCallback" + }, + { + "name": "SizeCallbackUserData", + "type": "void*" + }, + { + "name": "BgAlphaVal", + "type": "float" + }, + { + "name": "ViewportId", + "type": "ImGuiID" + }, + { + "name": "DockId", + "type": "ImGuiID" + }, + { + "name": "WindowClass", + "type": "ImGuiWindowClass" + }, + { + "name": "MenuBarOffsetMinVal", + "type": "ImVec2" + }, + { + "name": "RefreshFlagsVal", + "type": "ImGuiWindowRefreshFlags" + } + ], + "ImGuiOldColumnData": [ + { + "name": "OffsetNorm", + "type": "float" + }, + { + "name": "OffsetNormBeforeResize", + "type": "float" + }, + { + "name": "Flags", + "type": "ImGuiOldColumnFlags" + }, + { + "name": "ClipRect", + "type": "ImRect" + } + ], + "ImGuiOldColumns": [ + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "Flags", + "type": "ImGuiOldColumnFlags" + }, + { + "name": "IsFirstFrame", + "type": "bool" + }, + { + "name": "IsBeingResized", + "type": "bool" + }, + { + "name": "Current", + "type": "int" + }, + { + "name": "Count", + "type": "int" + }, + { + "name": "OffMinX", + "type": "float" + }, + { + "name": "OffMaxX", + "type": "float" + }, + { + "name": "LineMinY", + "type": "float" + }, + { + "name": "LineMaxY", + "type": "float" + }, + { + "name": "HostCursorPosY", + "type": "float" + }, + { + "name": "HostCursorMaxPosX", + "type": "float" + }, + { + "name": "HostInitialClipRect", + "type": "ImRect" + }, + { + "name": "HostBackupClipRect", + "type": "ImRect" + }, + { + "name": "HostBackupParentWorkRect", + "type": "ImRect" + }, + { + "name": "Columns", + "template_type": "ImGuiOldColumnData", + "type": "ImVector_ImGuiOldColumnData" + }, + { + "name": "Splitter", + "type": "ImDrawListSplitter" + } + ], + "ImGuiOnceUponAFrame": [ + { + "name": "RefFrame", + "type": "int" + } + ], + "ImGuiPayload": [ + { + "name": "Data", + "type": "void*" + }, + { + "name": "DataSize", + "type": "int" + }, + { + "name": "SourceId", + "type": "ImGuiID" + }, + { + "name": "SourceParentId", + "type": "ImGuiID" + }, + { + "name": "DataFrameCount", + "type": "int" + }, + { + "name": "DataType[32+1]", + "size": 33, + "type": "char" + }, + { + "name": "Preview", + "type": "bool" + }, + { + "name": "Delivery", + "type": "bool" + } + ], + "ImGuiPlatformIO": [ + { + "name": "Platform_GetClipboardTextFn", + "type": "const char*(*)(ImGuiContext* ctx)" + }, + { + "name": "Platform_SetClipboardTextFn", + "type": "void(*)(ImGuiContext* ctx,const char* text)" + }, + { + "name": "Platform_ClipboardUserData", + "type": "void*" + }, + { + "name": "Platform_OpenInShellFn", + "type": "bool(*)(ImGuiContext* ctx,const char* path)" + }, + { + "name": "Platform_OpenInShellUserData", + "type": "void*" + }, + { + "name": "Platform_SetImeDataFn", + "type": "void(*)(ImGuiContext* ctx,ImGuiViewport* viewport,ImGuiPlatformImeData* data)" + }, + { + "name": "Platform_ImeUserData", + "type": "void*" + }, + { + "name": "Platform_LocaleDecimalPoint", + "type": "ImWchar" + }, + { + "name": "Renderer_RenderState", + "type": "void*" + }, + { + "name": "Platform_CreateWindow", + "type": "void(*)(ImGuiViewport* vp)" + }, + { + "name": "Platform_DestroyWindow", + "type": "void(*)(ImGuiViewport* vp)" + }, + { + "name": "Platform_ShowWindow", + "type": "void(*)(ImGuiViewport* vp)" + }, + { + "name": "Platform_SetWindowPos", + "type": "void(*)(ImGuiViewport* vp,ImVec2 pos)" + }, + { + "name": "Platform_GetWindowPos", + "type": "ImVec2(*)(ImGuiViewport* vp)" + }, + { + "name": "Platform_SetWindowSize", + "type": "void(*)(ImGuiViewport* vp,ImVec2 size)" + }, + { + "name": "Platform_GetWindowSize", + "type": "ImVec2(*)(ImGuiViewport* vp)" + }, + { + "name": "Platform_SetWindowFocus", + "type": "void(*)(ImGuiViewport* vp)" + }, + { + "name": "Platform_GetWindowFocus", + "type": "bool(*)(ImGuiViewport* vp)" + }, + { + "name": "Platform_GetWindowMinimized", + "type": "bool(*)(ImGuiViewport* vp)" + }, + { + "name": "Platform_SetWindowTitle", + "type": "void(*)(ImGuiViewport* vp,const char* str)" + }, + { + "name": "Platform_SetWindowAlpha", + "type": "void(*)(ImGuiViewport* vp,float alpha)" + }, + { + "name": "Platform_UpdateWindow", + "type": "void(*)(ImGuiViewport* vp)" + }, + { + "name": "Platform_RenderWindow", + "type": "void(*)(ImGuiViewport* vp,void* render_arg)" + }, + { + "name": "Platform_SwapBuffers", + "type": "void(*)(ImGuiViewport* vp,void* render_arg)" + }, + { + "name": "Platform_GetWindowDpiScale", + "type": "float(*)(ImGuiViewport* vp)" + }, + { + "name": "Platform_OnChangedViewport", + "type": "void(*)(ImGuiViewport* vp)" + }, + { + "name": "Platform_GetWindowWorkAreaInsets", + "type": "ImVec4(*)(ImGuiViewport* vp)" + }, + { + "name": "Platform_CreateVkSurface", + "type": "int(*)(ImGuiViewport* vp,ImU64 vk_inst,const void* vk_allocators,ImU64* out_vk_surface)" + }, + { + "name": "Renderer_CreateWindow", + "type": "void(*)(ImGuiViewport* vp)" + }, + { + "name": "Renderer_DestroyWindow", + "type": "void(*)(ImGuiViewport* vp)" + }, + { + "name": "Renderer_SetWindowSize", + "type": "void(*)(ImGuiViewport* vp,ImVec2 size)" + }, + { + "name": "Renderer_RenderWindow", + "type": "void(*)(ImGuiViewport* vp,void* render_arg)" + }, + { + "name": "Renderer_SwapBuffers", + "type": "void(*)(ImGuiViewport* vp,void* render_arg)" + }, + { + "name": "Monitors", + "template_type": "ImGuiPlatformMonitor", + "type": "ImVector_ImGuiPlatformMonitor" + }, + { + "name": "Viewports", + "template_type": "ImGuiViewport*", + "type": "ImVector_ImGuiViewportPtr" + } + ], + "ImGuiPlatformImeData": [ + { + "name": "WantVisible", + "type": "bool" + }, + { + "name": "InputPos", + "type": "ImVec2" + }, + { + "name": "InputLineHeight", + "type": "float" + } + ], + "ImGuiPlatformMonitor": [ + { + "name": "MainPos", + "type": "ImVec2" + }, + { + "name": "MainSize", + "type": "ImVec2" + }, + { + "name": "WorkPos", + "type": "ImVec2" + }, + { + "name": "WorkSize", + "type": "ImVec2" + }, + { + "name": "DpiScale", + "type": "float" + }, + { + "name": "PlatformHandle", + "type": "void*" + } + ], + "ImGuiPopupData": [ + { + "name": "PopupId", + "type": "ImGuiID" + }, + { + "name": "Window", + "type": "ImGuiWindow*" + }, + { + "name": "RestoreNavWindow", + "type": "ImGuiWindow*" + }, + { + "name": "ParentNavLayer", + "type": "int" + }, + { + "name": "OpenFrameCount", + "type": "int" + }, + { + "name": "OpenParentId", + "type": "ImGuiID" + }, + { + "name": "OpenPopupPos", + "type": "ImVec2" + }, + { + "name": "OpenMousePos", + "type": "ImVec2" + } + ], + "ImGuiPtrOrIndex": [ + { + "name": "Ptr", + "type": "void*" + }, + { + "name": "Index", + "type": "int" + } + ], + "ImGuiSelectionBasicStorage": [ + { + "name": "Size", + "type": "int" + }, + { + "name": "PreserveOrder", + "type": "bool" + }, + { + "name": "UserData", + "type": "void*" + }, + { + "name": "AdapterIndexToStorageId", + "type": "ImGuiID(*)(ImGuiSelectionBasicStorage* self,int idx)" + }, + { + "name": "_SelectionOrder", + "type": "int" + }, + { + "name": "_Storage", + "type": "ImGuiStorage" + } + ], + "ImGuiSelectionExternalStorage": [ + { + "name": "UserData", + "type": "void*" + }, + { + "name": "AdapterSetItemSelected", + "type": "void(*)(ImGuiSelectionExternalStorage* self,int idx,bool selected)" + } + ], + "ImGuiSelectionRequest": [ + { + "name": "Type", + "type": "ImGuiSelectionRequestType" + }, + { + "name": "Selected", + "type": "bool" + }, + { + "name": "RangeDirection", + "type": "ImS8" + }, + { + "name": "RangeFirstItem", + "type": "ImGuiSelectionUserData" + }, + { + "name": "RangeLastItem", + "type": "ImGuiSelectionUserData" + } + ], + "ImGuiSettingsHandler": [ + { + "name": "TypeName", + "type": "const char*" + }, + { + "name": "TypeHash", + "type": "ImGuiID" + }, + { + "name": "ClearAllFn", + "type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler)" + }, + { + "name": "ReadInitFn", + "type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler)" + }, + { + "name": "ReadOpenFn", + "type": "void*(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler,const char* name)" + }, + { + "name": "ReadLineFn", + "type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler,void* entry,const char* line)" + }, + { + "name": "ApplyAllFn", + "type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler)" + }, + { + "name": "WriteAllFn", + "type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler,ImGuiTextBuffer* out_buf)" + }, + { + "name": "UserData", + "type": "void*" + } + ], + "ImGuiShrinkWidthItem": [ + { + "name": "Index", + "type": "int" + }, + { + "name": "Width", + "type": "float" + }, + { + "name": "InitialWidth", + "type": "float" + } + ], + "ImGuiSizeCallbackData": [ + { + "name": "UserData", + "type": "void*" + }, + { + "name": "Pos", + "type": "ImVec2" + }, + { + "name": "CurrentSize", + "type": "ImVec2" + }, + { + "name": "DesiredSize", + "type": "ImVec2" + } + ], + "ImGuiStackLevelInfo": [ + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "QueryFrameCount", + "type": "ImS8" + }, + { + "name": "QuerySuccess", + "type": "bool" + }, + { + "bitfield": "8", + "name": "DataType", + "type": "ImGuiDataType" + }, + { + "name": "Desc[57]", + "size": 57, + "type": "char" + } + ], + "ImGuiStorage": [ + { + "name": "Data", + "template_type": "ImGuiStoragePair", + "type": "ImVector_ImGuiStoragePair" + } + ], + "ImGuiStoragePair": [ + { + "name": "key", + "type": "ImGuiID" + }, + { + "name": "", + "type": "union { int val_i; float val_f; void* val_p;}" + } + ], + "ImGuiStyle": [ + { + "name": "Alpha", + "type": "float" + }, + { + "name": "DisabledAlpha", + "type": "float" + }, + { + "name": "WindowPadding", + "type": "ImVec2" + }, + { + "name": "WindowRounding", + "type": "float" + }, + { + "name": "WindowBorderSize", + "type": "float" + }, + { + "name": "WindowMinSize", + "type": "ImVec2" + }, + { + "name": "WindowTitleAlign", + "type": "ImVec2" + }, + { + "name": "WindowMenuButtonPosition", + "type": "ImGuiDir" + }, + { + "name": "ChildRounding", + "type": "float" + }, + { + "name": "ChildBorderSize", + "type": "float" + }, + { + "name": "PopupRounding", + "type": "float" + }, + { + "name": "PopupBorderSize", + "type": "float" + }, + { + "name": "FramePadding", + "type": "ImVec2" + }, + { + "name": "FrameRounding", + "type": "float" + }, + { + "name": "FrameBorderSize", + "type": "float" + }, + { + "name": "ItemSpacing", + "type": "ImVec2" + }, + { + "name": "ItemInnerSpacing", + "type": "ImVec2" + }, + { + "name": "CellPadding", + "type": "ImVec2" + }, + { + "name": "TouchExtraPadding", + "type": "ImVec2" + }, + { + "name": "IndentSpacing", + "type": "float" + }, + { + "name": "ColumnsMinSpacing", + "type": "float" + }, + { + "name": "ScrollbarSize", + "type": "float" + }, + { + "name": "ScrollbarRounding", + "type": "float" + }, + { + "name": "GrabMinSize", + "type": "float" + }, + { + "name": "GrabRounding", + "type": "float" + }, + { + "name": "LogSliderDeadzone", + "type": "float" + }, + { + "name": "TabRounding", + "type": "float" + }, + { + "name": "TabBorderSize", + "type": "float" + }, + { + "name": "TabMinWidthForCloseButton", + "type": "float" + }, + { + "name": "TabBarBorderSize", + "type": "float" + }, + { + "name": "TabBarOverlineSize", + "type": "float" + }, + { + "name": "TableAngledHeadersAngle", + "type": "float" + }, + { + "name": "TableAngledHeadersTextAlign", + "type": "ImVec2" + }, + { + "name": "ColorButtonPosition", + "type": "ImGuiDir" + }, + { + "name": "ButtonTextAlign", + "type": "ImVec2" + }, + { + "name": "SelectableTextAlign", + "type": "ImVec2" + }, + { + "name": "SeparatorTextBorderSize", + "type": "float" + }, + { + "name": "SeparatorTextAlign", + "type": "ImVec2" + }, + { + "name": "SeparatorTextPadding", + "type": "ImVec2" + }, + { + "name": "DisplayWindowPadding", + "type": "ImVec2" + }, + { + "name": "DisplaySafeAreaPadding", + "type": "ImVec2" + }, + { + "name": "DockingSeparatorSize", + "type": "float" + }, + { + "name": "MouseCursorScale", + "type": "float" + }, + { + "name": "AntiAliasedLines", + "type": "bool" + }, + { + "name": "AntiAliasedLinesUseTex", + "type": "bool" + }, + { + "name": "AntiAliasedFill", + "type": "bool" + }, + { + "name": "CurveTessellationTol", + "type": "float" + }, + { + "name": "CircleTessellationMaxError", + "type": "float" + }, + { + "name": "Colors[ImGuiCol_COUNT]", + "size": 58, + "type": "ImVec4" + }, + { + "name": "HoverStationaryDelay", + "type": "float" + }, + { + "name": "HoverDelayShort", + "type": "float" + }, + { + "name": "HoverDelayNormal", + "type": "float" + }, + { + "name": "HoverFlagsForTooltipMouse", + "type": "ImGuiHoveredFlags" + }, + { + "name": "HoverFlagsForTooltipNav", + "type": "ImGuiHoveredFlags" + } + ], + "ImGuiStyleMod": [ + { + "name": "VarIdx", + "type": "ImGuiStyleVar" + }, + { + "name": "", + "type": "union { int BackupInt[2]; float BackupFloat[2];}" + } + ], + "ImGuiTabBar": [ + { + "name": "Window", + "type": "ImGuiWindow*" + }, + { + "name": "Tabs", + "template_type": "ImGuiTabItem", + "type": "ImVector_ImGuiTabItem" + }, + { + "name": "Flags", + "type": "ImGuiTabBarFlags" + }, + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "SelectedTabId", + "type": "ImGuiID" + }, + { + "name": "NextSelectedTabId", + "type": "ImGuiID" + }, + { + "name": "VisibleTabId", + "type": "ImGuiID" + }, + { + "name": "CurrFrameVisible", + "type": "int" + }, + { + "name": "PrevFrameVisible", + "type": "int" + }, + { + "name": "BarRect", + "type": "ImRect" + }, + { + "name": "CurrTabsContentsHeight", + "type": "float" + }, + { + "name": "PrevTabsContentsHeight", + "type": "float" + }, + { + "name": "WidthAllTabs", + "type": "float" + }, + { + "name": "WidthAllTabsIdeal", + "type": "float" + }, + { + "name": "ScrollingAnim", + "type": "float" + }, + { + "name": "ScrollingTarget", + "type": "float" + }, + { + "name": "ScrollingTargetDistToVisibility", + "type": "float" + }, + { + "name": "ScrollingSpeed", + "type": "float" + }, + { + "name": "ScrollingRectMinX", + "type": "float" + }, + { + "name": "ScrollingRectMaxX", + "type": "float" + }, + { + "name": "SeparatorMinX", + "type": "float" + }, + { + "name": "SeparatorMaxX", + "type": "float" + }, + { + "name": "ReorderRequestTabId", + "type": "ImGuiID" + }, + { + "name": "ReorderRequestOffset", + "type": "ImS16" + }, + { + "name": "BeginCount", + "type": "ImS8" + }, + { + "name": "WantLayout", + "type": "bool" + }, + { + "name": "VisibleTabWasSubmitted", + "type": "bool" + }, + { + "name": "TabsAddedNew", + "type": "bool" + }, + { + "name": "TabsActiveCount", + "type": "ImS16" + }, + { + "name": "LastTabItemIdx", + "type": "ImS16" + }, + { + "name": "ItemSpacingY", + "type": "float" + }, + { + "name": "FramePadding", + "type": "ImVec2" + }, + { + "name": "BackupCursorPos", + "type": "ImVec2" + }, + { + "name": "TabsNames", + "type": "ImGuiTextBuffer" + } + ], + "ImGuiTabItem": [ + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "Flags", + "type": "ImGuiTabItemFlags" + }, + { + "name": "Window", + "type": "ImGuiWindow*" + }, + { + "name": "LastFrameVisible", + "type": "int" + }, + { + "name": "LastFrameSelected", + "type": "int" + }, + { + "name": "Offset", + "type": "float" + }, + { + "name": "Width", + "type": "float" + }, + { + "name": "ContentWidth", + "type": "float" + }, + { + "name": "RequestedWidth", + "type": "float" + }, + { + "name": "NameOffset", + "type": "ImS32" + }, + { + "name": "BeginOrder", + "type": "ImS16" + }, + { + "name": "IndexDuringLayout", + "type": "ImS16" + }, + { + "name": "WantClose", + "type": "bool" + } + ], + "ImGuiTable": [ + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "Flags", + "type": "ImGuiTableFlags" + }, + { + "name": "RawData", + "type": "void*" + }, + { + "name": "TempData", + "type": "ImGuiTableTempData*" + }, + { + "name": "Columns", + "template_type": "ImGuiTableColumn", + "type": "ImSpan_ImGuiTableColumn" + }, + { + "name": "DisplayOrderToIndex", + "template_type": "ImGuiTableColumnIdx", + "type": "ImSpan_ImGuiTableColumnIdx" + }, + { + "name": "RowCellData", + "template_type": "ImGuiTableCellData", + "type": "ImSpan_ImGuiTableCellData" + }, + { + "name": "EnabledMaskByDisplayOrder", + "type": "ImBitArrayPtr" + }, + { + "name": "EnabledMaskByIndex", + "type": "ImBitArrayPtr" + }, + { + "name": "VisibleMaskByIndex", + "type": "ImBitArrayPtr" + }, + { + "name": "SettingsLoadedFlags", + "type": "ImGuiTableFlags" + }, + { + "name": "SettingsOffset", + "type": "int" + }, + { + "name": "LastFrameActive", + "type": "int" + }, + { + "name": "ColumnsCount", + "type": "int" + }, + { + "name": "CurrentRow", + "type": "int" + }, + { + "name": "CurrentColumn", + "type": "int" + }, + { + "name": "InstanceCurrent", + "type": "ImS16" + }, + { + "name": "InstanceInteracted", + "type": "ImS16" + }, + { + "name": "RowPosY1", + "type": "float" + }, + { + "name": "RowPosY2", + "type": "float" + }, + { + "name": "RowMinHeight", + "type": "float" + }, + { + "name": "RowCellPaddingY", + "type": "float" + }, + { + "name": "RowTextBaseline", + "type": "float" + }, + { + "name": "RowIndentOffsetX", + "type": "float" + }, + { + "bitfield": "16", + "name": "RowFlags", + "type": "ImGuiTableRowFlags" + }, + { + "bitfield": "16", + "name": "LastRowFlags", + "type": "ImGuiTableRowFlags" + }, + { + "name": "RowBgColorCounter", + "type": "int" + }, + { + "name": "RowBgColor[2]", + "size": 2, + "type": "ImU32" + }, + { + "name": "BorderColorStrong", + "type": "ImU32" + }, + { + "name": "BorderColorLight", + "type": "ImU32" + }, + { + "name": "BorderX1", + "type": "float" + }, + { + "name": "BorderX2", + "type": "float" + }, + { + "name": "HostIndentX", + "type": "float" + }, + { + "name": "MinColumnWidth", + "type": "float" + }, + { + "name": "OuterPaddingX", + "type": "float" + }, + { + "name": "CellPaddingX", + "type": "float" + }, + { + "name": "CellSpacingX1", + "type": "float" + }, + { + "name": "CellSpacingX2", + "type": "float" + }, + { + "name": "InnerWidth", + "type": "float" + }, + { + "name": "ColumnsGivenWidth", + "type": "float" + }, + { + "name": "ColumnsAutoFitWidth", + "type": "float" + }, + { + "name": "ColumnsStretchSumWeights", + "type": "float" + }, + { + "name": "ResizedColumnNextWidth", + "type": "float" + }, + { + "name": "ResizeLockMinContentsX2", + "type": "float" + }, + { + "name": "RefScale", + "type": "float" + }, + { + "name": "AngledHeadersHeight", + "type": "float" + }, + { + "name": "AngledHeadersSlope", + "type": "float" + }, + { + "name": "OuterRect", + "type": "ImRect" + }, + { + "name": "InnerRect", + "type": "ImRect" + }, + { + "name": "WorkRect", + "type": "ImRect" + }, + { + "name": "InnerClipRect", + "type": "ImRect" + }, + { + "name": "BgClipRect", + "type": "ImRect" + }, + { + "name": "Bg0ClipRectForDrawCmd", + "type": "ImRect" + }, + { + "name": "Bg2ClipRectForDrawCmd", + "type": "ImRect" + }, + { + "name": "HostClipRect", + "type": "ImRect" + }, + { + "name": "HostBackupInnerClipRect", + "type": "ImRect" + }, + { + "name": "OuterWindow", + "type": "ImGuiWindow*" + }, + { + "name": "InnerWindow", + "type": "ImGuiWindow*" + }, + { + "name": "ColumnsNames", + "type": "ImGuiTextBuffer" + }, + { + "name": "DrawSplitter", + "type": "ImDrawListSplitter*" + }, + { + "name": "InstanceDataFirst", + "type": "ImGuiTableInstanceData" + }, + { + "name": "InstanceDataExtra", + "template_type": "ImGuiTableInstanceData", + "type": "ImVector_ImGuiTableInstanceData" + }, + { + "name": "SortSpecsSingle", + "type": "ImGuiTableColumnSortSpecs" + }, + { + "name": "SortSpecsMulti", + "template_type": "ImGuiTableColumnSortSpecs", + "type": "ImVector_ImGuiTableColumnSortSpecs" + }, + { + "name": "SortSpecs", + "type": "ImGuiTableSortSpecs" + }, + { + "name": "SortSpecsCount", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "ColumnsEnabledCount", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "ColumnsEnabledFixedCount", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "DeclColumnsCount", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "AngledHeadersCount", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "HoveredColumnBody", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "HoveredColumnBorder", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "HighlightColumnHeader", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "AutoFitSingleColumn", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "ResizedColumn", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "LastResizedColumn", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "HeldHeaderColumn", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "ReorderColumn", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "ReorderColumnDir", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "LeftMostEnabledColumn", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "RightMostEnabledColumn", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "LeftMostStretchedColumn", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "RightMostStretchedColumn", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "ContextPopupColumn", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "FreezeRowsRequest", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "FreezeRowsCount", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "FreezeColumnsRequest", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "FreezeColumnsCount", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "RowCellDataCurrent", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "DummyDrawChannel", + "type": "ImGuiTableDrawChannelIdx" + }, + { + "name": "Bg2DrawChannelCurrent", + "type": "ImGuiTableDrawChannelIdx" + }, + { + "name": "Bg2DrawChannelUnfrozen", + "type": "ImGuiTableDrawChannelIdx" + }, + { + "name": "IsLayoutLocked", + "type": "bool" + }, + { + "name": "IsInsideRow", + "type": "bool" + }, + { + "name": "IsInitializing", + "type": "bool" + }, + { + "name": "IsSortSpecsDirty", + "type": "bool" + }, + { + "name": "IsUsingHeaders", + "type": "bool" + }, + { + "name": "IsContextPopupOpen", + "type": "bool" + }, + { + "name": "DisableDefaultContextMenu", + "type": "bool" + }, + { + "name": "IsSettingsRequestLoad", + "type": "bool" + }, + { + "name": "IsSettingsDirty", + "type": "bool" + }, + { + "name": "IsDefaultDisplayOrder", + "type": "bool" + }, + { + "name": "IsResetAllRequest", + "type": "bool" + }, + { + "name": "IsResetDisplayOrderRequest", + "type": "bool" + }, + { + "name": "IsUnfrozenRows", + "type": "bool" + }, + { + "name": "IsDefaultSizingPolicy", + "type": "bool" + }, + { + "name": "IsActiveIdAliveBeforeTable", + "type": "bool" + }, + { + "name": "IsActiveIdInTable", + "type": "bool" + }, + { + "name": "HasScrollbarYCurr", + "type": "bool" + }, + { + "name": "HasScrollbarYPrev", + "type": "bool" + }, + { + "name": "MemoryCompacted", + "type": "bool" + }, + { + "name": "HostSkipItems", + "type": "bool" + } + ], + "ImGuiTableCellData": [ + { + "name": "BgColor", + "type": "ImU32" + }, + { + "name": "Column", + "type": "ImGuiTableColumnIdx" + } + ], + "ImGuiTableColumn": [ + { + "name": "Flags", + "type": "ImGuiTableColumnFlags" + }, + { + "name": "WidthGiven", + "type": "float" + }, + { + "name": "MinX", + "type": "float" + }, + { + "name": "MaxX", + "type": "float" + }, + { + "name": "WidthRequest", + "type": "float" + }, + { + "name": "WidthAuto", + "type": "float" + }, + { + "name": "WidthMax", + "type": "float" + }, + { + "name": "StretchWeight", + "type": "float" + }, + { + "name": "InitStretchWeightOrWidth", + "type": "float" + }, + { + "name": "ClipRect", + "type": "ImRect" + }, + { + "name": "UserID", + "type": "ImGuiID" + }, + { + "name": "WorkMinX", + "type": "float" + }, + { + "name": "WorkMaxX", + "type": "float" + }, + { + "name": "ItemWidth", + "type": "float" + }, + { + "name": "ContentMaxXFrozen", + "type": "float" + }, + { + "name": "ContentMaxXUnfrozen", + "type": "float" + }, + { + "name": "ContentMaxXHeadersUsed", + "type": "float" + }, + { + "name": "ContentMaxXHeadersIdeal", + "type": "float" + }, + { + "name": "NameOffset", + "type": "ImS16" + }, + { + "name": "DisplayOrder", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "IndexWithinEnabledSet", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "PrevEnabledColumn", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "NextEnabledColumn", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "SortOrder", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "DrawChannelCurrent", + "type": "ImGuiTableDrawChannelIdx" + }, + { + "name": "DrawChannelFrozen", + "type": "ImGuiTableDrawChannelIdx" + }, + { + "name": "DrawChannelUnfrozen", + "type": "ImGuiTableDrawChannelIdx" + }, + { + "name": "IsEnabled", + "type": "bool" + }, + { + "name": "IsUserEnabled", + "type": "bool" + }, + { + "name": "IsUserEnabledNextFrame", + "type": "bool" + }, + { + "name": "IsVisibleX", + "type": "bool" + }, + { + "name": "IsVisibleY", + "type": "bool" + }, + { + "name": "IsRequestOutput", + "type": "bool" + }, + { + "name": "IsSkipItems", + "type": "bool" + }, + { + "name": "IsPreserveWidthAuto", + "type": "bool" + }, + { + "name": "NavLayerCurrent", + "type": "ImS8" + }, + { + "name": "AutoFitQueue", + "type": "ImU8" + }, + { + "name": "CannotSkipItemsQueue", + "type": "ImU8" + }, + { + "bitfield": "2", + "name": "SortDirection", + "type": "ImU8" + }, + { + "bitfield": "2", + "name": "SortDirectionsAvailCount", + "type": "ImU8" + }, + { + "bitfield": "4", + "name": "SortDirectionsAvailMask", + "type": "ImU8" + }, + { + "name": "SortDirectionsAvailList", + "type": "ImU8" + } + ], + "ImGuiTableColumnSettings": [ + { + "name": "WidthOrWeight", + "type": "float" + }, + { + "name": "UserID", + "type": "ImGuiID" + }, + { + "name": "Index", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "DisplayOrder", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "SortOrder", + "type": "ImGuiTableColumnIdx" + }, + { + "bitfield": "2", + "name": "SortDirection", + "type": "ImU8" + }, + { + "bitfield": "1", + "name": "IsEnabled", + "type": "ImU8" + }, + { + "bitfield": "1", + "name": "IsStretch", + "type": "ImU8" + } + ], + "ImGuiTableColumnSortSpecs": [ + { + "name": "ColumnUserID", + "type": "ImGuiID" + }, + { + "name": "ColumnIndex", + "type": "ImS16" + }, + { + "name": "SortOrder", + "type": "ImS16" + }, + { + "name": "SortDirection", + "type": "ImGuiSortDirection" + } + ], + "ImGuiTableHeaderData": [ + { + "name": "Index", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "TextColor", + "type": "ImU32" + }, + { + "name": "BgColor0", + "type": "ImU32" + }, + { + "name": "BgColor1", + "type": "ImU32" + } + ], + "ImGuiTableInstanceData": [ + { + "name": "TableInstanceID", + "type": "ImGuiID" + }, + { + "name": "LastOuterHeight", + "type": "float" + }, + { + "name": "LastTopHeadersRowHeight", + "type": "float" + }, + { + "name": "LastFrozenHeight", + "type": "float" + }, + { + "name": "HoveredRowLast", + "type": "int" + }, + { + "name": "HoveredRowNext", + "type": "int" + } + ], + "ImGuiTableSettings": [ + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "SaveFlags", + "type": "ImGuiTableFlags" + }, + { + "name": "RefScale", + "type": "float" + }, + { + "name": "ColumnsCount", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "ColumnsCountMax", + "type": "ImGuiTableColumnIdx" + }, + { + "name": "WantApply", + "type": "bool" + } + ], + "ImGuiTableSortSpecs": [ + { + "name": "Specs", + "type": "const ImGuiTableColumnSortSpecs*" + }, + { + "name": "SpecsCount", + "type": "int" + }, + { + "name": "SpecsDirty", + "type": "bool" + } + ], + "ImGuiTableTempData": [ + { + "name": "TableIndex", + "type": "int" + }, + { + "name": "LastTimeActive", + "type": "float" + }, + { + "name": "AngledHeadersExtraWidth", + "type": "float" + }, + { + "name": "AngledHeadersRequests", + "template_type": "ImGuiTableHeaderData", + "type": "ImVector_ImGuiTableHeaderData" + }, + { + "name": "UserOuterSize", + "type": "ImVec2" + }, + { + "name": "DrawSplitter", + "type": "ImDrawListSplitter" + }, + { + "name": "HostBackupWorkRect", + "type": "ImRect" + }, + { + "name": "HostBackupParentWorkRect", + "type": "ImRect" + }, + { + "name": "HostBackupPrevLineSize", + "type": "ImVec2" + }, + { + "name": "HostBackupCurrLineSize", + "type": "ImVec2" + }, + { + "name": "HostBackupCursorMaxPos", + "type": "ImVec2" + }, + { + "name": "HostBackupColumnsOffset", + "type": "ImVec1" + }, + { + "name": "HostBackupItemWidth", + "type": "float" + }, + { + "name": "HostBackupItemWidthStackSize", + "type": "int" + } + ], + "ImGuiTextBuffer": [ + { + "name": "Buf", + "template_type": "char", + "type": "ImVector_char" + } + ], + "ImGuiTextFilter": [ + { + "name": "InputBuf[256]", + "size": 256, + "type": "char" + }, + { + "name": "Filters", + "template_type": "ImGuiTextRange", + "type": "ImVector_ImGuiTextRange" + }, + { + "name": "CountGrep", + "type": "int" + } + ], + "ImGuiTextIndex": [ + { + "name": "LineOffsets", + "template_type": "int", + "type": "ImVector_int" + }, + { + "name": "EndOffset", + "type": "int" + } + ], + "ImGuiTextRange": [ + { + "name": "b", + "type": "const char*" + }, + { + "name": "e", + "type": "const char*" + } + ], + "ImGuiTreeNodeStackData": [ + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "TreeFlags", + "type": "ImGuiTreeNodeFlags" + }, + { + "name": "ItemFlags", + "type": "ImGuiItemFlags" + }, + { + "name": "NavRect", + "type": "ImRect" + } + ], + "ImGuiTypingSelectRequest": [ + { + "name": "Flags", + "type": "ImGuiTypingSelectFlags" + }, + { + "name": "SearchBufferLen", + "type": "int" + }, + { + "name": "SearchBuffer", + "type": "const char*" + }, + { + "name": "SelectRequest", + "type": "bool" + }, + { + "name": "SingleCharMode", + "type": "bool" + }, + { + "name": "SingleCharSize", + "type": "ImS8" + } + ], + "ImGuiTypingSelectState": [ + { + "name": "Request", + "type": "ImGuiTypingSelectRequest" + }, + { + "name": "SearchBuffer[64]", + "size": 64, + "type": "char" + }, + { + "name": "FocusScope", + "type": "ImGuiID" + }, + { + "name": "LastRequestFrame", + "type": "int" + }, + { + "name": "LastRequestTime", + "type": "float" + }, + { + "name": "SingleCharModeLock", + "type": "bool" + } + ], + "ImGuiViewport": [ + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "Flags", + "type": "ImGuiViewportFlags" + }, + { + "name": "Pos", + "type": "ImVec2" + }, + { + "name": "Size", + "type": "ImVec2" + }, + { + "name": "WorkPos", + "type": "ImVec2" + }, + { + "name": "WorkSize", + "type": "ImVec2" + }, + { + "name": "DpiScale", + "type": "float" + }, + { + "name": "ParentViewportId", + "type": "ImGuiID" + }, + { + "name": "DrawData", + "type": "ImDrawData*" + }, + { + "name": "RendererUserData", + "type": "void*" + }, + { + "name": "PlatformUserData", + "type": "void*" + }, + { + "name": "PlatformHandle", + "type": "void*" + }, + { + "name": "PlatformHandleRaw", + "type": "void*" + }, + { + "name": "PlatformWindowCreated", + "type": "bool" + }, + { + "name": "PlatformRequestMove", + "type": "bool" + }, + { + "name": "PlatformRequestResize", + "type": "bool" + }, + { + "name": "PlatformRequestClose", + "type": "bool" + } + ], + "ImGuiViewportP": [ + { + "name": "_ImGuiViewport", + "type": "ImGuiViewport" + }, + { + "name": "Window", + "type": "ImGuiWindow*" + }, + { + "name": "Idx", + "type": "int" + }, + { + "name": "LastFrameActive", + "type": "int" + }, + { + "name": "LastFocusedStampCount", + "type": "int" + }, + { + "name": "LastNameHash", + "type": "ImGuiID" + }, + { + "name": "LastPos", + "type": "ImVec2" + }, + { + "name": "LastSize", + "type": "ImVec2" + }, + { + "name": "Alpha", + "type": "float" + }, + { + "name": "LastAlpha", + "type": "float" + }, + { + "name": "LastFocusedHadNavWindow", + "type": "bool" + }, + { + "name": "PlatformMonitor", + "type": "short" + }, + { + "name": "BgFgDrawListsLastFrame[2]", + "size": 2, + "type": "int" + }, + { + "name": "BgFgDrawLists[2]", + "size": 2, + "type": "ImDrawList*" + }, + { + "name": "DrawDataP", + "type": "ImDrawData" + }, + { + "name": "DrawDataBuilder", + "type": "ImDrawDataBuilder" + }, + { + "name": "LastPlatformPos", + "type": "ImVec2" + }, + { + "name": "LastPlatformSize", + "type": "ImVec2" + }, + { + "name": "LastRendererSize", + "type": "ImVec2" + }, + { + "name": "WorkInsetMin", + "type": "ImVec2" + }, + { + "name": "WorkInsetMax", + "type": "ImVec2" + }, + { + "name": "BuildWorkInsetMin", + "type": "ImVec2" + }, + { + "name": "BuildWorkInsetMax", + "type": "ImVec2" + } + ], + "ImGuiWindow": [ + { + "name": "Ctx", + "type": "ImGuiContext*" + }, + { + "name": "Name", + "type": "char*" + }, + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "Flags", + "type": "ImGuiWindowFlags" + }, + { + "name": "FlagsPreviousFrame", + "type": "ImGuiWindowFlags" + }, + { + "name": "ChildFlags", + "type": "ImGuiChildFlags" + }, + { + "name": "WindowClass", + "type": "ImGuiWindowClass" + }, + { + "name": "Viewport", + "type": "ImGuiViewportP*" + }, + { + "name": "ViewportId", + "type": "ImGuiID" + }, + { + "name": "ViewportPos", + "type": "ImVec2" + }, + { + "name": "ViewportAllowPlatformMonitorExtend", + "type": "int" + }, + { + "name": "Pos", + "type": "ImVec2" + }, + { + "name": "Size", + "type": "ImVec2" + }, + { + "name": "SizeFull", + "type": "ImVec2" + }, + { + "name": "ContentSize", + "type": "ImVec2" + }, + { + "name": "ContentSizeIdeal", + "type": "ImVec2" + }, + { + "name": "ContentSizeExplicit", + "type": "ImVec2" + }, + { + "name": "WindowPadding", + "type": "ImVec2" + }, + { + "name": "WindowRounding", + "type": "float" + }, + { + "name": "WindowBorderSize", + "type": "float" + }, + { + "name": "TitleBarHeight", + "type": "float" + }, + { + "name": "MenuBarHeight", + "type": "float" + }, + { + "name": "DecoOuterSizeX1", + "type": "float" + }, + { + "name": "DecoOuterSizeY1", + "type": "float" + }, + { + "name": "DecoOuterSizeX2", + "type": "float" + }, + { + "name": "DecoOuterSizeY2", + "type": "float" + }, + { + "name": "DecoInnerSizeX1", + "type": "float" + }, + { + "name": "DecoInnerSizeY1", + "type": "float" + }, + { + "name": "NameBufLen", + "type": "int" + }, + { + "name": "MoveId", + "type": "ImGuiID" + }, + { + "name": "TabId", + "type": "ImGuiID" + }, + { + "name": "ChildId", + "type": "ImGuiID" + }, + { + "name": "PopupId", + "type": "ImGuiID" + }, + { + "name": "Scroll", + "type": "ImVec2" + }, + { + "name": "ScrollMax", + "type": "ImVec2" + }, + { + "name": "ScrollTarget", + "type": "ImVec2" + }, + { + "name": "ScrollTargetCenterRatio", + "type": "ImVec2" + }, + { + "name": "ScrollTargetEdgeSnapDist", + "type": "ImVec2" + }, + { + "name": "ScrollbarSizes", + "type": "ImVec2" + }, + { + "name": "ScrollbarX", + "type": "bool" + }, + { + "name": "ScrollbarY", + "type": "bool" + }, + { + "name": "ViewportOwned", + "type": "bool" + }, + { + "name": "Active", + "type": "bool" + }, + { + "name": "WasActive", + "type": "bool" + }, + { + "name": "WriteAccessed", + "type": "bool" + }, + { + "name": "Collapsed", + "type": "bool" + }, + { + "name": "WantCollapseToggle", + "type": "bool" + }, + { + "name": "SkipItems", + "type": "bool" + }, + { + "name": "SkipRefresh", + "type": "bool" + }, + { + "name": "Appearing", + "type": "bool" + }, + { + "name": "Hidden", + "type": "bool" + }, + { + "name": "IsFallbackWindow", + "type": "bool" + }, + { + "name": "IsExplicitChild", + "type": "bool" + }, + { + "name": "HasCloseButton", + "type": "bool" + }, + { + "name": "ResizeBorderHovered", + "type": "signed char" + }, + { + "name": "ResizeBorderHeld", + "type": "signed char" + }, + { + "name": "BeginCount", + "type": "short" + }, + { + "name": "BeginCountPreviousFrame", + "type": "short" + }, + { + "name": "BeginOrderWithinParent", + "type": "short" + }, + { + "name": "BeginOrderWithinContext", + "type": "short" + }, + { + "name": "FocusOrder", + "type": "short" + }, + { + "name": "AutoFitFramesX", + "type": "ImS8" + }, + { + "name": "AutoFitFramesY", + "type": "ImS8" + }, + { + "name": "AutoFitOnlyGrows", + "type": "bool" + }, + { + "name": "AutoPosLastDirection", + "type": "ImGuiDir" + }, + { + "name": "HiddenFramesCanSkipItems", + "type": "ImS8" + }, + { + "name": "HiddenFramesCannotSkipItems", + "type": "ImS8" + }, + { + "name": "HiddenFramesForRenderOnly", + "type": "ImS8" + }, + { + "name": "DisableInputsFrames", + "type": "ImS8" + }, + { + "bitfield": "8", + "name": "SetWindowPosAllowFlags", + "type": "ImGuiCond" + }, + { + "bitfield": "8", + "name": "SetWindowSizeAllowFlags", + "type": "ImGuiCond" + }, + { + "bitfield": "8", + "name": "SetWindowCollapsedAllowFlags", + "type": "ImGuiCond" + }, + { + "bitfield": "8", + "name": "SetWindowDockAllowFlags", + "type": "ImGuiCond" + }, + { + "name": "SetWindowPosVal", + "type": "ImVec2" + }, + { + "name": "SetWindowPosPivot", + "type": "ImVec2" + }, + { + "name": "IDStack", + "template_type": "ImGuiID", + "type": "ImVector_ImGuiID" + }, + { + "name": "DC", + "type": "ImGuiWindowTempData" + }, + { + "name": "OuterRectClipped", + "type": "ImRect" + }, + { + "name": "InnerRect", + "type": "ImRect" + }, + { + "name": "InnerClipRect", + "type": "ImRect" + }, + { + "name": "WorkRect", + "type": "ImRect" + }, + { + "name": "ParentWorkRect", + "type": "ImRect" + }, + { + "name": "ClipRect", + "type": "ImRect" + }, + { + "name": "ContentRegionRect", + "type": "ImRect" + }, + { + "name": "HitTestHoleSize", + "type": "ImVec2ih" + }, + { + "name": "HitTestHoleOffset", + "type": "ImVec2ih" + }, + { + "name": "LastFrameActive", + "type": "int" + }, + { + "name": "LastFrameJustFocused", + "type": "int" + }, + { + "name": "LastTimeActive", + "type": "float" + }, + { + "name": "ItemWidthDefault", + "type": "float" + }, + { + "name": "StateStorage", + "type": "ImGuiStorage" + }, + { + "name": "ColumnsStorage", + "template_type": "ImGuiOldColumns", + "type": "ImVector_ImGuiOldColumns" + }, + { + "name": "FontWindowScale", + "type": "float" + }, + { + "name": "FontDpiScale", + "type": "float" + }, + { + "name": "SettingsOffset", + "type": "int" + }, + { + "name": "DrawList", + "type": "ImDrawList*" + }, + { + "name": "DrawListInst", + "type": "ImDrawList" + }, + { + "name": "ParentWindow", + "type": "ImGuiWindow*" + }, + { + "name": "ParentWindowInBeginStack", + "type": "ImGuiWindow*" + }, + { + "name": "RootWindow", + "type": "ImGuiWindow*" + }, + { + "name": "RootWindowPopupTree", + "type": "ImGuiWindow*" + }, + { + "name": "RootWindowDockTree", + "type": "ImGuiWindow*" + }, + { + "name": "RootWindowForTitleBarHighlight", + "type": "ImGuiWindow*" + }, + { + "name": "RootWindowForNav", + "type": "ImGuiWindow*" + }, + { + "name": "ParentWindowForFocusRoute", + "type": "ImGuiWindow*" + }, + { + "name": "NavLastChildNavWindow", + "type": "ImGuiWindow*" + }, + { + "name": "NavLastIds[ImGuiNavLayer_COUNT]", + "size": 2, + "type": "ImGuiID" + }, + { + "name": "NavRectRel[ImGuiNavLayer_COUNT]", + "size": 2, + "type": "ImRect" + }, + { + "name": "NavPreferredScoringPosRel[ImGuiNavLayer_COUNT]", + "size": 2, + "type": "ImVec2" + }, + { + "name": "NavRootFocusScopeId", + "type": "ImGuiID" + }, + { + "name": "MemoryDrawListIdxCapacity", + "type": "int" + }, + { + "name": "MemoryDrawListVtxCapacity", + "type": "int" + }, + { + "name": "MemoryCompacted", + "type": "bool" + }, + { + "bitfield": "1", + "name": "DockIsActive", + "type": "bool" + }, + { + "bitfield": "1", + "name": "DockNodeIsVisible", + "type": "bool" + }, + { + "bitfield": "1", + "name": "DockTabIsVisible", + "type": "bool" + }, + { + "bitfield": "1", + "name": "DockTabWantClose", + "type": "bool" + }, + { + "name": "DockOrder", + "type": "short" + }, + { + "name": "DockStyle", + "type": "ImGuiWindowDockStyle" + }, + { + "name": "DockNode", + "type": "ImGuiDockNode*" + }, + { + "name": "DockNodeAsHost", + "type": "ImGuiDockNode*" + }, + { + "name": "DockId", + "type": "ImGuiID" + }, + { + "name": "DockTabItemStatusFlags", + "type": "ImGuiItemStatusFlags" + }, + { + "name": "DockTabItemRect", + "type": "ImRect" + } + ], + "ImGuiWindowClass": [ + { + "name": "ClassId", + "type": "ImGuiID" + }, + { + "name": "ParentViewportId", + "type": "ImGuiID" + }, + { + "name": "FocusRouteParentWindowId", + "type": "ImGuiID" + }, + { + "name": "ViewportFlagsOverrideSet", + "type": "ImGuiViewportFlags" + }, + { + "name": "ViewportFlagsOverrideClear", + "type": "ImGuiViewportFlags" + }, + { + "name": "TabItemFlagsOverrideSet", + "type": "ImGuiTabItemFlags" + }, + { + "name": "DockNodeFlagsOverrideSet", + "type": "ImGuiDockNodeFlags" + }, + { + "name": "DockingAlwaysTabBar", + "type": "bool" + }, + { + "name": "DockingAllowUnclassed", + "type": "bool" + } + ], + "ImGuiWindowDockStyle": [ + { + "name": "Colors[ImGuiWindowDockStyleCol_COUNT]", + "size": 8, + "type": "ImU32" + } + ], + "ImGuiWindowSettings": [ + { + "name": "ID", + "type": "ImGuiID" + }, + { + "name": "Pos", + "type": "ImVec2ih" + }, + { + "name": "Size", + "type": "ImVec2ih" + }, + { + "name": "ViewportPos", + "type": "ImVec2ih" + }, + { + "name": "ViewportId", + "type": "ImGuiID" + }, + { + "name": "DockId", + "type": "ImGuiID" + }, + { + "name": "ClassId", + "type": "ImGuiID" + }, + { + "name": "DockOrder", + "type": "short" + }, + { + "name": "Collapsed", + "type": "bool" + }, + { + "name": "IsChild", + "type": "bool" + }, + { + "name": "WantApply", + "type": "bool" + }, + { + "name": "WantDelete", + "type": "bool" + } + ], + "ImGuiWindowStackData": [ + { + "name": "Window", + "type": "ImGuiWindow*" + }, + { + "name": "ParentLastItemDataBackup", + "type": "ImGuiLastItemData" + }, + { + "name": "StackSizesInBegin", + "type": "ImGuiErrorRecoveryState" + }, + { + "name": "DisabledOverrideReenable", + "type": "bool" + } + ], + "ImGuiWindowTempData": [ + { + "name": "CursorPos", + "type": "ImVec2" + }, + { + "name": "CursorPosPrevLine", + "type": "ImVec2" + }, + { + "name": "CursorStartPos", + "type": "ImVec2" + }, + { + "name": "CursorMaxPos", + "type": "ImVec2" + }, + { + "name": "IdealMaxPos", + "type": "ImVec2" + }, + { + "name": "CurrLineSize", + "type": "ImVec2" + }, + { + "name": "PrevLineSize", + "type": "ImVec2" + }, + { + "name": "CurrLineTextBaseOffset", + "type": "float" + }, + { + "name": "PrevLineTextBaseOffset", + "type": "float" + }, + { + "name": "IsSameLine", + "type": "bool" + }, + { + "name": "IsSetPos", + "type": "bool" + }, + { + "name": "Indent", + "type": "ImVec1" + }, + { + "name": "ColumnsOffset", + "type": "ImVec1" + }, + { + "name": "GroupOffset", + "type": "ImVec1" + }, + { + "name": "CursorStartPosLossyness", + "type": "ImVec2" + }, + { + "name": "NavLayerCurrent", + "type": "ImGuiNavLayer" + }, + { + "name": "NavLayersActiveMask", + "type": "short" + }, + { + "name": "NavLayersActiveMaskNext", + "type": "short" + }, + { + "name": "NavIsScrollPushableX", + "type": "bool" + }, + { + "name": "NavHideHighlightOneFrame", + "type": "bool" + }, + { + "name": "NavWindowHasScrollY", + "type": "bool" + }, + { + "name": "MenuBarAppending", + "type": "bool" + }, + { + "name": "MenuBarOffset", + "type": "ImVec2" + }, + { + "name": "MenuColumns", + "type": "ImGuiMenuColumns" + }, + { + "name": "TreeDepth", + "type": "int" + }, + { + "name": "TreeHasStackDataDepthMask", + "type": "ImU32" + }, + { + "name": "ChildWindows", + "template_type": "ImGuiWindow*", + "type": "ImVector_ImGuiWindowPtr" + }, + { + "name": "StateStorage", + "type": "ImGuiStorage*" + }, + { + "name": "CurrentColumns", + "type": "ImGuiOldColumns*" + }, + { + "name": "CurrentTableIdx", + "type": "int" + }, + { + "name": "LayoutType", + "type": "ImGuiLayoutType" + }, + { + "name": "ParentLayoutType", + "type": "ImGuiLayoutType" + }, + { + "name": "ModalDimBgColor", + "type": "ImU32" + }, + { + "name": "ItemWidth", + "type": "float" + }, + { + "name": "TextWrapPos", + "type": "float" + }, + { + "name": "ItemWidthStack", + "template_type": "float", + "type": "ImVector_float" + }, + { + "name": "TextWrapPosStack", + "template_type": "float", + "type": "ImVector_float" + } + ], + "ImRect": [ + { + "name": "Min", + "type": "ImVec2" + }, + { + "name": "Max", + "type": "ImVec2" + } + ], + "ImVec1": [ + { + "name": "x", + "type": "float" + } + ], + "ImVec2": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ], + "ImVec2ih": [ + { + "name": "x", + "type": "short" + }, + { + "name": "y", + "type": "short" + } + ], + "ImVec4": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "w", + "type": "float" + } + ] + }, + "templated_structs": { + "ImBitArray": [ + { + "name": "Storage[(BITCOUNT+31)>>5]", + "type": "ImU32" + } + ], + "ImChunkStream": [ + { + "name": "Buf", + "template_type": "char", + "type": "ImVector_char" + } + ], + "ImPool": [ + { + "name": "Buf", + "type": "ImVector" + }, + { + "name": "Map", + "type": "ImGuiStorage" + }, + { + "name": "FreeIdx", + "type": "ImPoolIdx" + }, + { + "name": "AliveCount", + "type": "ImPoolIdx" + } + ], + "ImSpan": [ + { + "name": "Data", + "type": "T*" + }, + { + "name": "DataEnd", + "type": "T*" + } + ], + "ImSpanAllocator": [ + { + "name": "BasePtr", + "type": "char*" + }, + { + "name": "CurrOff", + "type": "int" + }, + { + "name": "CurrIdx", + "type": "int" + }, + { + "name": "Offsets[CHUNKS]", + "type": "int" + }, + { + "name": "Sizes[CHUNKS]", + "type": "int" + } + ], + "ImVector": [ + { + "name": "Size", + "type": "int" + }, + { + "name": "Capacity", + "type": "int" + }, + { + "name": "Data", + "type": "T*" + } + ] + }, + "templates_done": { + "ImBitArray": { + "ImGuiKey_NamedKey_COUNT, -ImGuiKey_NamedKey_BEGIN": true + }, + "ImChunkStream": { + "ImGuiTableSettings": true, + "ImGuiWindowSettings": true + }, + "ImPool": { + "ImGuiMultiSelectState": true, + "ImGuiTabBar": true, + "ImGuiTable": true + }, + "ImSpan": { + "ImGuiTableCellData": true, + "ImGuiTableColumn": true, + "ImGuiTableColumnIdx": true + }, + "ImVector": { + "ImDrawChannel": true, + "ImDrawCmd": true, + "ImDrawIdx": true, + "ImDrawList*": true, + "ImDrawVert": true, + "ImFont*": true, + "ImFontAtlasCustomRect": true, + "ImFontConfig": true, + "ImFontGlyph": true, + "ImGuiColorMod": true, + "ImGuiContextHook": true, + "ImGuiDockNodeSettings": true, + "ImGuiDockRequest": true, + "ImGuiFocusScopeData": true, + "ImGuiGroupData": true, + "ImGuiID": true, + "ImGuiInputEvent": true, + "ImGuiItemFlags": true, + "ImGuiKeyRoutingData": true, + "ImGuiListClipperData": true, + "ImGuiListClipperRange": true, + "ImGuiMultiSelectState": true, + "ImGuiMultiSelectTempData": true, + "ImGuiOldColumnData": true, + "ImGuiOldColumns": true, + "ImGuiPlatformMonitor": true, + "ImGuiPopupData": true, + "ImGuiPtrOrIndex": true, + "ImGuiSelectionRequest": true, + "ImGuiSettingsHandler": true, + "ImGuiShrinkWidthItem": true, + "ImGuiStackLevelInfo": true, + "ImGuiStoragePair": true, + "ImGuiStyleMod": true, + "ImGuiTabBar": true, + "ImGuiTabItem": true, + "ImGuiTable": true, + "ImGuiTableColumnSortSpecs": true, + "ImGuiTableHeaderData": true, + "ImGuiTableInstanceData": true, + "ImGuiTableTempData": true, + "ImGuiTextRange": true, + "ImGuiTreeNodeStackData": true, + "ImGuiViewport*": true, + "ImGuiViewportP*": true, + "ImGuiWindow*": true, + "ImGuiWindowStackData": true, + "ImTextureID": true, + "ImU32": true, + "ImU8": true, + "ImVec2": true, + "ImVec4": true, + "ImWchar": true, + "char": true, + "const char*": true, + "float": true, + "int": true, + "unsigned char": true + } + }, + "typenames": { + "ImBitArray": "int BITCOUNT, int OFFSET = 0", + "ImChunkStream": "T", + "ImPool": "T", + "ImSpan": "T", + "ImSpanAllocator": "int CHUNKS", + "ImVector": "T" + } } \ No newline at end of file diff --git a/src/ImGui.NET.SampleProgram.XNA/ImGui.NET.SampleProgram.XNA.csproj b/src/ImGui.NET.SampleProgram.XNA/ImGui.NET.SampleProgram.XNA.csproj index 80298dd8..9510bea9 100644 --- a/src/ImGui.NET.SampleProgram.XNA/ImGui.NET.SampleProgram.XNA.csproj +++ b/src/ImGui.NET.SampleProgram.XNA/ImGui.NET.SampleProgram.XNA.csproj @@ -5,7 +5,7 @@ false ImGuiNET.SampleProgram.XNA ImGuiNET.SampleProgram.XNA - net6.0 + net8.0 Exe @@ -20,7 +20,7 @@ - + diff --git a/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs b/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs index 4e8afbb3..04cd24b9 100644 --- a/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs +++ b/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs @@ -36,8 +36,9 @@ public class ImGuiRenderer // Input private int _scrollWheelValue; - - private List _keys = new List(); + private int _horizontalScrollWheelValue; + private readonly float WHEEL_DELTA = 120; + private Keys[] _allKeys = Enum.GetValues(); public ImGuiRenderer(Game game) { @@ -139,40 +140,19 @@ public virtual void AfterLayout() #region Setup & Update /// - /// Maps ImGui keys to XNA keys. We use this later on to tell ImGui what keys were pressed + /// Setup key input event handler. /// protected virtual void SetupInput() { var io = ImGui.GetIO(); - _keys.Add(io.KeyMap[(int)ImGuiKey.Tab] = (int)Keys.Tab); - _keys.Add(io.KeyMap[(int)ImGuiKey.LeftArrow] = (int)Keys.Left); - _keys.Add(io.KeyMap[(int)ImGuiKey.RightArrow] = (int)Keys.Right); - _keys.Add(io.KeyMap[(int)ImGuiKey.UpArrow] = (int)Keys.Up); - _keys.Add(io.KeyMap[(int)ImGuiKey.DownArrow] = (int)Keys.Down); - _keys.Add(io.KeyMap[(int)ImGuiKey.PageUp] = (int)Keys.PageUp); - _keys.Add(io.KeyMap[(int)ImGuiKey.PageDown] = (int)Keys.PageDown); - _keys.Add(io.KeyMap[(int)ImGuiKey.Home] = (int)Keys.Home); - _keys.Add(io.KeyMap[(int)ImGuiKey.End] = (int)Keys.End); - _keys.Add(io.KeyMap[(int)ImGuiKey.Delete] = (int)Keys.Delete); - _keys.Add(io.KeyMap[(int)ImGuiKey.Backspace] = (int)Keys.Back); - _keys.Add(io.KeyMap[(int)ImGuiKey.Enter] = (int)Keys.Enter); - _keys.Add(io.KeyMap[(int)ImGuiKey.Escape] = (int)Keys.Escape); - _keys.Add(io.KeyMap[(int)ImGuiKey.Space] = (int)Keys.Space); - _keys.Add(io.KeyMap[(int)ImGuiKey.A] = (int)Keys.A); - _keys.Add(io.KeyMap[(int)ImGuiKey.C] = (int)Keys.C); - _keys.Add(io.KeyMap[(int)ImGuiKey.V] = (int)Keys.V); - _keys.Add(io.KeyMap[(int)ImGuiKey.X] = (int)Keys.X); - _keys.Add(io.KeyMap[(int)ImGuiKey.Y] = (int)Keys.Y); - _keys.Add(io.KeyMap[(int)ImGuiKey.Z] = (int)Keys.Z); - // MonoGame-specific ////////////////////// _game.Window.TextInput += (s, a) => { if (a.Character == '\t') return; - io.AddInputCharacter(a.Character); }; + /////////////////////////////////////////// // FNA-specific /////////////////////////// @@ -183,8 +163,6 @@ protected virtual void SetupInput() // ImGui.GetIO().AddInputCharacter(c); //}; /////////////////////////////////////////// - - ImGui.GetIO().Fonts.AddFontDefault(); } /// @@ -211,33 +189,98 @@ protected virtual Effect UpdateEffect(Texture2D texture) /// protected virtual void UpdateInput() { + if (!_game.IsActive) return; + var io = ImGui.GetIO(); var mouse = Mouse.GetState(); var keyboard = Keyboard.GetState(); + io.AddMousePosEvent(mouse.X, mouse.Y); + io.AddMouseButtonEvent(0, mouse.LeftButton == ButtonState.Pressed); + io.AddMouseButtonEvent(1, mouse.RightButton == ButtonState.Pressed); + io.AddMouseButtonEvent(2, mouse.MiddleButton == ButtonState.Pressed); + io.AddMouseButtonEvent(3, mouse.XButton1 == ButtonState.Pressed); + io.AddMouseButtonEvent(4, mouse.XButton2 == ButtonState.Pressed); + + io.AddMouseWheelEvent( + (mouse.HorizontalScrollWheelValue - _horizontalScrollWheelValue) / WHEEL_DELTA, + (mouse.ScrollWheelValue - _scrollWheelValue) / WHEEL_DELTA); + _scrollWheelValue = mouse.ScrollWheelValue; + _horizontalScrollWheelValue = mouse.HorizontalScrollWheelValue; - for (int i = 0; i < _keys.Count; i++) + foreach (var key in _allKeys) { - io.KeysDown[_keys[i]] = keyboard.IsKeyDown((Keys)_keys[i]); + if (TryMapKeys(key, out ImGuiKey imguikey)) + { + io.AddKeyEvent(imguikey, keyboard.IsKeyDown(key)); + } } - io.KeyShift = keyboard.IsKeyDown(Keys.LeftShift) || keyboard.IsKeyDown(Keys.RightShift); - io.KeyCtrl = keyboard.IsKeyDown(Keys.LeftControl) || keyboard.IsKeyDown(Keys.RightControl); - io.KeyAlt = keyboard.IsKeyDown(Keys.LeftAlt) || keyboard.IsKeyDown(Keys.RightAlt); - io.KeySuper = keyboard.IsKeyDown(Keys.LeftWindows) || keyboard.IsKeyDown(Keys.RightWindows); - io.DisplaySize = new System.Numerics.Vector2(_graphicsDevice.PresentationParameters.BackBufferWidth, _graphicsDevice.PresentationParameters.BackBufferHeight); io.DisplayFramebufferScale = new System.Numerics.Vector2(1f, 1f); + } - io.MousePos = new System.Numerics.Vector2(mouse.X, mouse.Y); + private bool TryMapKeys(Keys key, out ImGuiKey imguikey) + { + //Special case not handed in the switch... + //If the actual key we put in is "None", return none and true. + //otherwise, return none and false. + if (key == Keys.None) + { + imguikey = ImGuiKey.None; + return true; + } - io.MouseDown[0] = mouse.LeftButton == ButtonState.Pressed; - io.MouseDown[1] = mouse.RightButton == ButtonState.Pressed; - io.MouseDown[2] = mouse.MiddleButton == ButtonState.Pressed; + imguikey = key switch + { + Keys.Back => ImGuiKey.Backspace, + Keys.Tab => ImGuiKey.Tab, + Keys.Enter => ImGuiKey.Enter, + Keys.CapsLock => ImGuiKey.CapsLock, + Keys.Escape => ImGuiKey.Escape, + Keys.Space => ImGuiKey.Space, + Keys.PageUp => ImGuiKey.PageUp, + Keys.PageDown => ImGuiKey.PageDown, + Keys.End => ImGuiKey.End, + Keys.Home => ImGuiKey.Home, + Keys.Left => ImGuiKey.LeftArrow, + Keys.Right => ImGuiKey.RightArrow, + Keys.Up => ImGuiKey.UpArrow, + Keys.Down => ImGuiKey.DownArrow, + Keys.PrintScreen => ImGuiKey.PrintScreen, + Keys.Insert => ImGuiKey.Insert, + Keys.Delete => ImGuiKey.Delete, + >= Keys.D0 and <= Keys.D9 => ImGuiKey._0 + (key - Keys.D0), + >= Keys.A and <= Keys.Z => ImGuiKey.A + (key - Keys.A), + >= Keys.NumPad0 and <= Keys.NumPad9 => ImGuiKey.Keypad0 + (key - Keys.NumPad0), + Keys.Multiply => ImGuiKey.KeypadMultiply, + Keys.Add => ImGuiKey.KeypadAdd, + Keys.Subtract => ImGuiKey.KeypadSubtract, + Keys.Decimal => ImGuiKey.KeypadDecimal, + Keys.Divide => ImGuiKey.KeypadDivide, + >= Keys.F1 and <= Keys.F24 => ImGuiKey.F1 + (key - Keys.F1), + Keys.NumLock => ImGuiKey.NumLock, + Keys.Scroll => ImGuiKey.ScrollLock, + Keys.LeftShift => ImGuiKey.ModShift, + Keys.LeftControl => ImGuiKey.ModCtrl, + Keys.LeftAlt => ImGuiKey.ModAlt, + Keys.OemSemicolon => ImGuiKey.Semicolon, + Keys.OemPlus => ImGuiKey.Equal, + Keys.OemComma => ImGuiKey.Comma, + Keys.OemMinus => ImGuiKey.Minus, + Keys.OemPeriod => ImGuiKey.Period, + Keys.OemQuestion => ImGuiKey.Slash, + Keys.OemTilde => ImGuiKey.GraveAccent, + Keys.OemOpenBrackets => ImGuiKey.LeftBracket, + Keys.OemCloseBrackets => ImGuiKey.RightBracket, + Keys.OemPipe => ImGuiKey.Backslash, + Keys.OemQuotes => ImGuiKey.Apostrophe, + Keys.BrowserBack => ImGuiKey.AppBack, + Keys.BrowserForward => ImGuiKey.AppForward, + _ => ImGuiKey.None, + }; - var scrollDelta = mouse.ScrollWheelValue - _scrollWheelValue; - io.MouseWheel = scrollDelta > 0 ? 1 : scrollDelta < 0 ? -1 : 0; - _scrollWheelValue = mouse.ScrollWheelValue; + return imguikey != ImGuiKey.None; } #endregion Setup & Update @@ -252,6 +295,10 @@ private void RenderDrawData(ImDrawDataPtr drawData) // Setup render state: alpha-blending enabled, no face culling, no depth testing, scissor enabled, vertex/texcoord/color pointers var lastViewport = _graphicsDevice.Viewport; var lastScissorBox = _graphicsDevice.ScissorRectangle; + var lastRasterizer = _graphicsDevice.RasterizerState; + var lastDepthStencil = _graphicsDevice.DepthStencilState; + var lastBlendFactor = _graphicsDevice.BlendFactor; + var lastBlendState = _graphicsDevice.BlendState; _graphicsDevice.BlendFactor = Color.White; _graphicsDevice.BlendState = BlendState.NonPremultiplied; @@ -271,6 +318,10 @@ private void RenderDrawData(ImDrawDataPtr drawData) // Restore modified state _graphicsDevice.Viewport = lastViewport; _graphicsDevice.ScissorRectangle = lastScissorBox; + _graphicsDevice.RasterizerState = lastRasterizer; + _graphicsDevice.DepthStencilState = lastDepthStencil; + _graphicsDevice.BlendState = lastBlendState; + _graphicsDevice.BlendFactor = lastBlendFactor; } private unsafe void UpdateBuffers(ImDrawDataPtr drawData) @@ -305,7 +356,7 @@ private unsafe void UpdateBuffers(ImDrawDataPtr drawData) for (int n = 0; n < drawData.CmdListsCount; n++) { - ImDrawListPtr cmdList = drawData.CmdListsRange[n]; + ImDrawListPtr cmdList = drawData.CmdLists[n]; fixed (void* vtxDstPtr = &_vertexData[vtxOffset * DrawVertDeclaration.Size]) fixed (void* idxDstPtr = &_indexData[idxOffset * sizeof(ushort)]) @@ -333,7 +384,7 @@ private unsafe void RenderCommandLists(ImDrawDataPtr drawData) for (int n = 0; n < drawData.CmdListsCount; n++) { - ImDrawListPtr cmdList = drawData.CmdListsRange[n]; + ImDrawListPtr cmdList = drawData.CmdLists[n]; for (int cmdi = 0; cmdi < cmdList.CmdBuffer.Size; cmdi++) { diff --git a/src/ImGui.NET.SampleProgram/ImGui.NET.SampleProgram.csproj b/src/ImGui.NET.SampleProgram/ImGui.NET.SampleProgram.csproj index 560728dd..2c538251 100644 --- a/src/ImGui.NET.SampleProgram/ImGui.NET.SampleProgram.csproj +++ b/src/ImGui.NET.SampleProgram/ImGui.NET.SampleProgram.csproj @@ -2,15 +2,16 @@ Exe - net6.0 + net8.0 true - - + + + diff --git a/src/ImGui.NET.SampleProgram/ImGuiController.cs b/src/ImGui.NET.SampleProgram/ImGuiController.cs index 30cf867d..47ec3a31 100644 --- a/src/ImGui.NET.SampleProgram/ImGuiController.cs +++ b/src/ImGui.NET.SampleProgram/ImGuiController.cs @@ -59,17 +59,15 @@ public ImGuiController(GraphicsDevice gd, OutputDescription outputDescription, i _windowWidth = width; _windowHeight = height; - IntPtr context = ImGui.CreateContext(); - ImGui.SetCurrentContext(context); - var fonts = ImGui.GetIO().Fonts; - ImGui.GetIO().Fonts.AddFontDefault(); - ImGui.GetIO().BackendFlags |= ImGuiBackendFlags.RendererHasVtxOffset; + ImGui.CreateContext(); + var io = ImGui.GetIO(); + io.BackendFlags |= ImGuiBackendFlags.RendererHasVtxOffset; + io.ConfigFlags |= ImGuiConfigFlags.NavEnableKeyboard | + ImGuiConfigFlags.DockingEnable; + io.Fonts.Flags |= ImFontAtlasFlags.NoBakedLines; CreateDeviceResources(gd, outputDescription); - SetKeyMappings(); - SetPerFrameImGuiData(1f / 60f); - ImGui.NewFrame(); _frameBegun = true; } @@ -328,100 +326,91 @@ private void SetPerFrameImGuiData(float deltaSeconds) io.DeltaTime = deltaSeconds; // DeltaTime is in seconds. } - private void UpdateImGuiInput(InputSnapshot snapshot) + private bool TryMapKey(Key key, out ImGuiKey result) { - ImGuiIOPtr io = ImGui.GetIO(); - - Vector2 mousePosition = snapshot.MousePosition; - - // Determine if any of the mouse buttons were pressed during this snapshot period, even if they are no longer held. - bool leftPressed = false; - bool middlePressed = false; - bool rightPressed = false; - foreach (MouseEvent me in snapshot.MouseEvents) + ImGuiKey KeyToImGuiKeyShortcut(Key keyToConvert, Key startKey1, ImGuiKey startKey2) { - if (me.Down) - { - switch (me.MouseButton) - { - case MouseButton.Left: - leftPressed = true; - break; - case MouseButton.Middle: - middlePressed = true; - break; - case MouseButton.Right: - rightPressed = true; - break; - } - } + int changeFromStart1 = (int)keyToConvert - (int)startKey1; + return startKey2 + changeFromStart1; } - io.MouseDown[0] = leftPressed || snapshot.IsMouseDown(MouseButton.Left); - io.MouseDown[1] = rightPressed || snapshot.IsMouseDown(MouseButton.Right); - io.MouseDown[2] = middlePressed || snapshot.IsMouseDown(MouseButton.Middle); - io.MousePos = mousePosition; - io.MouseWheel = snapshot.WheelDelta; + result = key switch + { + >= Key.F1 and <= Key.F24 => KeyToImGuiKeyShortcut(key, Key.F1, ImGuiKey.F1), + >= Key.Keypad0 and <= Key.Keypad9 => KeyToImGuiKeyShortcut(key, Key.Keypad0, ImGuiKey.Keypad0), + >= Key.A and <= Key.Z => KeyToImGuiKeyShortcut(key, Key.A, ImGuiKey.A), + >= Key.Number0 and <= Key.Number9 => KeyToImGuiKeyShortcut(key, Key.Number0, ImGuiKey._0), + Key.ShiftLeft or Key.ShiftRight => ImGuiKey.ModShift, + Key.ControlLeft or Key.ControlRight => ImGuiKey.ModCtrl, + Key.AltLeft or Key.AltRight => ImGuiKey.ModAlt, + Key.WinLeft or Key.WinRight => ImGuiKey.ModSuper, + Key.Menu => ImGuiKey.Menu, + Key.Up => ImGuiKey.UpArrow, + Key.Down => ImGuiKey.DownArrow, + Key.Left => ImGuiKey.LeftArrow, + Key.Right => ImGuiKey.RightArrow, + Key.Enter => ImGuiKey.Enter, + Key.Escape => ImGuiKey.Escape, + Key.Space => ImGuiKey.Space, + Key.Tab => ImGuiKey.Tab, + Key.BackSpace => ImGuiKey.Backspace, + Key.Insert => ImGuiKey.Insert, + Key.Delete => ImGuiKey.Delete, + Key.PageUp => ImGuiKey.PageUp, + Key.PageDown => ImGuiKey.PageDown, + Key.Home => ImGuiKey.Home, + Key.End => ImGuiKey.End, + Key.CapsLock => ImGuiKey.CapsLock, + Key.ScrollLock => ImGuiKey.ScrollLock, + Key.PrintScreen => ImGuiKey.PrintScreen, + Key.Pause => ImGuiKey.Pause, + Key.NumLock => ImGuiKey.NumLock, + Key.KeypadDivide => ImGuiKey.KeypadDivide, + Key.KeypadMultiply => ImGuiKey.KeypadMultiply, + Key.KeypadSubtract => ImGuiKey.KeypadSubtract, + Key.KeypadAdd => ImGuiKey.KeypadAdd, + Key.KeypadDecimal => ImGuiKey.KeypadDecimal, + Key.KeypadEnter => ImGuiKey.KeypadEnter, + Key.Tilde => ImGuiKey.GraveAccent, + Key.Minus => ImGuiKey.Minus, + Key.Plus => ImGuiKey.Equal, + Key.BracketLeft => ImGuiKey.LeftBracket, + Key.BracketRight => ImGuiKey.RightBracket, + Key.Semicolon => ImGuiKey.Semicolon, + Key.Quote => ImGuiKey.Apostrophe, + Key.Comma => ImGuiKey.Comma, + Key.Period => ImGuiKey.Period, + Key.Slash => ImGuiKey.Slash, + Key.BackSlash or Key.NonUSBackSlash => ImGuiKey.Backslash, + _ => ImGuiKey.None + }; + + return result != ImGuiKey.None; + } - IReadOnlyList keyCharPresses = snapshot.KeyCharPresses; - for (int i = 0; i < keyCharPresses.Count; i++) + private void UpdateImGuiInput(InputSnapshot snapshot) + { + ImGuiIOPtr io = ImGui.GetIO(); + io.AddMousePosEvent(snapshot.MousePosition.X, snapshot.MousePosition.Y); + io.AddMouseButtonEvent(0, snapshot.IsMouseDown(MouseButton.Left)); + io.AddMouseButtonEvent(1, snapshot.IsMouseDown(MouseButton.Right)); + io.AddMouseButtonEvent(2, snapshot.IsMouseDown(MouseButton.Middle)); + io.AddMouseButtonEvent(3, snapshot.IsMouseDown(MouseButton.Button1)); + io.AddMouseButtonEvent(4, snapshot.IsMouseDown(MouseButton.Button2)); + io.AddMouseWheelEvent(0f, snapshot.WheelDelta); + for (int i = 0; i < snapshot.KeyCharPresses.Count; i++) { - char c = keyCharPresses[i]; - io.AddInputCharacter(c); + io.AddInputCharacter(snapshot.KeyCharPresses[i]); } - IReadOnlyList keyEvents = snapshot.KeyEvents; - for (int i = 0; i < keyEvents.Count; i++) + for (int i = 0; i < snapshot.KeyEvents.Count; i++) { - KeyEvent keyEvent = keyEvents[i]; - io.KeysDown[(int)keyEvent.Key] = keyEvent.Down; - if (keyEvent.Key == Key.ControlLeft) - { - _controlDown = keyEvent.Down; - } - if (keyEvent.Key == Key.ShiftLeft) - { - _shiftDown = keyEvent.Down; - } - if (keyEvent.Key == Key.AltLeft) + KeyEvent keyEvent = snapshot.KeyEvents[i]; + if (TryMapKey(keyEvent.Key, out ImGuiKey imguikey)) { - _altDown = keyEvent.Down; - } - if (keyEvent.Key == Key.WinLeft) - { - _winKeyDown = keyEvent.Down; + io.AddKeyEvent(imguikey, keyEvent.Down); } } - - io.KeyCtrl = _controlDown; - io.KeyAlt = _altDown; - io.KeyShift = _shiftDown; - io.KeySuper = _winKeyDown; - } - - private static void SetKeyMappings() - { - ImGuiIOPtr io = ImGui.GetIO(); - io.KeyMap[(int)ImGuiKey.Tab] = (int)Key.Tab; - io.KeyMap[(int)ImGuiKey.LeftArrow] = (int)Key.Left; - io.KeyMap[(int)ImGuiKey.RightArrow] = (int)Key.Right; - io.KeyMap[(int)ImGuiKey.UpArrow] = (int)Key.Up; - io.KeyMap[(int)ImGuiKey.DownArrow] = (int)Key.Down; - io.KeyMap[(int)ImGuiKey.PageUp] = (int)Key.PageUp; - io.KeyMap[(int)ImGuiKey.PageDown] = (int)Key.PageDown; - io.KeyMap[(int)ImGuiKey.Home] = (int)Key.Home; - io.KeyMap[(int)ImGuiKey.End] = (int)Key.End; - io.KeyMap[(int)ImGuiKey.Delete] = (int)Key.Delete; - io.KeyMap[(int)ImGuiKey.Backspace] = (int)Key.BackSpace; - io.KeyMap[(int)ImGuiKey.Enter] = (int)Key.Enter; - io.KeyMap[(int)ImGuiKey.Escape] = (int)Key.Escape; - io.KeyMap[(int)ImGuiKey.Space] = (int)Key.Space; - io.KeyMap[(int)ImGuiKey.A] = (int)Key.A; - io.KeyMap[(int)ImGuiKey.C] = (int)Key.C; - io.KeyMap[(int)ImGuiKey.V] = (int)Key.V; - io.KeyMap[(int)ImGuiKey.X] = (int)Key.X; - io.KeyMap[(int)ImGuiKey.Y] = (int)Key.Y; - io.KeyMap[(int)ImGuiKey.Z] = (int)Key.Z; } private void RenderImDrawData(ImDrawDataPtr draw_data, GraphicsDevice gd, CommandList cl) @@ -450,7 +439,7 @@ private void RenderImDrawData(ImDrawDataPtr draw_data, GraphicsDevice gd, Comman for (int i = 0; i < draw_data.CmdListsCount; i++) { - ImDrawListPtr cmd_list = draw_data.CmdListsRange[i]; + ImDrawListPtr cmd_list = draw_data.CmdLists[i]; cl.UpdateBuffer( _vertexBuffer, @@ -492,7 +481,7 @@ private void RenderImDrawData(ImDrawDataPtr draw_data, GraphicsDevice gd, Comman int idx_offset = 0; for (int n = 0; n < draw_data.CmdListsCount; n++) { - ImDrawListPtr cmd_list = draw_data.CmdListsRange[n]; + ImDrawListPtr cmd_list = draw_data.CmdLists[n]; for (int cmd_i = 0; cmd_i < cmd_list.CmdBuffer.Size; cmd_i++) { ImDrawCmdPtr pcmd = cmd_list.CmdBuffer[cmd_i]; diff --git a/src/ImGui.NET.SampleProgram/Program.cs b/src/ImGui.NET.SampleProgram/Program.cs index 8e1ae8d7..2f85865c 100644 --- a/src/ImGui.NET.SampleProgram/Program.cs +++ b/src/ImGui.NET.SampleProgram/Program.cs @@ -1,7 +1,10 @@ using System; +using System.Diagnostics; using System.Linq; using System.Numerics; using ImPlotNET; +using System.Runtime.CompilerServices; +using TestDotNetStandardLib; using Veldrid; using Veldrid.Sdl2; using Veldrid.StartupUtilities; @@ -51,12 +54,16 @@ static void Main(string[] args) Random random = new Random(); _memoryEditorData = Enumerable.Range(0, 1024).Select(i => (byte)random.Next(255)).ToArray(); + var stopwatch = Stopwatch.StartNew(); + float deltaTime = 0f; // Main application loop while (_window.Exists) { + deltaTime = stopwatch.ElapsedTicks / (float)Stopwatch.Frequency; + stopwatch.Restart(); InputSnapshot snapshot = _window.PumpEvents(); if (!_window.Exists) { break; } - _controller.Update(1f / 60f, snapshot); // Feed the input events to our ImGui controller, which passes them through to ImGui. + _controller.Update(deltaTime, snapshot); // Feed the input events to our ImGui controller, which passes them through to ImGui. SubmitUI(); @@ -82,8 +89,10 @@ private static unsafe void SubmitUI() // https://github.com/ocornut/imgui/blob/master/examples/example_win32_directx11/main.cpp#L172 // 1. Show a simple window. - // Tip: if we don't call ImGui.BeginWindow()/ImGui.EndWindow() the widgets automatically appears in a window called "Debug". + // Tip: if we don't call ImGui.Begin(string) / ImGui.End() the widgets automatically appears in a window called "Debug". { + ImGui.Text(""); + ImGui.Text(string.Empty); ImGui.Text("Hello, world!"); // Display some text (you can use a format string too) ImGui.SliderFloat("float", ref _f, 0, 1, _f.ToString("0.000")); // Edit 1 float using a slider from 0.0f to 1.0f //ImGui.ColorEdit3("clear color", ref _clearColor); // Edit 3 floats representing a color @@ -160,9 +169,9 @@ private static unsafe void SubmitUI() if ((s_tab_bar_flags & (uint)ImGuiTabBarFlags.FittingPolicyMask) == 0) s_tab_bar_flags |= (uint)ImGuiTabBarFlags.FittingPolicyDefault; if (ImGui.CheckboxFlags("ImGuiTabBarFlags_FittingPolicyResizeDown", ref s_tab_bar_flags, (uint)ImGuiTabBarFlags.FittingPolicyResizeDown)) - s_tab_bar_flags &= ~((uint)ImGuiTabBarFlags.FittingPolicyMask ^ (uint)ImGuiTabBarFlags.FittingPolicyResizeDown); + s_tab_bar_flags &= ~((uint)ImGuiTabBarFlags.FittingPolicyMask ^ (uint)ImGuiTabBarFlags.FittingPolicyResizeDown); if (ImGui.CheckboxFlags("ImGuiTabBarFlags_FittingPolicyScroll", ref s_tab_bar_flags, (uint)ImGuiTabBarFlags.FittingPolicyScroll)) - s_tab_bar_flags &= ~((uint)ImGuiTabBarFlags.FittingPolicyMask ^ (uint)ImGuiTabBarFlags.FittingPolicyScroll); + s_tab_bar_flags &= ~((uint)ImGuiTabBarFlags.FittingPolicyMask ^ (uint)ImGuiTabBarFlags.FittingPolicyScroll); // Tab Bar string[] names = { "Artichoke", "Beetroot", "Celery", "Daikon" }; @@ -200,6 +209,28 @@ private static unsafe void SubmitUI() ImGui.Text("Memory editor currently supported."); // _memoryEditor.Draw("Memory Editor", _memoryEditorData, _memoryEditorData.Length); } + + // ReadOnlySpan and .NET Standard 2.0 tests + TestStringParameterOnDotNetStandard.Text(); // String overloads should always be available. + + // On .NET Standard 2.1 or greater, you can use ReadOnlySpan instead of string to prevent allocations. + long allocBytesStringStart = GC.GetAllocatedBytesForCurrentThread(); + ImGui.Text($"Hello, world {Random.Shared.Next(100)}!"); + long allocBytesStringEnd = GC.GetAllocatedBytesForCurrentThread() - allocBytesStringStart; + Console.WriteLine("GC (string): " + allocBytesStringEnd); + + long allocBytesSpanStart = GC.GetAllocatedBytesForCurrentThread(); + ImGui.Text($"Hello, world {Random.Shared.Next(100)}!".AsSpan()); // Note that this call will STILL allocate memory due to string interpolation, but you can prevent that from happening by using an InterpolatedStringHandler. + long allocBytesSpanEnd = GC.GetAllocatedBytesForCurrentThread() - allocBytesSpanStart; + Console.WriteLine("GC (span): " + allocBytesSpanEnd); + + ImGui.Text("Empty span:"); + ImGui.SameLine(); + ImGui.GetWindowDrawList().AddText(ImGui.GetCursorScreenPos(), uint.MaxValue, ReadOnlySpan.Empty); + ImGui.NewLine(); + ImGui.GetWindowDrawList().AddText(ImGui.GetCursorScreenPos(), uint.MaxValue, $"{ImGui.CalcTextSize("h")}"); + ImGui.NewLine(); + ImGui.TextUnformatted("TextUnformatted now passes end ptr but isn't cut off"); } } } diff --git a/src/ImGui.NET.sln b/src/ImGui.NET.sln index 4ab8cef2..ed15103c 100644 --- a/src/ImGui.NET.sln +++ b/src/ImGui.NET.sln @@ -12,10 +12,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeGenerator", "CodeGenera EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImPlot.NET", "ImPlot.NET\ImPlot.NET.csproj", "{817A9820-E750-43AB-B89E-FD51E58ACBF4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "imnodes.NET", "imnodes.NET\imnodes.NET.csproj", "{2786BF48-AE57-44EE-9E28-401AE88E972D}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImNodes.NET", "ImNodes.NET\ImNodes.NET.csproj", "{2786BF48-AE57-44EE-9E28-401AE88E972D}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImGuizmo.NET", "ImGuizmo.NET\ImGuizmo.NET.csproj", "{760568AB-DCC9-443E-ADFA-2B06B2E2B421}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestDotNetStandardLib", "TestDotNetStandardLib\TestDotNetStandardLib.csproj", "{867D8763-15A2-40E4-AAFD-43B77AC52154}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -110,6 +112,18 @@ Global {760568AB-DCC9-443E-ADFA-2B06B2E2B421}.Release|x64.Build.0 = Release|Any CPU {760568AB-DCC9-443E-ADFA-2B06B2E2B421}.Release|x86.ActiveCfg = Release|Any CPU {760568AB-DCC9-443E-ADFA-2B06B2E2B421}.Release|x86.Build.0 = Release|Any CPU + {867D8763-15A2-40E4-AAFD-43B77AC52154}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {867D8763-15A2-40E4-AAFD-43B77AC52154}.Debug|Any CPU.Build.0 = Debug|Any CPU + {867D8763-15A2-40E4-AAFD-43B77AC52154}.Debug|x64.ActiveCfg = Debug|Any CPU + {867D8763-15A2-40E4-AAFD-43B77AC52154}.Debug|x64.Build.0 = Debug|Any CPU + {867D8763-15A2-40E4-AAFD-43B77AC52154}.Debug|x86.ActiveCfg = Debug|Any CPU + {867D8763-15A2-40E4-AAFD-43B77AC52154}.Debug|x86.Build.0 = Debug|Any CPU + {867D8763-15A2-40E4-AAFD-43B77AC52154}.Release|Any CPU.ActiveCfg = Release|Any CPU + {867D8763-15A2-40E4-AAFD-43B77AC52154}.Release|Any CPU.Build.0 = Release|Any CPU + {867D8763-15A2-40E4-AAFD-43B77AC52154}.Release|x64.ActiveCfg = Release|Any CPU + {867D8763-15A2-40E4-AAFD-43B77AC52154}.Release|x64.Build.0 = Release|Any CPU + {867D8763-15A2-40E4-AAFD-43B77AC52154}.Release|x86.ActiveCfg = Release|Any CPU + {867D8763-15A2-40E4-AAFD-43B77AC52154}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/ImGui.NET/Generated/ImDrawCmd.gen.cs b/src/ImGui.NET/Generated/ImDrawCmd.gen.cs index 344d9053..1b24aeef 100644 --- a/src/ImGui.NET/Generated/ImDrawCmd.gen.cs +++ b/src/ImGui.NET/Generated/ImDrawCmd.gen.cs @@ -14,6 +14,8 @@ public unsafe partial struct ImDrawCmd public uint ElemCount; public IntPtr UserCallback; public void* UserCallbackData; + public int UserCallbackDataSize; + public int UserCallbackDataOffset; } public unsafe partial struct ImDrawCmdPtr { @@ -30,6 +32,8 @@ public unsafe partial struct ImDrawCmdPtr public ref uint ElemCount => ref Unsafe.AsRef(&NativePtr->ElemCount); public ref IntPtr UserCallback => ref Unsafe.AsRef(&NativePtr->UserCallback); public IntPtr UserCallbackData { get => (IntPtr)NativePtr->UserCallbackData; set => NativePtr->UserCallbackData = (void*)value; } + public ref int UserCallbackDataSize => ref Unsafe.AsRef(&NativePtr->UserCallbackDataSize); + public ref int UserCallbackDataOffset => ref Unsafe.AsRef(&NativePtr->UserCallbackDataOffset); public void Destroy() { ImGuiNative.ImDrawCmd_destroy((ImDrawCmd*)(NativePtr)); diff --git a/src/ImGui.NET/Generated/ImDrawData.gen.cs b/src/ImGui.NET/Generated/ImDrawData.gen.cs index e164f575..4ea932eb 100644 --- a/src/ImGui.NET/Generated/ImDrawData.gen.cs +++ b/src/ImGui.NET/Generated/ImDrawData.gen.cs @@ -11,7 +11,7 @@ public unsafe partial struct ImDrawData public int CmdListsCount; public int TotalIdxCount; public int TotalVtxCount; - public ImDrawList** CmdLists; + public ImVector CmdLists; public Vector2 DisplayPos; public Vector2 DisplaySize; public Vector2 FramebufferScale; @@ -29,11 +29,16 @@ public unsafe partial struct ImDrawDataPtr public ref int CmdListsCount => ref Unsafe.AsRef(&NativePtr->CmdListsCount); public ref int TotalIdxCount => ref Unsafe.AsRef(&NativePtr->TotalIdxCount); public ref int TotalVtxCount => ref Unsafe.AsRef(&NativePtr->TotalVtxCount); - public IntPtr CmdLists { get => (IntPtr)NativePtr->CmdLists; set => NativePtr->CmdLists = (ImDrawList**)value; } + public ImVector CmdLists => new ImVector(NativePtr->CmdLists); public ref Vector2 DisplayPos => ref Unsafe.AsRef(&NativePtr->DisplayPos); public ref Vector2 DisplaySize => ref Unsafe.AsRef(&NativePtr->DisplaySize); public ref Vector2 FramebufferScale => ref Unsafe.AsRef(&NativePtr->FramebufferScale); public ImGuiViewportPtr OwnerViewport => new ImGuiViewportPtr(NativePtr->OwnerViewport); + public void AddDrawList(ImDrawListPtr draw_list) + { + ImDrawList* native_draw_list = draw_list.NativePtr; + ImGuiNative.ImDrawData_AddDrawList((ImDrawData*)(NativePtr), native_draw_list); + } public void Clear() { ImGuiNative.ImDrawData_Clear((ImDrawData*)(NativePtr)); diff --git a/src/ImGui.NET/Generated/ImDrawList.gen.cs b/src/ImGui.NET/Generated/ImDrawList.gen.cs index 7a0f70e9..fd7ad7d7 100644 --- a/src/ImGui.NET/Generated/ImDrawList.gen.cs +++ b/src/ImGui.NET/Generated/ImDrawList.gen.cs @@ -13,15 +13,16 @@ public unsafe partial struct ImDrawList public ImDrawListFlags Flags; public uint _VtxCurrentIdx; public IntPtr _Data; - public byte* _OwnerName; public ImDrawVert* _VtxWritePtr; public ushort* _IdxWritePtr; - public ImVector _ClipRectStack; - public ImVector _TextureIdStack; public ImVector _Path; public ImDrawCmdHeader _CmdHeader; public ImDrawListSplitter _Splitter; + public ImVector _ClipRectStack; + public ImVector _TextureIdStack; + public ImVector _CallbacksDataBuf; public float _FringeScale; + public byte* _OwnerName; } public unsafe partial struct ImDrawListPtr { @@ -37,15 +38,16 @@ public unsafe partial struct ImDrawListPtr public ref ImDrawListFlags Flags => ref Unsafe.AsRef(&NativePtr->Flags); public ref uint _VtxCurrentIdx => ref Unsafe.AsRef(&NativePtr->_VtxCurrentIdx); public ref IntPtr _Data => ref Unsafe.AsRef(&NativePtr->_Data); - public NullTerminatedString _OwnerName => new NullTerminatedString(NativePtr->_OwnerName); public ImDrawVertPtr _VtxWritePtr => new ImDrawVertPtr(NativePtr->_VtxWritePtr); public IntPtr _IdxWritePtr { get => (IntPtr)NativePtr->_IdxWritePtr; set => NativePtr->_IdxWritePtr = (ushort*)value; } - public ImVector _ClipRectStack => new ImVector(NativePtr->_ClipRectStack); - public ImVector _TextureIdStack => new ImVector(NativePtr->_TextureIdStack); public ImVector _Path => new ImVector(NativePtr->_Path); public ref ImDrawCmdHeader _CmdHeader => ref Unsafe.AsRef(&NativePtr->_CmdHeader); public ref ImDrawListSplitter _Splitter => ref Unsafe.AsRef(&NativePtr->_Splitter); + public ImVector _ClipRectStack => new ImVector(NativePtr->_ClipRectStack); + public ImVector _TextureIdStack => new ImVector(NativePtr->_TextureIdStack); + public ImVector _CallbacksDataBuf => new ImVector(NativePtr->_CallbacksDataBuf); public ref float _FringeScale => ref Unsafe.AsRef(&NativePtr->_FringeScale); + public NullTerminatedString _OwnerName => new NullTerminatedString(NativePtr->_OwnerName); public int _CalcCircleAutoSegmentCount(float radius) { int ret = ImGuiNative.ImDrawList__CalcCircleAutoSegmentCount((ImDrawList*)(NativePtr), radius); @@ -83,6 +85,10 @@ public void _ResetForNewFrame() { ImGuiNative.ImDrawList__ResetForNewFrame((ImDrawList*)(NativePtr)); } + public void _SetTextureID(IntPtr texture_id) + { + ImGuiNative.ImDrawList__SetTextureID((ImDrawList*)(NativePtr), texture_id); + } public void _TryMergeDrawCmds() { ImGuiNative.ImDrawList__TryMergeDrawCmds((ImDrawList*)(NativePtr)); @@ -105,10 +111,16 @@ public void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, flo { ImGuiNative.ImDrawList_AddBezierQuadratic((ImDrawList*)(NativePtr), p1, p2, p3, col, thickness, num_segments); } - public void AddCallback(IntPtr callback, IntPtr callback_data) + public void AddCallback(IntPtr callback, IntPtr userdata) { - void* native_callback_data = (void*)callback_data.ToPointer(); - ImGuiNative.ImDrawList_AddCallback((ImDrawList*)(NativePtr), callback, native_callback_data); + void* native_userdata = (void*)userdata.ToPointer(); + uint userdata_size = 0; + ImGuiNative.ImDrawList_AddCallback((ImDrawList*)(NativePtr), callback, native_userdata, userdata_size); + } + public void AddCallback(IntPtr callback, IntPtr userdata, uint userdata_size) + { + void* native_userdata = (void*)userdata.ToPointer(); + ImGuiNative.ImDrawList_AddCallback((ImDrawList*)(NativePtr), callback, native_userdata, userdata_size); } public void AddCircle(Vector2 center, float radius, uint col) { @@ -134,6 +146,13 @@ public void AddCircleFilled(Vector2 center, float radius, uint col, int num_segm { ImGuiNative.ImDrawList_AddCircleFilled((ImDrawList*)(NativePtr), center, radius, col, num_segments); } + public void AddConcavePolyFilled(ref Vector2 points, int num_points, uint col) + { + fixed (Vector2* native_points = &points) + { + ImGuiNative.ImDrawList_AddConcavePolyFilled((ImDrawList*)(NativePtr), native_points, num_points, col); + } + } public void AddConvexPolyFilled(ref Vector2 points, int num_points, uint col) { fixed (Vector2* native_points = &points) @@ -145,6 +164,43 @@ public void AddDrawCmd() { ImGuiNative.ImDrawList_AddDrawCmd((ImDrawList*)(NativePtr)); } + public void AddEllipse(Vector2 center, Vector2 radius, uint col) + { + float rot = 0.0f; + int num_segments = 0; + float thickness = 1.0f; + ImGuiNative.ImDrawList_AddEllipse((ImDrawList*)(NativePtr), center, radius, col, rot, num_segments, thickness); + } + public void AddEllipse(Vector2 center, Vector2 radius, uint col, float rot) + { + int num_segments = 0; + float thickness = 1.0f; + ImGuiNative.ImDrawList_AddEllipse((ImDrawList*)(NativePtr), center, radius, col, rot, num_segments, thickness); + } + public void AddEllipse(Vector2 center, Vector2 radius, uint col, float rot, int num_segments) + { + float thickness = 1.0f; + ImGuiNative.ImDrawList_AddEllipse((ImDrawList*)(NativePtr), center, radius, col, rot, num_segments, thickness); + } + public void AddEllipse(Vector2 center, Vector2 radius, uint col, float rot, int num_segments, float thickness) + { + ImGuiNative.ImDrawList_AddEllipse((ImDrawList*)(NativePtr), center, radius, col, rot, num_segments, thickness); + } + public void AddEllipseFilled(Vector2 center, Vector2 radius, uint col) + { + float rot = 0.0f; + int num_segments = 0; + ImGuiNative.ImDrawList_AddEllipseFilled((ImDrawList*)(NativePtr), center, radius, col, rot, num_segments); + } + public void AddEllipseFilled(Vector2 center, Vector2 radius, uint col, float rot) + { + int num_segments = 0; + ImGuiNative.ImDrawList_AddEllipseFilled((ImDrawList*)(NativePtr), center, radius, col, rot, num_segments); + } + public void AddEllipseFilled(Vector2 center, Vector2 radius, uint col, float rot, int num_segments) + { + ImGuiNative.ImDrawList_AddEllipseFilled((ImDrawList*)(NativePtr), center, radius, col, rot, num_segments); + } public void AddImage(IntPtr user_texture_id, Vector2 p_min, Vector2 p_max) { Vector2 uv_min = new Vector2(); @@ -298,6 +354,208 @@ public void AddRectFilledMultiColor(Vector2 p_min, Vector2 p_max, uint col_upr_l { ImGuiNative.ImDrawList_AddRectFilledMultiColor((ImDrawList*)(NativePtr), p_min, p_max, col_upr_left, col_upr_right, col_bot_right, col_bot_left); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public void AddText(Vector2 pos, uint col, ReadOnlySpan text_begin) + { + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + ImGuiNative.ImDrawList_AddText_Vec2((ImDrawList*)(NativePtr), pos, col, native_text_begin, native_text_begin+text_begin_byteCount); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + } +#endif + public void AddText(Vector2 pos, uint col, string text_begin) + { + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + ImGuiNative.ImDrawList_AddText_Vec2((ImDrawList*)(NativePtr), pos, col, native_text_begin, native_text_begin+text_begin_byteCount); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public void AddText(ImFontPtr font, float font_size, Vector2 pos, uint col, ReadOnlySpan text_begin) + { + ImFont* native_font = font.NativePtr; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + float wrap_width = 0.0f; + Vector4* cpu_fine_clip_rect = null; + ImGuiNative.ImDrawList_AddText_FontPtr((ImDrawList*)(NativePtr), native_font, font_size, pos, col, native_text_begin, native_text_begin+text_begin_byteCount, wrap_width, cpu_fine_clip_rect); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + } +#endif + public void AddText(ImFontPtr font, float font_size, Vector2 pos, uint col, string text_begin) + { + ImFont* native_font = font.NativePtr; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + float wrap_width = 0.0f; + Vector4* cpu_fine_clip_rect = null; + ImGuiNative.ImDrawList_AddText_FontPtr((ImDrawList*)(NativePtr), native_font, font_size, pos, col, native_text_begin, native_text_begin+text_begin_byteCount, wrap_width, cpu_fine_clip_rect); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public void AddText(ImFontPtr font, float font_size, Vector2 pos, uint col, ReadOnlySpan text_begin, float wrap_width) + { + ImFont* native_font = font.NativePtr; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + Vector4* cpu_fine_clip_rect = null; + ImGuiNative.ImDrawList_AddText_FontPtr((ImDrawList*)(NativePtr), native_font, font_size, pos, col, native_text_begin, native_text_begin+text_begin_byteCount, wrap_width, cpu_fine_clip_rect); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + } +#endif + public void AddText(ImFontPtr font, float font_size, Vector2 pos, uint col, string text_begin, float wrap_width) + { + ImFont* native_font = font.NativePtr; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + Vector4* cpu_fine_clip_rect = null; + ImGuiNative.ImDrawList_AddText_FontPtr((ImDrawList*)(NativePtr), native_font, font_size, pos, col, native_text_begin, native_text_begin+text_begin_byteCount, wrap_width, cpu_fine_clip_rect); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public void AddText(ImFontPtr font, float font_size, Vector2 pos, uint col, ReadOnlySpan text_begin, float wrap_width, ref Vector4 cpu_fine_clip_rect) + { + ImFont* native_font = font.NativePtr; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + fixed (Vector4* native_cpu_fine_clip_rect = &cpu_fine_clip_rect) + { + ImGuiNative.ImDrawList_AddText_FontPtr((ImDrawList*)(NativePtr), native_font, font_size, pos, col, native_text_begin, native_text_begin+text_begin_byteCount, wrap_width, native_cpu_fine_clip_rect); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + } + } +#endif + public void AddText(ImFontPtr font, float font_size, Vector2 pos, uint col, string text_begin, float wrap_width, ref Vector4 cpu_fine_clip_rect) + { + ImFont* native_font = font.NativePtr; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + fixed (Vector4* native_cpu_fine_clip_rect = &cpu_fine_clip_rect) + { + ImGuiNative.ImDrawList_AddText_FontPtr((ImDrawList*)(NativePtr), native_font, font_size, pos, col, native_text_begin, native_text_begin+text_begin_byteCount, wrap_width, native_cpu_fine_clip_rect); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + } + } public void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col) { float thickness = 1.0f; @@ -379,6 +637,19 @@ public void PathClear() { ImGuiNative.ImDrawList_PathClear((ImDrawList*)(NativePtr)); } + public void PathEllipticalArcTo(Vector2 center, Vector2 radius, float rot, float a_min, float a_max) + { + int num_segments = 0; + ImGuiNative.ImDrawList_PathEllipticalArcTo((ImDrawList*)(NativePtr), center, radius, rot, a_min, a_max, num_segments); + } + public void PathEllipticalArcTo(Vector2 center, Vector2 radius, float rot, float a_min, float a_max, int num_segments) + { + ImGuiNative.ImDrawList_PathEllipticalArcTo((ImDrawList*)(NativePtr), center, radius, rot, a_min, a_max, num_segments); + } + public void PathFillConcave(uint col) + { + ImGuiNative.ImDrawList_PathFillConcave((ImDrawList*)(NativePtr), col); + } public void PathFillConvex(uint col) { ImGuiNative.ImDrawList_PathFillConvex((ImDrawList*)(NativePtr), col); diff --git a/src/ImGui.NET/Generated/ImFont.gen.cs b/src/ImGui.NET/Generated/ImFont.gen.cs index a505ab3d..ded8d7a5 100644 --- a/src/ImGui.NET/Generated/ImFont.gen.cs +++ b/src/ImGui.NET/Generated/ImFont.gen.cs @@ -16,9 +16,11 @@ public unsafe partial struct ImFont public ImFontAtlas* ContainerAtlas; public ImFontConfig* ConfigData; public short ConfigDataCount; - public ushort FallbackChar; + public short EllipsisCharCount; public ushort EllipsisChar; - public ushort DotChar; + public ushort FallbackChar; + public float EllipsisWidth; + public float EllipsisCharStep; public byte DirtyLookupTables; public float Scale; public float Ascent; @@ -43,9 +45,11 @@ public unsafe partial struct ImFontPtr public ImFontAtlasPtr ContainerAtlas => new ImFontAtlasPtr(NativePtr->ContainerAtlas); public ImFontConfigPtr ConfigData => new ImFontConfigPtr(NativePtr->ConfigData); public ref short ConfigDataCount => ref Unsafe.AsRef(&NativePtr->ConfigDataCount); - public ref ushort FallbackChar => ref Unsafe.AsRef(&NativePtr->FallbackChar); + public ref short EllipsisCharCount => ref Unsafe.AsRef(&NativePtr->EllipsisCharCount); public ref ushort EllipsisChar => ref Unsafe.AsRef(&NativePtr->EllipsisChar); - public ref ushort DotChar => ref Unsafe.AsRef(&NativePtr->DotChar); + public ref ushort FallbackChar => ref Unsafe.AsRef(&NativePtr->FallbackChar); + public ref float EllipsisWidth => ref Unsafe.AsRef(&NativePtr->EllipsisWidth); + public ref float EllipsisCharStep => ref Unsafe.AsRef(&NativePtr->EllipsisCharStep); public ref bool DirtyLookupTables => ref Unsafe.AsRef(&NativePtr->DirtyLookupTables); public ref float Scale => ref Unsafe.AsRef(&NativePtr->Scale); public ref float Ascent => ref Unsafe.AsRef(&NativePtr->Ascent); @@ -71,6 +75,170 @@ public void BuildLookupTable() { ImGuiNative.ImFont_BuildLookupTable((ImFont*)(NativePtr)); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public Vector2 CalcTextSizeA(float size, float max_width, float wrap_width, ReadOnlySpan text_begin) + { + Vector2 __retval; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + byte** remaining = null; + ImGuiNative.ImFont_CalcTextSizeA(&__retval, (ImFont*)(NativePtr), size, max_width, wrap_width, native_text_begin, native_text_begin+text_begin_byteCount, remaining); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + return __retval; + } +#endif + public Vector2 CalcTextSizeA(float size, float max_width, float wrap_width, string text_begin) + { + Vector2 __retval; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + byte** remaining = null; + ImGuiNative.ImFont_CalcTextSizeA(&__retval, (ImFont*)(NativePtr), size, max_width, wrap_width, native_text_begin, native_text_begin+text_begin_byteCount, remaining); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + return __retval; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public Vector2 CalcTextSizeA(float size, float max_width, float wrap_width, ReadOnlySpan text_begin, ref byte* remaining) + { + Vector2 __retval; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + fixed (byte** native_remaining = &remaining) + { + ImGuiNative.ImFont_CalcTextSizeA(&__retval, (ImFont*)(NativePtr), size, max_width, wrap_width, native_text_begin, native_text_begin+text_begin_byteCount, native_remaining); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + return __retval; + } + } +#endif + public Vector2 CalcTextSizeA(float size, float max_width, float wrap_width, string text_begin, ref byte* remaining) + { + Vector2 __retval; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + fixed (byte** native_remaining = &remaining) + { + ImGuiNative.ImFont_CalcTextSizeA(&__retval, (ImFont*)(NativePtr), size, max_width, wrap_width, native_text_begin, native_text_begin+text_begin_byteCount, native_remaining); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + return __retval; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public string CalcWordWrapPositionA(float scale, ReadOnlySpan text, float wrap_width) + { + byte* native_text; + int text_byteCount = 0; + if (text != null) + { + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + native_text = Util.Allocate(text_byteCount + 1); + } + else + { + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; + } + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + byte* ret = ImGuiNative.ImFont_CalcWordWrapPositionA((ImFont*)(NativePtr), scale, native_text, native_text+text_byteCount, wrap_width); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text); + } + return Util.StringFromPtr(ret); + } +#endif + public string CalcWordWrapPositionA(float scale, string text, float wrap_width) + { + byte* native_text; + int text_byteCount = 0; + if (text != null) + { + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + native_text = Util.Allocate(text_byteCount + 1); + } + else + { + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; + } + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + byte* ret = ImGuiNative.ImFont_CalcWordWrapPositionA((ImFont*)(NativePtr), scale, native_text, native_text+text_byteCount, wrap_width); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text); + } + return Util.StringFromPtr(ret); + } public void ClearOutputData() { ImGuiNative.ImFont_ClearOutputData((ImFont*)(NativePtr)); @@ -113,6 +281,158 @@ public void RenderChar(ImDrawListPtr draw_list, float size, Vector2 pos, uint co ImDrawList* native_draw_list = draw_list.NativePtr; ImGuiNative.ImFont_RenderChar((ImFont*)(NativePtr), native_draw_list, size, pos, col, c); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public void RenderText(ImDrawListPtr draw_list, float size, Vector2 pos, uint col, Vector4 clip_rect, ReadOnlySpan text_begin) + { + ImDrawList* native_draw_list = draw_list.NativePtr; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + float wrap_width = 0.0f; + byte cpu_fine_clip = 0; + ImGuiNative.ImFont_RenderText((ImFont*)(NativePtr), native_draw_list, size, pos, col, clip_rect, native_text_begin, native_text_begin+text_begin_byteCount, wrap_width, cpu_fine_clip); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + } +#endif + public void RenderText(ImDrawListPtr draw_list, float size, Vector2 pos, uint col, Vector4 clip_rect, string text_begin) + { + ImDrawList* native_draw_list = draw_list.NativePtr; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + float wrap_width = 0.0f; + byte cpu_fine_clip = 0; + ImGuiNative.ImFont_RenderText((ImFont*)(NativePtr), native_draw_list, size, pos, col, clip_rect, native_text_begin, native_text_begin+text_begin_byteCount, wrap_width, cpu_fine_clip); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public void RenderText(ImDrawListPtr draw_list, float size, Vector2 pos, uint col, Vector4 clip_rect, ReadOnlySpan text_begin, float wrap_width) + { + ImDrawList* native_draw_list = draw_list.NativePtr; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + byte cpu_fine_clip = 0; + ImGuiNative.ImFont_RenderText((ImFont*)(NativePtr), native_draw_list, size, pos, col, clip_rect, native_text_begin, native_text_begin+text_begin_byteCount, wrap_width, cpu_fine_clip); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + } +#endif + public void RenderText(ImDrawListPtr draw_list, float size, Vector2 pos, uint col, Vector4 clip_rect, string text_begin, float wrap_width) + { + ImDrawList* native_draw_list = draw_list.NativePtr; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + byte cpu_fine_clip = 0; + ImGuiNative.ImFont_RenderText((ImFont*)(NativePtr), native_draw_list, size, pos, col, clip_rect, native_text_begin, native_text_begin+text_begin_byteCount, wrap_width, cpu_fine_clip); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public void RenderText(ImDrawListPtr draw_list, float size, Vector2 pos, uint col, Vector4 clip_rect, ReadOnlySpan text_begin, float wrap_width, bool cpu_fine_clip) + { + ImDrawList* native_draw_list = draw_list.NativePtr; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + byte native_cpu_fine_clip = cpu_fine_clip ? (byte)1 : (byte)0; + ImGuiNative.ImFont_RenderText((ImFont*)(NativePtr), native_draw_list, size, pos, col, clip_rect, native_text_begin, native_text_begin+text_begin_byteCount, wrap_width, native_cpu_fine_clip); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + } +#endif + public void RenderText(ImDrawListPtr draw_list, float size, Vector2 pos, uint col, Vector4 clip_rect, string text_begin, float wrap_width, bool cpu_fine_clip) + { + ImDrawList* native_draw_list = draw_list.NativePtr; + byte* native_text_begin; + int text_begin_byteCount = 0; + text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + native_text_begin = Util.Allocate(text_begin_byteCount + 1); + } + else + { + byte* native_text_begin_stackBytes = stackalloc byte[text_begin_byteCount + 1]; + native_text_begin = native_text_begin_stackBytes; + } + int native_text_begin_offset = Util.GetUtf8(text_begin, native_text_begin, text_begin_byteCount); + native_text_begin[native_text_begin_offset] = 0; + byte native_cpu_fine_clip = cpu_fine_clip ? (byte)1 : (byte)0; + ImGuiNative.ImFont_RenderText((ImFont*)(NativePtr), native_draw_list, size, pos, col, clip_rect, native_text_begin, native_text_begin+text_begin_byteCount, wrap_width, native_cpu_fine_clip); + if (text_begin_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text_begin); + } + } public void SetGlyphVisible(ushort c, bool visible) { byte native_visible = visible ? (byte)1 : (byte)0; diff --git a/src/ImGui.NET/Generated/ImFontAtlas.gen.cs b/src/ImGui.NET/Generated/ImFontAtlas.gen.cs index c8cb48c7..b4986221 100644 --- a/src/ImGui.NET/Generated/ImFontAtlas.gen.cs +++ b/src/ImGui.NET/Generated/ImFontAtlas.gen.cs @@ -12,6 +12,7 @@ public unsafe partial struct ImFontAtlas public int TexDesiredWidth; public int TexGlyphPadding; public byte Locked; + public void* UserData; public byte TexReady; public byte TexPixelsUseColors; public byte* TexPixelsAlpha8; @@ -105,6 +106,7 @@ public unsafe partial struct ImFontAtlasPtr public ref int TexDesiredWidth => ref Unsafe.AsRef(&NativePtr->TexDesiredWidth); public ref int TexGlyphPadding => ref Unsafe.AsRef(&NativePtr->TexGlyphPadding); public ref bool Locked => ref Unsafe.AsRef(&NativePtr->Locked); + public IntPtr UserData { get => (IntPtr)NativePtr->UserData; set => NativePtr->UserData = (void*)value; } public ref bool TexReady => ref Unsafe.AsRef(&NativePtr->TexReady); public ref bool TexPixelsUseColors => ref Unsafe.AsRef(&NativePtr->TexPixelsUseColors); public IntPtr TexPixelsAlpha8 { get => (IntPtr)NativePtr->TexPixelsAlpha8; set => NativePtr->TexPixelsAlpha8 = (byte*)value; } @@ -157,6 +159,37 @@ public ImFontPtr AddFontDefault(ImFontConfigPtr font_cfg) ImFont* ret = ImGuiNative.ImFontAtlas_AddFontDefault((ImFontAtlas*)(NativePtr), native_font_cfg); return new ImFontPtr(ret); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float size_pixels) + { + byte* native_filename; + int filename_byteCount = 0; + if (filename != null) + { + filename_byteCount = Encoding.UTF8.GetByteCount(filename); + if (filename_byteCount > Util.StackAllocationSizeLimit) + { + native_filename = Util.Allocate(filename_byteCount + 1); + } + else + { + byte* native_filename_stackBytes = stackalloc byte[filename_byteCount + 1]; + native_filename = native_filename_stackBytes; + } + int native_filename_offset = Util.GetUtf8(filename, native_filename, filename_byteCount); + native_filename[native_filename_offset] = 0; + } + else { native_filename = null; } + ImFontConfig* font_cfg = null; + ushort* glyph_ranges = null; + ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromFileTTF((ImFontAtlas*)(NativePtr), native_filename, size_pixels, font_cfg, glyph_ranges); + if (filename_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_filename); + } + return new ImFontPtr(ret); + } +#endif public ImFontPtr AddFontFromFileTTF(string filename, float size_pixels) { byte* native_filename; @@ -186,6 +219,37 @@ public ImFontPtr AddFontFromFileTTF(string filename, float size_pixels) } return new ImFontPtr(ret); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float size_pixels, ImFontConfigPtr font_cfg) + { + byte* native_filename; + int filename_byteCount = 0; + if (filename != null) + { + filename_byteCount = Encoding.UTF8.GetByteCount(filename); + if (filename_byteCount > Util.StackAllocationSizeLimit) + { + native_filename = Util.Allocate(filename_byteCount + 1); + } + else + { + byte* native_filename_stackBytes = stackalloc byte[filename_byteCount + 1]; + native_filename = native_filename_stackBytes; + } + int native_filename_offset = Util.GetUtf8(filename, native_filename, filename_byteCount); + native_filename[native_filename_offset] = 0; + } + else { native_filename = null; } + ImFontConfig* native_font_cfg = font_cfg.NativePtr; + ushort* glyph_ranges = null; + ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromFileTTF((ImFontAtlas*)(NativePtr), native_filename, size_pixels, native_font_cfg, glyph_ranges); + if (filename_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_filename); + } + return new ImFontPtr(ret); + } +#endif public ImFontPtr AddFontFromFileTTF(string filename, float size_pixels, ImFontConfigPtr font_cfg) { byte* native_filename; @@ -215,6 +279,37 @@ public ImFontPtr AddFontFromFileTTF(string filename, float size_pixels, ImFontCo } return new ImFontPtr(ret); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float size_pixels, ImFontConfigPtr font_cfg, IntPtr glyph_ranges) + { + byte* native_filename; + int filename_byteCount = 0; + if (filename != null) + { + filename_byteCount = Encoding.UTF8.GetByteCount(filename); + if (filename_byteCount > Util.StackAllocationSizeLimit) + { + native_filename = Util.Allocate(filename_byteCount + 1); + } + else + { + byte* native_filename_stackBytes = stackalloc byte[filename_byteCount + 1]; + native_filename = native_filename_stackBytes; + } + int native_filename_offset = Util.GetUtf8(filename, native_filename, filename_byteCount); + native_filename[native_filename_offset] = 0; + } + else { native_filename = null; } + ImFontConfig* native_font_cfg = font_cfg.NativePtr; + ushort* native_glyph_ranges = (ushort*)glyph_ranges.ToPointer(); + ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromFileTTF((ImFontAtlas*)(NativePtr), native_filename, size_pixels, native_font_cfg, native_glyph_ranges); + if (filename_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_filename); + } + return new ImFontPtr(ret); + } +#endif public ImFontPtr AddFontFromFileTTF(string filename, float size_pixels, ImFontConfigPtr font_cfg, IntPtr glyph_ranges) { byte* native_filename; @@ -244,6 +339,37 @@ public ImFontPtr AddFontFromFileTTF(string filename, float size_pixels, ImFontCo } return new ImFontPtr(ret); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressed_font_data_base85, float size_pixels) + { + byte* native_compressed_font_data_base85; + int compressed_font_data_base85_byteCount = 0; + if (compressed_font_data_base85 != null) + { + compressed_font_data_base85_byteCount = Encoding.UTF8.GetByteCount(compressed_font_data_base85); + if (compressed_font_data_base85_byteCount > Util.StackAllocationSizeLimit) + { + native_compressed_font_data_base85 = Util.Allocate(compressed_font_data_base85_byteCount + 1); + } + else + { + byte* native_compressed_font_data_base85_stackBytes = stackalloc byte[compressed_font_data_base85_byteCount + 1]; + native_compressed_font_data_base85 = native_compressed_font_data_base85_stackBytes; + } + int native_compressed_font_data_base85_offset = Util.GetUtf8(compressed_font_data_base85, native_compressed_font_data_base85, compressed_font_data_base85_byteCount); + native_compressed_font_data_base85[native_compressed_font_data_base85_offset] = 0; + } + else { native_compressed_font_data_base85 = null; } + ImFontConfig* font_cfg = null; + ushort* glyph_ranges = null; + ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryCompressedBase85TTF((ImFontAtlas*)(NativePtr), native_compressed_font_data_base85, size_pixels, font_cfg, glyph_ranges); + if (compressed_font_data_base85_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_compressed_font_data_base85); + } + return new ImFontPtr(ret); + } +#endif public ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressed_font_data_base85, float size_pixels) { byte* native_compressed_font_data_base85; @@ -273,6 +399,37 @@ public ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressed_font_dat } return new ImFontPtr(ret); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressed_font_data_base85, float size_pixels, ImFontConfigPtr font_cfg) + { + byte* native_compressed_font_data_base85; + int compressed_font_data_base85_byteCount = 0; + if (compressed_font_data_base85 != null) + { + compressed_font_data_base85_byteCount = Encoding.UTF8.GetByteCount(compressed_font_data_base85); + if (compressed_font_data_base85_byteCount > Util.StackAllocationSizeLimit) + { + native_compressed_font_data_base85 = Util.Allocate(compressed_font_data_base85_byteCount + 1); + } + else + { + byte* native_compressed_font_data_base85_stackBytes = stackalloc byte[compressed_font_data_base85_byteCount + 1]; + native_compressed_font_data_base85 = native_compressed_font_data_base85_stackBytes; + } + int native_compressed_font_data_base85_offset = Util.GetUtf8(compressed_font_data_base85, native_compressed_font_data_base85, compressed_font_data_base85_byteCount); + native_compressed_font_data_base85[native_compressed_font_data_base85_offset] = 0; + } + else { native_compressed_font_data_base85 = null; } + ImFontConfig* native_font_cfg = font_cfg.NativePtr; + ushort* glyph_ranges = null; + ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryCompressedBase85TTF((ImFontAtlas*)(NativePtr), native_compressed_font_data_base85, size_pixels, native_font_cfg, glyph_ranges); + if (compressed_font_data_base85_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_compressed_font_data_base85); + } + return new ImFontPtr(ret); + } +#endif public ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressed_font_data_base85, float size_pixels, ImFontConfigPtr font_cfg) { byte* native_compressed_font_data_base85; @@ -302,6 +459,37 @@ public ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressed_font_dat } return new ImFontPtr(ret); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressed_font_data_base85, float size_pixels, ImFontConfigPtr font_cfg, IntPtr glyph_ranges) + { + byte* native_compressed_font_data_base85; + int compressed_font_data_base85_byteCount = 0; + if (compressed_font_data_base85 != null) + { + compressed_font_data_base85_byteCount = Encoding.UTF8.GetByteCount(compressed_font_data_base85); + if (compressed_font_data_base85_byteCount > Util.StackAllocationSizeLimit) + { + native_compressed_font_data_base85 = Util.Allocate(compressed_font_data_base85_byteCount + 1); + } + else + { + byte* native_compressed_font_data_base85_stackBytes = stackalloc byte[compressed_font_data_base85_byteCount + 1]; + native_compressed_font_data_base85 = native_compressed_font_data_base85_stackBytes; + } + int native_compressed_font_data_base85_offset = Util.GetUtf8(compressed_font_data_base85, native_compressed_font_data_base85, compressed_font_data_base85_byteCount); + native_compressed_font_data_base85[native_compressed_font_data_base85_offset] = 0; + } + else { native_compressed_font_data_base85 = null; } + ImFontConfig* native_font_cfg = font_cfg.NativePtr; + ushort* native_glyph_ranges = (ushort*)glyph_ranges.ToPointer(); + ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryCompressedBase85TTF((ImFontAtlas*)(NativePtr), native_compressed_font_data_base85, size_pixels, native_font_cfg, native_glyph_ranges); + if (compressed_font_data_base85_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_compressed_font_data_base85); + } + return new ImFontPtr(ret); + } +#endif public ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressed_font_data_base85, float size_pixels, ImFontConfigPtr font_cfg, IntPtr glyph_ranges) { byte* native_compressed_font_data_base85; @@ -331,52 +519,52 @@ public ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressed_font_dat } return new ImFontPtr(ret); } - public ImFontPtr AddFontFromMemoryCompressedTTF(IntPtr compressed_font_data, int compressed_font_size, float size_pixels) + public ImFontPtr AddFontFromMemoryCompressedTTF(IntPtr compressed_font_data, int compressed_font_data_size, float size_pixels) { void* native_compressed_font_data = (void*)compressed_font_data.ToPointer(); ImFontConfig* font_cfg = null; ushort* glyph_ranges = null; - ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryCompressedTTF((ImFontAtlas*)(NativePtr), native_compressed_font_data, compressed_font_size, size_pixels, font_cfg, glyph_ranges); + ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryCompressedTTF((ImFontAtlas*)(NativePtr), native_compressed_font_data, compressed_font_data_size, size_pixels, font_cfg, glyph_ranges); return new ImFontPtr(ret); } - public ImFontPtr AddFontFromMemoryCompressedTTF(IntPtr compressed_font_data, int compressed_font_size, float size_pixels, ImFontConfigPtr font_cfg) + public ImFontPtr AddFontFromMemoryCompressedTTF(IntPtr compressed_font_data, int compressed_font_data_size, float size_pixels, ImFontConfigPtr font_cfg) { void* native_compressed_font_data = (void*)compressed_font_data.ToPointer(); ImFontConfig* native_font_cfg = font_cfg.NativePtr; ushort* glyph_ranges = null; - ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryCompressedTTF((ImFontAtlas*)(NativePtr), native_compressed_font_data, compressed_font_size, size_pixels, native_font_cfg, glyph_ranges); + ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryCompressedTTF((ImFontAtlas*)(NativePtr), native_compressed_font_data, compressed_font_data_size, size_pixels, native_font_cfg, glyph_ranges); return new ImFontPtr(ret); } - public ImFontPtr AddFontFromMemoryCompressedTTF(IntPtr compressed_font_data, int compressed_font_size, float size_pixels, ImFontConfigPtr font_cfg, IntPtr glyph_ranges) + public ImFontPtr AddFontFromMemoryCompressedTTF(IntPtr compressed_font_data, int compressed_font_data_size, float size_pixels, ImFontConfigPtr font_cfg, IntPtr glyph_ranges) { void* native_compressed_font_data = (void*)compressed_font_data.ToPointer(); ImFontConfig* native_font_cfg = font_cfg.NativePtr; ushort* native_glyph_ranges = (ushort*)glyph_ranges.ToPointer(); - ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryCompressedTTF((ImFontAtlas*)(NativePtr), native_compressed_font_data, compressed_font_size, size_pixels, native_font_cfg, native_glyph_ranges); + ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryCompressedTTF((ImFontAtlas*)(NativePtr), native_compressed_font_data, compressed_font_data_size, size_pixels, native_font_cfg, native_glyph_ranges); return new ImFontPtr(ret); } - public ImFontPtr AddFontFromMemoryTTF(IntPtr font_data, int font_size, float size_pixels) + public ImFontPtr AddFontFromMemoryTTF(IntPtr font_data, int font_data_size, float size_pixels) { void* native_font_data = (void*)font_data.ToPointer(); ImFontConfig* font_cfg = null; ushort* glyph_ranges = null; - ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryTTF((ImFontAtlas*)(NativePtr), native_font_data, font_size, size_pixels, font_cfg, glyph_ranges); + ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryTTF((ImFontAtlas*)(NativePtr), native_font_data, font_data_size, size_pixels, font_cfg, glyph_ranges); return new ImFontPtr(ret); } - public ImFontPtr AddFontFromMemoryTTF(IntPtr font_data, int font_size, float size_pixels, ImFontConfigPtr font_cfg) + public ImFontPtr AddFontFromMemoryTTF(IntPtr font_data, int font_data_size, float size_pixels, ImFontConfigPtr font_cfg) { void* native_font_data = (void*)font_data.ToPointer(); ImFontConfig* native_font_cfg = font_cfg.NativePtr; ushort* glyph_ranges = null; - ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryTTF((ImFontAtlas*)(NativePtr), native_font_data, font_size, size_pixels, native_font_cfg, glyph_ranges); + ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryTTF((ImFontAtlas*)(NativePtr), native_font_data, font_data_size, size_pixels, native_font_cfg, glyph_ranges); return new ImFontPtr(ret); } - public ImFontPtr AddFontFromMemoryTTF(IntPtr font_data, int font_size, float size_pixels, ImFontConfigPtr font_cfg, IntPtr glyph_ranges) + public ImFontPtr AddFontFromMemoryTTF(IntPtr font_data, int font_data_size, float size_pixels, ImFontConfigPtr font_cfg, IntPtr glyph_ranges) { void* native_font_data = (void*)font_data.ToPointer(); ImFontConfig* native_font_cfg = font_cfg.NativePtr; ushort* native_glyph_ranges = (ushort*)glyph_ranges.ToPointer(); - ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryTTF((ImFontAtlas*)(NativePtr), native_font_data, font_size, size_pixels, native_font_cfg, native_glyph_ranges); + ImFont* ret = ImGuiNative.ImFontAtlas_AddFontFromMemoryTTF((ImFontAtlas*)(NativePtr), native_font_data, font_data_size, size_pixels, native_font_cfg, native_glyph_ranges); return new ImFontPtr(ret); } public bool Build() diff --git a/src/ImGui.NET/Generated/ImFontAtlasCustomRect.gen.cs b/src/ImGui.NET/Generated/ImFontAtlasCustomRect.gen.cs index 10ce3ef7..4a58bf48 100644 --- a/src/ImGui.NET/Generated/ImFontAtlasCustomRect.gen.cs +++ b/src/ImGui.NET/Generated/ImFontAtlasCustomRect.gen.cs @@ -7,11 +7,12 @@ namespace ImGuiNET { public unsafe partial struct ImFontAtlasCustomRect { - public ushort Width; - public ushort Height; public ushort X; public ushort Y; + public ushort Width; + public ushort Height; public uint GlyphID; + public uint GlyphColored; public float GlyphAdvanceX; public Vector2 GlyphOffset; public ImFont* Font; @@ -24,11 +25,12 @@ public unsafe partial struct ImFontAtlasCustomRectPtr public static implicit operator ImFontAtlasCustomRectPtr(ImFontAtlasCustomRect* nativePtr) => new ImFontAtlasCustomRectPtr(nativePtr); public static implicit operator ImFontAtlasCustomRect* (ImFontAtlasCustomRectPtr wrappedPtr) => wrappedPtr.NativePtr; public static implicit operator ImFontAtlasCustomRectPtr(IntPtr nativePtr) => new ImFontAtlasCustomRectPtr(nativePtr); - public ref ushort Width => ref Unsafe.AsRef(&NativePtr->Width); - public ref ushort Height => ref Unsafe.AsRef(&NativePtr->Height); public ref ushort X => ref Unsafe.AsRef(&NativePtr->X); public ref ushort Y => ref Unsafe.AsRef(&NativePtr->Y); + public ref ushort Width => ref Unsafe.AsRef(&NativePtr->Width); + public ref ushort Height => ref Unsafe.AsRef(&NativePtr->Height); public ref uint GlyphID => ref Unsafe.AsRef(&NativePtr->GlyphID); + public ref uint GlyphColored => ref Unsafe.AsRef(&NativePtr->GlyphColored); public ref float GlyphAdvanceX => ref Unsafe.AsRef(&NativePtr->GlyphAdvanceX); public ref Vector2 GlyphOffset => ref Unsafe.AsRef(&NativePtr->GlyphOffset); public ImFontPtr Font => new ImFontPtr(NativePtr->Font); diff --git a/src/ImGui.NET/Generated/ImFontConfig.gen.cs b/src/ImGui.NET/Generated/ImFontConfig.gen.cs index 38d82b5f..46e785ba 100644 --- a/src/ImGui.NET/Generated/ImFontConfig.gen.cs +++ b/src/ImGui.NET/Generated/ImFontConfig.gen.cs @@ -23,6 +23,7 @@ public unsafe partial struct ImFontConfig public byte MergeMode; public uint FontBuilderFlags; public float RasterizerMultiply; + public float RasterizerDensity; public ushort EllipsisChar; public fixed byte Name[40]; public ImFont* DstFont; @@ -51,6 +52,7 @@ public unsafe partial struct ImFontConfigPtr public ref bool MergeMode => ref Unsafe.AsRef(&NativePtr->MergeMode); public ref uint FontBuilderFlags => ref Unsafe.AsRef(&NativePtr->FontBuilderFlags); public ref float RasterizerMultiply => ref Unsafe.AsRef(&NativePtr->RasterizerMultiply); + public ref float RasterizerDensity => ref Unsafe.AsRef(&NativePtr->RasterizerDensity); public ref ushort EllipsisChar => ref Unsafe.AsRef(&NativePtr->EllipsisChar); public RangeAccessor Name => new RangeAccessor(NativePtr->Name, 40); public ImFontPtr DstFont => new ImFontPtr(NativePtr->DstFont); diff --git a/src/ImGui.NET/Generated/ImFontGlyphRangesBuilder.gen.cs b/src/ImGui.NET/Generated/ImFontGlyphRangesBuilder.gen.cs index ed28e2b2..4a0cb220 100644 --- a/src/ImGui.NET/Generated/ImFontGlyphRangesBuilder.gen.cs +++ b/src/ImGui.NET/Generated/ImFontGlyphRangesBuilder.gen.cs @@ -27,6 +27,34 @@ public void AddRanges(IntPtr ranges) ushort* native_ranges = (ushort*)ranges.ToPointer(); ImGuiNative.ImFontGlyphRangesBuilder_AddRanges((ImFontGlyphRangesBuilder*)(NativePtr), native_ranges); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public void AddText(ReadOnlySpan text) + { + byte* native_text; + int text_byteCount = 0; + if (text != null) + { + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + native_text = Util.Allocate(text_byteCount + 1); + } + else + { + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; + } + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + ImGuiNative.ImFontGlyphRangesBuilder_AddText((ImFontGlyphRangesBuilder*)(NativePtr), native_text, native_text+text_byteCount); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text); + } + } +#endif public void AddText(string text) { byte* native_text; @@ -47,8 +75,7 @@ public void AddText(string text) native_text[native_text_offset] = 0; } else { native_text = null; } - byte* native_text_end = null; - ImGuiNative.ImFontGlyphRangesBuilder_AddText((ImFontGlyphRangesBuilder*)(NativePtr), native_text, native_text_end); + ImGuiNative.ImFontGlyphRangesBuilder_AddText((ImFontGlyphRangesBuilder*)(NativePtr), native_text, native_text+text_byteCount); if (text_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_text); diff --git a/src/ImGui.NET/Generated/ImGui.gen.cs b/src/ImGui.NET/Generated/ImGui.gen.cs index 56c8e4e3..94bce8d0 100644 --- a/src/ImGui.NET/Generated/ImGui.gen.cs +++ b/src/ImGui.NET/Generated/ImGui.gen.cs @@ -7,6 +7,36 @@ namespace ImGuiNET { public static unsafe partial class ImGui { +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static ImGuiPayloadPtr AcceptDragDropPayload(ReadOnlySpan type) + { + byte* native_type; + int type_byteCount = 0; + if (type != null) + { + type_byteCount = Encoding.UTF8.GetByteCount(type); + if (type_byteCount > Util.StackAllocationSizeLimit) + { + native_type = Util.Allocate(type_byteCount + 1); + } + else + { + byte* native_type_stackBytes = stackalloc byte[type_byteCount + 1]; + native_type = native_type_stackBytes; + } + int native_type_offset = Util.GetUtf8(type, native_type, type_byteCount); + native_type[native_type_offset] = 0; + } + else { native_type = null; } + ImGuiDragDropFlags flags = (ImGuiDragDropFlags)0; + ImGuiPayload* ret = ImGuiNative.igAcceptDragDropPayload(native_type, flags); + if (type_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_type); + } + return new ImGuiPayloadPtr(ret); + } +#endif public static ImGuiPayloadPtr AcceptDragDropPayload(string type) { byte* native_type; @@ -35,6 +65,35 @@ public static ImGuiPayloadPtr AcceptDragDropPayload(string type) } return new ImGuiPayloadPtr(ret); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static ImGuiPayloadPtr AcceptDragDropPayload(ReadOnlySpan type, ImGuiDragDropFlags flags) + { + byte* native_type; + int type_byteCount = 0; + if (type != null) + { + type_byteCount = Encoding.UTF8.GetByteCount(type); + if (type_byteCount > Util.StackAllocationSizeLimit) + { + native_type = Util.Allocate(type_byteCount + 1); + } + else + { + byte* native_type_stackBytes = stackalloc byte[type_byteCount + 1]; + native_type = native_type_stackBytes; + } + int native_type_offset = Util.GetUtf8(type, native_type, type_byteCount); + native_type[native_type_offset] = 0; + } + else { native_type = null; } + ImGuiPayload* ret = ImGuiNative.igAcceptDragDropPayload(native_type, flags); + if (type_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_type); + } + return new ImGuiPayloadPtr(ret); + } +#endif public static ImGuiPayloadPtr AcceptDragDropPayload(string type, ImGuiDragDropFlags flags) { byte* native_type; @@ -66,6 +125,35 @@ public static void AlignTextToFramePadding() { ImGuiNative.igAlignTextToFramePadding(); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ArrowButton(ReadOnlySpan str_id, ImGuiDir dir) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + byte ret = ImGuiNative.igArrowButton(native_str_id, dir); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#endif public static bool ArrowButton(string str_id, ImGuiDir dir) { byte* native_str_id; @@ -93,6 +181,37 @@ public static bool ArrowButton(string str_id, ImGuiDir dir) } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Begin(ReadOnlySpan name) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + native_name = Util.Allocate(name_byteCount + 1); + } + else + { + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; + } + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; + } + else { native_name = null; } + byte* p_open = null; + ImGuiWindowFlags flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBegin(native_name, p_open, flags); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_name); + } + return ret != 0; + } +#endif public static bool Begin(string name) { byte* native_name; @@ -122,6 +241,39 @@ public static bool Begin(string name) } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Begin(ReadOnlySpan name, ref bool p_open) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + native_name = Util.Allocate(name_byteCount + 1); + } + else + { + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; + } + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; + } + else { native_name = null; } + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + ImGuiWindowFlags flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBegin(native_name, native_p_open, flags); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_name); + } + p_open = native_p_open_val != 0; + return ret != 0; + } +#endif public static bool Begin(string name, ref bool p_open) { byte* native_name; @@ -153,6 +305,38 @@ public static bool Begin(string name, ref bool p_open) p_open = native_p_open_val != 0; return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Begin(ReadOnlySpan name, ref bool p_open, ImGuiWindowFlags flags) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + native_name = Util.Allocate(name_byteCount + 1); + } + else + { + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; + } + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; + } + else { native_name = null; } + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + byte ret = ImGuiNative.igBegin(native_name, native_p_open, flags); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_name); + } + p_open = native_p_open_val != 0; + return ret != 0; + } +#endif public static bool Begin(string name, ref bool p_open, ImGuiWindowFlags flags) { byte* native_name; @@ -183,7 +367,8 @@ public static bool Begin(string name, ref bool p_open, ImGuiWindowFlags flags) p_open = native_p_open_val != 0; return ret != 0; } - public static bool BeginChild(string str_id) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginChild(ReadOnlySpan str_id) { byte* native_str_id; int str_id_byteCount = 0; @@ -204,16 +389,17 @@ public static bool BeginChild(string str_id) } else { native_str_id = null; } Vector2 size = new Vector2(); - byte border = 0; - ImGuiWindowFlags flags = (ImGuiWindowFlags)0; - byte ret = ImGuiNative.igBeginChild_Str(native_str_id, size, border, flags); + ImGuiChildFlags child_flags = (ImGuiChildFlags)0; + ImGuiWindowFlags window_flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginChild_Str(native_str_id, size, child_flags, window_flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginChild(string str_id, Vector2 size) +#endif + public static bool BeginChild(string str_id) { byte* native_str_id; int str_id_byteCount = 0; @@ -233,16 +419,18 @@ public static bool BeginChild(string str_id, Vector2 size) native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - byte border = 0; - ImGuiWindowFlags flags = (ImGuiWindowFlags)0; - byte ret = ImGuiNative.igBeginChild_Str(native_str_id, size, border, flags); + Vector2 size = new Vector2(); + ImGuiChildFlags child_flags = (ImGuiChildFlags)0; + ImGuiWindowFlags window_flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginChild_Str(native_str_id, size, child_flags, window_flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginChild(string str_id, Vector2 size, bool border) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginChild(ReadOnlySpan str_id, Vector2 size) { byte* native_str_id; int str_id_byteCount = 0; @@ -262,16 +450,17 @@ public static bool BeginChild(string str_id, Vector2 size, bool border) native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - byte native_border = border ? (byte)1 : (byte)0; - ImGuiWindowFlags flags = (ImGuiWindowFlags)0; - byte ret = ImGuiNative.igBeginChild_Str(native_str_id, size, native_border, flags); + ImGuiChildFlags child_flags = (ImGuiChildFlags)0; + ImGuiWindowFlags window_flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginChild_Str(native_str_id, size, child_flags, window_flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginChild(string str_id, Vector2 size, bool border, ImGuiWindowFlags flags) +#endif + public static bool BeginChild(string str_id, Vector2 size) { byte* native_str_id; int str_id_byteCount = 0; @@ -291,96 +480,300 @@ public static bool BeginChild(string str_id, Vector2 size, bool border, ImGuiWin native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - byte native_border = border ? (byte)1 : (byte)0; - byte ret = ImGuiNative.igBeginChild_Str(native_str_id, size, native_border, flags); + ImGuiChildFlags child_flags = (ImGuiChildFlags)0; + ImGuiWindowFlags window_flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginChild_Str(native_str_id, size, child_flags, window_flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginChild(uint id) - { - Vector2 size = new Vector2(); - byte border = 0; - ImGuiWindowFlags flags = (ImGuiWindowFlags)0; - byte ret = ImGuiNative.igBeginChild_ID(id, size, border, flags); - return ret != 0; - } - public static bool BeginChild(uint id, Vector2 size) - { - byte border = 0; - ImGuiWindowFlags flags = (ImGuiWindowFlags)0; - byte ret = ImGuiNative.igBeginChild_ID(id, size, border, flags); - return ret != 0; - } - public static bool BeginChild(uint id, Vector2 size, bool border) - { - byte native_border = border ? (byte)1 : (byte)0; - ImGuiWindowFlags flags = (ImGuiWindowFlags)0; - byte ret = ImGuiNative.igBeginChild_ID(id, size, native_border, flags); - return ret != 0; - } - public static bool BeginChild(uint id, Vector2 size, bool border, ImGuiWindowFlags flags) - { - byte native_border = border ? (byte)1 : (byte)0; - byte ret = ImGuiNative.igBeginChild_ID(id, size, native_border, flags); - return ret != 0; - } - public static bool BeginChildFrame(uint id, Vector2 size) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginChild(ReadOnlySpan str_id, Vector2 size, ImGuiChildFlags child_flags) { - ImGuiWindowFlags flags = (ImGuiWindowFlags)0; - byte ret = ImGuiNative.igBeginChildFrame(id, size, flags); - return ret != 0; - } - public static bool BeginChildFrame(uint id, Vector2 size, ImGuiWindowFlags flags) - { - byte ret = ImGuiNative.igBeginChildFrame(id, size, flags); - return ret != 0; - } - public static bool BeginCombo(string label, string preview_value) - { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_label = null; } - byte* native_preview_value; - int preview_value_byteCount = 0; - if (preview_value != null) + else { native_str_id = null; } + ImGuiWindowFlags window_flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginChild_Str(native_str_id, size, child_flags, window_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - preview_value_byteCount = Encoding.UTF8.GetByteCount(preview_value); - if (preview_value_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_str_id); + } + return ret != 0; + } +#endif + public static bool BeginChild(string str_id, Vector2 size, ImGuiChildFlags child_flags) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_preview_value = Util.Allocate(preview_value_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_preview_value_stackBytes = stackalloc byte[preview_value_byteCount + 1]; - native_preview_value = native_preview_value_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_preview_value_offset = Util.GetUtf8(preview_value, native_preview_value, preview_value_byteCount); - native_preview_value[native_preview_value_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_preview_value = null; } - ImGuiComboFlags flags = (ImGuiComboFlags)0; - byte ret = ImGuiNative.igBeginCombo(native_label, native_preview_value, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_str_id = null; } + ImGuiWindowFlags window_flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginChild_Str(native_str_id, size, child_flags, window_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_str_id); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginChild(ReadOnlySpan str_id, Vector2 size, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + byte ret = ImGuiNative.igBeginChild_Str(native_str_id, size, child_flags, window_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#endif + public static bool BeginChild(string str_id, Vector2 size, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + byte ret = ImGuiNative.igBeginChild_Str(native_str_id, size, child_flags, window_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } + public static bool BeginChild(uint id) + { + Vector2 size = new Vector2(); + ImGuiChildFlags child_flags = (ImGuiChildFlags)0; + ImGuiWindowFlags window_flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginChild_ID(id, size, child_flags, window_flags); + return ret != 0; + } + public static bool BeginChild(uint id, Vector2 size) + { + ImGuiChildFlags child_flags = (ImGuiChildFlags)0; + ImGuiWindowFlags window_flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginChild_ID(id, size, child_flags, window_flags); + return ret != 0; + } + public static bool BeginChild(uint id, Vector2 size, ImGuiChildFlags child_flags) + { + ImGuiWindowFlags window_flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginChild_ID(id, size, child_flags, window_flags); + return ret != 0; + } + public static bool BeginChild(uint id, Vector2 size, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags) + { + byte ret = ImGuiNative.igBeginChild_ID(id, size, child_flags, window_flags); + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginCombo(ReadOnlySpan label, ReadOnlySpan preview_value) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_preview_value; + int preview_value_byteCount = 0; + if (preview_value != null) + { + preview_value_byteCount = Encoding.UTF8.GetByteCount(preview_value); + if (preview_value_byteCount > Util.StackAllocationSizeLimit) + { + native_preview_value = Util.Allocate(preview_value_byteCount + 1); + } + else + { + byte* native_preview_value_stackBytes = stackalloc byte[preview_value_byteCount + 1]; + native_preview_value = native_preview_value_stackBytes; + } + int native_preview_value_offset = Util.GetUtf8(preview_value, native_preview_value, preview_value_byteCount); + native_preview_value[native_preview_value_offset] = 0; + } + else { native_preview_value = null; } + ImGuiComboFlags flags = (ImGuiComboFlags)0; + byte ret = ImGuiNative.igBeginCombo(native_label, native_preview_value, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (preview_value_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_preview_value); + } + return ret != 0; + } +#endif + public static bool BeginCombo(string label, string preview_value) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_preview_value; + int preview_value_byteCount = 0; + if (preview_value != null) + { + preview_value_byteCount = Encoding.UTF8.GetByteCount(preview_value); + if (preview_value_byteCount > Util.StackAllocationSizeLimit) + { + native_preview_value = Util.Allocate(preview_value_byteCount + 1); + } + else + { + byte* native_preview_value_stackBytes = stackalloc byte[preview_value_byteCount + 1]; + native_preview_value = native_preview_value_stackBytes; + } + int native_preview_value_offset = Util.GetUtf8(preview_value, native_preview_value, preview_value_byteCount); + native_preview_value[native_preview_value_offset] = 0; + } + else { native_preview_value = null; } + ImGuiComboFlags flags = (ImGuiComboFlags)0; + byte ret = ImGuiNative.igBeginCombo(native_label, native_preview_value, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (preview_value_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_preview_value); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginCombo(ReadOnlySpan label, ReadOnlySpan preview_value, ImGuiComboFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_preview_value; + int preview_value_byteCount = 0; + if (preview_value != null) + { + preview_value_byteCount = Encoding.UTF8.GetByteCount(preview_value); + if (preview_value_byteCount > Util.StackAllocationSizeLimit) + { + native_preview_value = Util.Allocate(preview_value_byteCount + 1); + } + else + { + byte* native_preview_value_stackBytes = stackalloc byte[preview_value_byteCount + 1]; + native_preview_value = native_preview_value_stackBytes; + } + int native_preview_value_offset = Util.GetUtf8(preview_value, native_preview_value, preview_value_byteCount); + native_preview_value[native_preview_value_offset] = 0; + } + else { native_preview_value = null; } + byte ret = ImGuiNative.igBeginCombo(native_label, native_preview_value, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); } if (preview_value_byteCount > Util.StackAllocationSizeLimit) { @@ -388,6 +781,7 @@ public static bool BeginCombo(string label, string preview_value) } return ret != 0; } +#endif public static bool BeginCombo(string label, string preview_value, ImGuiComboFlags flags) { byte* native_label; @@ -467,7 +861,13 @@ public static void BeginGroup() { ImGuiNative.igBeginGroup(); } - public static bool BeginListBox(string label) + public static bool BeginItemTooltip() + { + byte ret = ImGuiNative.igBeginItemTooltip(); + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginListBox(ReadOnlySpan label) { byte* native_label; int label_byteCount = 0; @@ -495,7 +895,8 @@ public static bool BeginListBox(string label) } return ret != 0; } - public static bool BeginListBox(string label, Vector2 size) +#endif + public static bool BeginListBox(string label) { byte* native_label; int label_byteCount = 0; @@ -515,6 +916,7 @@ public static bool BeginListBox(string label, Vector2 size) native_label[native_label_offset] = 0; } else { native_label = null; } + Vector2 size = new Vector2(); byte ret = ImGuiNative.igBeginListBox(native_label, size); if (label_byteCount > Util.StackAllocationSizeLimit) { @@ -522,12 +924,8 @@ public static bool BeginListBox(string label, Vector2 size) } return ret != 0; } - public static bool BeginMainMenuBar() - { - byte ret = ImGuiNative.igBeginMainMenuBar(); - return ret != 0; - } - public static bool BeginMenu(string label) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginListBox(ReadOnlySpan label, Vector2 size) { byte* native_label; int label_byteCount = 0; @@ -547,15 +945,15 @@ public static bool BeginMenu(string label) native_label[native_label_offset] = 0; } else { native_label = null; } - byte enabled = 1; - byte ret = ImGuiNative.igBeginMenu(native_label, enabled); + byte ret = ImGuiNative.igBeginListBox(native_label, size); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } return ret != 0; } - public static bool BeginMenu(string label, bool enabled) +#endif + public static bool BeginListBox(string label, Vector2 size) { byte* native_label; int label_byteCount = 0; @@ -575,82 +973,159 @@ public static bool BeginMenu(string label, bool enabled) native_label[native_label_offset] = 0; } else { native_label = null; } - byte native_enabled = enabled ? (byte)1 : (byte)0; - byte ret = ImGuiNative.igBeginMenu(native_label, native_enabled); + byte ret = ImGuiNative.igBeginListBox(native_label, size); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } return ret != 0; } - public static bool BeginMenuBar() + public static bool BeginMainMenuBar() { - byte ret = ImGuiNative.igBeginMenuBar(); + byte ret = ImGuiNative.igBeginMainMenuBar(); return ret != 0; } - public static bool BeginPopup(string str_id) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginMenu(ReadOnlySpan label) { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_str_id = null; } - ImGuiWindowFlags flags = (ImGuiWindowFlags)0; - byte ret = ImGuiNative.igBeginPopup(native_str_id, flags); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + else { native_label = null; } + byte enabled = 1; + byte ret = ImGuiNative.igBeginMenu(native_label, enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_str_id); + Util.Free(native_label); } return ret != 0; } - public static bool BeginPopup(string str_id, ImGuiWindowFlags flags) +#endif + public static bool BeginMenu(string label) { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_str_id = null; } - byte ret = ImGuiNative.igBeginPopup(native_str_id, flags); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + else { native_label = null; } + byte enabled = 1; + byte ret = ImGuiNative.igBeginMenu(native_label, enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_str_id); + Util.Free(native_label); } return ret != 0; } - public static bool BeginPopupContextItem() +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginMenu(ReadOnlySpan label, bool enabled) { - byte* native_str_id = null; - ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; - byte ret = ImGuiNative.igBeginPopupContextItem(native_str_id, popup_flags); + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte native_enabled = enabled ? (byte)1 : (byte)0; + byte ret = ImGuiNative.igBeginMenu(native_label, native_enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } return ret != 0; } - public static bool BeginPopupContextItem(string str_id) +#endif + public static bool BeginMenu(string label, bool enabled) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte native_enabled = enabled ? (byte)1 : (byte)0; + byte ret = ImGuiNative.igBeginMenu(native_label, native_enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + public static bool BeginMenuBar() + { + byte ret = ImGuiNative.igBeginMenuBar(); + return ret != 0; + } + public static ImGuiMultiSelectIOPtr BeginMultiSelect(ImGuiMultiSelectFlags flags) + { + int selection_size = -1; + int items_count = -1; + ImGuiMultiSelectIO* ret = ImGuiNative.igBeginMultiSelect(flags, selection_size, items_count); + return new ImGuiMultiSelectIOPtr(ret); + } + public static ImGuiMultiSelectIOPtr BeginMultiSelect(ImGuiMultiSelectFlags flags, int selection_size) + { + int items_count = -1; + ImGuiMultiSelectIO* ret = ImGuiNative.igBeginMultiSelect(flags, selection_size, items_count); + return new ImGuiMultiSelectIOPtr(ret); + } + public static ImGuiMultiSelectIOPtr BeginMultiSelect(ImGuiMultiSelectFlags flags, int selection_size, int items_count) + { + ImGuiMultiSelectIO* ret = ImGuiNative.igBeginMultiSelect(flags, selection_size, items_count); + return new ImGuiMultiSelectIOPtr(ret); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginPopup(ReadOnlySpan str_id) { byte* native_str_id; int str_id_byteCount = 0; @@ -670,15 +1145,16 @@ public static bool BeginPopupContextItem(string str_id) native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; - byte ret = ImGuiNative.igBeginPopupContextItem(native_str_id, popup_flags); + ImGuiWindowFlags flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginPopup(native_str_id, flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginPopupContextItem(string str_id, ImGuiPopupFlags popup_flags) +#endif + public static bool BeginPopup(string str_id) { byte* native_str_id; int str_id_byteCount = 0; @@ -698,21 +1174,16 @@ public static bool BeginPopupContextItem(string str_id, ImGuiPopupFlags popup_fl native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - byte ret = ImGuiNative.igBeginPopupContextItem(native_str_id, popup_flags); + ImGuiWindowFlags flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginPopup(native_str_id, flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginPopupContextVoid() - { - byte* native_str_id = null; - ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; - byte ret = ImGuiNative.igBeginPopupContextVoid(native_str_id, popup_flags); - return ret != 0; - } - public static bool BeginPopupContextVoid(string str_id) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginPopup(ReadOnlySpan str_id, ImGuiWindowFlags flags) { byte* native_str_id; int str_id_byteCount = 0; @@ -732,15 +1203,15 @@ public static bool BeginPopupContextVoid(string str_id) native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; - byte ret = ImGuiNative.igBeginPopupContextVoid(native_str_id, popup_flags); + byte ret = ImGuiNative.igBeginPopup(native_str_id, flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginPopupContextVoid(string str_id, ImGuiPopupFlags popup_flags) +#endif + public static bool BeginPopup(string str_id, ImGuiWindowFlags flags) { byte* native_str_id; int str_id_byteCount = 0; @@ -760,21 +1231,22 @@ public static bool BeginPopupContextVoid(string str_id, ImGuiPopupFlags popup_fl native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - byte ret = ImGuiNative.igBeginPopupContextVoid(native_str_id, popup_flags); + byte ret = ImGuiNative.igBeginPopup(native_str_id, flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginPopupContextWindow() + public static bool BeginPopupContextItem() { byte* native_str_id = null; ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; - byte ret = ImGuiNative.igBeginPopupContextWindow(native_str_id, popup_flags); + byte ret = ImGuiNative.igBeginPopupContextItem(native_str_id, popup_flags); return ret != 0; } - public static bool BeginPopupContextWindow(string str_id) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginPopupContextItem(ReadOnlySpan str_id) { byte* native_str_id; int str_id_byteCount = 0; @@ -795,14 +1267,15 @@ public static bool BeginPopupContextWindow(string str_id) } else { native_str_id = null; } ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; - byte ret = ImGuiNative.igBeginPopupContextWindow(native_str_id, popup_flags); + byte ret = ImGuiNative.igBeginPopupContextItem(native_str_id, popup_flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginPopupContextWindow(string str_id, ImGuiPopupFlags popup_flags) +#endif + public static bool BeginPopupContextItem(string str_id) { byte* native_str_id; int str_id_byteCount = 0; @@ -822,104 +1295,108 @@ public static bool BeginPopupContextWindow(string str_id, ImGuiPopupFlags popup_ native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - byte ret = ImGuiNative.igBeginPopupContextWindow(native_str_id, popup_flags); + ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; + byte ret = ImGuiNative.igBeginPopupContextItem(native_str_id, popup_flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginPopupModal(string name) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginPopupContextItem(ReadOnlySpan str_id, ImGuiPopupFlags popup_flags) { - byte* native_name; - int name_byteCount = 0; - if (name != null) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - name_byteCount = Encoding.UTF8.GetByteCount(name); - if (name_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_name = Util.Allocate(name_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; - native_name = native_name_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); - native_name[native_name_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_name = null; } - byte* p_open = null; - ImGuiWindowFlags flags = (ImGuiWindowFlags)0; - byte ret = ImGuiNative.igBeginPopupModal(native_name, p_open, flags); - if (name_byteCount > Util.StackAllocationSizeLimit) + else { native_str_id = null; } + byte ret = ImGuiNative.igBeginPopupContextItem(native_str_id, popup_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_name); + Util.Free(native_str_id); } return ret != 0; } - public static bool BeginPopupModal(string name, ref bool p_open) +#endif + public static bool BeginPopupContextItem(string str_id, ImGuiPopupFlags popup_flags) { - byte* native_name; - int name_byteCount = 0; - if (name != null) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - name_byteCount = Encoding.UTF8.GetByteCount(name); - if (name_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_name = Util.Allocate(name_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; - native_name = native_name_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); - native_name[native_name_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_name = null; } - byte native_p_open_val = p_open ? (byte)1 : (byte)0; - byte* native_p_open = &native_p_open_val; - ImGuiWindowFlags flags = (ImGuiWindowFlags)0; - byte ret = ImGuiNative.igBeginPopupModal(native_name, native_p_open, flags); - if (name_byteCount > Util.StackAllocationSizeLimit) + else { native_str_id = null; } + byte ret = ImGuiNative.igBeginPopupContextItem(native_str_id, popup_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_name); + Util.Free(native_str_id); } - p_open = native_p_open_val != 0; return ret != 0; } - public static bool BeginPopupModal(string name, ref bool p_open, ImGuiWindowFlags flags) + public static bool BeginPopupContextVoid() { - byte* native_name; - int name_byteCount = 0; - if (name != null) + byte* native_str_id = null; + ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; + byte ret = ImGuiNative.igBeginPopupContextVoid(native_str_id, popup_flags); + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginPopupContextVoid(ReadOnlySpan str_id) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - name_byteCount = Encoding.UTF8.GetByteCount(name); - if (name_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_name = Util.Allocate(name_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; - native_name = native_name_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); - native_name[native_name_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_name = null; } - byte native_p_open_val = p_open ? (byte)1 : (byte)0; - byte* native_p_open = &native_p_open_val; - byte ret = ImGuiNative.igBeginPopupModal(native_name, native_p_open, flags); - if (name_byteCount > Util.StackAllocationSizeLimit) + else { native_str_id = null; } + ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; + byte ret = ImGuiNative.igBeginPopupContextVoid(native_str_id, popup_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_name); + Util.Free(native_str_id); } - p_open = native_p_open_val != 0; return ret != 0; } - public static bool BeginTabBar(string str_id) +#endif + public static bool BeginPopupContextVoid(string str_id) { byte* native_str_id; int str_id_byteCount = 0; @@ -939,15 +1416,16 @@ public static bool BeginTabBar(string str_id) native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - ImGuiTabBarFlags flags = (ImGuiTabBarFlags)0; - byte ret = ImGuiNative.igBeginTabBar(native_str_id, flags); + ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; + byte ret = ImGuiNative.igBeginPopupContextVoid(native_str_id, popup_flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginTabBar(string str_id, ImGuiTabBarFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginPopupContextVoid(ReadOnlySpan str_id, ImGuiPopupFlags popup_flags) { byte* native_str_id; int str_id_byteCount = 0; @@ -967,104 +1445,50 @@ public static bool BeginTabBar(string str_id, ImGuiTabBarFlags flags) native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - byte ret = ImGuiNative.igBeginTabBar(native_str_id, flags); + byte ret = ImGuiNative.igBeginPopupContextVoid(native_str_id, popup_flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginTabItem(string label) - { - byte* native_label; - int label_byteCount = 0; - if (label != null) - { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - native_label = Util.Allocate(label_byteCount + 1); - } - else - { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; - } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; - } - else { native_label = null; } - byte* p_open = null; - ImGuiTabItemFlags flags = (ImGuiTabItemFlags)0; - byte ret = ImGuiNative.igBeginTabItem(native_label, p_open, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; - } - public static bool BeginTabItem(string label, ref bool p_open) +#endif + public static bool BeginPopupContextVoid(string str_id, ImGuiPopupFlags popup_flags) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_label = null; } - byte native_p_open_val = p_open ? (byte)1 : (byte)0; - byte* native_p_open = &native_p_open_val; - ImGuiTabItemFlags flags = (ImGuiTabItemFlags)0; - byte ret = ImGuiNative.igBeginTabItem(native_label, native_p_open, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_str_id = null; } + byte ret = ImGuiNative.igBeginPopupContextVoid(native_str_id, popup_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_str_id); } - p_open = native_p_open_val != 0; return ret != 0; } - public static bool BeginTabItem(string label, ref bool p_open, ImGuiTabItemFlags flags) + public static bool BeginPopupContextWindow() { - byte* native_label; - int label_byteCount = 0; - if (label != null) - { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - native_label = Util.Allocate(label_byteCount + 1); - } - else - { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; - } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; - } - else { native_label = null; } - byte native_p_open_val = p_open ? (byte)1 : (byte)0; - byte* native_p_open = &native_p_open_val; - byte ret = ImGuiNative.igBeginTabItem(native_label, native_p_open, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - p_open = native_p_open_val != 0; + byte* native_str_id = null; + ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; + byte ret = ImGuiNative.igBeginPopupContextWindow(native_str_id, popup_flags); return ret != 0; } - public static bool BeginTable(string str_id, int column) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginPopupContextWindow(ReadOnlySpan str_id) { byte* native_str_id; int str_id_byteCount = 0; @@ -1084,17 +1508,16 @@ public static bool BeginTable(string str_id, int column) native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - ImGuiTableFlags flags = (ImGuiTableFlags)0; - Vector2 outer_size = new Vector2(); - float inner_width = 0.0f; - byte ret = ImGuiNative.igBeginTable(native_str_id, column, flags, outer_size, inner_width); + ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; + byte ret = ImGuiNative.igBeginPopupContextWindow(native_str_id, popup_flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginTable(string str_id, int column, ImGuiTableFlags flags) +#endif + public static bool BeginPopupContextWindow(string str_id) { byte* native_str_id; int str_id_byteCount = 0; @@ -1114,16 +1537,16 @@ public static bool BeginTable(string str_id, int column, ImGuiTableFlags flags) native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - Vector2 outer_size = new Vector2(); - float inner_width = 0.0f; - byte ret = ImGuiNative.igBeginTable(native_str_id, column, flags, outer_size, inner_width); + ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; + byte ret = ImGuiNative.igBeginPopupContextWindow(native_str_id, popup_flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginTable(string str_id, int column, ImGuiTableFlags flags, Vector2 outer_size) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginPopupContextWindow(ReadOnlySpan str_id, ImGuiPopupFlags popup_flags) { byte* native_str_id; int str_id_byteCount = 0; @@ -1143,15 +1566,15 @@ public static bool BeginTable(string str_id, int column, ImGuiTableFlags flags, native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - float inner_width = 0.0f; - byte ret = ImGuiNative.igBeginTable(native_str_id, column, flags, outer_size, inner_width); + byte ret = ImGuiNative.igBeginPopupContextWindow(native_str_id, popup_flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static bool BeginTable(string str_id, int column, ImGuiTableFlags flags, Vector2 outer_size, float inner_width) +#endif + public static bool BeginPopupContextWindow(string str_id, ImGuiPopupFlags popup_flags) { byte* native_str_id; int str_id_byteCount = 0; @@ -1171,138 +1594,315 @@ public static bool BeginTable(string str_id, int column, ImGuiTableFlags flags, native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - byte ret = ImGuiNative.igBeginTable(native_str_id, column, flags, outer_size, inner_width); + byte ret = ImGuiNative.igBeginPopupContextWindow(native_str_id, popup_flags); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } return ret != 0; } - public static void BeginTooltip() - { - ImGuiNative.igBeginTooltip(); - } - public static void Bullet() - { - ImGuiNative.igBullet(); - } - public static void BulletText(string fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginPopupModal(ReadOnlySpan name) { - byte* native_fmt; - int fmt_byteCount = 0; - if (fmt != null) + byte* native_name; + int name_byteCount = 0; + if (name != null) { - fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_fmt = Util.Allocate(fmt_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; - native_fmt = native_fmt_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); - native_fmt[native_fmt_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_fmt = null; } - ImGuiNative.igBulletText(native_fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + else { native_name = null; } + byte* p_open = null; + ImGuiWindowFlags flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginPopupModal(native_name, p_open, flags); + if (name_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_fmt); + Util.Free(native_name); } + return ret != 0; } - public static bool Button(string label) +#endif + public static bool BeginPopupModal(string name) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_name; + int name_byteCount = 0; + if (name != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - Vector2 size = new Vector2(); - byte ret = ImGuiNative.igButton(native_label, size); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_name = null; } + byte* p_open = null; + ImGuiWindowFlags flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginPopupModal(native_name, p_open, flags); + if (name_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_name); } return ret != 0; } - public static bool Button(string label, Vector2 size) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginPopupModal(ReadOnlySpan name, ref bool p_open) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_name; + int name_byteCount = 0; + if (name != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - byte ret = ImGuiNative.igButton(native_label, size); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_name = null; } + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + ImGuiWindowFlags flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginPopupModal(native_name, native_p_open, flags); + if (name_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_name); } + p_open = native_p_open_val != 0; return ret != 0; } - public static float CalcItemWidth() - { - float ret = ImGuiNative.igCalcItemWidth(); - return ret; - } - public static bool Checkbox(string label, ref bool v) +#endif + public static bool BeginPopupModal(string name, ref bool p_open) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_name; + int name_byteCount = 0; + if (name != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - byte native_v_val = v ? (byte)1 : (byte)0; - byte* native_v = &native_v_val; - byte ret = ImGuiNative.igCheckbox(native_label, native_v); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_name = null; } + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + ImGuiWindowFlags flags = (ImGuiWindowFlags)0; + byte ret = ImGuiNative.igBeginPopupModal(native_name, native_p_open, flags); + if (name_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_name); } - v = native_v_val != 0; + p_open = native_p_open_val != 0; return ret != 0; } - public static bool CheckboxFlags(string label, ref int flags, int flags_value) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginPopupModal(ReadOnlySpan name, ref bool p_open, ImGuiWindowFlags flags) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + native_name = Util.Allocate(name_byteCount + 1); + } + else + { + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; + } + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; + } + else { native_name = null; } + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + byte ret = ImGuiNative.igBeginPopupModal(native_name, native_p_open, flags); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_name); + } + p_open = native_p_open_val != 0; + return ret != 0; + } +#endif + public static bool BeginPopupModal(string name, ref bool p_open, ImGuiWindowFlags flags) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + native_name = Util.Allocate(name_byteCount + 1); + } + else + { + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; + } + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; + } + else { native_name = null; } + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + byte ret = ImGuiNative.igBeginPopupModal(native_name, native_p_open, flags); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_name); + } + p_open = native_p_open_val != 0; + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginTabBar(ReadOnlySpan str_id) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiTabBarFlags flags = (ImGuiTabBarFlags)0; + byte ret = ImGuiNative.igBeginTabBar(native_str_id, flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#endif + public static bool BeginTabBar(string str_id) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiTabBarFlags flags = (ImGuiTabBarFlags)0; + byte ret = ImGuiNative.igBeginTabBar(native_str_id, flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginTabBar(ReadOnlySpan str_id, ImGuiTabBarFlags flags) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + byte ret = ImGuiNative.igBeginTabBar(native_str_id, flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#endif + public static bool BeginTabBar(string str_id, ImGuiTabBarFlags flags) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + byte ret = ImGuiNative.igBeginTabBar(native_str_id, flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginTabItem(ReadOnlySpan label) { byte* native_label; int label_byteCount = 0; @@ -1322,17 +1922,17 @@ public static bool CheckboxFlags(string label, ref int flags, int flags_value) native_label[native_label_offset] = 0; } else { native_label = null; } - fixed (int* native_flags = &flags) + byte* p_open = null; + ImGuiTabItemFlags flags = (ImGuiTabItemFlags)0; + byte ret = ImGuiNative.igBeginTabItem(native_label, p_open, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igCheckboxFlags_IntPtr(native_label, native_flags, flags_value); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool CheckboxFlags(string label, ref uint flags, uint flags_value) +#endif + public static bool BeginTabItem(string label) { byte* native_label; int label_byteCount = 0; @@ -1352,21 +1952,17 @@ public static bool CheckboxFlags(string label, ref uint flags, uint flags_value) native_label[native_label_offset] = 0; } else { native_label = null; } - fixed (uint* native_flags = &flags) + byte* p_open = null; + ImGuiTabItemFlags flags = (ImGuiTabItemFlags)0; + byte ret = ImGuiNative.igBeginTabItem(native_label, p_open, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igCheckboxFlags_UintPtr(native_label, native_flags, flags_value); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static void CloseCurrentPopup() - { - ImGuiNative.igCloseCurrentPopup(); - } - public static bool CollapsingHeader(string label) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginTabItem(ReadOnlySpan label, ref bool p_open) { byte* native_label; int label_byteCount = 0; @@ -1386,15 +1982,19 @@ public static bool CollapsingHeader(string label) native_label[native_label_offset] = 0; } else { native_label = null; } - ImGuiTreeNodeFlags flags = (ImGuiTreeNodeFlags)0; - byte ret = ImGuiNative.igCollapsingHeader_TreeNodeFlags(native_label, flags); + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + ImGuiTabItemFlags flags = (ImGuiTabItemFlags)0; + byte ret = ImGuiNative.igBeginTabItem(native_label, native_p_open, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } + p_open = native_p_open_val != 0; return ret != 0; } - public static bool CollapsingHeader(string label, ImGuiTreeNodeFlags flags) +#endif + public static bool BeginTabItem(string label, ref bool p_open) { byte* native_label; int label_byteCount = 0; @@ -1414,14 +2014,19 @@ public static bool CollapsingHeader(string label, ImGuiTreeNodeFlags flags) native_label[native_label_offset] = 0; } else { native_label = null; } - byte ret = ImGuiNative.igCollapsingHeader_TreeNodeFlags(native_label, flags); + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + ImGuiTabItemFlags flags = (ImGuiTabItemFlags)0; + byte ret = ImGuiNative.igBeginTabItem(native_label, native_p_open, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } + p_open = native_p_open_val != 0; return ret != 0; } - public static bool CollapsingHeader(string label, ref bool p_visible) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginTabItem(ReadOnlySpan label, ref bool p_open, ImGuiTabItemFlags flags) { byte* native_label; int label_byteCount = 0; @@ -1441,18 +2046,18 @@ public static bool CollapsingHeader(string label, ref bool p_visible) native_label[native_label_offset] = 0; } else { native_label = null; } - byte native_p_visible_val = p_visible ? (byte)1 : (byte)0; - byte* native_p_visible = &native_p_visible_val; - ImGuiTreeNodeFlags flags = (ImGuiTreeNodeFlags)0; - byte ret = ImGuiNative.igCollapsingHeader_BoolPtr(native_label, native_p_visible, flags); + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + byte ret = ImGuiNative.igBeginTabItem(native_label, native_p_open, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - p_visible = native_p_visible_val != 0; + p_open = native_p_open_val != 0; return ret != 0; } - public static bool CollapsingHeader(string label, ref bool p_visible, ImGuiTreeNodeFlags flags) +#endif + public static bool BeginTabItem(string label, ref bool p_open, ImGuiTabItemFlags flags) { byte* native_label; int label_byteCount = 0; @@ -1472,291 +2077,317 @@ public static bool CollapsingHeader(string label, ref bool p_visible, ImGuiTreeN native_label[native_label_offset] = 0; } else { native_label = null; } - byte native_p_visible_val = p_visible ? (byte)1 : (byte)0; - byte* native_p_visible = &native_p_visible_val; - byte ret = ImGuiNative.igCollapsingHeader_BoolPtr(native_label, native_p_visible, flags); + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + byte ret = ImGuiNative.igBeginTabItem(native_label, native_p_open, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - p_visible = native_p_visible_val != 0; + p_open = native_p_open_val != 0; return ret != 0; } - public static bool ColorButton(string desc_id, Vector4 col) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginTable(ReadOnlySpan str_id, int columns) { - byte* native_desc_id; - int desc_id_byteCount = 0; - if (desc_id != null) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - desc_id_byteCount = Encoding.UTF8.GetByteCount(desc_id); - if (desc_id_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_desc_id = Util.Allocate(desc_id_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_desc_id_stackBytes = stackalloc byte[desc_id_byteCount + 1]; - native_desc_id = native_desc_id_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_desc_id_offset = Util.GetUtf8(desc_id, native_desc_id, desc_id_byteCount); - native_desc_id[native_desc_id_offset] = 0; - } - else { native_desc_id = null; } - ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; - Vector2 size = new Vector2(); - byte ret = ImGuiNative.igColorButton(native_desc_id, col, flags, size); - if (desc_id_byteCount > Util.StackAllocationSizeLimit) + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiTableFlags flags = (ImGuiTableFlags)0; + Vector2 outer_size = new Vector2(); + float inner_width = 0.0f; + byte ret = ImGuiNative.igBeginTable(native_str_id, columns, flags, outer_size, inner_width); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_desc_id); + Util.Free(native_str_id); } return ret != 0; } - public static bool ColorButton(string desc_id, Vector4 col, ImGuiColorEditFlags flags) +#endif + public static bool BeginTable(string str_id, int columns) { - byte* native_desc_id; - int desc_id_byteCount = 0; - if (desc_id != null) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - desc_id_byteCount = Encoding.UTF8.GetByteCount(desc_id); - if (desc_id_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_desc_id = Util.Allocate(desc_id_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_desc_id_stackBytes = stackalloc byte[desc_id_byteCount + 1]; - native_desc_id = native_desc_id_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_desc_id_offset = Util.GetUtf8(desc_id, native_desc_id, desc_id_byteCount); - native_desc_id[native_desc_id_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_desc_id = null; } - Vector2 size = new Vector2(); - byte ret = ImGuiNative.igColorButton(native_desc_id, col, flags, size); - if (desc_id_byteCount > Util.StackAllocationSizeLimit) + else { native_str_id = null; } + ImGuiTableFlags flags = (ImGuiTableFlags)0; + Vector2 outer_size = new Vector2(); + float inner_width = 0.0f; + byte ret = ImGuiNative.igBeginTable(native_str_id, columns, flags, outer_size, inner_width); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_desc_id); + Util.Free(native_str_id); } return ret != 0; } - public static bool ColorButton(string desc_id, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginTable(ReadOnlySpan str_id, int columns, ImGuiTableFlags flags) { - byte* native_desc_id; - int desc_id_byteCount = 0; - if (desc_id != null) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - desc_id_byteCount = Encoding.UTF8.GetByteCount(desc_id); - if (desc_id_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_desc_id = Util.Allocate(desc_id_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_desc_id_stackBytes = stackalloc byte[desc_id_byteCount + 1]; - native_desc_id = native_desc_id_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_desc_id_offset = Util.GetUtf8(desc_id, native_desc_id, desc_id_byteCount); - native_desc_id[native_desc_id_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_desc_id = null; } - byte ret = ImGuiNative.igColorButton(native_desc_id, col, flags, size); - if (desc_id_byteCount > Util.StackAllocationSizeLimit) + else { native_str_id = null; } + Vector2 outer_size = new Vector2(); + float inner_width = 0.0f; + byte ret = ImGuiNative.igBeginTable(native_str_id, columns, flags, outer_size, inner_width); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_desc_id); + Util.Free(native_str_id); } return ret != 0; } - public static uint ColorConvertFloat4ToU32(Vector4 @in) - { - uint ret = ImGuiNative.igColorConvertFloat4ToU32(@in); - return ret; - } - public static void ColorConvertHSVtoRGB(float h, float s, float v, out float out_r, out float out_g, out float out_b) +#endif + public static bool BeginTable(string str_id, int columns, ImGuiTableFlags flags) { - fixed (float* native_out_r = &out_r) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - fixed (float* native_out_g = &out_g) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (float* native_out_b = &out_b) - { - ImGuiNative.igColorConvertHSVtoRGB(h, s, v, native_out_r, native_out_g, native_out_b); - } + native_str_id = Util.Allocate(str_id_byteCount + 1); } - } - } - public static void ColorConvertRGBtoHSV(float r, float g, float b, out float out_h, out float out_s, out float out_v) - { - fixed (float* native_out_h = &out_h) - { - fixed (float* native_out_s = &out_s) + else { - fixed (float* native_out_v = &out_v) - { - ImGuiNative.igColorConvertRGBtoHSV(r, g, b, native_out_h, native_out_s, native_out_v); - } + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } + else { native_str_id = null; } + Vector2 outer_size = new Vector2(); + float inner_width = 0.0f; + byte ret = ImGuiNative.igBeginTable(native_str_id, columns, flags, outer_size, inner_width); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; } - public static Vector4 ColorConvertU32ToFloat4(uint @in) - { - Vector4 __retval; - ImGuiNative.igColorConvertU32ToFloat4(&__retval, @in); - return __retval; - } - public static bool ColorEdit3(string label, ref Vector3 col) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginTable(ReadOnlySpan str_id, int columns, ImGuiTableFlags flags, Vector2 outer_size) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_label = null; } - ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; - fixed (Vector3* native_col = &col) + else { native_str_id = null; } + float inner_width = 0.0f; + byte ret = ImGuiNative.igBeginTable(native_str_id, columns, flags, outer_size, inner_width); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igColorEdit3(native_label, native_col, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_str_id); } + return ret != 0; } - public static bool ColorEdit3(string label, ref Vector3 col, ImGuiColorEditFlags flags) +#endif + public static bool BeginTable(string str_id, int columns, ImGuiTableFlags flags, Vector2 outer_size) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_label = null; } - fixed (Vector3* native_col = &col) + else { native_str_id = null; } + float inner_width = 0.0f; + byte ret = ImGuiNative.igBeginTable(native_str_id, columns, flags, outer_size, inner_width); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igColorEdit3(native_label, native_col, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_str_id); } + return ret != 0; } - public static bool ColorEdit4(string label, ref Vector4 col) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginTable(ReadOnlySpan str_id, int columns, ImGuiTableFlags flags, Vector2 outer_size, float inner_width) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_label = null; } - ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; - fixed (Vector4* native_col = &col) + else { native_str_id = null; } + byte ret = ImGuiNative.igBeginTable(native_str_id, columns, flags, outer_size, inner_width); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igColorEdit4(native_label, native_col, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_str_id); } + return ret != 0; } - public static bool ColorEdit4(string label, ref Vector4 col, ImGuiColorEditFlags flags) +#endif + public static bool BeginTable(string str_id, int columns, ImGuiTableFlags flags, Vector2 outer_size, float inner_width) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_label = null; } - fixed (Vector4* native_col = &col) + else { native_str_id = null; } + byte ret = ImGuiNative.igBeginTable(native_str_id, columns, flags, outer_size, inner_width); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igColorEdit4(native_label, native_col, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_str_id); } + return ret != 0; } - public static bool ColorPicker3(string label, ref Vector3 col) + public static bool BeginTooltip() { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte ret = ImGuiNative.igBeginTooltip(); + return ret != 0; + } + public static void Bullet() + { + ImGuiNative.igBullet(); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void BulletText(ReadOnlySpan fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_fmt = Util.Allocate(fmt_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; } - else { native_label = null; } - ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; - fixed (Vector3* native_col = &col) + else { native_fmt = null; } + ImGuiNative.igBulletText(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igColorPicker3(native_label, native_col, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_fmt); + } + } +#endif + public static void BulletText(string fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_fmt = Util.Allocate(fmt_byteCount + 1); } - return ret != 0; + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImGuiNative.igBulletText(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); } } - public static bool ColorPicker3(string label, ref Vector3 col, ImGuiColorEditFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Button(ReadOnlySpan label) { byte* native_label; int label_byteCount = 0; @@ -1776,17 +2407,16 @@ public static bool ColorPicker3(string label, ref Vector3 col, ImGuiColorEditFla native_label[native_label_offset] = 0; } else { native_label = null; } - fixed (Vector3* native_col = &col) + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igButton(native_label, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igColorPicker3(native_label, native_col, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool ColorPicker4(string label, ref Vector4 col) +#endif + public static bool Button(string label) { byte* native_label; int label_byteCount = 0; @@ -1806,19 +2436,16 @@ public static bool ColorPicker4(string label, ref Vector4 col) native_label[native_label_offset] = 0; } else { native_label = null; } - ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; - float* ref_col = null; - fixed (Vector4* native_col = &col) + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igButton(native_label, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igColorPicker4(native_label, native_col, flags, ref_col); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool ColorPicker4(string label, ref Vector4 col, ImGuiColorEditFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Button(ReadOnlySpan label, Vector2 size) { byte* native_label; int label_byteCount = 0; @@ -1838,18 +2465,15 @@ public static bool ColorPicker4(string label, ref Vector4 col, ImGuiColorEditFla native_label[native_label_offset] = 0; } else { native_label = null; } - float* ref_col = null; - fixed (Vector4* native_col = &col) + byte ret = ImGuiNative.igButton(native_label, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igColorPicker4(native_label, native_col, flags, ref_col); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool ColorPicker4(string label, ref Vector4 col, ImGuiColorEditFlags flags, ref float ref_col) +#endif + public static bool Button(string label, Vector2 size) { byte* native_label; int label_byteCount = 0; @@ -1869,145 +2493,204 @@ public static bool ColorPicker4(string label, ref Vector4 col, ImGuiColorEditFla native_label[native_label_offset] = 0; } else { native_label = null; } - fixed (Vector4* native_col = &col) + byte ret = ImGuiNative.igButton(native_label, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - fixed (float* native_ref_col = &ref_col) - { - byte ret = ImGuiNative.igColorPicker4(native_label, native_col, flags, native_ref_col); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; - } + Util.Free(native_label); } + return ret != 0; } - public static void Columns() - { - int count = 1; - byte* native_id = null; - byte border = 1; - ImGuiNative.igColumns(count, native_id, border); - } - public static void Columns(int count) + public static float CalcItemWidth() { - byte* native_id = null; - byte border = 1; - ImGuiNative.igColumns(count, native_id, border); + float ret = ImGuiNative.igCalcItemWidth(); + return ret; } - public static void Columns(int count, string id) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static Vector2 CalcTextSize(ReadOnlySpan text) { - byte* native_id; - int id_byteCount = 0; - if (id != null) + Vector2 __retval; + byte* native_text; + int text_byteCount = 0; + if (text != null) { - id_byteCount = Encoding.UTF8.GetByteCount(id); - if (id_byteCount > Util.StackAllocationSizeLimit) + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) { - native_id = Util.Allocate(id_byteCount + 1); + native_text = Util.Allocate(text_byteCount + 1); } else { - byte* native_id_stackBytes = stackalloc byte[id_byteCount + 1]; - native_id = native_id_stackBytes; + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; } - int native_id_offset = Util.GetUtf8(id, native_id, id_byteCount); - native_id[native_id_offset] = 0; + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; } - else { native_id = null; } - byte border = 1; - ImGuiNative.igColumns(count, native_id, border); - if (id_byteCount > Util.StackAllocationSizeLimit) + else { native_text = null; } + byte hide_text_after_double_hash = 0; + float wrap_width = -1.0f; + ImGuiNative.igCalcTextSize(&__retval, native_text, native_text+text_byteCount, hide_text_after_double_hash, wrap_width); + if (text_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_id); + Util.Free(native_text); } + return __retval; } - public static void Columns(int count, string id, bool border) +#endif + public static Vector2 CalcTextSize(string text) { - byte* native_id; - int id_byteCount = 0; - if (id != null) + Vector2 __retval; + byte* native_text; + int text_byteCount = 0; + if (text != null) { - id_byteCount = Encoding.UTF8.GetByteCount(id); - if (id_byteCount > Util.StackAllocationSizeLimit) + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) { - native_id = Util.Allocate(id_byteCount + 1); + native_text = Util.Allocate(text_byteCount + 1); } else { - byte* native_id_stackBytes = stackalloc byte[id_byteCount + 1]; - native_id = native_id_stackBytes; + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; } - int native_id_offset = Util.GetUtf8(id, native_id, id_byteCount); - native_id[native_id_offset] = 0; + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; } - else { native_id = null; } - byte native_border = border ? (byte)1 : (byte)0; - ImGuiNative.igColumns(count, native_id, native_border); - if (id_byteCount > Util.StackAllocationSizeLimit) + else { native_text = null; } + byte hide_text_after_double_hash = 0; + float wrap_width = -1.0f; + ImGuiNative.igCalcTextSize(&__retval, native_text, native_text+text_byteCount, hide_text_after_double_hash, wrap_width); + if (text_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_id); + Util.Free(native_text); } + return __retval; } - public static bool Combo(string label, ref int current_item, string[] items, int items_count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static Vector2 CalcTextSize(ReadOnlySpan text, bool hide_text_after_double_hash) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + Vector2 __retval; + byte* native_text; + int text_byteCount = 0; + if (text != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_text = Util.Allocate(text_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; } - else { native_label = null; } - int* items_byteCounts = stackalloc int[items.Length]; - int items_byteCount = 0; - for (int i = 0; i < items.Length; i++) + else { native_text = null; } + byte native_hide_text_after_double_hash = hide_text_after_double_hash ? (byte)1 : (byte)0; + float wrap_width = -1.0f; + ImGuiNative.igCalcTextSize(&__retval, native_text, native_text+text_byteCount, native_hide_text_after_double_hash, wrap_width); + if (text_byteCount > Util.StackAllocationSizeLimit) { - string s = items[i]; - items_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - items_byteCount += items_byteCounts[i] + 1; + Util.Free(native_text); } - byte* native_items_data = stackalloc byte[items_byteCount]; - int offset = 0; - for (int i = 0; i < items.Length; i++) + return __retval; + } +#endif + public static Vector2 CalcTextSize(string text, bool hide_text_after_double_hash) + { + Vector2 __retval; + byte* native_text; + int text_byteCount = 0; + if (text != null) { - string s = items[i]; - fixed (char* sPtr = s) + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + native_text = Util.Allocate(text_byteCount + 1); + } + else { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_items_data + offset, items_byteCounts[i]); - native_items_data[offset] = 0; - offset += 1; + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; } + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; } - byte** native_items = stackalloc byte*[items.Length]; - offset = 0; - for (int i = 0; i < items.Length; i++) + else { native_text = null; } + byte native_hide_text_after_double_hash = hide_text_after_double_hash ? (byte)1 : (byte)0; + float wrap_width = -1.0f; + ImGuiNative.igCalcTextSize(&__retval, native_text, native_text+text_byteCount, native_hide_text_after_double_hash, wrap_width); + if (text_byteCount > Util.StackAllocationSizeLimit) { - native_items[i] = &native_items_data[offset]; - offset += items_byteCounts[i] + 1; + Util.Free(native_text); } - int popup_max_height_in_items = -1; - fixed (int* native_current_item = ¤t_item) + return __retval; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static Vector2 CalcTextSize(ReadOnlySpan text, bool hide_text_after_double_hash, float wrap_width) + { + Vector2 __retval; + byte* native_text; + int text_byteCount = 0; + if (text != null) { - byte ret = ImGuiNative.igCombo_Str_arr(native_label, native_current_item, native_items, items_count, popup_max_height_in_items); - if (label_byteCount > Util.StackAllocationSizeLimit) + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_text = Util.Allocate(text_byteCount + 1); } - return ret != 0; + else + { + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; + } + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + byte native_hide_text_after_double_hash = hide_text_after_double_hash ? (byte)1 : (byte)0; + ImGuiNative.igCalcTextSize(&__retval, native_text, native_text+text_byteCount, native_hide_text_after_double_hash, wrap_width); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text); } + return __retval; } - public static bool Combo(string label, ref int current_item, string[] items, int items_count, int popup_max_height_in_items) +#endif + public static Vector2 CalcTextSize(string text, bool hide_text_after_double_hash, float wrap_width) + { + Vector2 __retval; + byte* native_text; + int text_byteCount = 0; + if (text != null) + { + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + native_text = Util.Allocate(text_byteCount + 1); + } + else + { + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; + } + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + byte native_hide_text_after_double_hash = hide_text_after_double_hash ? (byte)1 : (byte)0; + ImGuiNative.igCalcTextSize(&__retval, native_text, native_text+text_byteCount, native_hide_text_after_double_hash, wrap_width); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text); + } + return __retval; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Checkbox(ReadOnlySpan label, ref bool v) { byte* native_label; int label_byteCount = 0; @@ -2027,44 +2710,49 @@ public static bool Combo(string label, ref int current_item, string[] items, int native_label[native_label_offset] = 0; } else { native_label = null; } - int* items_byteCounts = stackalloc int[items.Length]; - int items_byteCount = 0; - for (int i = 0; i < items.Length; i++) + byte native_v_val = v ? (byte)1 : (byte)0; + byte* native_v = &native_v_val; + byte ret = ImGuiNative.igCheckbox(native_label, native_v); + if (label_byteCount > Util.StackAllocationSizeLimit) { - string s = items[i]; - items_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - items_byteCount += items_byteCounts[i] + 1; + Util.Free(native_label); } - byte* native_items_data = stackalloc byte[items_byteCount]; - int offset = 0; - for (int i = 0; i < items.Length; i++) + v = native_v_val != 0; + return ret != 0; + } +#endif + public static bool Checkbox(string label, ref bool v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) { - string s = items[i]; - fixed (char* sPtr = s) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_items_data + offset, items_byteCounts[i]); - native_items_data[offset] = 0; - offset += 1; + native_label = Util.Allocate(label_byteCount + 1); } - } - byte** native_items = stackalloc byte*[items.Length]; - offset = 0; - for (int i = 0; i < items.Length; i++) - { - native_items[i] = &native_items_data[offset]; - offset += items_byteCounts[i] + 1; - } - fixed (int* native_current_item = ¤t_item) - { - byte ret = ImGuiNative.igCombo_Str_arr(native_label, native_current_item, native_items, items_count, popup_max_height_in_items); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_label); + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - return ret != 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte native_v_val = v ? (byte)1 : (byte)0; + byte* native_v = &native_v_val; + byte ret = ImGuiNative.igCheckbox(native_label, native_v); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); } + v = native_v_val != 0; + return ret != 0; } - public static bool Combo(string label, ref int current_item, string items_separated_by_zeros) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool CheckboxFlags(ReadOnlySpan label, ref int flags, int flags_value) { byte* native_label; int label_byteCount = 0; @@ -2084,40 +2772,49 @@ public static bool Combo(string label, ref int current_item, string items_separa native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_items_separated_by_zeros; - int items_separated_by_zeros_byteCount = 0; - if (items_separated_by_zeros != null) + fixed (int* native_flags = &flags) { - items_separated_by_zeros_byteCount = Encoding.UTF8.GetByteCount(items_separated_by_zeros); - if (items_separated_by_zeros_byteCount > Util.StackAllocationSizeLimit) + byte ret = ImGuiNative.igCheckboxFlags_IntPtr(native_label, native_flags, flags_value); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_items_separated_by_zeros = Util.Allocate(items_separated_by_zeros_byteCount + 1); + Util.Free(native_label); + } + return ret != 0; + } + } +#endif + public static bool CheckboxFlags(string label, ref int flags, int flags_value) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_items_separated_by_zeros_stackBytes = stackalloc byte[items_separated_by_zeros_byteCount + 1]; - native_items_separated_by_zeros = native_items_separated_by_zeros_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_items_separated_by_zeros_offset = Util.GetUtf8(items_separated_by_zeros, native_items_separated_by_zeros, items_separated_by_zeros_byteCount); - native_items_separated_by_zeros[native_items_separated_by_zeros_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_items_separated_by_zeros = null; } - int popup_max_height_in_items = -1; - fixed (int* native_current_item = ¤t_item) + else { native_label = null; } + fixed (int* native_flags = &flags) { - byte ret = ImGuiNative.igCombo_Str(native_label, native_current_item, native_items_separated_by_zeros, popup_max_height_in_items); + byte ret = ImGuiNative.igCheckboxFlags_IntPtr(native_label, native_flags, flags_value); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (items_separated_by_zeros_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_items_separated_by_zeros); - } return ret != 0; } } - public static bool Combo(string label, ref int current_item, string items_separated_by_zeros, int popup_max_height_in_items) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool CheckboxFlags(ReadOnlySpan label, ref uint flags, uint flags_value) { byte* native_label; int label_byteCount = 0; @@ -2137,174 +2834,111 @@ public static bool Combo(string label, ref int current_item, string items_separa native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_items_separated_by_zeros; - int items_separated_by_zeros_byteCount = 0; - if (items_separated_by_zeros != null) + fixed (uint* native_flags = &flags) { - items_separated_by_zeros_byteCount = Encoding.UTF8.GetByteCount(items_separated_by_zeros); - if (items_separated_by_zeros_byteCount > Util.StackAllocationSizeLimit) + byte ret = ImGuiNative.igCheckboxFlags_UintPtr(native_label, native_flags, flags_value); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_items_separated_by_zeros = Util.Allocate(items_separated_by_zeros_byteCount + 1); + Util.Free(native_label); + } + return ret != 0; + } + } +#endif + public static bool CheckboxFlags(string label, ref uint flags, uint flags_value) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_items_separated_by_zeros_stackBytes = stackalloc byte[items_separated_by_zeros_byteCount + 1]; - native_items_separated_by_zeros = native_items_separated_by_zeros_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_items_separated_by_zeros_offset = Util.GetUtf8(items_separated_by_zeros, native_items_separated_by_zeros, items_separated_by_zeros_byteCount); - native_items_separated_by_zeros[native_items_separated_by_zeros_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_items_separated_by_zeros = null; } - fixed (int* native_current_item = ¤t_item) + else { native_label = null; } + fixed (uint* native_flags = &flags) { - byte ret = ImGuiNative.igCombo_Str(native_label, native_current_item, native_items_separated_by_zeros, popup_max_height_in_items); + byte ret = ImGuiNative.igCheckboxFlags_UintPtr(native_label, native_flags, flags_value); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (items_separated_by_zeros_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_items_separated_by_zeros); - } return ret != 0; } } - public static IntPtr CreateContext() - { - ImFontAtlas* shared_font_atlas = null; - IntPtr ret = ImGuiNative.igCreateContext(shared_font_atlas); - return ret; - } - public static IntPtr CreateContext(ImFontAtlasPtr shared_font_atlas) + public static void CloseCurrentPopup() { - ImFontAtlas* native_shared_font_atlas = shared_font_atlas.NativePtr; - IntPtr ret = ImGuiNative.igCreateContext(native_shared_font_atlas); - return ret; + ImGuiNative.igCloseCurrentPopup(); } - public static bool DebugCheckVersionAndDataLayout(string version_str, uint sz_io, uint sz_style, uint sz_vec2, uint sz_vec4, uint sz_drawvert, uint sz_drawidx) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool CollapsingHeader(ReadOnlySpan label) { - byte* native_version_str; - int version_str_byteCount = 0; - if (version_str != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - version_str_byteCount = Encoding.UTF8.GetByteCount(version_str); - if (version_str_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_version_str = Util.Allocate(version_str_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_version_str_stackBytes = stackalloc byte[version_str_byteCount + 1]; - native_version_str = native_version_str_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_version_str_offset = Util.GetUtf8(version_str, native_version_str, version_str_byteCount); - native_version_str[native_version_str_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_version_str = null; } - byte ret = ImGuiNative.igDebugCheckVersionAndDataLayout(native_version_str, sz_io, sz_style, sz_vec2, sz_vec4, sz_drawvert, sz_drawidx); - if (version_str_byteCount > Util.StackAllocationSizeLimit) + else { native_label = null; } + ImGuiTreeNodeFlags flags = (ImGuiTreeNodeFlags)0; + byte ret = ImGuiNative.igCollapsingHeader_TreeNodeFlags(native_label, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_version_str); + Util.Free(native_label); } return ret != 0; } - public static void DebugTextEncoding(string text) +#endif + public static bool CollapsingHeader(string label) { - byte* native_text; - int text_byteCount = 0; - if (text != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - text_byteCount = Encoding.UTF8.GetByteCount(text); - if (text_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_text = Util.Allocate(text_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; - native_text = native_text_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); - native_text[native_text_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_text = null; } - ImGuiNative.igDebugTextEncoding(native_text); - if (text_byteCount > Util.StackAllocationSizeLimit) + else { native_label = null; } + ImGuiTreeNodeFlags flags = (ImGuiTreeNodeFlags)0; + byte ret = ImGuiNative.igCollapsingHeader_TreeNodeFlags(native_label, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_text); + Util.Free(native_label); } + return ret != 0; } - public static void DestroyContext() - { - IntPtr ctx = IntPtr.Zero; - ImGuiNative.igDestroyContext(ctx); - } - public static void DestroyContext(IntPtr ctx) - { - ImGuiNative.igDestroyContext(ctx); - } - public static void DestroyPlatformWindows() - { - ImGuiNative.igDestroyPlatformWindows(); - } - public static uint DockSpace(uint id) - { - Vector2 size = new Vector2(); - ImGuiDockNodeFlags flags = (ImGuiDockNodeFlags)0; - ImGuiWindowClass* window_class = null; - uint ret = ImGuiNative.igDockSpace(id, size, flags, window_class); - return ret; - } - public static uint DockSpace(uint id, Vector2 size) - { - ImGuiDockNodeFlags flags = (ImGuiDockNodeFlags)0; - ImGuiWindowClass* window_class = null; - uint ret = ImGuiNative.igDockSpace(id, size, flags, window_class); - return ret; - } - public static uint DockSpace(uint id, Vector2 size, ImGuiDockNodeFlags flags) - { - ImGuiWindowClass* window_class = null; - uint ret = ImGuiNative.igDockSpace(id, size, flags, window_class); - return ret; - } - public static uint DockSpace(uint id, Vector2 size, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr window_class) - { - ImGuiWindowClass* native_window_class = window_class.NativePtr; - uint ret = ImGuiNative.igDockSpace(id, size, flags, native_window_class); - return ret; - } - public static uint DockSpaceOverViewport() - { - ImGuiViewport* viewport = null; - ImGuiDockNodeFlags flags = (ImGuiDockNodeFlags)0; - ImGuiWindowClass* window_class = null; - uint ret = ImGuiNative.igDockSpaceOverViewport(viewport, flags, window_class); - return ret; - } - public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport) - { - ImGuiViewport* native_viewport = viewport.NativePtr; - ImGuiDockNodeFlags flags = (ImGuiDockNodeFlags)0; - ImGuiWindowClass* window_class = null; - uint ret = ImGuiNative.igDockSpaceOverViewport(native_viewport, flags, window_class); - return ret; - } - public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags) - { - ImGuiViewport* native_viewport = viewport.NativePtr; - ImGuiWindowClass* window_class = null; - uint ret = ImGuiNative.igDockSpaceOverViewport(native_viewport, flags, window_class); - return ret; - } - public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr window_class) - { - ImGuiViewport* native_viewport = viewport.NativePtr; - ImGuiWindowClass* native_window_class = window_class.NativePtr; - uint ret = ImGuiNative.igDockSpaceOverViewport(native_viewport, flags, native_window_class); - return ret; - } - public static bool DragFloat(string label, ref float v) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool CollapsingHeader(ReadOnlySpan label, ImGuiTreeNodeFlags flags) { byte* native_label; int label_byteCount = 0; @@ -2324,39 +2958,15 @@ public static bool DragFloat(string label, ref float v) native_label[native_label_offset] = 0; } else { native_label = null; } - float v_speed = 1.0f; - float v_min = 0.0f; - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v = &v) + byte ret = ImGuiNative.igCollapsingHeader_TreeNodeFlags(native_label, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool DragFloat(string label, ref float v, float v_speed) +#endif + public static bool CollapsingHeader(string label, ImGuiTreeNodeFlags flags) { byte* native_label; int label_byteCount = 0; @@ -2376,38 +2986,15 @@ public static bool DragFloat(string label, ref float v, float v_speed) native_label[native_label_offset] = 0; } else { native_label = null; } - float v_min = 0.0f; - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v = &v) + byte ret = ImGuiNative.igCollapsingHeader_TreeNodeFlags(native_label, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool DragFloat(string label, ref float v, float v_speed, float v_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool CollapsingHeader(ReadOnlySpan label, ref bool p_visible) { byte* native_label; int label_byteCount = 0; @@ -2427,37 +3014,19 @@ public static bool DragFloat(string label, ref float v, float v_speed, float v_m native_label[native_label_offset] = 0; } else { native_label = null; } - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v = &v) + byte native_p_visible_val = p_visible ? (byte)1 : (byte)0; + byte* native_p_visible = &native_p_visible_val; + ImGuiTreeNodeFlags flags = (ImGuiTreeNodeFlags)0; + byte ret = ImGuiNative.igCollapsingHeader_BoolPtr(native_label, native_p_visible, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + p_visible = native_p_visible_val != 0; + return ret != 0; } - public static bool DragFloat(string label, ref float v, float v_speed, float v_min, float v_max) +#endif + public static bool CollapsingHeader(string label, ref bool p_visible) { byte* native_label; int label_byteCount = 0; @@ -2477,36 +3046,19 @@ public static bool DragFloat(string label, ref float v, float v_speed, float v_m native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v = &v) + byte native_p_visible_val = p_visible ? (byte)1 : (byte)0; + byte* native_p_visible = &native_p_visible_val; + ImGuiTreeNodeFlags flags = (ImGuiTreeNodeFlags)0; + byte ret = ImGuiNative.igCollapsingHeader_BoolPtr(native_label, native_p_visible, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + p_visible = native_p_visible_val != 0; + return ret != 0; } - public static bool DragFloat(string label, ref float v, float v_speed, float v_min, float v_max, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool CollapsingHeader(ReadOnlySpan label, ref bool p_visible, ImGuiTreeNodeFlags flags) { byte* native_label; int label_byteCount = 0; @@ -2526,40 +3078,18 @@ public static bool DragFloat(string label, ref float v, float v_speed, float v_m native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v = &v) + byte native_p_visible_val = p_visible ? (byte)1 : (byte)0; + byte* native_p_visible = &native_p_visible_val; + byte ret = ImGuiNative.igCollapsingHeader_BoolPtr(native_label, native_p_visible, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + p_visible = native_p_visible_val != 0; + return ret != 0; } - public static bool DragFloat(string label, ref float v, float v_speed, float v_min, float v_max, string format, ImGuiSliderFlags flags) +#endif + public static bool CollapsingHeader(string label, ref bool p_visible, ImGuiTreeNodeFlags flags) { byte* native_label; int label_byteCount = 0; @@ -2579,91 +3109,229 @@ public static bool DragFloat(string label, ref float v, float v_speed, float v_m native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) + byte native_p_visible_val = p_visible ? (byte)1 : (byte)0; + byte* native_p_visible = &native_p_visible_val; + byte ret = ImGuiNative.igCollapsingHeader_BoolPtr(native_label, native_p_visible, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_label); + } + p_visible = native_p_visible_val != 0; + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColorButton(ReadOnlySpan desc_id, Vector4 col) + { + byte* native_desc_id; + int desc_id_byteCount = 0; + if (desc_id != null) + { + desc_id_byteCount = Encoding.UTF8.GetByteCount(desc_id); + if (desc_id_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_desc_id = Util.Allocate(desc_id_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_desc_id_stackBytes = stackalloc byte[desc_id_byteCount + 1]; + native_desc_id = native_desc_id_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + int native_desc_id_offset = Util.GetUtf8(desc_id, native_desc_id, desc_id_byteCount); + native_desc_id[native_desc_id_offset] = 0; } - else { native_format = null; } - fixed (float* native_v = &v) + else { native_desc_id = null; } + ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igColorButton(native_desc_id, col, flags, size); + if (desc_id_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_desc_id); + } + return ret != 0; + } +#endif + public static bool ColorButton(string desc_id, Vector4 col) + { + byte* native_desc_id; + int desc_id_byteCount = 0; + if (desc_id != null) + { + desc_id_byteCount = Encoding.UTF8.GetByteCount(desc_id); + if (desc_id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_desc_id = Util.Allocate(desc_id_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_desc_id_stackBytes = stackalloc byte[desc_id_byteCount + 1]; + native_desc_id = native_desc_id_stackBytes; } - return ret != 0; + int native_desc_id_offset = Util.GetUtf8(desc_id, native_desc_id, desc_id_byteCount); + native_desc_id[native_desc_id_offset] = 0; + } + else { native_desc_id = null; } + ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igColorButton(native_desc_id, col, flags, size); + if (desc_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_desc_id); } + return ret != 0; } - public static bool DragFloat2(string label, ref Vector2 v) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColorButton(ReadOnlySpan desc_id, Vector4 col, ImGuiColorEditFlags flags) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_desc_id; + int desc_id_byteCount = 0; + if (desc_id != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + desc_id_byteCount = Encoding.UTF8.GetByteCount(desc_id); + if (desc_id_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_desc_id = Util.Allocate(desc_id_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_desc_id_stackBytes = stackalloc byte[desc_id_byteCount + 1]; + native_desc_id = native_desc_id_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_desc_id_offset = Util.GetUtf8(desc_id, native_desc_id, desc_id_byteCount); + native_desc_id[native_desc_id_offset] = 0; } - else { native_label = null; } - float v_speed = 1.0f; - float v_min = 0.0f; - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) + else { native_desc_id = null; } + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igColorButton(native_desc_id, col, flags, size); + if (desc_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_desc_id); + } + return ret != 0; + } +#endif + public static bool ColorButton(string desc_id, Vector4 col, ImGuiColorEditFlags flags) + { + byte* native_desc_id; + int desc_id_byteCount = 0; + if (desc_id != null) + { + desc_id_byteCount = Encoding.UTF8.GetByteCount(desc_id); + if (desc_id_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_desc_id = Util.Allocate(desc_id_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_desc_id_stackBytes = stackalloc byte[desc_id_byteCount + 1]; + native_desc_id = native_desc_id_stackBytes; } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector2* native_v = &v) + int native_desc_id_offset = Util.GetUtf8(desc_id, native_desc_id, desc_id_byteCount); + native_desc_id[native_desc_id_offset] = 0; + } + else { native_desc_id = null; } + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igColorButton(native_desc_id, col, flags, size); + if (desc_id_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_desc_id); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColorButton(ReadOnlySpan desc_id, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) + { + byte* native_desc_id; + int desc_id_byteCount = 0; + if (desc_id != null) + { + desc_id_byteCount = Encoding.UTF8.GetByteCount(desc_id); + if (desc_id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_desc_id = Util.Allocate(desc_id_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_desc_id_stackBytes = stackalloc byte[desc_id_byteCount + 1]; + native_desc_id = native_desc_id_stackBytes; } - return ret != 0; + int native_desc_id_offset = Util.GetUtf8(desc_id, native_desc_id, desc_id_byteCount); + native_desc_id[native_desc_id_offset] = 0; + } + else { native_desc_id = null; } + byte ret = ImGuiNative.igColorButton(native_desc_id, col, flags, size); + if (desc_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_desc_id); } + return ret != 0; } - public static bool DragFloat2(string label, ref Vector2 v, float v_speed) +#endif + public static bool ColorButton(string desc_id, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) + { + byte* native_desc_id; + int desc_id_byteCount = 0; + if (desc_id != null) + { + desc_id_byteCount = Encoding.UTF8.GetByteCount(desc_id); + if (desc_id_byteCount > Util.StackAllocationSizeLimit) + { + native_desc_id = Util.Allocate(desc_id_byteCount + 1); + } + else + { + byte* native_desc_id_stackBytes = stackalloc byte[desc_id_byteCount + 1]; + native_desc_id = native_desc_id_stackBytes; + } + int native_desc_id_offset = Util.GetUtf8(desc_id, native_desc_id, desc_id_byteCount); + native_desc_id[native_desc_id_offset] = 0; + } + else { native_desc_id = null; } + byte ret = ImGuiNative.igColorButton(native_desc_id, col, flags, size); + if (desc_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_desc_id); + } + return ret != 0; + } + public static uint ColorConvertFloat4ToU32(Vector4 @in) + { + uint ret = ImGuiNative.igColorConvertFloat4ToU32(@in); + return ret; + } + public static void ColorConvertHSVtoRGB(float h, float s, float v, out float out_r, out float out_g, out float out_b) + { + fixed (float* native_out_r = &out_r) + { + fixed (float* native_out_g = &out_g) + { + fixed (float* native_out_b = &out_b) + { + ImGuiNative.igColorConvertHSVtoRGB(h, s, v, native_out_r, native_out_g, native_out_b); + } + } + } + } + public static void ColorConvertRGBtoHSV(float r, float g, float b, out float out_h, out float out_s, out float out_v) + { + fixed (float* native_out_h = &out_h) + { + fixed (float* native_out_s = &out_s) + { + fixed (float* native_out_v = &out_v) + { + ImGuiNative.igColorConvertRGBtoHSV(r, g, b, native_out_h, native_out_s, native_out_v); + } + } + } + } + public static Vector4 ColorConvertU32ToFloat4(uint @in) + { + Vector4 __retval; + ImGuiNative.igColorConvertU32ToFloat4(&__retval, @in); + return __retval; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColorEdit3(ReadOnlySpan label, ref Vector3 col) { byte* native_label; int label_byteCount = 0; @@ -2683,38 +3351,19 @@ public static bool DragFloat2(string label, ref Vector2 v, float v_speed) native_label[native_label_offset] = 0; } else { native_label = null; } - float v_min = 0.0f; - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector2* native_v = &v) + ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; + fixed (Vector3* native_col = &col) { - byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorEdit3(native_label, native_col, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat2(string label, ref Vector2 v, float v_speed, float v_min) +#endif + public static bool ColorEdit3(string label, ref Vector3 col) { byte* native_label; int label_byteCount = 0; @@ -2734,37 +3383,19 @@ public static bool DragFloat2(string label, ref Vector2 v, float v_speed, float native_label[native_label_offset] = 0; } else { native_label = null; } - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector2* native_v = &v) + ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; + fixed (Vector3* native_col = &col) { - byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorEdit3(native_label, native_col, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat2(string label, ref Vector2 v, float v_speed, float v_min, float v_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColorEdit3(ReadOnlySpan label, ref Vector3 col, ImGuiColorEditFlags flags) { byte* native_label; int label_byteCount = 0; @@ -2784,36 +3415,18 @@ public static bool DragFloat2(string label, ref Vector2 v, float v_speed, float native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector2* native_v = &v) + fixed (Vector3* native_col = &col) { - byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorEdit3(native_label, native_col, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat2(string label, ref Vector2 v, float v_speed, float v_min, float v_max, string format) +#endif + public static bool ColorEdit3(string label, ref Vector3 col, ImGuiColorEditFlags flags) { byte* native_label; int label_byteCount = 0; @@ -2833,40 +3446,18 @@ public static bool DragFloat2(string label, ref Vector2 v, float v_speed, float native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector2* native_v = &v) + fixed (Vector3* native_col = &col) { - byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorEdit3(native_label, native_col, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat2(string label, ref Vector2 v, float v_speed, float v_min, float v_max, string format, ImGuiSliderFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColorEdit4(ReadOnlySpan label, ref Vector4 col) { byte* native_label; int label_byteCount = 0; @@ -2886,39 +3477,19 @@ public static bool DragFloat2(string label, ref Vector2 v, float v_speed, float native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - fixed (Vector2* native_v = &v) + ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; + fixed (Vector4* native_col = &col) { - byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorEdit4(native_label, native_col, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat3(string label, ref Vector3 v) +#endif + public static bool ColorEdit4(string label, ref Vector4 col) { byte* native_label; int label_byteCount = 0; @@ -2938,39 +3509,19 @@ public static bool DragFloat3(string label, ref Vector3 v) native_label[native_label_offset] = 0; } else { native_label = null; } - float v_speed = 1.0f; - float v_min = 0.0f; - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector3* native_v = &v) + ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; + fixed (Vector4* native_col = &col) { - byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorEdit4(native_label, native_col, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat3(string label, ref Vector3 v, float v_speed) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColorEdit4(ReadOnlySpan label, ref Vector4 col, ImGuiColorEditFlags flags) { byte* native_label; int label_byteCount = 0; @@ -2990,38 +3541,18 @@ public static bool DragFloat3(string label, ref Vector3 v, float v_speed) native_label[native_label_offset] = 0; } else { native_label = null; } - float v_min = 0.0f; - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector3* native_v = &v) + fixed (Vector4* native_col = &col) { - byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorEdit4(native_label, native_col, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat3(string label, ref Vector3 v, float v_speed, float v_min) +#endif + public static bool ColorEdit4(string label, ref Vector4 col, ImGuiColorEditFlags flags) { byte* native_label; int label_byteCount = 0; @@ -3041,37 +3572,18 @@ public static bool DragFloat3(string label, ref Vector3 v, float v_speed, float native_label[native_label_offset] = 0; } else { native_label = null; } - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector3* native_v = &v) + fixed (Vector4* native_col = &col) { - byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorEdit4(native_label, native_col, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat3(string label, ref Vector3 v, float v_speed, float v_min, float v_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColorPicker3(ReadOnlySpan label, ref Vector3 col) { byte* native_label; int label_byteCount = 0; @@ -3091,36 +3603,19 @@ public static bool DragFloat3(string label, ref Vector3 v, float v_speed, float native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector3* native_v = &v) + ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; + fixed (Vector3* native_col = &col) { - byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorPicker3(native_label, native_col, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat3(string label, ref Vector3 v, float v_speed, float v_min, float v_max, string format) +#endif + public static bool ColorPicker3(string label, ref Vector3 col) { byte* native_label; int label_byteCount = 0; @@ -3140,40 +3635,50 @@ public static bool DragFloat3(string label, ref Vector3 v, float v_speed, float native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) + ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; + fixed (Vector3* native_col = &col) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + byte ret = ImGuiNative.igColorPicker3(native_label, native_col, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + Util.Free(native_label); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColorPicker3(ReadOnlySpan label, ref Vector3 col, ImGuiColorEditFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_format = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector3* native_v = &v) + else { native_label = null; } + fixed (Vector3* native_col = &col) { - byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorPicker3(native_label, native_col, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat3(string label, ref Vector3 v, float v_speed, float v_min, float v_max, string format, ImGuiSliderFlags flags) +#endif + public static bool ColorPicker3(string label, ref Vector3 col, ImGuiColorEditFlags flags) { byte* native_label; int label_byteCount = 0; @@ -3193,39 +3698,18 @@ public static bool DragFloat3(string label, ref Vector3 v, float v_speed, float native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - fixed (Vector3* native_v = &v) + fixed (Vector3* native_col = &col) { - byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorPicker3(native_label, native_col, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat4(string label, ref Vector4 v) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColorPicker4(ReadOnlySpan label, ref Vector4 col) { byte* native_label; int label_byteCount = 0; @@ -3245,39 +3729,20 @@ public static bool DragFloat4(string label, ref Vector4 v) native_label[native_label_offset] = 0; } else { native_label = null; } - float v_speed = 1.0f; - float v_min = 0.0f; - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector4* native_v = &v) + ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; + float* ref_col = null; + fixed (Vector4* native_col = &col) { - byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorPicker4(native_label, native_col, flags, ref_col); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat4(string label, ref Vector4 v, float v_speed) +#endif + public static bool ColorPicker4(string label, ref Vector4 col) { byte* native_label; int label_byteCount = 0; @@ -3297,38 +3762,20 @@ public static bool DragFloat4(string label, ref Vector4 v, float v_speed) native_label[native_label_offset] = 0; } else { native_label = null; } - float v_min = 0.0f; - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector4* native_v = &v) + ImGuiColorEditFlags flags = (ImGuiColorEditFlags)0; + float* ref_col = null; + fixed (Vector4* native_col = &col) { - byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorPicker4(native_label, native_col, flags, ref_col); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat4(string label, ref Vector4 v, float v_speed, float v_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColorPicker4(ReadOnlySpan label, ref Vector4 col, ImGuiColorEditFlags flags) { byte* native_label; int label_byteCount = 0; @@ -3348,37 +3795,19 @@ public static bool DragFloat4(string label, ref Vector4 v, float v_speed, float native_label[native_label_offset] = 0; } else { native_label = null; } - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector4* native_v = &v) + float* ref_col = null; + fixed (Vector4* native_col = &col) { - byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorPicker4(native_label, native_col, flags, ref_col); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat4(string label, ref Vector4 v, float v_speed, float v_min, float v_max) +#endif + public static bool ColorPicker4(string label, ref Vector4 col, ImGuiColorEditFlags flags) { byte* native_label; int label_byteCount = 0; @@ -3398,36 +3827,19 @@ public static bool DragFloat4(string label, ref Vector4 v, float v_speed, float native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector4* native_v = &v) + float* ref_col = null; + fixed (Vector4* native_col = &col) { - byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igColorPicker4(native_label, native_col, flags, ref_col); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } } - public static bool DragFloat4(string label, ref Vector4 v, float v_speed, float v_min, float v_max, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColorPicker4(ReadOnlySpan label, ref Vector4 col, ImGuiColorEditFlags flags, ref float ref_col) { byte* native_label; int label_byteCount = 0; @@ -3447,40 +3859,21 @@ public static bool DragFloat4(string label, ref Vector4 v, float v_speed, float native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector4* native_v = &v) + fixed (Vector4* native_col = &col) { - byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ref_col = &ref_col) { - Util.Free(native_format); + byte ret = ImGuiNative.igColorPicker4(native_label, native_col, flags, native_ref_col); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; } - return ret != 0; } } - public static bool DragFloat4(string label, ref Vector4 v, float v_speed, float v_min, float v_max, string format, ImGuiSliderFlags flags) +#endif + public static bool ColorPicker4(string label, ref Vector4 col, ImGuiColorEditFlags flags, ref float ref_col) { byte* native_label; int label_byteCount = 0; @@ -3500,95 +3893,146 @@ public static bool DragFloat4(string label, ref Vector4 v, float v_speed, float native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) + fixed (Vector4* native_col = &col) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else + fixed (float* native_ref_col = &ref_col) { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte ret = ImGuiNative.igColorPicker4(native_label, native_col, flags, native_ref_col); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; } - else { native_format = null; } - fixed (Vector4* native_v = &v) + } + public static void Columns() + { + int count = 1; + byte* native_id = null; + byte borders = 1; + ImGuiNative.igColumns(count, native_id, borders); + } + public static void Columns(int count) + { + byte* native_id = null; + byte borders = 1; + ImGuiNative.igColumns(count, native_id, borders); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void Columns(int count, ReadOnlySpan id) + { + byte* native_id; + int id_byteCount = 0; + if (id != null) { - byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + id_byteCount = Encoding.UTF8.GetByteCount(id); + if (id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_id = Util.Allocate(id_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_id_stackBytes = stackalloc byte[id_byteCount + 1]; + native_id = native_id_stackBytes; } - return ret != 0; + int native_id_offset = Util.GetUtf8(id, native_id, id_byteCount); + native_id[native_id_offset] = 0; + } + else { native_id = null; } + byte borders = 1; + ImGuiNative.igColumns(count, native_id, borders); + if (id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_id); } } - public static bool DragFloatRange2(string label, ref float v_current_min, ref float v_current_max) +#endif + public static void Columns(int count, string id) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_id; + int id_byteCount = 0; + if (id != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + id_byteCount = Encoding.UTF8.GetByteCount(id); + if (id_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_id = Util.Allocate(id_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_id_stackBytes = stackalloc byte[id_byteCount + 1]; + native_id = native_id_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_id_offset = Util.GetUtf8(id, native_id, id_byteCount); + native_id[native_id_offset] = 0; } - else { native_label = null; } - float v_speed = 1.0f; - float v_min = 0.0f; - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) + else { native_id = null; } + byte borders = 1; + ImGuiNative.igColumns(count, native_id, borders); + if (id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_id); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void Columns(int count, ReadOnlySpan id, bool borders) + { + byte* native_id; + int id_byteCount = 0; + if (id != null) + { + id_byteCount = Encoding.UTF8.GetByteCount(id); + if (id_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_id = Util.Allocate(id_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_id_stackBytes = stackalloc byte[id_byteCount + 1]; + native_id = native_id_stackBytes; } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - byte* native_format_max = null; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v_current_min = &v_current_min) + int native_id_offset = Util.GetUtf8(id, native_id, id_byteCount); + native_id[native_id_offset] = 0; + } + else { native_id = null; } + byte native_borders = borders ? (byte)1 : (byte)0; + ImGuiNative.igColumns(count, native_id, native_borders); + if (id_byteCount > Util.StackAllocationSizeLimit) { - fixed (float* native_v_current_max = &v_current_max) + Util.Free(native_id); + } + } +#endif + public static void Columns(int count, string id, bool borders) + { + byte* native_id; + int id_byteCount = 0; + if (id != null) + { + id_byteCount = Encoding.UTF8.GetByteCount(id); + if (id_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + native_id = Util.Allocate(id_byteCount + 1); + } + else + { + byte* native_id_stackBytes = stackalloc byte[id_byteCount + 1]; + native_id = native_id_stackBytes; } + int native_id_offset = Util.GetUtf8(id, native_id, id_byteCount); + native_id[native_id_offset] = 0; + } + else { native_id = null; } + byte native_borders = borders ? (byte)1 : (byte)0; + ImGuiNative.igColumns(count, native_id, native_borders); + if (id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_id); } } - public static bool DragFloatRange2(string label, ref float v_current_min, ref float v_current_max, float v_speed) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Combo(ReadOnlySpan label, ref int current_item, string[] items, int items_count) { byte* native_label; int label_byteCount = 0; @@ -3608,42 +4052,42 @@ public static bool DragFloatRange2(string label, ref float v_current_min, ref fl native_label[native_label_offset] = 0; } else { native_label = null; } - float v_min = 0.0f; - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - byte* native_format_max = null; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v_current_min = &v_current_min) + int* items_byteCounts = stackalloc int[items.Length]; + int items_byteCount = 0; + for (int i = 0; i < items.Length; i++) { - fixed (float* native_v_current_max = &v_current_max) + string s = items[i]; + items_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + items_byteCount += items_byteCounts[i] + 1; + } + byte* native_items_data = stackalloc byte[items_byteCount]; + int offset = 0; + for (int i = 0; i < items.Length; i++) + { + string s = items[i]; + offset += Util.GetUtf8(s, native_items_data + offset, items_byteCounts[i]); + native_items_data[offset++] = 0; + } + byte** native_items = stackalloc byte*[items.Length]; + offset = 0; + for (int i = 0; i < items.Length; i++) + { + native_items[i] = &native_items_data[offset]; + offset += items_byteCounts[i] + 1; + } + int popup_max_height_in_items = -1; + fixed (int* native_current_item = ¤t_item) + { + byte ret = ImGuiNative.igCombo_Str_arr(native_label, native_current_item, native_items, items_count, popup_max_height_in_items); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } } - public static bool DragFloatRange2(string label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min) +#endif + public static bool Combo(string label, ref int current_item, string[] items, int items_count) { byte* native_label; int label_byteCount = 0; @@ -3663,41 +4107,42 @@ public static bool DragFloatRange2(string label, ref float v_current_min, ref fl native_label[native_label_offset] = 0; } else { native_label = null; } - float v_max = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - byte* native_format_max = null; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v_current_min = &v_current_min) + int* items_byteCounts = stackalloc int[items.Length]; + int items_byteCount = 0; + for (int i = 0; i < items.Length; i++) { - fixed (float* native_v_current_max = &v_current_max) + string s = items[i]; + items_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + items_byteCount += items_byteCounts[i] + 1; + } + byte* native_items_data = stackalloc byte[items_byteCount]; + int offset = 0; + for (int i = 0; i < items.Length; i++) + { + string s = items[i]; + offset += Util.GetUtf8(s, native_items_data + offset, items_byteCounts[i]); + native_items_data[offset++] = 0; + } + byte** native_items = stackalloc byte*[items.Length]; + offset = 0; + for (int i = 0; i < items.Length; i++) + { + native_items[i] = &native_items_data[offset]; + offset += items_byteCounts[i] + 1; + } + int popup_max_height_in_items = -1; + fixed (int* native_current_item = ¤t_item) + { + byte ret = ImGuiNative.igCombo_Str_arr(native_label, native_current_item, native_items, items_count, popup_max_height_in_items); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } } - public static bool DragFloatRange2(string label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min, float v_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Combo(ReadOnlySpan label, ref int current_item, string[] items, int items_count, int popup_max_height_in_items) { byte* native_label; int label_byteCount = 0; @@ -3717,40 +4162,41 @@ public static bool DragFloatRange2(string label, ref float v_current_min, ref fl native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - byte* native_format_max = null; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v_current_min = &v_current_min) + int* items_byteCounts = stackalloc int[items.Length]; + int items_byteCount = 0; + for (int i = 0; i < items.Length; i++) { - fixed (float* native_v_current_max = &v_current_max) + string s = items[i]; + items_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + items_byteCount += items_byteCounts[i] + 1; + } + byte* native_items_data = stackalloc byte[items_byteCount]; + int offset = 0; + for (int i = 0; i < items.Length; i++) + { + string s = items[i]; + offset += Util.GetUtf8(s, native_items_data + offset, items_byteCounts[i]); + native_items_data[offset++] = 0; + } + byte** native_items = stackalloc byte*[items.Length]; + offset = 0; + for (int i = 0; i < items.Length; i++) + { + native_items[i] = &native_items_data[offset]; + offset += items_byteCounts[i] + 1; + } + fixed (int* native_current_item = ¤t_item) + { + byte ret = ImGuiNative.igCombo_Str_arr(native_label, native_current_item, native_items, items_count, popup_max_height_in_items); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } } - public static bool DragFloatRange2(string label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min, float v_max, string format) +#endif + public static bool Combo(string label, ref int current_item, string[] items, int items_count, int popup_max_height_in_items) { byte* native_label; int label_byteCount = 0; @@ -3770,44 +4216,41 @@ public static bool DragFloatRange2(string label, ref float v_current_min, ref fl native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) + int* items_byteCounts = stackalloc int[items.Length]; + int items_byteCount = 0; + for (int i = 0; i < items.Length; i++) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + string s = items[i]; + items_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + items_byteCount += items_byteCounts[i] + 1; } - else { native_format = null; } - byte* native_format_max = null; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v_current_min = &v_current_min) + byte* native_items_data = stackalloc byte[items_byteCount]; + int offset = 0; + for (int i = 0; i < items.Length; i++) { - fixed (float* native_v_current_max = &v_current_max) + string s = items[i]; + offset += Util.GetUtf8(s, native_items_data + offset, items_byteCounts[i]); + native_items_data[offset++] = 0; + } + byte** native_items = stackalloc byte*[items.Length]; + offset = 0; + for (int i = 0; i < items.Length; i++) + { + native_items[i] = &native_items_data[offset]; + offset += items_byteCounts[i] + 1; + } + fixed (int* native_current_item = ¤t_item) + { + byte ret = ImGuiNative.igCombo_Str_arr(native_label, native_current_item, native_items, items_count, popup_max_height_in_items); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } } - public static bool DragFloatRange2(string label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min, float v_max, string format, string format_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Combo(ReadOnlySpan label, ref int current_item, ReadOnlySpan items_separated_by_zeros) { byte* native_label; int label_byteCount = 0; @@ -3827,65 +4270,41 @@ public static bool DragFloatRange2(string label, ref float v_current_min, ref fl native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) + byte* native_items_separated_by_zeros; + int items_separated_by_zeros_byteCount = 0; + if (items_separated_by_zeros != null) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + items_separated_by_zeros_byteCount = Encoding.UTF8.GetByteCount(items_separated_by_zeros); + if (items_separated_by_zeros_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_items_separated_by_zeros = Util.Allocate(items_separated_by_zeros_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_items_separated_by_zeros_stackBytes = stackalloc byte[items_separated_by_zeros_byteCount + 1]; + native_items_separated_by_zeros = native_items_separated_by_zeros_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + int native_items_separated_by_zeros_offset = Util.GetUtf8(items_separated_by_zeros, native_items_separated_by_zeros, items_separated_by_zeros_byteCount); + native_items_separated_by_zeros[native_items_separated_by_zeros_offset] = 0; } - else { native_format = null; } - byte* native_format_max; - int format_max_byteCount = 0; - if (format_max != null) + else { native_items_separated_by_zeros = null; } + int popup_max_height_in_items = -1; + fixed (int* native_current_item = ¤t_item) { - format_max_byteCount = Encoding.UTF8.GetByteCount(format_max); - if (format_max_byteCount > Util.StackAllocationSizeLimit) - { - native_format_max = Util.Allocate(format_max_byteCount + 1); - } - else + byte ret = ImGuiNative.igCombo_Str(native_label, native_current_item, native_items_separated_by_zeros, popup_max_height_in_items); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte* native_format_max_stackBytes = stackalloc byte[format_max_byteCount + 1]; - native_format_max = native_format_max_stackBytes; + Util.Free(native_label); } - int native_format_max_offset = Util.GetUtf8(format_max, native_format_max, format_max_byteCount); - native_format_max[native_format_max_offset] = 0; - } - else { native_format_max = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v_current_min = &v_current_min) - { - fixed (float* native_v_current_max = &v_current_max) + if (items_separated_by_zeros_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - if (format_max_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format_max); - } - return ret != 0; + Util.Free(native_items_separated_by_zeros); } + return ret != 0; } } - public static bool DragFloatRange2(string label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min, float v_max, string format, string format_max, ImGuiSliderFlags flags) +#endif + public static bool Combo(string label, ref int current_item, string items_separated_by_zeros) { byte* native_label; int label_byteCount = 0; @@ -3905,64 +4324,41 @@ public static bool DragFloatRange2(string label, ref float v_current_min, ref fl native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) + byte* native_items_separated_by_zeros; + int items_separated_by_zeros_byteCount = 0; + if (items_separated_by_zeros != null) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + items_separated_by_zeros_byteCount = Encoding.UTF8.GetByteCount(items_separated_by_zeros); + if (items_separated_by_zeros_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_items_separated_by_zeros = Util.Allocate(items_separated_by_zeros_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_items_separated_by_zeros_stackBytes = stackalloc byte[items_separated_by_zeros_byteCount + 1]; + native_items_separated_by_zeros = native_items_separated_by_zeros_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + int native_items_separated_by_zeros_offset = Util.GetUtf8(items_separated_by_zeros, native_items_separated_by_zeros, items_separated_by_zeros_byteCount); + native_items_separated_by_zeros[native_items_separated_by_zeros_offset] = 0; } - else { native_format = null; } - byte* native_format_max; - int format_max_byteCount = 0; - if (format_max != null) + else { native_items_separated_by_zeros = null; } + int popup_max_height_in_items = -1; + fixed (int* native_current_item = ¤t_item) { - format_max_byteCount = Encoding.UTF8.GetByteCount(format_max); - if (format_max_byteCount > Util.StackAllocationSizeLimit) - { - native_format_max = Util.Allocate(format_max_byteCount + 1); - } - else + byte ret = ImGuiNative.igCombo_Str(native_label, native_current_item, native_items_separated_by_zeros, popup_max_height_in_items); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte* native_format_max_stackBytes = stackalloc byte[format_max_byteCount + 1]; - native_format_max = native_format_max_stackBytes; + Util.Free(native_label); } - int native_format_max_offset = Util.GetUtf8(format_max, native_format_max, format_max_byteCount); - native_format_max[native_format_max_offset] = 0; - } - else { native_format_max = null; } - fixed (float* native_v_current_min = &v_current_min) - { - fixed (float* native_v_current_max = &v_current_max) + if (items_separated_by_zeros_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - if (format_max_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format_max); - } - return ret != 0; + Util.Free(native_items_separated_by_zeros); } + return ret != 0; } } - public static bool DragInt(string label, ref int v) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Combo(ReadOnlySpan label, ref int current_item, ReadOnlySpan items_separated_by_zeros, int popup_max_height_in_items) { byte* native_label; int label_byteCount = 0; @@ -3982,39 +4378,40 @@ public static bool DragInt(string label, ref int v) native_label[native_label_offset] = 0; } else { native_label = null; } - float v_speed = 1.0f; - int v_min = 0; - int v_max = 0; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); - if (format_byteCount > Util.StackAllocationSizeLimit) + byte* native_items_separated_by_zeros; + int items_separated_by_zeros_byteCount = 0; + if (items_separated_by_zeros != null) + { + items_separated_by_zeros_byteCount = Encoding.UTF8.GetByteCount(items_separated_by_zeros); + if (items_separated_by_zeros_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_items_separated_by_zeros = Util.Allocate(items_separated_by_zeros_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_items_separated_by_zeros_stackBytes = stackalloc byte[items_separated_by_zeros_byteCount + 1]; + native_items_separated_by_zeros = native_items_separated_by_zeros_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + int native_items_separated_by_zeros_offset = Util.GetUtf8(items_separated_by_zeros, native_items_separated_by_zeros, items_separated_by_zeros_byteCount); + native_items_separated_by_zeros[native_items_separated_by_zeros_offset] = 0; + } + else { native_items_separated_by_zeros = null; } + fixed (int* native_current_item = ¤t_item) { - byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igCombo_Str(native_label, native_current_item, native_items_separated_by_zeros, popup_max_height_in_items); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) + if (items_separated_by_zeros_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_format); + Util.Free(native_items_separated_by_zeros); } return ret != 0; } } - public static bool DragInt(string label, ref int v, float v_speed) +#endif + public static bool Combo(string label, ref int current_item, string items_separated_by_zeros, int popup_max_height_in_items) { byte* native_label; int label_byteCount = 0; @@ -4034,88 +4431,303 @@ public static bool DragInt(string label, ref int v, float v_speed) native_label[native_label_offset] = 0; } else { native_label = null; } - int v_min = 0; - int v_max = 0; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); - if (format_byteCount > Util.StackAllocationSizeLimit) + byte* native_items_separated_by_zeros; + int items_separated_by_zeros_byteCount = 0; + if (items_separated_by_zeros != null) + { + items_separated_by_zeros_byteCount = Encoding.UTF8.GetByteCount(items_separated_by_zeros); + if (items_separated_by_zeros_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_items_separated_by_zeros = Util.Allocate(items_separated_by_zeros_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_items_separated_by_zeros_stackBytes = stackalloc byte[items_separated_by_zeros_byteCount + 1]; + native_items_separated_by_zeros = native_items_separated_by_zeros_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + int native_items_separated_by_zeros_offset = Util.GetUtf8(items_separated_by_zeros, native_items_separated_by_zeros, items_separated_by_zeros_byteCount); + native_items_separated_by_zeros[native_items_separated_by_zeros_offset] = 0; + } + else { native_items_separated_by_zeros = null; } + fixed (int* native_current_item = ¤t_item) { - byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igCombo_Str(native_label, native_current_item, native_items_separated_by_zeros, popup_max_height_in_items); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) + if (items_separated_by_zeros_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_format); + Util.Free(native_items_separated_by_zeros); } return ret != 0; } } - public static bool DragInt(string label, ref int v, float v_speed, int v_min) + public static IntPtr CreateContext() { - byte* native_label; - int label_byteCount = 0; - if (label != null) + ImFontAtlas* shared_font_atlas = null; + IntPtr ret = ImGuiNative.igCreateContext(shared_font_atlas); + return ret; + } + public static IntPtr CreateContext(ImFontAtlasPtr shared_font_atlas) + { + ImFontAtlas* native_shared_font_atlas = shared_font_atlas.NativePtr; + IntPtr ret = ImGuiNative.igCreateContext(native_shared_font_atlas); + return ret; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan version_str, uint sz_io, uint sz_style, uint sz_vec2, uint sz_vec4, uint sz_drawvert, uint sz_drawidx) + { + byte* native_version_str; + int version_str_byteCount = 0; + if (version_str != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - native_label = Util.Allocate(label_byteCount + 1); + version_str_byteCount = Encoding.UTF8.GetByteCount(version_str); + if (version_str_byteCount > Util.StackAllocationSizeLimit) + { + native_version_str = Util.Allocate(version_str_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_version_str_stackBytes = stackalloc byte[version_str_byteCount + 1]; + native_version_str = native_version_str_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_version_str_offset = Util.GetUtf8(version_str, native_version_str, version_str_byteCount); + native_version_str[native_version_str_offset] = 0; } - else { native_label = null; } - int v_max = 0; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); - if (format_byteCount > Util.StackAllocationSizeLimit) + else { native_version_str = null; } + byte ret = ImGuiNative.igDebugCheckVersionAndDataLayout(native_version_str, sz_io, sz_style, sz_vec2, sz_vec4, sz_drawvert, sz_drawidx); + if (version_str_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_version_str); + } + return ret != 0; + } +#endif + public static bool DebugCheckVersionAndDataLayout(string version_str, uint sz_io, uint sz_style, uint sz_vec2, uint sz_vec4, uint sz_drawvert, uint sz_drawidx) + { + byte* native_version_str; + int version_str_byteCount = 0; + if (version_str != null) + { + version_str_byteCount = Encoding.UTF8.GetByteCount(version_str); + if (version_str_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_version_str = Util.Allocate(version_str_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_version_str_stackBytes = stackalloc byte[version_str_byteCount + 1]; + native_version_str = native_version_str_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + int native_version_str_offset = Util.GetUtf8(version_str, native_version_str, version_str_byteCount); + native_version_str[native_version_str_offset] = 0; + } + else { native_version_str = null; } + byte ret = ImGuiNative.igDebugCheckVersionAndDataLayout(native_version_str, sz_io, sz_style, sz_vec2, sz_vec4, sz_drawvert, sz_drawidx); + if (version_str_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_version_str); + } + return ret != 0; + } + public static void DebugFlashStyleColor(ImGuiCol idx) + { + ImGuiNative.igDebugFlashStyleColor(idx); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void DebugLog(ReadOnlySpan fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_fmt = Util.Allocate(fmt_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - return ret != 0; + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImGuiNative.igDebugLog(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); } } - public static bool DragInt(string label, ref int v, float v_speed, int v_min, int v_max) +#endif + public static void DebugLog(string fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImGuiNative.igDebugLog(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + } + public static void DebugStartItemPicker() + { + ImGuiNative.igDebugStartItemPicker(); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void DebugTextEncoding(ReadOnlySpan text) + { + byte* native_text; + int text_byteCount = 0; + if (text != null) + { + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + native_text = Util.Allocate(text_byteCount + 1); + } + else + { + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; + } + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + ImGuiNative.igDebugTextEncoding(native_text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text); + } + } +#endif + public static void DebugTextEncoding(string text) + { + byte* native_text; + int text_byteCount = 0; + if (text != null) + { + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + native_text = Util.Allocate(text_byteCount + 1); + } + else + { + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; + } + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + ImGuiNative.igDebugTextEncoding(native_text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text); + } + } + public static void DestroyContext() + { + IntPtr ctx = IntPtr.Zero; + ImGuiNative.igDestroyContext(ctx); + } + public static void DestroyContext(IntPtr ctx) + { + ImGuiNative.igDestroyContext(ctx); + } + public static void DestroyPlatformWindows() + { + ImGuiNative.igDestroyPlatformWindows(); + } + public static uint DockSpace(uint dockspace_id) + { + Vector2 size = new Vector2(); + ImGuiDockNodeFlags flags = (ImGuiDockNodeFlags)0; + ImGuiWindowClass* window_class = null; + uint ret = ImGuiNative.igDockSpace(dockspace_id, size, flags, window_class); + return ret; + } + public static uint DockSpace(uint dockspace_id, Vector2 size) + { + ImGuiDockNodeFlags flags = (ImGuiDockNodeFlags)0; + ImGuiWindowClass* window_class = null; + uint ret = ImGuiNative.igDockSpace(dockspace_id, size, flags, window_class); + return ret; + } + public static uint DockSpace(uint dockspace_id, Vector2 size, ImGuiDockNodeFlags flags) + { + ImGuiWindowClass* window_class = null; + uint ret = ImGuiNative.igDockSpace(dockspace_id, size, flags, window_class); + return ret; + } + public static uint DockSpace(uint dockspace_id, Vector2 size, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr window_class) + { + ImGuiWindowClass* native_window_class = window_class.NativePtr; + uint ret = ImGuiNative.igDockSpace(dockspace_id, size, flags, native_window_class); + return ret; + } + public static uint DockSpaceOverViewport() + { + uint dockspace_id = 0; + ImGuiViewport* viewport = null; + ImGuiDockNodeFlags flags = (ImGuiDockNodeFlags)0; + ImGuiWindowClass* window_class = null; + uint ret = ImGuiNative.igDockSpaceOverViewport(dockspace_id, viewport, flags, window_class); + return ret; + } + public static uint DockSpaceOverViewport(uint dockspace_id) + { + ImGuiViewport* viewport = null; + ImGuiDockNodeFlags flags = (ImGuiDockNodeFlags)0; + ImGuiWindowClass* window_class = null; + uint ret = ImGuiNative.igDockSpaceOverViewport(dockspace_id, viewport, flags, window_class); + return ret; + } + public static uint DockSpaceOverViewport(uint dockspace_id, ImGuiViewportPtr viewport) + { + ImGuiViewport* native_viewport = viewport.NativePtr; + ImGuiDockNodeFlags flags = (ImGuiDockNodeFlags)0; + ImGuiWindowClass* window_class = null; + uint ret = ImGuiNative.igDockSpaceOverViewport(dockspace_id, native_viewport, flags, window_class); + return ret; + } + public static uint DockSpaceOverViewport(uint dockspace_id, ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags) + { + ImGuiViewport* native_viewport = viewport.NativePtr; + ImGuiWindowClass* window_class = null; + uint ret = ImGuiNative.igDockSpaceOverViewport(dockspace_id, native_viewport, flags, window_class); + return ret; + } + public static uint DockSpaceOverViewport(uint dockspace_id, ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr window_class) + { + ImGuiViewport* native_viewport = viewport.NativePtr; + ImGuiWindowClass* native_window_class = window_class.NativePtr; + uint ret = ImGuiNative.igDockSpaceOverViewport(dockspace_id, native_viewport, flags, native_window_class); + return ret; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat(ReadOnlySpan label, ref float v) { byte* native_label; int label_byteCount = 0; @@ -4135,9 +4747,12 @@ public static bool DragInt(string label, ref int v, float v_speed, int v_min, in native_label[native_label_offset] = 0; } else { native_label = null; } + float v_speed = 1.0f; + float v_min = 0.0f; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4147,12 +4762,12 @@ public static bool DragInt(string label, ref int v, float v_speed, int v_min, in byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (float* native_v = &v) { - byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4164,7 +4779,8 @@ public static bool DragInt(string label, ref int v, float v_speed, int v_min, in return ret != 0; } } - public static bool DragInt(string label, ref int v, float v_speed, int v_min, int v_max, string format) +#endif + public static bool DragFloat(string label, ref float v) { byte* native_label; int label_byteCount = 0; @@ -4184,11 +4800,12 @@ public static bool DragInt(string label, ref int v, float v_speed, int v_min, in native_label[native_label_offset] = 0; } else { native_label = null; } + float v_speed = 1.0f; + float v_min = 0.0f; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4198,14 +4815,12 @@ public static bool DragInt(string label, ref int v, float v_speed, int v_min, in byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - } - else { native_format = null; } ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (float* native_v = &v) { - byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4217,7 +4832,8 @@ public static bool DragInt(string label, ref int v, float v_speed, int v_min, in return ret != 0; } } - public static bool DragInt(string label, ref int v, float v_speed, int v_min, int v_max, string format, ImGuiSliderFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat(ReadOnlySpan label, ref float v, float v_speed) { byte* native_label; int label_byteCount = 0; @@ -4237,11 +4853,11 @@ public static bool DragInt(string label, ref int v, float v_speed, int v_min, in native_label[native_label_offset] = 0; } else { native_label = null; } + float v_min = 0.0f; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4251,13 +4867,12 @@ public static bool DragInt(string label, ref int v, float v_speed, int v_min, in byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - } - else { native_format = null; } - fixed (int* native_v = &v) + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v = &v) { - byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4269,7 +4884,8 @@ public static bool DragInt(string label, ref int v, float v_speed, int v_min, in return ret != 0; } } - public static bool DragInt2(string label, ref int v) +#endif + public static bool DragFloat(string label, ref float v, float v_speed) { byte* native_label; int label_byteCount = 0; @@ -4289,12 +4905,11 @@ public static bool DragInt2(string label, ref int v) native_label[native_label_offset] = 0; } else { native_label = null; } - float v_speed = 1.0f; - int v_min = 0; - int v_max = 0; + float v_min = 0.0f; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4304,12 +4919,12 @@ public static bool DragInt2(string label, ref int v) byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (float* native_v = &v) { - byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4321,7 +4936,8 @@ public static bool DragInt2(string label, ref int v) return ret != 0; } } - public static bool DragInt2(string label, ref int v, float v_speed) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat(ReadOnlySpan label, ref float v, float v_speed, float v_min) { byte* native_label; int label_byteCount = 0; @@ -4341,11 +4957,10 @@ public static bool DragInt2(string label, ref int v, float v_speed) native_label[native_label_offset] = 0; } else { native_label = null; } - int v_min = 0; - int v_max = 0; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4355,12 +4970,12 @@ public static bool DragInt2(string label, ref int v, float v_speed) byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (float* native_v = &v) { - byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4372,7 +4987,8 @@ public static bool DragInt2(string label, ref int v, float v_speed) return ret != 0; } } - public static bool DragInt2(string label, ref int v, float v_speed, int v_min) +#endif + public static bool DragFloat(string label, ref float v, float v_speed, float v_min) { byte* native_label; int label_byteCount = 0; @@ -4392,10 +5008,10 @@ public static bool DragInt2(string label, ref int v, float v_speed, int v_min) native_label[native_label_offset] = 0; } else { native_label = null; } - int v_max = 0; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4405,12 +5021,12 @@ public static bool DragInt2(string label, ref int v, float v_speed, int v_min) byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (float* native_v = &v) { - byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4422,7 +5038,8 @@ public static bool DragInt2(string label, ref int v, float v_speed, int v_min) return ret != 0; } } - public static bool DragInt2(string label, ref int v, float v_speed, int v_min, int v_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat(ReadOnlySpan label, ref float v, float v_speed, float v_min, float v_max) { byte* native_label; int label_byteCount = 0; @@ -4444,7 +5061,7 @@ public static bool DragInt2(string label, ref int v, float v_speed, int v_min, i else { native_label = null; } byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4454,12 +5071,12 @@ public static bool DragInt2(string label, ref int v, float v_speed, int v_min, i byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (float* native_v = &v) { - byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4471,7 +5088,8 @@ public static bool DragInt2(string label, ref int v, float v_speed, int v_min, i return ret != 0; } } - public static bool DragInt2(string label, ref int v, float v_speed, int v_min, int v_max, string format) +#endif + public static bool DragFloat(string label, ref float v, float v_speed, float v_min, float v_max) { byte* native_label; int label_byteCount = 0; @@ -4493,9 +5111,7 @@ public static bool DragInt2(string label, ref int v, float v_speed, int v_min, i else { native_label = null; } byte* native_format; int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4505,14 +5121,12 @@ public static bool DragInt2(string label, ref int v, float v_speed, int v_min, i byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - } - else { native_format = null; } ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (float* native_v = &v) { - byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4524,7 +5138,8 @@ public static bool DragInt2(string label, ref int v, float v_speed, int v_min, i return ret != 0; } } - public static bool DragInt2(string label, ref int v, float v_speed, int v_min, int v_max, string format, ImGuiSliderFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat(ReadOnlySpan label, ref float v, float v_speed, float v_min, float v_max, ReadOnlySpan format) { byte* native_label; int label_byteCount = 0; @@ -4562,9 +5177,10 @@ public static bool DragInt2(string label, ref int v, float v_speed, int v_min, i native_format[native_format_offset] = 0; } else { native_format = null; } - fixed (int* native_v = &v) + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v = &v) { - byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4576,7 +5192,8 @@ public static bool DragInt2(string label, ref int v, float v_speed, int v_min, i return ret != 0; } } - public static bool DragInt3(string label, ref int v) +#endif + public static bool DragFloat(string label, ref float v, float v_speed, float v_min, float v_max, string format) { byte* native_label; int label_byteCount = 0; @@ -4596,12 +5213,11 @@ public static bool DragInt3(string label, ref int v) native_label[native_label_offset] = 0; } else { native_label = null; } - float v_speed = 1.0f; - int v_min = 0; - int v_max = 0; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4611,12 +5227,14 @@ public static bool DragInt3(string label, ref int v) byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); native_format[native_format_offset] = 0; + } + else { native_format = null; } ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (float* native_v = &v) { - byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4628,7 +5246,8 @@ public static bool DragInt3(string label, ref int v) return ret != 0; } } - public static bool DragInt3(string label, ref int v, float v_speed) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat(ReadOnlySpan label, ref float v, float v_speed, float v_min, float v_max, ReadOnlySpan format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -4648,11 +5267,11 @@ public static bool DragInt3(string label, ref int v, float v_speed) native_label[native_label_offset] = 0; } else { native_label = null; } - int v_min = 0; - int v_max = 0; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4662,12 +5281,13 @@ public static bool DragInt3(string label, ref int v, float v_speed) byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + } + else { native_format = null; } + fixed (float* native_v = &v) { - byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4679,7 +5299,8 @@ public static bool DragInt3(string label, ref int v, float v_speed) return ret != 0; } } - public static bool DragInt3(string label, ref int v, float v_speed, int v_min) +#endif + public static bool DragFloat(string label, ref float v, float v_speed, float v_min, float v_max, string format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -4699,10 +5320,11 @@ public static bool DragInt3(string label, ref int v, float v_speed, int v_min) native_label[native_label_offset] = 0; } else { native_label = null; } - int v_max = 0; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4712,12 +5334,13 @@ public static bool DragInt3(string label, ref int v, float v_speed, int v_min) byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + } + else { native_format = null; } + fixed (float* native_v = &v) { - byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4729,7 +5352,8 @@ public static bool DragInt3(string label, ref int v, float v_speed, int v_min) return ret != 0; } } - public static bool DragInt3(string label, ref int v, float v_speed, int v_min, int v_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat2(ReadOnlySpan label, ref Vector2 v) { byte* native_label; int label_byteCount = 0; @@ -4749,9 +5373,12 @@ public static bool DragInt3(string label, ref int v, float v_speed, int v_min, i native_label[native_label_offset] = 0; } else { native_label = null; } + float v_speed = 1.0f; + float v_min = 0.0f; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4761,12 +5388,12 @@ public static bool DragInt3(string label, ref int v, float v_speed, int v_min, i byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (Vector2* native_v = &v) { - byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4778,7 +5405,8 @@ public static bool DragInt3(string label, ref int v, float v_speed, int v_min, i return ret != 0; } } - public static bool DragInt3(string label, ref int v, float v_speed, int v_min, int v_max, string format) +#endif + public static bool DragFloat2(string label, ref Vector2 v) { byte* native_label; int label_byteCount = 0; @@ -4798,11 +5426,12 @@ public static bool DragInt3(string label, ref int v, float v_speed, int v_min, i native_label[native_label_offset] = 0; } else { native_label = null; } + float v_speed = 1.0f; + float v_min = 0.0f; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4812,14 +5441,12 @@ public static bool DragInt3(string label, ref int v, float v_speed, int v_min, i byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - } - else { native_format = null; } ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (Vector2* native_v = &v) { - byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4831,7 +5458,8 @@ public static bool DragInt3(string label, ref int v, float v_speed, int v_min, i return ret != 0; } } - public static bool DragInt3(string label, ref int v, float v_speed, int v_min, int v_max, string format, ImGuiSliderFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat2(ReadOnlySpan label, ref Vector2 v, float v_speed) { byte* native_label; int label_byteCount = 0; @@ -4851,11 +5479,11 @@ public static bool DragInt3(string label, ref int v, float v_speed, int v_min, i native_label[native_label_offset] = 0; } else { native_label = null; } + float v_min = 0.0f; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4865,13 +5493,12 @@ public static bool DragInt3(string label, ref int v, float v_speed, int v_min, i byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - } - else { native_format = null; } - fixed (int* native_v = &v) + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector2* native_v = &v) { - byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4883,7 +5510,8 @@ public static bool DragInt3(string label, ref int v, float v_speed, int v_min, i return ret != 0; } } - public static bool DragInt4(string label, ref int v) +#endif + public static bool DragFloat2(string label, ref Vector2 v, float v_speed) { byte* native_label; int label_byteCount = 0; @@ -4903,12 +5531,11 @@ public static bool DragInt4(string label, ref int v) native_label[native_label_offset] = 0; } else { native_label = null; } - float v_speed = 1.0f; - int v_min = 0; - int v_max = 0; + float v_min = 0.0f; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4918,12 +5545,12 @@ public static bool DragInt4(string label, ref int v) byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (Vector2* native_v = &v) { - byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4935,7 +5562,8 @@ public static bool DragInt4(string label, ref int v) return ret != 0; } } - public static bool DragInt4(string label, ref int v, float v_speed) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat2(ReadOnlySpan label, ref Vector2 v, float v_speed, float v_min) { byte* native_label; int label_byteCount = 0; @@ -4955,11 +5583,10 @@ public static bool DragInt4(string label, ref int v, float v_speed) native_label[native_label_offset] = 0; } else { native_label = null; } - int v_min = 0; - int v_max = 0; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -4969,12 +5596,12 @@ public static bool DragInt4(string label, ref int v, float v_speed) byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (Vector2* native_v = &v) { - byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -4986,7 +5613,8 @@ public static bool DragInt4(string label, ref int v, float v_speed) return ret != 0; } } - public static bool DragInt4(string label, ref int v, float v_speed, int v_min) +#endif + public static bool DragFloat2(string label, ref Vector2 v, float v_speed, float v_min) { byte* native_label; int label_byteCount = 0; @@ -5006,10 +5634,10 @@ public static bool DragInt4(string label, ref int v, float v_speed, int v_min) native_label[native_label_offset] = 0; } else { native_label = null; } - int v_max = 0; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -5019,12 +5647,12 @@ public static bool DragInt4(string label, ref int v, float v_speed, int v_min) byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (Vector2* native_v = &v) { - byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -5036,7 +5664,8 @@ public static bool DragInt4(string label, ref int v, float v_speed, int v_min) return ret != 0; } } - public static bool DragInt4(string label, ref int v, float v_speed, int v_min, int v_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat2(ReadOnlySpan label, ref Vector2 v, float v_speed, float v_min, float v_max) { byte* native_label; int label_byteCount = 0; @@ -5058,7 +5687,7 @@ public static bool DragInt4(string label, ref int v, float v_speed, int v_min, i else { native_label = null; } byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -5068,12 +5697,12 @@ public static bool DragInt4(string label, ref int v, float v_speed, int v_min, i byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (Vector2* native_v = &v) { - byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -5085,7 +5714,8 @@ public static bool DragInt4(string label, ref int v, float v_speed, int v_min, i return ret != 0; } } - public static bool DragInt4(string label, ref int v, float v_speed, int v_min, int v_max, string format) +#endif + public static bool DragFloat2(string label, ref Vector2 v, float v_speed, float v_min, float v_max) { byte* native_label; int label_byteCount = 0; @@ -5107,9 +5737,7 @@ public static bool DragInt4(string label, ref int v, float v_speed, int v_min, i else { native_label = null; } byte* native_format; int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -5119,14 +5747,12 @@ public static bool DragInt4(string label, ref int v, float v_speed, int v_min, i byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - } - else { native_format = null; } ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + fixed (Vector2* native_v = &v) { - byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -5138,7 +5764,8 @@ public static bool DragInt4(string label, ref int v, float v_speed, int v_min, i return ret != 0; } } - public static bool DragInt4(string label, ref int v, float v_speed, int v_min, int v_max, string format, ImGuiSliderFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat2(ReadOnlySpan label, ref Vector2 v, float v_speed, float v_min, float v_max, ReadOnlySpan format) { byte* native_label; int label_byteCount = 0; @@ -5176,9 +5803,10 @@ public static bool DragInt4(string label, ref int v, float v_speed, int v_min, i native_format[native_format_offset] = 0; } else { native_format = null; } - fixed (int* native_v = &v) + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector2* native_v = &v) { - byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -5190,7 +5818,8 @@ public static bool DragInt4(string label, ref int v, float v_speed, int v_min, i return ret != 0; } } - public static bool DragIntRange2(string label, ref int v_current_min, ref int v_current_max) +#endif + public static bool DragFloat2(string label, ref Vector2 v, float v_speed, float v_min, float v_max, string format) { byte* native_label; int label_byteCount = 0; @@ -5210,12 +5839,11 @@ public static bool DragIntRange2(string label, ref int v_current_min, ref int v_ native_label[native_label_offset] = 0; } else { native_label = null; } - float v_speed = 1.0f; - int v_min = 0; - int v_max = 0; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -5225,28 +5853,27 @@ public static bool DragIntRange2(string label, ref int v_current_min, ref int v_ byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); native_format[native_format_offset] = 0; - byte* native_format_max = null; + } + else { native_format = null; } ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v_current_min = &v_current_min) + fixed (Vector2* native_v = &v) { - fixed (int* native_v_current_max = &v_current_max) - { - byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); } + return ret != 0; } } - public static bool DragIntRange2(string label, ref int v_current_min, ref int v_current_max, float v_speed) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat2(ReadOnlySpan label, ref Vector2 v, float v_speed, float v_min, float v_max, ReadOnlySpan format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -5266,11 +5893,11 @@ public static bool DragIntRange2(string label, ref int v_current_min, ref int v_ native_label[native_label_offset] = 0; } else { native_label = null; } - int v_min = 0; - int v_max = 0; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -5280,28 +5907,26 @@ public static bool DragIntRange2(string label, ref int v_current_min, ref int v_ byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); native_format[native_format_offset] = 0; - byte* native_format_max = null; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v_current_min = &v_current_min) + } + else { native_format = null; } + fixed (Vector2* native_v = &v) { - fixed (int* native_v_current_max = &v_current_max) + byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static bool DragIntRange2(string label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min) +#endif + public static bool DragFloat2(string label, ref Vector2 v, float v_speed, float v_min, float v_max, string format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -5321,10 +5946,11 @@ public static bool DragIntRange2(string label, ref int v_current_min, ref int v_ native_label[native_label_offset] = 0; } else { native_label = null; } - int v_max = 0; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -5334,28 +5960,26 @@ public static bool DragIntRange2(string label, ref int v_current_min, ref int v_ byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); native_format[native_format_offset] = 0; - byte* native_format_max = null; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v_current_min = &v_current_min) + } + else { native_format = null; } + fixed (Vector2* native_v = &v) { - fixed (int* native_v_current_max = &v_current_max) + byte ret = ImGuiNative.igDragFloat2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); } + return ret != 0; } } - public static bool DragIntRange2(string label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min, int v_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat3(ReadOnlySpan label, ref Vector3 v) { byte* native_label; int label_byteCount = 0; @@ -5375,9 +5999,12 @@ public static bool DragIntRange2(string label, ref int v_current_min, ref int v_ native_label[native_label_offset] = 0; } else { native_label = null; } + float v_speed = 1.0f; + float v_min = 0.0f; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -5387,28 +6014,25 @@ public static bool DragIntRange2(string label, ref int v_current_min, ref int v_ byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - byte* native_format_max = null; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v_current_min = &v_current_min) + fixed (Vector3* native_v = &v) { - fixed (int* native_v_current_max = &v_current_max) + byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static bool DragIntRange2(string label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min, int v_max, string format) +#endif + public static bool DragFloat3(string label, ref Vector3 v) { byte* native_label; int label_byteCount = 0; @@ -5428,11 +6052,12 @@ public static bool DragIntRange2(string label, ref int v_current_min, ref int v_ native_label[native_label_offset] = 0; } else { native_label = null; } + float v_speed = 1.0f; + float v_min = 0.0f; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -5442,30 +6067,25 @@ public static bool DragIntRange2(string label, ref int v_current_min, ref int v_ byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - } - else { native_format = null; } - byte* native_format_max = null; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v_current_min = &v_current_min) + fixed (Vector3* native_v = &v) { - fixed (int* native_v_current_max = &v_current_max) + byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); } + return ret != 0; } } - public static bool DragIntRange2(string label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min, int v_max, string format, string format_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat3(ReadOnlySpan label, ref Vector3 v, float v_speed) { byte* native_label; int label_byteCount = 0; @@ -5485,11 +6105,11 @@ public static bool DragIntRange2(string label, ref int v_current_min, ref int v_ native_label[native_label_offset] = 0; } else { native_label = null; } + float v_min = 0.0f; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -5499,51 +6119,25 @@ public static bool DragIntRange2(string label, ref int v_current_min, ref int v_ byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - } - else { native_format = null; } - byte* native_format_max; - int format_max_byteCount = 0; - if (format_max != null) + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector3* native_v = &v) { - format_max_byteCount = Encoding.UTF8.GetByteCount(format_max); - if (format_max_byteCount > Util.StackAllocationSizeLimit) - { - native_format_max = Util.Allocate(format_max_byteCount + 1); - } - else + byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte* native_format_max_stackBytes = stackalloc byte[format_max_byteCount + 1]; - native_format_max = native_format_max_stackBytes; + Util.Free(native_label); } - int native_format_max_offset = Util.GetUtf8(format_max, native_format_max, format_max_byteCount); - native_format_max[native_format_max_offset] = 0; - } - else { native_format_max = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v_current_min = &v_current_min) - { - fixed (int* native_v_current_max = &v_current_max) + if (format_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - if (format_max_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format_max); - } - return ret != 0; + Util.Free(native_format); } + return ret != 0; } } - public static bool DragIntRange2(string label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min, int v_max, string format, string format_max, ImGuiSliderFlags flags) +#endif + public static bool DragFloat3(string label, ref Vector3 v, float v_speed) { byte* native_label; int label_byteCount = 0; @@ -5563,11 +6157,11 @@ public static bool DragIntRange2(string label, ref int v_current_min, ref int v_ native_label[native_label_offset] = 0; } else { native_label = null; } + float v_min = 0.0f; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -5577,57 +6171,32 @@ public static bool DragIntRange2(string label, ref int v_current_min, ref int v_ byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - } - else { native_format = null; } - byte* native_format_max; - int format_max_byteCount = 0; - if (format_max != null) + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector3* native_v = &v) { - format_max_byteCount = Encoding.UTF8.GetByteCount(format_max); - if (format_max_byteCount > Util.StackAllocationSizeLimit) + byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_format_max = Util.Allocate(format_max_byteCount + 1); + Util.Free(native_label); } - else + if (format_byteCount > Util.StackAllocationSizeLimit) { - byte* native_format_max_stackBytes = stackalloc byte[format_max_byteCount + 1]; - native_format_max = native_format_max_stackBytes; + Util.Free(native_format); } - int native_format_max_offset = Util.GetUtf8(format_max, native_format_max, format_max_byteCount); - native_format_max[native_format_max_offset] = 0; + return ret != 0; } - else { native_format_max = null; } - fixed (int* native_v_current_min = &v_current_min) + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat3(ReadOnlySpan label, ref Vector3 v, float v_speed, float v_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) { - fixed (int* native_v_current_max = &v_current_max) - { - byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - if (format_max_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format_max); - } - return ret != 0; - } - } - } - public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_data) - { - byte* native_label; - int label_byteCount = 0; - if (label != null) - { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { native_label = Util.Allocate(label_byteCount + 1); } @@ -5640,20 +6209,38 @@ public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_da native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - float v_speed = 1.0f; - void* p_min = null; - void* p_max = null; - byte* native_format = null; + float v_max = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, p_min, p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + fixed (Vector3* native_v = &v) { - Util.Free(native_label); + byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_data, float v_speed) +#endif + public static bool DragFloat3(string label, ref Vector3 v, float v_speed, float v_min) { byte* native_label; int label_byteCount = 0; @@ -5673,19 +6260,38 @@ public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_da native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* p_min = null; - void* p_max = null; - byte* native_format = null; + float v_max = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, p_min, p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + fixed (Vector3* native_v = &v) { - Util.Free(native_label); + byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_data, float v_speed, IntPtr p_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat3(ReadOnlySpan label, ref Vector3 v, float v_speed, float v_min, float v_max) { byte* native_label; int label_byteCount = 0; @@ -5705,19 +6311,37 @@ public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_da native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_min = (void*)p_min.ToPointer(); - void* p_max = null; - byte* native_format = null; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, native_p_min, p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + fixed (Vector3* native_v = &v) { - Util.Free(native_label); + byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_data, float v_speed, IntPtr p_min, IntPtr p_max) +#endif + public static bool DragFloat3(string label, ref Vector3 v, float v_speed, float v_min, float v_max) { byte* native_label; int label_byteCount = 0; @@ -5737,19 +6361,37 @@ public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_da native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_min = (void*)p_min.ToPointer(); - void* native_p_max = (void*)p_max.ToPointer(); - byte* native_format = null; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, native_p_min, native_p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + fixed (Vector3* native_v = &v) { - Util.Free(native_label); + byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_data, float v_speed, IntPtr p_min, IntPtr p_max, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat3(ReadOnlySpan label, ref Vector3 v, float v_speed, float v_min, float v_max, ReadOnlySpan format) { byte* native_label; int label_byteCount = 0; @@ -5769,9 +6411,6 @@ public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_da native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_min = (void*)p_min.ToPointer(); - void* native_p_max = (void*)p_max.ToPointer(); byte* native_format; int format_byteCount = 0; if (format != null) @@ -5791,18 +6430,22 @@ public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_da } else { native_format = null; } ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, native_p_min, native_p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) + fixed (Vector3* native_v = &v) { - Util.Free(native_format); + byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_data, float v_speed, IntPtr p_min, IntPtr p_max, string format, ImGuiSliderFlags flags) +#endif + public static bool DragFloat3(string label, ref Vector3 v, float v_speed, float v_min, float v_max, string format) { byte* native_label; int label_byteCount = 0; @@ -5822,9 +6465,6 @@ public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_da native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_min = (void*)p_min.ToPointer(); - void* native_p_max = (void*)p_max.ToPointer(); byte* native_format; int format_byteCount = 0; if (format != null) @@ -5843,18 +6483,23 @@ public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_da native_format[native_format_offset] = 0; } else { native_format = null; } - byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, native_p_min, native_p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector3* native_v = &v) { - Util.Free(native_format); + byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat3(ReadOnlySpan label, ref Vector3 v, float v_speed, float v_min, float v_max, ReadOnlySpan format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -5874,20 +6519,40 @@ public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_d native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - float v_speed = 1.0f; - void* p_min = null; - void* p_max = null; - byte* native_format = null; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, p_min, p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - Util.Free(native_label); + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (Vector3* native_v = &v) + { + byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed) +#endif + public static bool DragFloat3(string label, ref Vector3 v, float v_speed, float v_min, float v_max, string format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -5907,19 +6572,40 @@ public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_d native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* p_min = null; - void* p_max = null; - byte* native_format = null; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, p_min, p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - Util.Free(native_label); + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (Vector3* native_v = &v) + { + byte ret = ImGuiNative.igDragFloat3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed, IntPtr p_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat4(ReadOnlySpan label, ref Vector4 v) { byte* native_label; int label_byteCount = 0; @@ -5939,19 +6625,40 @@ public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_d native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_min = (void*)p_min.ToPointer(); - void* p_max = null; - byte* native_format = null; + float v_speed = 1.0f; + float v_min = 0.0f; + float v_max = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, native_p_min, p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + fixed (Vector4* native_v = &v) { - Util.Free(native_label); + byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed, IntPtr p_min, IntPtr p_max) +#endif + public static bool DragFloat4(string label, ref Vector4 v) { byte* native_label; int label_byteCount = 0; @@ -5971,19 +6678,40 @@ public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_d native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_min = (void*)p_min.ToPointer(); - void* native_p_max = (void*)p_max.ToPointer(); - byte* native_format = null; + float v_speed = 1.0f; + float v_min = 0.0f; + float v_max = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, native_p_min, native_p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + fixed (Vector4* native_v = &v) { - Util.Free(native_label); + byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed, IntPtr p_min, IntPtr p_max, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat4(ReadOnlySpan label, ref Vector4 v, float v_speed) { byte* native_label; int label_byteCount = 0; @@ -6003,14 +6731,11 @@ public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_d native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_min = (void*)p_min.ToPointer(); - void* native_p_max = (void*)p_max.ToPointer(); + float v_min = 0.0f; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -6020,23 +6745,25 @@ public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_d byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; - } - else { native_format = null; } ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, native_p_min, native_p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) + fixed (Vector4* native_v = &v) { - Util.Free(native_format); + byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed, IntPtr p_min, IntPtr p_max, string format, ImGuiSliderFlags flags) +#endif + public static bool DragFloat4(string label, ref Vector4 v, float v_speed) { byte* native_label; int label_byteCount = 0; @@ -6056,14 +6783,11 @@ public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_d native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_min = (void*)p_min.ToPointer(); - void* native_p_max = (void*)p_max.ToPointer(); + float v_min = 0.0f; + float v_max = 0.0f; byte* native_format; int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -6073,656 +6797,13381 @@ public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_d byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector4* native_v = &v) + { + byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - else { native_format = null; } - byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, native_p_min, native_p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat4(ReadOnlySpan label, ref Vector4 v, float v_speed, float v_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) { - Util.Free(native_label); + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { native_label = null; } + float v_max = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector4* native_v = &v) { - Util.Free(native_format); + byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; - } - public static void Dummy(Vector2 size) - { - ImGuiNative.igDummy(size); - } - public static void End() - { - ImGuiNative.igEnd(); - } - public static void EndChild() - { - ImGuiNative.igEndChild(); - } - public static void EndChildFrame() - { - ImGuiNative.igEndChildFrame(); - } - public static void EndCombo() - { - ImGuiNative.igEndCombo(); - } - public static void EndDisabled() - { - ImGuiNative.igEndDisabled(); - } - public static void EndDragDropSource() - { - ImGuiNative.igEndDragDropSource(); - } - public static void EndDragDropTarget() - { - ImGuiNative.igEndDragDropTarget(); - } - public static void EndFrame() - { - ImGuiNative.igEndFrame(); - } - public static void EndGroup() - { - ImGuiNative.igEndGroup(); } - public static void EndListBox() +#endif + public static bool DragFloat4(string label, ref Vector4 v, float v_speed, float v_min) { - ImGuiNative.igEndListBox(); - } - public static void EndMainMenuBar() - { - ImGuiNative.igEndMainMenuBar(); - } - public static void EndMenu() - { - ImGuiNative.igEndMenu(); - } - public static void EndMenuBar() - { - ImGuiNative.igEndMenuBar(); - } - public static void EndPopup() - { - ImGuiNative.igEndPopup(); - } - public static void EndTabBar() - { - ImGuiNative.igEndTabBar(); - } - public static void EndTabItem() - { - ImGuiNative.igEndTabItem(); - } - public static void EndTable() - { - ImGuiNative.igEndTable(); - } - public static void EndTooltip() - { - ImGuiNative.igEndTooltip(); - } - public static ImGuiViewportPtr FindViewportByID(uint id) - { - ImGuiViewport* ret = ImGuiNative.igFindViewportByID(id); - return new ImGuiViewportPtr(ret); - } - public static ImGuiViewportPtr FindViewportByPlatformHandle(IntPtr platform_handle) - { - void* native_platform_handle = (void*)platform_handle.ToPointer(); - ImGuiViewport* ret = ImGuiNative.igFindViewportByPlatformHandle(native_platform_handle); - return new ImGuiViewportPtr(ret); - } - public static void GetAllocatorFunctions(ref IntPtr p_alloc_func, ref IntPtr p_free_func, ref void* p_user_data) - { - fixed (IntPtr* native_p_alloc_func = &p_alloc_func) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - fixed (IntPtr* native_p_free_func = &p_free_func) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - fixed (void** native_p_user_data = &p_user_data) - { - ImGuiNative.igGetAllocatorFunctions(native_p_alloc_func, native_p_free_func, native_p_user_data); - } + native_label = Util.Allocate(label_byteCount + 1); } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_max = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector4* native_v = &v) + { + byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static ImDrawListPtr GetBackgroundDrawList() - { - ImDrawList* ret = ImGuiNative.igGetBackgroundDrawList_Nil(); - return new ImDrawListPtr(ret); - } - public static ImDrawListPtr GetBackgroundDrawList(ImGuiViewportPtr viewport) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat4(ReadOnlySpan label, ref Vector4 v, float v_speed, float v_min, float v_max) { - ImGuiViewport* native_viewport = viewport.NativePtr; - ImDrawList* ret = ImGuiNative.igGetBackgroundDrawList_ViewportPtr(native_viewport); - return new ImDrawListPtr(ret); + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector4* native_v = &v) + { + byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } } - public static string GetClipboardText() +#endif + public static bool DragFloat4(string label, ref Vector4 v, float v_speed, float v_min, float v_max) { - byte* ret = ImGuiNative.igGetClipboardText(); - return Util.StringFromPtr(ret); + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector4* native_v = &v) + { + byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } } - public static uint GetColorU32(ImGuiCol idx) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat4(ReadOnlySpan label, ref Vector4 v, float v_speed, float v_min, float v_max, ReadOnlySpan format) { - float alpha_mul = 1.0f; - uint ret = ImGuiNative.igGetColorU32_Col(idx, alpha_mul); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector4* native_v = &v) + { + byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } } - public static uint GetColorU32(ImGuiCol idx, float alpha_mul) +#endif + public static bool DragFloat4(string label, ref Vector4 v, float v_speed, float v_min, float v_max, string format) { - uint ret = ImGuiNative.igGetColorU32_Col(idx, alpha_mul); - return ret; - } - public static uint GetColorU32(Vector4 col) - { - uint ret = ImGuiNative.igGetColorU32_Vec4(col); - return ret; - } - public static uint GetColorU32(uint col) - { - uint ret = ImGuiNative.igGetColorU32_U32(col); - return ret; - } - public static int GetColumnIndex() - { - int ret = ImGuiNative.igGetColumnIndex(); - return ret; - } - public static float GetColumnOffset() - { - int column_index = -1; - float ret = ImGuiNative.igGetColumnOffset(column_index); - return ret; - } - public static float GetColumnOffset(int column_index) - { - float ret = ImGuiNative.igGetColumnOffset(column_index); - return ret; - } - public static int GetColumnsCount() - { - int ret = ImGuiNative.igGetColumnsCount(); - return ret; - } - public static float GetColumnWidth() - { - int column_index = -1; - float ret = ImGuiNative.igGetColumnWidth(column_index); - return ret; - } - public static float GetColumnWidth(int column_index) - { - float ret = ImGuiNative.igGetColumnWidth(column_index); - return ret; - } - public static Vector2 GetContentRegionAvail() - { - Vector2 __retval; - ImGuiNative.igGetContentRegionAvail(&__retval); - return __retval; - } - public static Vector2 GetContentRegionMax() - { - Vector2 __retval; - ImGuiNative.igGetContentRegionMax(&__retval); - return __retval; - } - public static IntPtr GetCurrentContext() - { - IntPtr ret = ImGuiNative.igGetCurrentContext(); - return ret; - } - public static Vector2 GetCursorPos() - { - Vector2 __retval; - ImGuiNative.igGetCursorPos(&__retval); - return __retval; - } - public static float GetCursorPosX() - { - float ret = ImGuiNative.igGetCursorPosX(); - return ret; - } - public static float GetCursorPosY() - { - float ret = ImGuiNative.igGetCursorPosY(); - return ret; - } - public static Vector2 GetCursorScreenPos() - { - Vector2 __retval; - ImGuiNative.igGetCursorScreenPos(&__retval); - return __retval; - } - public static Vector2 GetCursorStartPos() - { - Vector2 __retval; - ImGuiNative.igGetCursorStartPos(&__retval); - return __retval; - } - public static ImGuiPayloadPtr GetDragDropPayload() - { - ImGuiPayload* ret = ImGuiNative.igGetDragDropPayload(); - return new ImGuiPayloadPtr(ret); - } - public static ImDrawDataPtr GetDrawData() - { - ImDrawData* ret = ImGuiNative.igGetDrawData(); - return new ImDrawDataPtr(ret); - } - public static IntPtr GetDrawListSharedData() - { - IntPtr ret = ImGuiNative.igGetDrawListSharedData(); - return ret; - } - public static ImFontPtr GetFont() - { - ImFont* ret = ImGuiNative.igGetFont(); - return new ImFontPtr(ret); - } - public static float GetFontSize() - { - float ret = ImGuiNative.igGetFontSize(); - return ret; - } - public static Vector2 GetFontTexUvWhitePixel() - { - Vector2 __retval; - ImGuiNative.igGetFontTexUvWhitePixel(&__retval); - return __retval; - } - public static ImDrawListPtr GetForegroundDrawList() - { - ImDrawList* ret = ImGuiNative.igGetForegroundDrawList_Nil(); - return new ImDrawListPtr(ret); - } - public static ImDrawListPtr GetForegroundDrawList(ImGuiViewportPtr viewport) - { - ImGuiViewport* native_viewport = viewport.NativePtr; - ImDrawList* ret = ImGuiNative.igGetForegroundDrawList_ViewportPtr(native_viewport); - return new ImDrawListPtr(ret); - } - public static int GetFrameCount() - { - int ret = ImGuiNative.igGetFrameCount(); - return ret; - } - public static float GetFrameHeight() - { - float ret = ImGuiNative.igGetFrameHeight(); - return ret; - } - public static float GetFrameHeightWithSpacing() - { - float ret = ImGuiNative.igGetFrameHeightWithSpacing(); - return ret; - } - public static uint GetID(string str_id) - { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_str_id = null; } - uint ret = ImGuiNative.igGetID_Str(native_str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - Util.Free(native_str_id); + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector4* native_v = &v) + { + byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret; } - public static uint GetID(IntPtr ptr_id) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloat4(ReadOnlySpan label, ref Vector4 v, float v_speed, float v_min, float v_max, ReadOnlySpan format, ImGuiSliderFlags flags) { - void* native_ptr_id = (void*)ptr_id.ToPointer(); - uint ret = ImGuiNative.igGetID_Ptr(native_ptr_id); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (Vector4* native_v = &v) + { + byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } } - public static ImGuiIOPtr GetIO() +#endif + public static bool DragFloat4(string label, ref Vector4 v, float v_speed, float v_min, float v_max, string format, ImGuiSliderFlags flags) { - ImGuiIO* ret = ImGuiNative.igGetIO(); - return new ImGuiIOPtr(ret); - } - public static Vector2 GetItemRectMax() + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (Vector4* native_v = &v) + { + byte ret = ImGuiNative.igDragFloat4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloatRange2(ReadOnlySpan label, ref float v_current_min, ref float v_current_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_speed = 1.0f; + float v_min = 0.0f; + float v_max = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_current_min = &v_current_min) + { + fixed (float* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#endif + public static bool DragFloatRange2(string label, ref float v_current_min, ref float v_current_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_speed = 1.0f; + float v_min = 0.0f; + float v_max = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_current_min = &v_current_min) + { + fixed (float* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloatRange2(ReadOnlySpan label, ref float v_current_min, ref float v_current_max, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_min = 0.0f; + float v_max = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_current_min = &v_current_min) + { + fixed (float* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#endif + public static bool DragFloatRange2(string label, ref float v_current_min, ref float v_current_max, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_min = 0.0f; + float v_max = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_current_min = &v_current_min) + { + fixed (float* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloatRange2(ReadOnlySpan label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_max = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_current_min = &v_current_min) + { + fixed (float* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#endif + public static bool DragFloatRange2(string label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_max = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_current_min = &v_current_min) + { + fixed (float* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloatRange2(ReadOnlySpan label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min, float v_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_current_min = &v_current_min) + { + fixed (float* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#endif + public static bool DragFloatRange2(string label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min, float v_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_current_min = &v_current_min) + { + fixed (float* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloatRange2(ReadOnlySpan label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min, float v_max, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_current_min = &v_current_min) + { + fixed (float* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#endif + public static bool DragFloatRange2(string label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min, float v_max, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_current_min = &v_current_min) + { + fixed (float* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloatRange2(ReadOnlySpan label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min, float v_max, ReadOnlySpan format, ReadOnlySpan format_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte* native_format_max; + int format_max_byteCount = 0; + if (format_max != null) + { + format_max_byteCount = Encoding.UTF8.GetByteCount(format_max); + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + native_format_max = Util.Allocate(format_max_byteCount + 1); + } + else + { + byte* native_format_max_stackBytes = stackalloc byte[format_max_byteCount + 1]; + native_format_max = native_format_max_stackBytes; + } + int native_format_max_offset = Util.GetUtf8(format_max, native_format_max, format_max_byteCount); + native_format_max[native_format_max_offset] = 0; + } + else { native_format_max = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_current_min = &v_current_min) + { + fixed (float* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format_max); + } + return ret != 0; + } + } + } +#endif + public static bool DragFloatRange2(string label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min, float v_max, string format, string format_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte* native_format_max; + int format_max_byteCount = 0; + if (format_max != null) + { + format_max_byteCount = Encoding.UTF8.GetByteCount(format_max); + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + native_format_max = Util.Allocate(format_max_byteCount + 1); + } + else + { + byte* native_format_max_stackBytes = stackalloc byte[format_max_byteCount + 1]; + native_format_max = native_format_max_stackBytes; + } + int native_format_max_offset = Util.GetUtf8(format_max, native_format_max, format_max_byteCount); + native_format_max[native_format_max_offset] = 0; + } + else { native_format_max = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_current_min = &v_current_min) + { + fixed (float* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format_max); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragFloatRange2(ReadOnlySpan label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min, float v_max, ReadOnlySpan format, ReadOnlySpan format_max, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte* native_format_max; + int format_max_byteCount = 0; + if (format_max != null) + { + format_max_byteCount = Encoding.UTF8.GetByteCount(format_max); + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + native_format_max = Util.Allocate(format_max_byteCount + 1); + } + else + { + byte* native_format_max_stackBytes = stackalloc byte[format_max_byteCount + 1]; + native_format_max = native_format_max_stackBytes; + } + int native_format_max_offset = Util.GetUtf8(format_max, native_format_max, format_max_byteCount); + native_format_max[native_format_max_offset] = 0; + } + else { native_format_max = null; } + fixed (float* native_v_current_min = &v_current_min) + { + fixed (float* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format_max); + } + return ret != 0; + } + } + } +#endif + public static bool DragFloatRange2(string label, ref float v_current_min, ref float v_current_max, float v_speed, float v_min, float v_max, string format, string format_max, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte* native_format_max; + int format_max_byteCount = 0; + if (format_max != null) + { + format_max_byteCount = Encoding.UTF8.GetByteCount(format_max); + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + native_format_max = Util.Allocate(format_max_byteCount + 1); + } + else + { + byte* native_format_max_stackBytes = stackalloc byte[format_max_byteCount + 1]; + native_format_max = native_format_max_stackBytes; + } + int native_format_max_offset = Util.GetUtf8(format_max, native_format_max, format_max_byteCount); + native_format_max[native_format_max_offset] = 0; + } + else { native_format_max = null; } + fixed (float* native_v_current_min = &v_current_min) + { + fixed (float* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragFloatRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format_max); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt(ReadOnlySpan label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_speed = 1.0f; + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt(string label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_speed = 1.0f; + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt(ReadOnlySpan label, ref int v, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt(string label, ref int v, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt(ReadOnlySpan label, ref int v, float v_speed, int v_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt(string label, ref int v, float v_speed, int v_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt(ReadOnlySpan label, ref int v, float v_speed, int v_min, int v_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt(string label, ref int v, float v_speed, int v_min, int v_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt(ReadOnlySpan label, ref int v, float v_speed, int v_min, int v_max, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt(string label, ref int v, float v_speed, int v_min, int v_max, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt(ReadOnlySpan label, ref int v, float v_speed, int v_min, int v_max, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt(string label, ref int v, float v_speed, int v_min, int v_max, string format, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt2(ReadOnlySpan label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_speed = 1.0f; + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt2(string label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_speed = 1.0f; + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt2(ReadOnlySpan label, ref int v, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt2(string label, ref int v, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt2(ReadOnlySpan label, ref int v, float v_speed, int v_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt2(string label, ref int v, float v_speed, int v_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt2(ReadOnlySpan label, ref int v, float v_speed, int v_min, int v_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt2(string label, ref int v, float v_speed, int v_min, int v_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt2(ReadOnlySpan label, ref int v, float v_speed, int v_min, int v_max, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt2(string label, ref int v, float v_speed, int v_min, int v_max, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt2(ReadOnlySpan label, ref int v, float v_speed, int v_min, int v_max, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt2(string label, ref int v, float v_speed, int v_min, int v_max, string format, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt2(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt3(ReadOnlySpan label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_speed = 1.0f; + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt3(string label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_speed = 1.0f; + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt3(ReadOnlySpan label, ref int v, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt3(string label, ref int v, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt3(ReadOnlySpan label, ref int v, float v_speed, int v_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt3(string label, ref int v, float v_speed, int v_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt3(ReadOnlySpan label, ref int v, float v_speed, int v_min, int v_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt3(string label, ref int v, float v_speed, int v_min, int v_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt3(ReadOnlySpan label, ref int v, float v_speed, int v_min, int v_max, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt3(string label, ref int v, float v_speed, int v_min, int v_max, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt3(ReadOnlySpan label, ref int v, float v_speed, int v_min, int v_max, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt3(string label, ref int v, float v_speed, int v_min, int v_max, string format, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt3(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt4(ReadOnlySpan label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_speed = 1.0f; + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt4(string label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_speed = 1.0f; + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt4(ReadOnlySpan label, ref int v, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt4(string label, ref int v, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt4(ReadOnlySpan label, ref int v, float v_speed, int v_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt4(string label, ref int v, float v_speed, int v_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt4(ReadOnlySpan label, ref int v, float v_speed, int v_min, int v_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt4(string label, ref int v, float v_speed, int v_min, int v_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt4(ReadOnlySpan label, ref int v, float v_speed, int v_min, int v_max, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt4(string label, ref int v, float v_speed, int v_min, int v_max, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragInt4(ReadOnlySpan label, ref int v, float v_speed, int v_min, int v_max, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool DragInt4(string label, ref int v, float v_speed, int v_min, int v_max, string format, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igDragInt4(native_label, native_v, v_speed, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragIntRange2(ReadOnlySpan label, ref int v_current_min, ref int v_current_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_speed = 1.0f; + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v_current_min = &v_current_min) + { + fixed (int* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#endif + public static bool DragIntRange2(string label, ref int v_current_min, ref int v_current_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_speed = 1.0f; + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v_current_min = &v_current_min) + { + fixed (int* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragIntRange2(ReadOnlySpan label, ref int v_current_min, ref int v_current_max, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v_current_min = &v_current_min) + { + fixed (int* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#endif + public static bool DragIntRange2(string label, ref int v_current_min, ref int v_current_max, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_min = 0; + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v_current_min = &v_current_min) + { + fixed (int* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragIntRange2(ReadOnlySpan label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v_current_min = &v_current_min) + { + fixed (int* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#endif + public static bool DragIntRange2(string label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int v_max = 0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v_current_min = &v_current_min) + { + fixed (int* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragIntRange2(ReadOnlySpan label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min, int v_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v_current_min = &v_current_min) + { + fixed (int* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#endif + public static bool DragIntRange2(string label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min, int v_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v_current_min = &v_current_min) + { + fixed (int* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragIntRange2(ReadOnlySpan label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min, int v_max, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v_current_min = &v_current_min) + { + fixed (int* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#endif + public static bool DragIntRange2(string label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min, int v_max, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte* native_format_max = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v_current_min = &v_current_min) + { + fixed (int* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragIntRange2(ReadOnlySpan label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min, int v_max, ReadOnlySpan format, ReadOnlySpan format_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte* native_format_max; + int format_max_byteCount = 0; + if (format_max != null) + { + format_max_byteCount = Encoding.UTF8.GetByteCount(format_max); + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + native_format_max = Util.Allocate(format_max_byteCount + 1); + } + else + { + byte* native_format_max_stackBytes = stackalloc byte[format_max_byteCount + 1]; + native_format_max = native_format_max_stackBytes; + } + int native_format_max_offset = Util.GetUtf8(format_max, native_format_max, format_max_byteCount); + native_format_max[native_format_max_offset] = 0; + } + else { native_format_max = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v_current_min = &v_current_min) + { + fixed (int* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format_max); + } + return ret != 0; + } + } + } +#endif + public static bool DragIntRange2(string label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min, int v_max, string format, string format_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte* native_format_max; + int format_max_byteCount = 0; + if (format_max != null) + { + format_max_byteCount = Encoding.UTF8.GetByteCount(format_max); + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + native_format_max = Util.Allocate(format_max_byteCount + 1); + } + else + { + byte* native_format_max_stackBytes = stackalloc byte[format_max_byteCount + 1]; + native_format_max = native_format_max_stackBytes; + } + int native_format_max_offset = Util.GetUtf8(format_max, native_format_max, format_max_byteCount); + native_format_max[native_format_max_offset] = 0; + } + else { native_format_max = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v_current_min = &v_current_min) + { + fixed (int* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format_max); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragIntRange2(ReadOnlySpan label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min, int v_max, ReadOnlySpan format, ReadOnlySpan format_max, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte* native_format_max; + int format_max_byteCount = 0; + if (format_max != null) + { + format_max_byteCount = Encoding.UTF8.GetByteCount(format_max); + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + native_format_max = Util.Allocate(format_max_byteCount + 1); + } + else + { + byte* native_format_max_stackBytes = stackalloc byte[format_max_byteCount + 1]; + native_format_max = native_format_max_stackBytes; + } + int native_format_max_offset = Util.GetUtf8(format_max, native_format_max, format_max_byteCount); + native_format_max[native_format_max_offset] = 0; + } + else { native_format_max = null; } + fixed (int* native_v_current_min = &v_current_min) + { + fixed (int* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format_max); + } + return ret != 0; + } + } + } +#endif + public static bool DragIntRange2(string label, ref int v_current_min, ref int v_current_max, float v_speed, int v_min, int v_max, string format, string format_max, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte* native_format_max; + int format_max_byteCount = 0; + if (format_max != null) + { + format_max_byteCount = Encoding.UTF8.GetByteCount(format_max); + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + native_format_max = Util.Allocate(format_max_byteCount + 1); + } + else + { + byte* native_format_max_stackBytes = stackalloc byte[format_max_byteCount + 1]; + native_format_max = native_format_max_stackBytes; + } + int native_format_max_offset = Util.GetUtf8(format_max, native_format_max, format_max_byteCount); + native_format_max[native_format_max_offset] = 0; + } + else { native_format_max = null; } + fixed (int* native_v_current_min = &v_current_min) + { + fixed (int* native_v_current_max = &v_current_max) + { + byte ret = ImGuiNative.igDragIntRange2(native_label, native_v_current_min, native_v_current_max, v_speed, v_min, v_max, native_format, native_format_max, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + if (format_max_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format_max); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + float v_speed = 1.0f; + void* p_min = null; + void* p_max = null; + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, p_min, p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_data) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + float v_speed = 1.0f; + void* p_min = null; + void* p_max = null; + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, p_min, p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* p_min = null; + void* p_max = null; + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, p_min, p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_data, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* p_min = null; + void* p_max = null; + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, p_min, p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, float v_speed, IntPtr p_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* p_max = null; + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, native_p_min, p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_data, float v_speed, IntPtr p_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* p_max = null; + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, native_p_min, p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, float v_speed, IntPtr p_min, IntPtr p_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_data, float v_speed, IntPtr p_min, IntPtr p_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, float v_speed, IntPtr p_min, IntPtr p_max, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#endif + public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_data, float v_speed, IntPtr p_min, IntPtr p_max, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, float v_speed, IntPtr p_min, IntPtr p_max, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#endif + public static bool DragScalar(string label, ImGuiDataType data_type, IntPtr p_data, float v_speed, IntPtr p_min, IntPtr p_max, string format, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte ret = ImGuiNative.igDragScalar(native_label, data_type, native_p_data, v_speed, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, int components) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + float v_speed = 1.0f; + void* p_min = null; + void* p_max = null; + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, p_min, p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + float v_speed = 1.0f; + void* p_min = null; + void* p_max = null; + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, p_min, p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* p_min = null; + void* p_max = null; + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, p_min, p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* p_min = null; + void* p_max = null; + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, p_min, p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed, IntPtr p_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* p_max = null; + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, native_p_min, p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed, IntPtr p_min) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* p_max = null; + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, native_p_min, p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed, IntPtr p_min, IntPtr p_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed, IntPtr p_min, IntPtr p_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed, IntPtr p_min, IntPtr p_max, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#endif + public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed, IntPtr p_min, IntPtr p_max, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed, IntPtr p_min, IntPtr p_max, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#endif + public static bool DragScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, float v_speed, IntPtr p_min, IntPtr p_max, string format, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte ret = ImGuiNative.igDragScalarN(native_label, data_type, native_p_data, components, v_speed, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + public static void Dummy(Vector2 size) + { + ImGuiNative.igDummy(size); + } + public static void End() + { + ImGuiNative.igEnd(); + } + public static void EndChild() + { + ImGuiNative.igEndChild(); + } + public static void EndCombo() + { + ImGuiNative.igEndCombo(); + } + public static void EndDisabled() + { + ImGuiNative.igEndDisabled(); + } + public static void EndDragDropSource() + { + ImGuiNative.igEndDragDropSource(); + } + public static void EndDragDropTarget() + { + ImGuiNative.igEndDragDropTarget(); + } + public static void EndFrame() + { + ImGuiNative.igEndFrame(); + } + public static void EndGroup() + { + ImGuiNative.igEndGroup(); + } + public static void EndListBox() + { + ImGuiNative.igEndListBox(); + } + public static void EndMainMenuBar() + { + ImGuiNative.igEndMainMenuBar(); + } + public static void EndMenu() + { + ImGuiNative.igEndMenu(); + } + public static void EndMenuBar() + { + ImGuiNative.igEndMenuBar(); + } + public static ImGuiMultiSelectIOPtr EndMultiSelect() + { + ImGuiMultiSelectIO* ret = ImGuiNative.igEndMultiSelect(); + return new ImGuiMultiSelectIOPtr(ret); + } + public static void EndPopup() + { + ImGuiNative.igEndPopup(); + } + public static void EndTabBar() + { + ImGuiNative.igEndTabBar(); + } + public static void EndTabItem() + { + ImGuiNative.igEndTabItem(); + } + public static void EndTable() + { + ImGuiNative.igEndTable(); + } + public static void EndTooltip() + { + ImGuiNative.igEndTooltip(); + } + public static ImGuiViewportPtr FindViewportByID(uint id) + { + ImGuiViewport* ret = ImGuiNative.igFindViewportByID(id); + return new ImGuiViewportPtr(ret); + } + public static ImGuiViewportPtr FindViewportByPlatformHandle(IntPtr platform_handle) + { + void* native_platform_handle = (void*)platform_handle.ToPointer(); + ImGuiViewport* ret = ImGuiNative.igFindViewportByPlatformHandle(native_platform_handle); + return new ImGuiViewportPtr(ret); + } + public static void GetAllocatorFunctions(ref IntPtr p_alloc_func, ref IntPtr p_free_func, ref void* p_user_data) + { + fixed (IntPtr* native_p_alloc_func = &p_alloc_func) + { + fixed (IntPtr* native_p_free_func = &p_free_func) + { + fixed (void** native_p_user_data = &p_user_data) + { + ImGuiNative.igGetAllocatorFunctions(native_p_alloc_func, native_p_free_func, native_p_user_data); + } + } + } + } + public static ImDrawListPtr GetBackgroundDrawList() + { + ImGuiViewport* viewport = null; + ImDrawList* ret = ImGuiNative.igGetBackgroundDrawList(viewport); + return new ImDrawListPtr(ret); + } + public static ImDrawListPtr GetBackgroundDrawList(ImGuiViewportPtr viewport) + { + ImGuiViewport* native_viewport = viewport.NativePtr; + ImDrawList* ret = ImGuiNative.igGetBackgroundDrawList(native_viewport); + return new ImDrawListPtr(ret); + } + public static string GetClipboardText() + { + byte* ret = ImGuiNative.igGetClipboardText(); + return Util.StringFromPtr(ret); + } + public static uint GetColorU32(ImGuiCol idx) + { + float alpha_mul = 1.0f; + uint ret = ImGuiNative.igGetColorU32_Col(idx, alpha_mul); + return ret; + } + public static uint GetColorU32(ImGuiCol idx, float alpha_mul) + { + uint ret = ImGuiNative.igGetColorU32_Col(idx, alpha_mul); + return ret; + } + public static uint GetColorU32(Vector4 col) + { + uint ret = ImGuiNative.igGetColorU32_Vec4(col); + return ret; + } + public static uint GetColorU32(uint col) + { + float alpha_mul = 1.0f; + uint ret = ImGuiNative.igGetColorU32_U32(col, alpha_mul); + return ret; + } + public static uint GetColorU32(uint col, float alpha_mul) + { + uint ret = ImGuiNative.igGetColorU32_U32(col, alpha_mul); + return ret; + } + public static int GetColumnIndex() + { + int ret = ImGuiNative.igGetColumnIndex(); + return ret; + } + public static float GetColumnOffset() + { + int column_index = -1; + float ret = ImGuiNative.igGetColumnOffset(column_index); + return ret; + } + public static float GetColumnOffset(int column_index) + { + float ret = ImGuiNative.igGetColumnOffset(column_index); + return ret; + } + public static int GetColumnsCount() + { + int ret = ImGuiNative.igGetColumnsCount(); + return ret; + } + public static float GetColumnWidth() + { + int column_index = -1; + float ret = ImGuiNative.igGetColumnWidth(column_index); + return ret; + } + public static float GetColumnWidth(int column_index) + { + float ret = ImGuiNative.igGetColumnWidth(column_index); + return ret; + } + public static Vector2 GetContentRegionAvail() + { + Vector2 __retval; + ImGuiNative.igGetContentRegionAvail(&__retval); + return __retval; + } + public static IntPtr GetCurrentContext() + { + IntPtr ret = ImGuiNative.igGetCurrentContext(); + return ret; + } + public static Vector2 GetCursorPos() + { + Vector2 __retval; + ImGuiNative.igGetCursorPos(&__retval); + return __retval; + } + public static float GetCursorPosX() + { + float ret = ImGuiNative.igGetCursorPosX(); + return ret; + } + public static float GetCursorPosY() + { + float ret = ImGuiNative.igGetCursorPosY(); + return ret; + } + public static Vector2 GetCursorScreenPos() + { + Vector2 __retval; + ImGuiNative.igGetCursorScreenPos(&__retval); + return __retval; + } + public static Vector2 GetCursorStartPos() + { + Vector2 __retval; + ImGuiNative.igGetCursorStartPos(&__retval); + return __retval; + } + public static ImGuiPayloadPtr GetDragDropPayload() + { + ImGuiPayload* ret = ImGuiNative.igGetDragDropPayload(); + return new ImGuiPayloadPtr(ret); + } + public static ImDrawDataPtr GetDrawData() + { + ImDrawData* ret = ImGuiNative.igGetDrawData(); + return new ImDrawDataPtr(ret); + } + public static IntPtr GetDrawListSharedData() + { + IntPtr ret = ImGuiNative.igGetDrawListSharedData(); + return ret; + } + public static ImFontPtr GetFont() + { + ImFont* ret = ImGuiNative.igGetFont(); + return new ImFontPtr(ret); + } + public static float GetFontSize() + { + float ret = ImGuiNative.igGetFontSize(); + return ret; + } + public static Vector2 GetFontTexUvWhitePixel() + { + Vector2 __retval; + ImGuiNative.igGetFontTexUvWhitePixel(&__retval); + return __retval; + } + public static ImDrawListPtr GetForegroundDrawList() + { + ImGuiViewport* viewport = null; + ImDrawList* ret = ImGuiNative.igGetForegroundDrawList_ViewportPtr(viewport); + return new ImDrawListPtr(ret); + } + public static ImDrawListPtr GetForegroundDrawList(ImGuiViewportPtr viewport) + { + ImGuiViewport* native_viewport = viewport.NativePtr; + ImDrawList* ret = ImGuiNative.igGetForegroundDrawList_ViewportPtr(native_viewport); + return new ImDrawListPtr(ret); + } + public static int GetFrameCount() + { + int ret = ImGuiNative.igGetFrameCount(); + return ret; + } + public static float GetFrameHeight() + { + float ret = ImGuiNative.igGetFrameHeight(); + return ret; + } + public static float GetFrameHeightWithSpacing() + { + float ret = ImGuiNative.igGetFrameHeightWithSpacing(); + return ret; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static uint GetID(ReadOnlySpan str_id) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + uint ret = ImGuiNative.igGetID_Str(native_str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret; + } +#endif + public static uint GetID(string str_id) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + uint ret = ImGuiNative.igGetID_Str(native_str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret; + } + public static uint GetID(IntPtr ptr_id) + { + void* native_ptr_id = (void*)ptr_id.ToPointer(); + uint ret = ImGuiNative.igGetID_Ptr(native_ptr_id); + return ret; + } + public static uint GetID(int int_id) + { + uint ret = ImGuiNative.igGetID_Int(int_id); + return ret; + } + public static ImGuiIOPtr GetIO() + { + ImGuiIO* ret = ImGuiNative.igGetIO(); + return new ImGuiIOPtr(ret); + } + public static uint GetItemID() + { + uint ret = ImGuiNative.igGetItemID(); + return ret; + } + public static Vector2 GetItemRectMax() + { + Vector2 __retval; + ImGuiNative.igGetItemRectMax(&__retval); + return __retval; + } + public static Vector2 GetItemRectMin() + { + Vector2 __retval; + ImGuiNative.igGetItemRectMin(&__retval); + return __retval; + } + public static Vector2 GetItemRectSize() + { + Vector2 __retval; + ImGuiNative.igGetItemRectSize(&__retval); + return __retval; + } + public static string GetKeyName(ImGuiKey key) + { + byte* ret = ImGuiNative.igGetKeyName(key); + return Util.StringFromPtr(ret); + } + public static int GetKeyPressedAmount(ImGuiKey key, float repeat_delay, float rate) + { + int ret = ImGuiNative.igGetKeyPressedAmount(key, repeat_delay, rate); + return ret; + } + public static ImGuiViewportPtr GetMainViewport() + { + ImGuiViewport* ret = ImGuiNative.igGetMainViewport(); + return new ImGuiViewportPtr(ret); + } + public static int GetMouseClickedCount(ImGuiMouseButton button) + { + int ret = ImGuiNative.igGetMouseClickedCount(button); + return ret; + } + public static ImGuiMouseCursor GetMouseCursor() + { + ImGuiMouseCursor ret = ImGuiNative.igGetMouseCursor(); + return ret; + } + public static Vector2 GetMouseDragDelta() + { + Vector2 __retval; + ImGuiMouseButton button = (ImGuiMouseButton)0; + float lock_threshold = -1.0f; + ImGuiNative.igGetMouseDragDelta(&__retval, button, lock_threshold); + return __retval; + } + public static Vector2 GetMouseDragDelta(ImGuiMouseButton button) + { + Vector2 __retval; + float lock_threshold = -1.0f; + ImGuiNative.igGetMouseDragDelta(&__retval, button, lock_threshold); + return __retval; + } + public static Vector2 GetMouseDragDelta(ImGuiMouseButton button, float lock_threshold) + { + Vector2 __retval; + ImGuiNative.igGetMouseDragDelta(&__retval, button, lock_threshold); + return __retval; + } + public static Vector2 GetMousePos() + { + Vector2 __retval; + ImGuiNative.igGetMousePos(&__retval); + return __retval; + } + public static Vector2 GetMousePosOnOpeningCurrentPopup() + { + Vector2 __retval; + ImGuiNative.igGetMousePosOnOpeningCurrentPopup(&__retval); + return __retval; + } + public static ImGuiPlatformIOPtr GetPlatformIO() + { + ImGuiPlatformIO* ret = ImGuiNative.igGetPlatformIO(); + return new ImGuiPlatformIOPtr(ret); + } + public static float GetScrollMaxX() + { + float ret = ImGuiNative.igGetScrollMaxX(); + return ret; + } + public static float GetScrollMaxY() + { + float ret = ImGuiNative.igGetScrollMaxY(); + return ret; + } + public static float GetScrollX() + { + float ret = ImGuiNative.igGetScrollX(); + return ret; + } + public static float GetScrollY() + { + float ret = ImGuiNative.igGetScrollY(); + return ret; + } + public static ImGuiStoragePtr GetStateStorage() + { + ImGuiStorage* ret = ImGuiNative.igGetStateStorage(); + return new ImGuiStoragePtr(ret); + } + public static ImGuiStylePtr GetStyle() + { + ImGuiStyle* ret = ImGuiNative.igGetStyle(); + return new ImGuiStylePtr(ret); + } + public static string GetStyleColorName(ImGuiCol idx) + { + byte* ret = ImGuiNative.igGetStyleColorName(idx); + return Util.StringFromPtr(ret); + } + public static Vector4* GetStyleColorVec4(ImGuiCol idx) + { + Vector4* ret = ImGuiNative.igGetStyleColorVec4(idx); + return ret; + } + public static float GetTextLineHeight() + { + float ret = ImGuiNative.igGetTextLineHeight(); + return ret; + } + public static float GetTextLineHeightWithSpacing() + { + float ret = ImGuiNative.igGetTextLineHeightWithSpacing(); + return ret; + } + public static double GetTime() + { + double ret = ImGuiNative.igGetTime(); + return ret; + } + public static float GetTreeNodeToLabelSpacing() + { + float ret = ImGuiNative.igGetTreeNodeToLabelSpacing(); + return ret; + } + public static string GetVersion() + { + byte* ret = ImGuiNative.igGetVersion(); + return Util.StringFromPtr(ret); + } + public static uint GetWindowDockID() + { + uint ret = ImGuiNative.igGetWindowDockID(); + return ret; + } + public static float GetWindowDpiScale() + { + float ret = ImGuiNative.igGetWindowDpiScale(); + return ret; + } + public static ImDrawListPtr GetWindowDrawList() + { + ImDrawList* ret = ImGuiNative.igGetWindowDrawList(); + return new ImDrawListPtr(ret); + } + public static float GetWindowHeight() + { + float ret = ImGuiNative.igGetWindowHeight(); + return ret; + } + public static Vector2 GetWindowPos() + { + Vector2 __retval; + ImGuiNative.igGetWindowPos(&__retval); + return __retval; + } + public static Vector2 GetWindowSize() + { + Vector2 __retval; + ImGuiNative.igGetWindowSize(&__retval); + return __retval; + } + public static ImGuiViewportPtr GetWindowViewport() + { + ImGuiViewport* ret = ImGuiNative.igGetWindowViewport(); + return new ImGuiViewportPtr(ret); + } + public static float GetWindowWidth() + { + float ret = ImGuiNative.igGetWindowWidth(); + return ret; + } + public static void Image(IntPtr user_texture_id, Vector2 image_size) + { + Vector2 uv0 = new Vector2(); + Vector2 uv1 = new Vector2(1, 1); + Vector4 tint_col = new Vector4(1, 1, 1, 1); + Vector4 border_col = new Vector4(); + ImGuiNative.igImage(user_texture_id, image_size, uv0, uv1, tint_col, border_col); + } + public static void Image(IntPtr user_texture_id, Vector2 image_size, Vector2 uv0) + { + Vector2 uv1 = new Vector2(1, 1); + Vector4 tint_col = new Vector4(1, 1, 1, 1); + Vector4 border_col = new Vector4(); + ImGuiNative.igImage(user_texture_id, image_size, uv0, uv1, tint_col, border_col); + } + public static void Image(IntPtr user_texture_id, Vector2 image_size, Vector2 uv0, Vector2 uv1) + { + Vector4 tint_col = new Vector4(1, 1, 1, 1); + Vector4 border_col = new Vector4(); + ImGuiNative.igImage(user_texture_id, image_size, uv0, uv1, tint_col, border_col); + } + public static void Image(IntPtr user_texture_id, Vector2 image_size, Vector2 uv0, Vector2 uv1, Vector4 tint_col) + { + Vector4 border_col = new Vector4(); + ImGuiNative.igImage(user_texture_id, image_size, uv0, uv1, tint_col, border_col); + } + public static void Image(IntPtr user_texture_id, Vector2 image_size, Vector2 uv0, Vector2 uv1, Vector4 tint_col, Vector4 border_col) + { + ImGuiNative.igImage(user_texture_id, image_size, uv0, uv1, tint_col, border_col); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ImageButton(ReadOnlySpan str_id, IntPtr user_texture_id, Vector2 image_size) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + Vector2 uv0 = new Vector2(); + Vector2 uv1 = new Vector2(1, 1); + Vector4 bg_col = new Vector4(); + Vector4 tint_col = new Vector4(1, 1, 1, 1); + byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#endif + public static bool ImageButton(string str_id, IntPtr user_texture_id, Vector2 image_size) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + Vector2 uv0 = new Vector2(); + Vector2 uv1 = new Vector2(1, 1); + Vector4 bg_col = new Vector4(); + Vector4 tint_col = new Vector4(1, 1, 1, 1); + byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ImageButton(ReadOnlySpan str_id, IntPtr user_texture_id, Vector2 image_size, Vector2 uv0) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + Vector2 uv1 = new Vector2(1, 1); + Vector4 bg_col = new Vector4(); + Vector4 tint_col = new Vector4(1, 1, 1, 1); + byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#endif + public static bool ImageButton(string str_id, IntPtr user_texture_id, Vector2 image_size, Vector2 uv0) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + Vector2 uv1 = new Vector2(1, 1); + Vector4 bg_col = new Vector4(); + Vector4 tint_col = new Vector4(1, 1, 1, 1); + byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ImageButton(ReadOnlySpan str_id, IntPtr user_texture_id, Vector2 image_size, Vector2 uv0, Vector2 uv1) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + Vector4 bg_col = new Vector4(); + Vector4 tint_col = new Vector4(1, 1, 1, 1); + byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#endif + public static bool ImageButton(string str_id, IntPtr user_texture_id, Vector2 image_size, Vector2 uv0, Vector2 uv1) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + Vector4 bg_col = new Vector4(); + Vector4 tint_col = new Vector4(1, 1, 1, 1); + byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ImageButton(ReadOnlySpan str_id, IntPtr user_texture_id, Vector2 image_size, Vector2 uv0, Vector2 uv1, Vector4 bg_col) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + Vector4 tint_col = new Vector4(1, 1, 1, 1); + byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#endif + public static bool ImageButton(string str_id, IntPtr user_texture_id, Vector2 image_size, Vector2 uv0, Vector2 uv1, Vector4 bg_col) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + Vector4 tint_col = new Vector4(1, 1, 1, 1); + byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ImageButton(ReadOnlySpan str_id, IntPtr user_texture_id, Vector2 image_size, Vector2 uv0, Vector2 uv1, Vector4 bg_col, Vector4 tint_col) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#endif + public static bool ImageButton(string str_id, IntPtr user_texture_id, Vector2 image_size, Vector2 uv0, Vector2 uv1, Vector4 bg_col, Vector4 tint_col) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } + public static void Indent() + { + float indent_w = 0.0f; + ImGuiNative.igIndent(indent_w); + } + public static void Indent(float indent_w) + { + ImGuiNative.igIndent(indent_w); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputDouble(ReadOnlySpan label, ref double v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + double step = 0.0; + double step_fast = 0.0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.6f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.6f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (double* native_v = &v) + { + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputDouble(string label, ref double v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + double step = 0.0; + double step_fast = 0.0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.6f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.6f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (double* native_v = &v) + { + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputDouble(ReadOnlySpan label, ref double v, double step) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + double step_fast = 0.0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.6f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.6f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (double* native_v = &v) + { + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputDouble(string label, ref double v, double step) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + double step_fast = 0.0; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.6f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.6f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (double* native_v = &v) + { + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double step_fast) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.6f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.6f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (double* native_v = &v) + { + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputDouble(string label, ref double v, double step, double step_fast) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.6f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.6f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (double* native_v = &v) + { + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double step_fast, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (double* native_v = &v) + { + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputDouble(string label, ref double v, double step, double step_fast, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (double* native_v = &v) + { + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double step_fast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (double* native_v = &v) + { + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputDouble(string label, ref double v, double step, double step_fast, string format, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (double* native_v = &v) + { + byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputFloat(ReadOnlySpan label, ref float v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float step = 0.0f; + float step_fast = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (float* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputFloat(string label, ref float v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float step = 0.0f; + float step_fast = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (float* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputFloat(ReadOnlySpan label, ref float v, float step) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float step_fast = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (float* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputFloat(string label, ref float v, float step) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float step_fast = 0.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (float* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float step_fast) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (float* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputFloat(string label, ref float v, float step, float step_fast) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (float* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float step_fast, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (float* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputFloat(string label, ref float v, float step, float step_fast, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (float* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float step_fast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (float* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputFloat(string label, ref float v, float step, float step_fast, string format, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (float* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputFloat2(ReadOnlySpan label, ref Vector2 v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (Vector2* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputFloat2(string label, ref Vector2 v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (Vector2* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputFloat2(ReadOnlySpan label, ref Vector2 v, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (Vector2* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputFloat2(string label, ref Vector2 v, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (Vector2* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputFloat2(ReadOnlySpan label, ref Vector2 v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (Vector2* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputFloat2(string label, ref Vector2 v, string format, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (Vector2* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputFloat3(ReadOnlySpan label, ref Vector3 v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (Vector3* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputFloat3(string label, ref Vector3 v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (Vector3* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputFloat3(ReadOnlySpan label, ref Vector3 v, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (Vector3* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputFloat3(string label, ref Vector3 v, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (Vector3* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputFloat3(ReadOnlySpan label, ref Vector3 v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (Vector3* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputFloat3(string label, ref Vector3 v, string format, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (Vector3* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputFloat4(ReadOnlySpan label, ref Vector4 v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (Vector4* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputFloat4(string label, ref Vector4 v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (Vector4* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputFloat4(ReadOnlySpan label, ref Vector4 v, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (Vector4* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputFloat4(string label, ref Vector4 v, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (Vector4* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputFloat4(ReadOnlySpan label, ref Vector4 v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (Vector4* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool InputFloat4(string label, ref Vector4 v, string format, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (Vector4* native_v = &v) + { + byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputInt(ReadOnlySpan label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int step = 1; + int step_fast = 100; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#endif + public static bool InputInt(string label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int step = 1; + int step_fast = 100; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputInt(ReadOnlySpan label, ref int v, int step) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int step_fast = 100; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#endif + public static bool InputInt(string label, ref int v, int step) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int step_fast = 100; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputInt(ReadOnlySpan label, ref int v, int step, int step_fast) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#endif + public static bool InputInt(string label, ref int v, int step, int step_fast) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputInt(ReadOnlySpan label, ref int v, int step, int step_fast, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#endif + public static bool InputInt(string label, ref int v, int step, int step_fast, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputInt2(ReadOnlySpan label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt2(native_label, native_v, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#endif + public static bool InputInt2(string label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt2(native_label, native_v, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputInt2(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt2(native_label, native_v, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#endif + public static bool InputInt2(string label, ref int v, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt2(native_label, native_v, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputInt3(ReadOnlySpan label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt3(native_label, native_v, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#endif + public static bool InputInt3(string label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt3(native_label, native_v, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputInt3(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt3(native_label, native_v, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#endif + public static bool InputInt3(string label, ref int v, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt3(native_label, native_v, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputInt4(ReadOnlySpan label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt4(native_label, native_v, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#endif + public static bool InputInt4(string label, ref int v) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt4(native_label, native_v, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputInt4(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt4(native_label, native_v, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#endif + public static bool InputInt4(string label, ref int v, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igInputInt4(native_label, native_v, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* p_step = null; + void* p_step_fast = null; + byte* native_format = null; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, p_step, p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr p_data) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* p_step = null; + void* p_step_fast = null; + byte* native_format = null; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, p_step, p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_step) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* p_step_fast = null; + byte* native_format = null; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, native_p_step, p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_step) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* p_step_fast = null; + byte* native_format = null; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, native_p_step, p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_step, IntPtr p_step_fast) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* native_p_step_fast = (void*)p_step_fast.ToPointer(); + byte* native_format = null; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, native_p_step, native_p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_step, IntPtr p_step_fast) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* native_p_step_fast = (void*)p_step_fast.ToPointer(); + byte* native_format = null; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, native_p_step, native_p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_step, IntPtr p_step_fast, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* native_p_step_fast = (void*)p_step_fast.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, native_p_step, native_p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#endif + public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_step, IntPtr p_step_fast, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* native_p_step_fast = (void*)p_step_fast.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, native_p_step, native_p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_step, IntPtr p_step_fast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* native_p_step_fast = (void*)p_step_fast.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, native_p_step, native_p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#endif + public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_step, IntPtr p_step_fast, string format, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* native_p_step_fast = (void*)p_step_fast.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, native_p_step, native_p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, int components) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* p_step = null; + void* p_step_fast = null; + byte* native_format = null; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, p_step, p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* p_step = null; + void* p_step_fast = null; + byte* native_format = null; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, p_step, p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_step) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* p_step_fast = null; + byte* native_format = null; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, native_p_step, p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_step) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* p_step_fast = null; + byte* native_format = null; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, native_p_step, p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_step, IntPtr p_step_fast) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* native_p_step_fast = (void*)p_step_fast.ToPointer(); + byte* native_format = null; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, native_p_step, native_p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_step, IntPtr p_step_fast) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* native_p_step_fast = (void*)p_step_fast.ToPointer(); + byte* native_format = null; + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, native_p_step, native_p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_step, IntPtr p_step_fast, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* native_p_step_fast = (void*)p_step_fast.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, native_p_step, native_p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#endif + public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_step, IntPtr p_step_fast, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* native_p_step_fast = (void*)p_step_fast.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, native_p_step, native_p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_step, IntPtr p_step_fast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* native_p_step_fast = (void*)p_step_fast.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, native_p_step, native_p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#endif + public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_step, IntPtr p_step_fast, string format, ImGuiInputTextFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_step = (void*)p_step.ToPointer(); + void* native_p_step_fast = (void*)p_step_fast.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, native_p_step, native_p_step_fast, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InvisibleButton(ReadOnlySpan str_id, Vector2 size) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiButtonFlags flags = (ImGuiButtonFlags)0; + byte ret = ImGuiNative.igInvisibleButton(native_str_id, size, flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#endif + public static bool InvisibleButton(string str_id, Vector2 size) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiButtonFlags flags = (ImGuiButtonFlags)0; + byte ret = ImGuiNative.igInvisibleButton(native_str_id, size, flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool InvisibleButton(ReadOnlySpan str_id, Vector2 size, ImGuiButtonFlags flags) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + byte ret = ImGuiNative.igInvisibleButton(native_str_id, size, flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#endif + public static bool InvisibleButton(string str_id, Vector2 size, ImGuiButtonFlags flags) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + byte ret = ImGuiNative.igInvisibleButton(native_str_id, size, flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } + public static bool IsAnyItemActive() + { + byte ret = ImGuiNative.igIsAnyItemActive(); + return ret != 0; + } + public static bool IsAnyItemFocused() + { + byte ret = ImGuiNative.igIsAnyItemFocused(); + return ret != 0; + } + public static bool IsAnyItemHovered() + { + byte ret = ImGuiNative.igIsAnyItemHovered(); + return ret != 0; + } + public static bool IsAnyMouseDown() + { + byte ret = ImGuiNative.igIsAnyMouseDown(); + return ret != 0; + } + public static bool IsItemActivated() + { + byte ret = ImGuiNative.igIsItemActivated(); + return ret != 0; + } + public static bool IsItemActive() + { + byte ret = ImGuiNative.igIsItemActive(); + return ret != 0; + } + public static bool IsItemClicked() + { + ImGuiMouseButton mouse_button = (ImGuiMouseButton)0; + byte ret = ImGuiNative.igIsItemClicked(mouse_button); + return ret != 0; + } + public static bool IsItemClicked(ImGuiMouseButton mouse_button) + { + byte ret = ImGuiNative.igIsItemClicked(mouse_button); + return ret != 0; + } + public static bool IsItemDeactivated() + { + byte ret = ImGuiNative.igIsItemDeactivated(); + return ret != 0; + } + public static bool IsItemDeactivatedAfterEdit() + { + byte ret = ImGuiNative.igIsItemDeactivatedAfterEdit(); + return ret != 0; + } + public static bool IsItemEdited() + { + byte ret = ImGuiNative.igIsItemEdited(); + return ret != 0; + } + public static bool IsItemFocused() + { + byte ret = ImGuiNative.igIsItemFocused(); + return ret != 0; + } + public static bool IsItemHovered() + { + ImGuiHoveredFlags flags = (ImGuiHoveredFlags)0; + byte ret = ImGuiNative.igIsItemHovered(flags); + return ret != 0; + } + public static bool IsItemHovered(ImGuiHoveredFlags flags) + { + byte ret = ImGuiNative.igIsItemHovered(flags); + return ret != 0; + } + public static bool IsItemToggledOpen() + { + byte ret = ImGuiNative.igIsItemToggledOpen(); + return ret != 0; + } + public static bool IsItemToggledSelection() + { + byte ret = ImGuiNative.igIsItemToggledSelection(); + return ret != 0; + } + public static bool IsItemVisible() + { + byte ret = ImGuiNative.igIsItemVisible(); + return ret != 0; + } + public static bool IsKeyChordPressed(ImGuiKey key_chord) + { + byte ret = ImGuiNative.igIsKeyChordPressed_Nil(key_chord); + return ret != 0; + } + public static bool IsKeyDown(ImGuiKey key) + { + byte ret = ImGuiNative.igIsKeyDown_Nil(key); + return ret != 0; + } + public static bool IsKeyPressed(ImGuiKey key) + { + byte repeat = 1; + byte ret = ImGuiNative.igIsKeyPressed_Bool(key, repeat); + return ret != 0; + } + public static bool IsKeyPressed(ImGuiKey key, bool repeat) + { + byte native_repeat = repeat ? (byte)1 : (byte)0; + byte ret = ImGuiNative.igIsKeyPressed_Bool(key, native_repeat); + return ret != 0; + } + public static bool IsKeyReleased(ImGuiKey key) + { + byte ret = ImGuiNative.igIsKeyReleased_Nil(key); + return ret != 0; + } + public static bool IsMouseClicked(ImGuiMouseButton button) + { + byte repeat = 0; + byte ret = ImGuiNative.igIsMouseClicked_Bool(button, repeat); + return ret != 0; + } + public static bool IsMouseClicked(ImGuiMouseButton button, bool repeat) + { + byte native_repeat = repeat ? (byte)1 : (byte)0; + byte ret = ImGuiNative.igIsMouseClicked_Bool(button, native_repeat); + return ret != 0; + } + public static bool IsMouseDoubleClicked(ImGuiMouseButton button) + { + byte ret = ImGuiNative.igIsMouseDoubleClicked_Nil(button); + return ret != 0; + } + public static bool IsMouseDown(ImGuiMouseButton button) + { + byte ret = ImGuiNative.igIsMouseDown_Nil(button); + return ret != 0; + } + public static bool IsMouseDragging(ImGuiMouseButton button) + { + float lock_threshold = -1.0f; + byte ret = ImGuiNative.igIsMouseDragging(button, lock_threshold); + return ret != 0; + } + public static bool IsMouseDragging(ImGuiMouseButton button, float lock_threshold) + { + byte ret = ImGuiNative.igIsMouseDragging(button, lock_threshold); + return ret != 0; + } + public static bool IsMouseHoveringRect(Vector2 r_min, Vector2 r_max) + { + byte clip = 1; + byte ret = ImGuiNative.igIsMouseHoveringRect(r_min, r_max, clip); + return ret != 0; + } + public static bool IsMouseHoveringRect(Vector2 r_min, Vector2 r_max, bool clip) + { + byte native_clip = clip ? (byte)1 : (byte)0; + byte ret = ImGuiNative.igIsMouseHoveringRect(r_min, r_max, native_clip); + return ret != 0; + } + public static bool IsMousePosValid() + { + Vector2* mouse_pos = null; + byte ret = ImGuiNative.igIsMousePosValid(mouse_pos); + return ret != 0; + } + public static bool IsMousePosValid(ref Vector2 mouse_pos) + { + fixed (Vector2* native_mouse_pos = &mouse_pos) + { + byte ret = ImGuiNative.igIsMousePosValid(native_mouse_pos); + return ret != 0; + } + } + public static bool IsMouseReleased(ImGuiMouseButton button) + { + byte ret = ImGuiNative.igIsMouseReleased_Nil(button); + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool IsPopupOpen(ReadOnlySpan str_id) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiPopupFlags flags = (ImGuiPopupFlags)0; + byte ret = ImGuiNative.igIsPopupOpen_Str(native_str_id, flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#endif + public static bool IsPopupOpen(string str_id) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiPopupFlags flags = (ImGuiPopupFlags)0; + byte ret = ImGuiNative.igIsPopupOpen_Str(native_str_id, flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool IsPopupOpen(ReadOnlySpan str_id, ImGuiPopupFlags flags) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + byte ret = ImGuiNative.igIsPopupOpen_Str(native_str_id, flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } +#endif + public static bool IsPopupOpen(string str_id, ImGuiPopupFlags flags) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + byte ret = ImGuiNative.igIsPopupOpen_Str(native_str_id, flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + return ret != 0; + } + public static bool IsRectVisible(Vector2 size) + { + byte ret = ImGuiNative.igIsRectVisible_Nil(size); + return ret != 0; + } + public static bool IsRectVisible(Vector2 rect_min, Vector2 rect_max) + { + byte ret = ImGuiNative.igIsRectVisible_Vec2(rect_min, rect_max); + return ret != 0; + } + public static bool IsWindowAppearing() + { + byte ret = ImGuiNative.igIsWindowAppearing(); + return ret != 0; + } + public static bool IsWindowCollapsed() + { + byte ret = ImGuiNative.igIsWindowCollapsed(); + return ret != 0; + } + public static bool IsWindowDocked() + { + byte ret = ImGuiNative.igIsWindowDocked(); + return ret != 0; + } + public static bool IsWindowFocused() + { + ImGuiFocusedFlags flags = (ImGuiFocusedFlags)0; + byte ret = ImGuiNative.igIsWindowFocused(flags); + return ret != 0; + } + public static bool IsWindowFocused(ImGuiFocusedFlags flags) + { + byte ret = ImGuiNative.igIsWindowFocused(flags); + return ret != 0; + } + public static bool IsWindowHovered() + { + ImGuiHoveredFlags flags = (ImGuiHoveredFlags)0; + byte ret = ImGuiNative.igIsWindowHovered(flags); + return ret != 0; + } + public static bool IsWindowHovered(ImGuiHoveredFlags flags) + { + byte ret = ImGuiNative.igIsWindowHovered(flags); + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void LabelText(ReadOnlySpan label, ReadOnlySpan fmt) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImGuiNative.igLabelText(native_label, native_fmt); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + } +#endif + public static void LabelText(string label, string fmt) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImGuiNative.igLabelText(native_label, native_fmt); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ListBox(ReadOnlySpan label, ref int current_item, string[] items, int items_count) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int* items_byteCounts = stackalloc int[items.Length]; + int items_byteCount = 0; + for (int i = 0; i < items.Length; i++) + { + string s = items[i]; + items_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + items_byteCount += items_byteCounts[i] + 1; + } + byte* native_items_data = stackalloc byte[items_byteCount]; + int offset = 0; + for (int i = 0; i < items.Length; i++) + { + string s = items[i]; + offset += Util.GetUtf8(s, native_items_data + offset, items_byteCounts[i]); + native_items_data[offset++] = 0; + } + byte** native_items = stackalloc byte*[items.Length]; + offset = 0; + for (int i = 0; i < items.Length; i++) + { + native_items[i] = &native_items_data[offset]; + offset += items_byteCounts[i] + 1; + } + int height_in_items = -1; + fixed (int* native_current_item = ¤t_item) + { + byte ret = ImGuiNative.igListBox_Str_arr(native_label, native_current_item, native_items, items_count, height_in_items); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#endif + public static bool ListBox(string label, ref int current_item, string[] items, int items_count) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int* items_byteCounts = stackalloc int[items.Length]; + int items_byteCount = 0; + for (int i = 0; i < items.Length; i++) + { + string s = items[i]; + items_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + items_byteCount += items_byteCounts[i] + 1; + } + byte* native_items_data = stackalloc byte[items_byteCount]; + int offset = 0; + for (int i = 0; i < items.Length; i++) + { + string s = items[i]; + offset += Util.GetUtf8(s, native_items_data + offset, items_byteCounts[i]); + native_items_data[offset++] = 0; + } + byte** native_items = stackalloc byte*[items.Length]; + offset = 0; + for (int i = 0; i < items.Length; i++) + { + native_items[i] = &native_items_data[offset]; + offset += items_byteCounts[i] + 1; + } + int height_in_items = -1; + fixed (int* native_current_item = ¤t_item) + { + byte ret = ImGuiNative.igListBox_Str_arr(native_label, native_current_item, native_items, items_count, height_in_items); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ListBox(ReadOnlySpan label, ref int current_item, string[] items, int items_count, int height_in_items) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int* items_byteCounts = stackalloc int[items.Length]; + int items_byteCount = 0; + for (int i = 0; i < items.Length; i++) + { + string s = items[i]; + items_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + items_byteCount += items_byteCounts[i] + 1; + } + byte* native_items_data = stackalloc byte[items_byteCount]; + int offset = 0; + for (int i = 0; i < items.Length; i++) + { + string s = items[i]; + offset += Util.GetUtf8(s, native_items_data + offset, items_byteCounts[i]); + native_items_data[offset++] = 0; + } + byte** native_items = stackalloc byte*[items.Length]; + offset = 0; + for (int i = 0; i < items.Length; i++) + { + native_items[i] = &native_items_data[offset]; + offset += items_byteCounts[i] + 1; + } + fixed (int* native_current_item = ¤t_item) + { + byte ret = ImGuiNative.igListBox_Str_arr(native_label, native_current_item, native_items, items_count, height_in_items); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#endif + public static bool ListBox(string label, ref int current_item, string[] items, int items_count, int height_in_items) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int* items_byteCounts = stackalloc int[items.Length]; + int items_byteCount = 0; + for (int i = 0; i < items.Length; i++) + { + string s = items[i]; + items_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + items_byteCount += items_byteCounts[i] + 1; + } + byte* native_items_data = stackalloc byte[items_byteCount]; + int offset = 0; + for (int i = 0; i < items.Length; i++) + { + string s = items[i]; + offset += Util.GetUtf8(s, native_items_data + offset, items_byteCounts[i]); + native_items_data[offset++] = 0; + } + byte** native_items = stackalloc byte*[items.Length]; + offset = 0; + for (int i = 0; i < items.Length; i++) + { + native_items[i] = &native_items_data[offset]; + offset += items_byteCounts[i] + 1; + } + fixed (int* native_current_item = ¤t_item) + { + byte ret = ImGuiNative.igListBox_Str_arr(native_label, native_current_item, native_items, items_count, height_in_items); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void LoadIniSettingsFromDisk(ReadOnlySpan ini_filename) + { + byte* native_ini_filename; + int ini_filename_byteCount = 0; + if (ini_filename != null) + { + ini_filename_byteCount = Encoding.UTF8.GetByteCount(ini_filename); + if (ini_filename_byteCount > Util.StackAllocationSizeLimit) + { + native_ini_filename = Util.Allocate(ini_filename_byteCount + 1); + } + else + { + byte* native_ini_filename_stackBytes = stackalloc byte[ini_filename_byteCount + 1]; + native_ini_filename = native_ini_filename_stackBytes; + } + int native_ini_filename_offset = Util.GetUtf8(ini_filename, native_ini_filename, ini_filename_byteCount); + native_ini_filename[native_ini_filename_offset] = 0; + } + else { native_ini_filename = null; } + ImGuiNative.igLoadIniSettingsFromDisk(native_ini_filename); + if (ini_filename_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_ini_filename); + } + } +#endif + public static void LoadIniSettingsFromDisk(string ini_filename) + { + byte* native_ini_filename; + int ini_filename_byteCount = 0; + if (ini_filename != null) + { + ini_filename_byteCount = Encoding.UTF8.GetByteCount(ini_filename); + if (ini_filename_byteCount > Util.StackAllocationSizeLimit) + { + native_ini_filename = Util.Allocate(ini_filename_byteCount + 1); + } + else + { + byte* native_ini_filename_stackBytes = stackalloc byte[ini_filename_byteCount + 1]; + native_ini_filename = native_ini_filename_stackBytes; + } + int native_ini_filename_offset = Util.GetUtf8(ini_filename, native_ini_filename, ini_filename_byteCount); + native_ini_filename[native_ini_filename_offset] = 0; + } + else { native_ini_filename = null; } + ImGuiNative.igLoadIniSettingsFromDisk(native_ini_filename); + if (ini_filename_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_ini_filename); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void LoadIniSettingsFromMemory(ReadOnlySpan ini_data) + { + byte* native_ini_data; + int ini_data_byteCount = 0; + if (ini_data != null) + { + ini_data_byteCount = Encoding.UTF8.GetByteCount(ini_data); + if (ini_data_byteCount > Util.StackAllocationSizeLimit) + { + native_ini_data = Util.Allocate(ini_data_byteCount + 1); + } + else + { + byte* native_ini_data_stackBytes = stackalloc byte[ini_data_byteCount + 1]; + native_ini_data = native_ini_data_stackBytes; + } + int native_ini_data_offset = Util.GetUtf8(ini_data, native_ini_data, ini_data_byteCount); + native_ini_data[native_ini_data_offset] = 0; + } + else { native_ini_data = null; } + uint ini_size = 0; + ImGuiNative.igLoadIniSettingsFromMemory(native_ini_data, ini_size); + if (ini_data_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_ini_data); + } + } +#endif + public static void LoadIniSettingsFromMemory(string ini_data) + { + byte* native_ini_data; + int ini_data_byteCount = 0; + if (ini_data != null) + { + ini_data_byteCount = Encoding.UTF8.GetByteCount(ini_data); + if (ini_data_byteCount > Util.StackAllocationSizeLimit) + { + native_ini_data = Util.Allocate(ini_data_byteCount + 1); + } + else + { + byte* native_ini_data_stackBytes = stackalloc byte[ini_data_byteCount + 1]; + native_ini_data = native_ini_data_stackBytes; + } + int native_ini_data_offset = Util.GetUtf8(ini_data, native_ini_data, ini_data_byteCount); + native_ini_data[native_ini_data_offset] = 0; + } + else { native_ini_data = null; } + uint ini_size = 0; + ImGuiNative.igLoadIniSettingsFromMemory(native_ini_data, ini_size); + if (ini_data_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_ini_data); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void LoadIniSettingsFromMemory(ReadOnlySpan ini_data, uint ini_size) + { + byte* native_ini_data; + int ini_data_byteCount = 0; + if (ini_data != null) + { + ini_data_byteCount = Encoding.UTF8.GetByteCount(ini_data); + if (ini_data_byteCount > Util.StackAllocationSizeLimit) + { + native_ini_data = Util.Allocate(ini_data_byteCount + 1); + } + else + { + byte* native_ini_data_stackBytes = stackalloc byte[ini_data_byteCount + 1]; + native_ini_data = native_ini_data_stackBytes; + } + int native_ini_data_offset = Util.GetUtf8(ini_data, native_ini_data, ini_data_byteCount); + native_ini_data[native_ini_data_offset] = 0; + } + else { native_ini_data = null; } + ImGuiNative.igLoadIniSettingsFromMemory(native_ini_data, ini_size); + if (ini_data_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_ini_data); + } + } +#endif + public static void LoadIniSettingsFromMemory(string ini_data, uint ini_size) + { + byte* native_ini_data; + int ini_data_byteCount = 0; + if (ini_data != null) + { + ini_data_byteCount = Encoding.UTF8.GetByteCount(ini_data); + if (ini_data_byteCount > Util.StackAllocationSizeLimit) + { + native_ini_data = Util.Allocate(ini_data_byteCount + 1); + } + else + { + byte* native_ini_data_stackBytes = stackalloc byte[ini_data_byteCount + 1]; + native_ini_data = native_ini_data_stackBytes; + } + int native_ini_data_offset = Util.GetUtf8(ini_data, native_ini_data, ini_data_byteCount); + native_ini_data[native_ini_data_offset] = 0; + } + else { native_ini_data = null; } + ImGuiNative.igLoadIniSettingsFromMemory(native_ini_data, ini_size); + if (ini_data_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_ini_data); + } + } + public static void LogButtons() + { + ImGuiNative.igLogButtons(); + } + public static void LogFinish() + { + ImGuiNative.igLogFinish(); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void LogText(ReadOnlySpan fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImGuiNative.igLogText(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + } +#endif + public static void LogText(string fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImGuiNative.igLogText(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + } + public static void LogToClipboard() + { + int auto_open_depth = -1; + ImGuiNative.igLogToClipboard(auto_open_depth); + } + public static void LogToClipboard(int auto_open_depth) + { + ImGuiNative.igLogToClipboard(auto_open_depth); + } + public static void LogToFile() + { + int auto_open_depth = -1; + byte* native_filename = null; + ImGuiNative.igLogToFile(auto_open_depth, native_filename); + } + public static void LogToFile(int auto_open_depth) + { + byte* native_filename = null; + ImGuiNative.igLogToFile(auto_open_depth, native_filename); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void LogToFile(int auto_open_depth, ReadOnlySpan filename) + { + byte* native_filename; + int filename_byteCount = 0; + if (filename != null) + { + filename_byteCount = Encoding.UTF8.GetByteCount(filename); + if (filename_byteCount > Util.StackAllocationSizeLimit) + { + native_filename = Util.Allocate(filename_byteCount + 1); + } + else + { + byte* native_filename_stackBytes = stackalloc byte[filename_byteCount + 1]; + native_filename = native_filename_stackBytes; + } + int native_filename_offset = Util.GetUtf8(filename, native_filename, filename_byteCount); + native_filename[native_filename_offset] = 0; + } + else { native_filename = null; } + ImGuiNative.igLogToFile(auto_open_depth, native_filename); + if (filename_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_filename); + } + } +#endif + public static void LogToFile(int auto_open_depth, string filename) + { + byte* native_filename; + int filename_byteCount = 0; + if (filename != null) + { + filename_byteCount = Encoding.UTF8.GetByteCount(filename); + if (filename_byteCount > Util.StackAllocationSizeLimit) + { + native_filename = Util.Allocate(filename_byteCount + 1); + } + else + { + byte* native_filename_stackBytes = stackalloc byte[filename_byteCount + 1]; + native_filename = native_filename_stackBytes; + } + int native_filename_offset = Util.GetUtf8(filename, native_filename, filename_byteCount); + native_filename[native_filename_offset] = 0; + } + else { native_filename = null; } + ImGuiNative.igLogToFile(auto_open_depth, native_filename); + if (filename_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_filename); + } + } + public static void LogToTTY() + { + int auto_open_depth = -1; + ImGuiNative.igLogToTTY(auto_open_depth); + } + public static void LogToTTY(int auto_open_depth) + { + ImGuiNative.igLogToTTY(auto_open_depth); + } + public static IntPtr MemAlloc(uint size) + { + void* ret = ImGuiNative.igMemAlloc(size); + return (IntPtr)ret; + } + public static void MemFree(IntPtr ptr) + { + void* native_ptr = (void*)ptr.ToPointer(); + ImGuiNative.igMemFree(native_ptr); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool MenuItem(ReadOnlySpan label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_shortcut = null; + byte selected = 0; + byte enabled = 1; + byte ret = ImGuiNative.igMenuItem_Bool(native_label, native_shortcut, selected, enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool MenuItem(string label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_shortcut = null; + byte selected = 0; + byte enabled = 1; + byte ret = ImGuiNative.igMenuItem_Bool(native_label, native_shortcut, selected, enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_shortcut; + int shortcut_byteCount = 0; + if (shortcut != null) + { + shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + native_shortcut = Util.Allocate(shortcut_byteCount + 1); + } + else + { + byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; + native_shortcut = native_shortcut_stackBytes; + } + int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); + native_shortcut[native_shortcut_offset] = 0; + } + else { native_shortcut = null; } + byte selected = 0; + byte enabled = 1; + byte ret = ImGuiNative.igMenuItem_Bool(native_label, native_shortcut, selected, enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_shortcut); + } + return ret != 0; + } +#endif + public static bool MenuItem(string label, string shortcut) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_shortcut; + int shortcut_byteCount = 0; + if (shortcut != null) + { + shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + native_shortcut = Util.Allocate(shortcut_byteCount + 1); + } + else + { + byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; + native_shortcut = native_shortcut_stackBytes; + } + int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); + native_shortcut[native_shortcut_offset] = 0; + } + else { native_shortcut = null; } + byte selected = 0; + byte enabled = 1; + byte ret = ImGuiNative.igMenuItem_Bool(native_label, native_shortcut, selected, enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_shortcut); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, bool selected) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_shortcut; + int shortcut_byteCount = 0; + if (shortcut != null) + { + shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + native_shortcut = Util.Allocate(shortcut_byteCount + 1); + } + else + { + byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; + native_shortcut = native_shortcut_stackBytes; + } + int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); + native_shortcut[native_shortcut_offset] = 0; + } + else { native_shortcut = null; } + byte native_selected = selected ? (byte)1 : (byte)0; + byte enabled = 1; + byte ret = ImGuiNative.igMenuItem_Bool(native_label, native_shortcut, native_selected, enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_shortcut); + } + return ret != 0; + } +#endif + public static bool MenuItem(string label, string shortcut, bool selected) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_shortcut; + int shortcut_byteCount = 0; + if (shortcut != null) + { + shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + native_shortcut = Util.Allocate(shortcut_byteCount + 1); + } + else + { + byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; + native_shortcut = native_shortcut_stackBytes; + } + int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); + native_shortcut[native_shortcut_offset] = 0; + } + else { native_shortcut = null; } + byte native_selected = selected ? (byte)1 : (byte)0; + byte enabled = 1; + byte ret = ImGuiNative.igMenuItem_Bool(native_label, native_shortcut, native_selected, enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_shortcut); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, bool selected, bool enabled) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_shortcut; + int shortcut_byteCount = 0; + if (shortcut != null) + { + shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + native_shortcut = Util.Allocate(shortcut_byteCount + 1); + } + else + { + byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; + native_shortcut = native_shortcut_stackBytes; + } + int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); + native_shortcut[native_shortcut_offset] = 0; + } + else { native_shortcut = null; } + byte native_selected = selected ? (byte)1 : (byte)0; + byte native_enabled = enabled ? (byte)1 : (byte)0; + byte ret = ImGuiNative.igMenuItem_Bool(native_label, native_shortcut, native_selected, native_enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_shortcut); + } + return ret != 0; + } +#endif + public static bool MenuItem(string label, string shortcut, bool selected, bool enabled) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_shortcut; + int shortcut_byteCount = 0; + if (shortcut != null) + { + shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + native_shortcut = Util.Allocate(shortcut_byteCount + 1); + } + else + { + byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; + native_shortcut = native_shortcut_stackBytes; + } + int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); + native_shortcut[native_shortcut_offset] = 0; + } + else { native_shortcut = null; } + byte native_selected = selected ? (byte)1 : (byte)0; + byte native_enabled = enabled ? (byte)1 : (byte)0; + byte ret = ImGuiNative.igMenuItem_Bool(native_label, native_shortcut, native_selected, native_enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_shortcut); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, ref bool p_selected) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_shortcut; + int shortcut_byteCount = 0; + if (shortcut != null) + { + shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + native_shortcut = Util.Allocate(shortcut_byteCount + 1); + } + else + { + byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; + native_shortcut = native_shortcut_stackBytes; + } + int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); + native_shortcut[native_shortcut_offset] = 0; + } + else { native_shortcut = null; } + byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; + byte* native_p_selected = &native_p_selected_val; + byte enabled = 1; + byte ret = ImGuiNative.igMenuItem_BoolPtr(native_label, native_shortcut, native_p_selected, enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_shortcut); + } + p_selected = native_p_selected_val != 0; + return ret != 0; + } +#endif + public static bool MenuItem(string label, string shortcut, ref bool p_selected) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_shortcut; + int shortcut_byteCount = 0; + if (shortcut != null) + { + shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + native_shortcut = Util.Allocate(shortcut_byteCount + 1); + } + else + { + byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; + native_shortcut = native_shortcut_stackBytes; + } + int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); + native_shortcut[native_shortcut_offset] = 0; + } + else { native_shortcut = null; } + byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; + byte* native_p_selected = &native_p_selected_val; + byte enabled = 1; + byte ret = ImGuiNative.igMenuItem_BoolPtr(native_label, native_shortcut, native_p_selected, enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_shortcut); + } + p_selected = native_p_selected_val != 0; + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, ref bool p_selected, bool enabled) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_shortcut; + int shortcut_byteCount = 0; + if (shortcut != null) + { + shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + native_shortcut = Util.Allocate(shortcut_byteCount + 1); + } + else + { + byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; + native_shortcut = native_shortcut_stackBytes; + } + int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); + native_shortcut[native_shortcut_offset] = 0; + } + else { native_shortcut = null; } + byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; + byte* native_p_selected = &native_p_selected_val; + byte native_enabled = enabled ? (byte)1 : (byte)0; + byte ret = ImGuiNative.igMenuItem_BoolPtr(native_label, native_shortcut, native_p_selected, native_enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_shortcut); + } + p_selected = native_p_selected_val != 0; + return ret != 0; + } +#endif + public static bool MenuItem(string label, string shortcut, ref bool p_selected, bool enabled) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_shortcut; + int shortcut_byteCount = 0; + if (shortcut != null) + { + shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + native_shortcut = Util.Allocate(shortcut_byteCount + 1); + } + else + { + byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; + native_shortcut = native_shortcut_stackBytes; + } + int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); + native_shortcut[native_shortcut_offset] = 0; + } + else { native_shortcut = null; } + byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; + byte* native_p_selected = &native_p_selected_val; + byte native_enabled = enabled ? (byte)1 : (byte)0; + byte ret = ImGuiNative.igMenuItem_BoolPtr(native_label, native_shortcut, native_p_selected, native_enabled); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (shortcut_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_shortcut); + } + p_selected = native_p_selected_val != 0; + return ret != 0; + } + public static void NewFrame() { - Vector2 __retval; - ImGuiNative.igGetItemRectMax(&__retval); - return __retval; + ImGuiNative.igNewFrame(); } - public static Vector2 GetItemRectMin() + public static void NewLine() { - Vector2 __retval; - ImGuiNative.igGetItemRectMin(&__retval); - return __retval; + ImGuiNative.igNewLine(); } - public static Vector2 GetItemRectSize() + public static void NextColumn() { - Vector2 __retval; - ImGuiNative.igGetItemRectSize(&__retval); - return __retval; + ImGuiNative.igNextColumn(); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void OpenPopup(ReadOnlySpan str_id) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)0; + ImGuiNative.igOpenPopup_Str(native_str_id, popup_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + } +#endif + public static void OpenPopup(string str_id) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)0; + ImGuiNative.igOpenPopup_Str(native_str_id, popup_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void OpenPopup(ReadOnlySpan str_id, ImGuiPopupFlags popup_flags) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiNative.igOpenPopup_Str(native_str_id, popup_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + } +#endif + public static void OpenPopup(string str_id, ImGuiPopupFlags popup_flags) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiNative.igOpenPopup_Str(native_str_id, popup_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + } + public static void OpenPopup(uint id) + { + ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)0; + ImGuiNative.igOpenPopup_ID(id, popup_flags); + } + public static void OpenPopup(uint id, ImGuiPopupFlags popup_flags) + { + ImGuiNative.igOpenPopup_ID(id, popup_flags); + } + public static void OpenPopupOnItemClick() + { + byte* native_str_id = null; + ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; + ImGuiNative.igOpenPopupOnItemClick(native_str_id, popup_flags); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void OpenPopupOnItemClick(ReadOnlySpan str_id) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; + ImGuiNative.igOpenPopupOnItemClick(native_str_id, popup_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + } +#endif + public static void OpenPopupOnItemClick(string str_id) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; + ImGuiNative.igOpenPopupOnItemClick(native_str_id, popup_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void OpenPopupOnItemClick(ReadOnlySpan str_id, ImGuiPopupFlags popup_flags) + { + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiNative.igOpenPopupOnItemClick(native_str_id, popup_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } } - public static ImGuiKey GetKeyIndex(ImGuiKey key) +#endif + public static void OpenPopupOnItemClick(string str_id, ImGuiPopupFlags popup_flags) { - ImGuiKey ret = ImGuiNative.igGetKeyIndex(key); - return ret; + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiNative.igOpenPopupOnItemClick(native_str_id, popup_flags); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } } - public static string GetKeyName(ImGuiKey key) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHistogram(ReadOnlySpan label, ref float values, int values_count) { - byte* ret = ImGuiNative.igGetKeyName(key); - return Util.StringFromPtr(ret); + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int values_offset = 0; + byte* native_overlay_text = null; + float scale_min = float.MaxValue; + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + } } - public static int GetKeyPressedAmount(ImGuiKey key, float repeat_delay, float rate) +#endif + public static void PlotHistogram(string label, ref float values, int values_count) { - int ret = ImGuiNative.igGetKeyPressedAmount(key, repeat_delay, rate); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int values_offset = 0; + byte* native_overlay_text = null; + float scale_min = float.MaxValue; + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + } } - public static ImGuiViewportPtr GetMainViewport() +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHistogram(ReadOnlySpan label, ref float values, int values_count, int values_offset) { - ImGuiViewport* ret = ImGuiNative.igGetMainViewport(); - return new ImGuiViewportPtr(ret); + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text = null; + float scale_min = float.MaxValue; + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + } } - public static int GetMouseClickedCount(ImGuiMouseButton button) +#endif + public static void PlotHistogram(string label, ref float values, int values_count, int values_offset) { - int ret = ImGuiNative.igGetMouseClickedCount(button); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text = null; + float scale_min = float.MaxValue; + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + } } - public static ImGuiMouseCursor GetMouseCursor() +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHistogram(ReadOnlySpan label, ref float values, int values_count, int values_offset, ReadOnlySpan overlay_text) { - ImGuiMouseCursor ret = ImGuiNative.igGetMouseCursor(); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + float scale_min = float.MaxValue; + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static Vector2 GetMouseDragDelta() +#endif + public static void PlotHistogram(string label, ref float values, int values_count, int values_offset, string overlay_text) { - Vector2 __retval; - ImGuiMouseButton button = (ImGuiMouseButton)0; - float lock_threshold = -1.0f; - ImGuiNative.igGetMouseDragDelta(&__retval, button, lock_threshold); - return __retval; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + float scale_min = float.MaxValue; + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static Vector2 GetMouseDragDelta(ImGuiMouseButton button) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHistogram(ReadOnlySpan label, ref float values, int values_count, int values_offset, ReadOnlySpan overlay_text, float scale_min) { - Vector2 __retval; - float lock_threshold = -1.0f; - ImGuiNative.igGetMouseDragDelta(&__retval, button, lock_threshold); - return __retval; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static Vector2 GetMouseDragDelta(ImGuiMouseButton button, float lock_threshold) +#endif + public static void PlotHistogram(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min) { - Vector2 __retval; - ImGuiNative.igGetMouseDragDelta(&__retval, button, lock_threshold); - return __retval; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static Vector2 GetMousePos() +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHistogram(ReadOnlySpan label, ref float values, int values_count, int values_offset, ReadOnlySpan overlay_text, float scale_min, float scale_max) { - Vector2 __retval; - ImGuiNative.igGetMousePos(&__retval); - return __retval; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static Vector2 GetMousePosOnOpeningCurrentPopup() +#endif + public static void PlotHistogram(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min, float scale_max) { - Vector2 __retval; - ImGuiNative.igGetMousePosOnOpeningCurrentPopup(&__retval); - return __retval; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static ImGuiPlatformIOPtr GetPlatformIO() +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHistogram(ReadOnlySpan label, ref float values, int values_count, int values_offset, ReadOnlySpan overlay_text, float scale_min, float scale_max, Vector2 graph_size) { - ImGuiPlatformIO* ret = ImGuiNative.igGetPlatformIO(); - return new ImGuiPlatformIOPtr(ret); + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static float GetScrollMaxX() +#endif + public static void PlotHistogram(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min, float scale_max, Vector2 graph_size) { - float ret = ImGuiNative.igGetScrollMaxX(); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static float GetScrollMaxY() +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHistogram(ReadOnlySpan label, ref float values, int values_count, int values_offset, ReadOnlySpan overlay_text, float scale_min, float scale_max, Vector2 graph_size, int stride) { - float ret = ImGuiNative.igGetScrollMaxY(); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + fixed (float* native_values = &values) + { + ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static float GetScrollX() +#endif + public static void PlotHistogram(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min, float scale_max, Vector2 graph_size, int stride) { - float ret = ImGuiNative.igGetScrollX(); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + fixed (float* native_values = &values) + { + ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static float GetScrollY() +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLines(ReadOnlySpan label, ref float values, int values_count) { - float ret = ImGuiNative.igGetScrollY(); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int values_offset = 0; + byte* native_overlay_text = null; + float scale_min = float.MaxValue; + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + } } - public static ImGuiStoragePtr GetStateStorage() +#endif + public static void PlotLines(string label, ref float values, int values_count) { - ImGuiStorage* ret = ImGuiNative.igGetStateStorage(); - return new ImGuiStoragePtr(ret); + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + int values_offset = 0; + byte* native_overlay_text = null; + float scale_min = float.MaxValue; + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + } } - public static ImGuiStylePtr GetStyle() +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLines(ReadOnlySpan label, ref float values, int values_count, int values_offset) { - ImGuiStyle* ret = ImGuiNative.igGetStyle(); - return new ImGuiStylePtr(ret); + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text = null; + float scale_min = float.MaxValue; + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + } } - public static string GetStyleColorName(ImGuiCol idx) +#endif + public static void PlotLines(string label, ref float values, int values_count, int values_offset) { - byte* ret = ImGuiNative.igGetStyleColorName(idx); - return Util.StringFromPtr(ret); + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text = null; + float scale_min = float.MaxValue; + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + } } - public static Vector4* GetStyleColorVec4(ImGuiCol idx) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLines(ReadOnlySpan label, ref float values, int values_count, int values_offset, ReadOnlySpan overlay_text) { - Vector4* ret = ImGuiNative.igGetStyleColorVec4(idx); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + float scale_min = float.MaxValue; + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static float GetTextLineHeight() +#endif + public static void PlotLines(string label, ref float values, int values_count, int values_offset, string overlay_text) { - float ret = ImGuiNative.igGetTextLineHeight(); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + float scale_min = float.MaxValue; + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static float GetTextLineHeightWithSpacing() +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLines(ReadOnlySpan label, ref float values, int values_count, int values_offset, ReadOnlySpan overlay_text, float scale_min) { - float ret = ImGuiNative.igGetTextLineHeightWithSpacing(); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static double GetTime() +#endif + public static void PlotLines(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min) { - double ret = ImGuiNative.igGetTime(); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + float scale_max = float.MaxValue; + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static float GetTreeNodeToLabelSpacing() +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLines(ReadOnlySpan label, ref float values, int values_count, int values_offset, ReadOnlySpan overlay_text, float scale_min, float scale_max) { - float ret = ImGuiNative.igGetTreeNodeToLabelSpacing(); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static string GetVersion() +#endif + public static void PlotLines(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min, float scale_max) { - byte* ret = ImGuiNative.igGetVersion(); - return Util.StringFromPtr(ret); + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + Vector2 graph_size = new Vector2(); + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static Vector2 GetWindowContentRegionMax() +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLines(ReadOnlySpan label, ref float values, int values_count, int values_offset, ReadOnlySpan overlay_text, float scale_min, float scale_max, Vector2 graph_size) { - Vector2 __retval; - ImGuiNative.igGetWindowContentRegionMax(&__retval); - return __retval; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static Vector2 GetWindowContentRegionMin() +#endif + public static void PlotLines(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min, float scale_max, Vector2 graph_size) { - Vector2 __retval; - ImGuiNative.igGetWindowContentRegionMin(&__retval); - return __retval; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static uint GetWindowDockID() +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLines(ReadOnlySpan label, ref float values, int values_count, int values_offset, ReadOnlySpan overlay_text, float scale_min, float scale_max, Vector2 graph_size, int stride) { - uint ret = ImGuiNative.igGetWindowDockID(); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + fixed (float* native_values = &values) + { + ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static float GetWindowDpiScale() +#endif + public static void PlotLines(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min, float scale_max, Vector2 graph_size, int stride) { - float ret = ImGuiNative.igGetWindowDpiScale(); - return ret; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_overlay_text; + int overlay_text_byteCount = 0; + if (overlay_text != null) + { + overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + } + else + { + byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; + native_overlay_text = native_overlay_text_stackBytes; + } + int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); + native_overlay_text[native_overlay_text_offset] = 0; + } + else { native_overlay_text = null; } + fixed (float* native_values = &values) + { + ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_overlay_text); + } + } } - public static ImDrawListPtr GetWindowDrawList() + public static void PopClipRect() { - ImDrawList* ret = ImGuiNative.igGetWindowDrawList(); - return new ImDrawListPtr(ret); + ImGuiNative.igPopClipRect(); } - public static float GetWindowHeight() + public static void PopFont() { - float ret = ImGuiNative.igGetWindowHeight(); - return ret; + ImGuiNative.igPopFont(); } - public static Vector2 GetWindowPos() + public static void PopID() { - Vector2 __retval; - ImGuiNative.igGetWindowPos(&__retval); - return __retval; + ImGuiNative.igPopID(); } - public static Vector2 GetWindowSize() + public static void PopItemFlag() { - Vector2 __retval; - ImGuiNative.igGetWindowSize(&__retval); - return __retval; + ImGuiNative.igPopItemFlag(); } - public static ImGuiViewportPtr GetWindowViewport() + public static void PopItemWidth() { - ImGuiViewport* ret = ImGuiNative.igGetWindowViewport(); - return new ImGuiViewportPtr(ret); + ImGuiNative.igPopItemWidth(); } - public static float GetWindowWidth() + public static void PopStyleColor() { - float ret = ImGuiNative.igGetWindowWidth(); - return ret; + int count = 1; + ImGuiNative.igPopStyleColor(count); } - public static void Image(IntPtr user_texture_id, Vector2 size) + public static void PopStyleColor(int count) { - Vector2 uv0 = new Vector2(); - Vector2 uv1 = new Vector2(1, 1); - Vector4 tint_col = new Vector4(1, 1, 1, 1); - Vector4 border_col = new Vector4(); - ImGuiNative.igImage(user_texture_id, size, uv0, uv1, tint_col, border_col); + ImGuiNative.igPopStyleColor(count); } - public static void Image(IntPtr user_texture_id, Vector2 size, Vector2 uv0) + public static void PopStyleVar() { - Vector2 uv1 = new Vector2(1, 1); - Vector4 tint_col = new Vector4(1, 1, 1, 1); - Vector4 border_col = new Vector4(); - ImGuiNative.igImage(user_texture_id, size, uv0, uv1, tint_col, border_col); + int count = 1; + ImGuiNative.igPopStyleVar(count); } - public static void Image(IntPtr user_texture_id, Vector2 size, Vector2 uv0, Vector2 uv1) + public static void PopStyleVar(int count) { - Vector4 tint_col = new Vector4(1, 1, 1, 1); - Vector4 border_col = new Vector4(); - ImGuiNative.igImage(user_texture_id, size, uv0, uv1, tint_col, border_col); + ImGuiNative.igPopStyleVar(count); } - public static void Image(IntPtr user_texture_id, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 tint_col) + public static void PopTextWrapPos() { - Vector4 border_col = new Vector4(); - ImGuiNative.igImage(user_texture_id, size, uv0, uv1, tint_col, border_col); + ImGuiNative.igPopTextWrapPos(); } - public static void Image(IntPtr user_texture_id, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 tint_col, Vector4 border_col) + public static void ProgressBar(float fraction) { - ImGuiNative.igImage(user_texture_id, size, uv0, uv1, tint_col, border_col); + Vector2 size_arg = new Vector2(-float.MinValue, 0.0f); + byte* native_overlay = null; + ImGuiNative.igProgressBar(fraction, size_arg, native_overlay); } - public static bool ImageButton(string str_id, IntPtr user_texture_id, Vector2 size) + public static void ProgressBar(float fraction, Vector2 size_arg) { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) - { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) - { - native_str_id = Util.Allocate(str_id_byteCount + 1); - } - else - { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; - } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; - } - else { native_str_id = null; } - Vector2 uv0 = new Vector2(); - Vector2 uv1 = new Vector2(1, 1); - Vector4 bg_col = new Vector4(); - Vector4 tint_col = new Vector4(1, 1, 1, 1); - byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, size, uv0, uv1, bg_col, tint_col); - if (str_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_str_id); - } - return ret != 0; + byte* native_overlay = null; + ImGuiNative.igProgressBar(fraction, size_arg, native_overlay); } - public static bool ImageButton(string str_id, IntPtr user_texture_id, Vector2 size, Vector2 uv0) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void ProgressBar(float fraction, Vector2 size_arg, ReadOnlySpan overlay) { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + byte* native_overlay; + int overlay_byteCount = 0; + if (overlay != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + overlay_byteCount = Encoding.UTF8.GetByteCount(overlay); + if (overlay_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_overlay = Util.Allocate(overlay_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_overlay_stackBytes = stackalloc byte[overlay_byteCount + 1]; + native_overlay = native_overlay_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; + int native_overlay_offset = Util.GetUtf8(overlay, native_overlay, overlay_byteCount); + native_overlay[native_overlay_offset] = 0; } - else { native_str_id = null; } - Vector2 uv1 = new Vector2(1, 1); - Vector4 bg_col = new Vector4(); - Vector4 tint_col = new Vector4(1, 1, 1, 1); - byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, size, uv0, uv1, bg_col, tint_col); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + else { native_overlay = null; } + ImGuiNative.igProgressBar(fraction, size_arg, native_overlay); + if (overlay_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_str_id); + Util.Free(native_overlay); } - return ret != 0; } - public static bool ImageButton(string str_id, IntPtr user_texture_id, Vector2 size, Vector2 uv0, Vector2 uv1) +#endif + public static void ProgressBar(float fraction, Vector2 size_arg, string overlay) { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + byte* native_overlay; + int overlay_byteCount = 0; + if (overlay != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + overlay_byteCount = Encoding.UTF8.GetByteCount(overlay); + if (overlay_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_overlay = Util.Allocate(overlay_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_overlay_stackBytes = stackalloc byte[overlay_byteCount + 1]; + native_overlay = native_overlay_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; + int native_overlay_offset = Util.GetUtf8(overlay, native_overlay, overlay_byteCount); + native_overlay[native_overlay_offset] = 0; } - else { native_str_id = null; } - Vector4 bg_col = new Vector4(); - Vector4 tint_col = new Vector4(1, 1, 1, 1); - byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, size, uv0, uv1, bg_col, tint_col); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + else { native_overlay = null; } + ImGuiNative.igProgressBar(fraction, size_arg, native_overlay); + if (overlay_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_str_id); + Util.Free(native_overlay); } - return ret != 0; } - public static bool ImageButton(string str_id, IntPtr user_texture_id, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 bg_col) + public static void PushClipRect(Vector2 clip_rect_min, Vector2 clip_rect_max, bool intersect_with_current_clip_rect) + { + byte native_intersect_with_current_clip_rect = intersect_with_current_clip_rect ? (byte)1 : (byte)0; + ImGuiNative.igPushClipRect(clip_rect_min, clip_rect_max, native_intersect_with_current_clip_rect); + } + public static void PushFont(ImFontPtr font) + { + ImFont* native_font = font.NativePtr; + ImGuiNative.igPushFont(native_font); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PushID(ReadOnlySpan str_id) { byte* native_str_id; int str_id_byteCount = 0; @@ -6742,15 +20191,14 @@ public static bool ImageButton(string str_id, IntPtr user_texture_id, Vector2 si native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - Vector4 tint_col = new Vector4(1, 1, 1, 1); - byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, size, uv0, uv1, bg_col, tint_col); + ImGuiNative.igPushID_Str(native_str_id); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } - return ret != 0; } - public static bool ImageButton(string str_id, IntPtr user_texture_id, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 bg_col, Vector4 tint_col) +#endif + public static void PushID(string str_id) { byte* native_str_id; int str_id_byteCount = 0; @@ -6770,23 +20218,65 @@ public static bool ImageButton(string str_id, IntPtr user_texture_id, Vector2 si native_str_id[native_str_id_offset] = 0; } else { native_str_id = null; } - byte ret = ImGuiNative.igImageButton(native_str_id, user_texture_id, size, uv0, uv1, bg_col, tint_col); + ImGuiNative.igPushID_Str(native_str_id); if (str_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str_id); } - return ret != 0; } - public static void Indent() + public static void PushID(IntPtr ptr_id) { - float indent_w = 0.0f; - ImGuiNative.igIndent(indent_w); + void* native_ptr_id = (void*)ptr_id.ToPointer(); + ImGuiNative.igPushID_Ptr(native_ptr_id); } - public static void Indent(float indent_w) + public static void PushID(int int_id) { - ImGuiNative.igIndent(indent_w); + ImGuiNative.igPushID_Int(int_id); } - public static bool InputDouble(string label, ref double v) + public static void PushItemFlag(ImGuiItemFlags option, bool enabled) + { + byte native_enabled = enabled ? (byte)1 : (byte)0; + ImGuiNative.igPushItemFlag(option, native_enabled); + } + public static void PushItemWidth(float item_width) + { + ImGuiNative.igPushItemWidth(item_width); + } + public static void PushStyleColor(ImGuiCol idx, uint col) + { + ImGuiNative.igPushStyleColor_U32(idx, col); + } + public static void PushStyleColor(ImGuiCol idx, Vector4 col) + { + ImGuiNative.igPushStyleColor_Vec4(idx, col); + } + public static void PushStyleVar(ImGuiStyleVar idx, float val) + { + ImGuiNative.igPushStyleVar_Float(idx, val); + } + public static void PushStyleVar(ImGuiStyleVar idx, Vector2 val) + { + ImGuiNative.igPushStyleVar_Vec2(idx, val); + } + public static void PushStyleVarX(ImGuiStyleVar idx, float val_x) + { + ImGuiNative.igPushStyleVarX(idx, val_x); + } + public static void PushStyleVarY(ImGuiStyleVar idx, float val_y) + { + ImGuiNative.igPushStyleVarY(idx, val_y); + } + public static void PushTextWrapPos() + { + float wrap_local_pos_x = 0.0f; + ImGuiNative.igPushTextWrapPos(wrap_local_pos_x); + } + public static void PushTextWrapPos(float wrap_local_pos_x) + { + ImGuiNative.igPushTextWrapPos(wrap_local_pos_x); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool RadioButton(ReadOnlySpan label, bool active) { byte* native_label; int label_byteCount = 0; @@ -6806,38 +20296,76 @@ public static bool InputDouble(string label, ref double v) native_label[native_label_offset] = 0; } else { native_label = null; } - double step = 0.0; - double step_fast = 0.0; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.6f"); - if (format_byteCount > Util.StackAllocationSizeLimit) + byte native_active = active ? (byte)1 : (byte)0; + byte ret = ImGuiNative.igRadioButton_Bool(native_label, native_active); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool RadioButton(string label, bool active) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_format_offset = Util.GetUtf8("%.6f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (double* native_v = &v) + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte native_active = active ? (byte)1 : (byte)0; + byte ret = ImGuiNative.igRadioButton_Bool(native_label, native_active); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool RadioButton(ReadOnlySpan label, ref int v, int v_button) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); if (label_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_label = Util.Allocate(label_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igRadioButton_IntPtr(native_label, native_v, v_button); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); } return ret != 0; } } - public static bool InputDouble(string label, ref double v, double step) +#endif + public static bool RadioButton(string label, ref int v, int v_button) { byte* native_label; int label_byteCount = 0; @@ -6857,37 +20385,132 @@ public static bool InputDouble(string label, ref double v, double step) native_label[native_label_offset] = 0; } else { native_label = null; } - double step_fast = 0.0; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.6f"); - if (format_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igRadioButton_IntPtr(native_label, native_v, v_button); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + Util.Free(native_label); + } + return ret != 0; + } + } + public static void Render() + { + ImGuiNative.igRender(); + } + public static void RenderPlatformWindowsDefault() + { + void* platform_render_arg = null; + void* renderer_render_arg = null; + ImGuiNative.igRenderPlatformWindowsDefault(platform_render_arg, renderer_render_arg); + } + public static void RenderPlatformWindowsDefault(IntPtr platform_render_arg) + { + void* native_platform_render_arg = (void*)platform_render_arg.ToPointer(); + void* renderer_render_arg = null; + ImGuiNative.igRenderPlatformWindowsDefault(native_platform_render_arg, renderer_render_arg); + } + public static void RenderPlatformWindowsDefault(IntPtr platform_render_arg, IntPtr renderer_render_arg) + { + void* native_platform_render_arg = (void*)platform_render_arg.ToPointer(); + void* native_renderer_render_arg = (void*)renderer_render_arg.ToPointer(); + ImGuiNative.igRenderPlatformWindowsDefault(native_platform_render_arg, native_renderer_render_arg); + } + public static void ResetMouseDragDelta() + { + ImGuiMouseButton button = (ImGuiMouseButton)0; + ImGuiNative.igResetMouseDragDelta(button); + } + public static void ResetMouseDragDelta(ImGuiMouseButton button) + { + ImGuiNative.igResetMouseDragDelta(button); + } + public static void SameLine() + { + float offset_from_start_x = 0.0f; + float spacing = -1.0f; + ImGuiNative.igSameLine(offset_from_start_x, spacing); + } + public static void SameLine(float offset_from_start_x) + { + float spacing = -1.0f; + ImGuiNative.igSameLine(offset_from_start_x, spacing); + } + public static void SameLine(float offset_from_start_x, float spacing) + { + ImGuiNative.igSameLine(offset_from_start_x, spacing); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SaveIniSettingsToDisk(ReadOnlySpan ini_filename) + { + byte* native_ini_filename; + int ini_filename_byteCount = 0; + if (ini_filename != null) + { + ini_filename_byteCount = Encoding.UTF8.GetByteCount(ini_filename); + if (ini_filename_byteCount > Util.StackAllocationSizeLimit) + { + native_ini_filename = Util.Allocate(ini_filename_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_ini_filename_stackBytes = stackalloc byte[ini_filename_byteCount + 1]; + native_ini_filename = native_ini_filename_stackBytes; } - int native_format_offset = Util.GetUtf8("%.6f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (double* native_v = &v) + int native_ini_filename_offset = Util.GetUtf8(ini_filename, native_ini_filename, ini_filename_byteCount); + native_ini_filename[native_ini_filename_offset] = 0; + } + else { native_ini_filename = null; } + ImGuiNative.igSaveIniSettingsToDisk(native_ini_filename); + if (ini_filename_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_ini_filename); + } + } +#endif + public static void SaveIniSettingsToDisk(string ini_filename) + { + byte* native_ini_filename; + int ini_filename_byteCount = 0; + if (ini_filename != null) + { + ini_filename_byteCount = Encoding.UTF8.GetByteCount(ini_filename); + if (ini_filename_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_ini_filename = Util.Allocate(ini_filename_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_ini_filename_stackBytes = stackalloc byte[ini_filename_byteCount + 1]; + native_ini_filename = native_ini_filename_stackBytes; } - return ret != 0; + int native_ini_filename_offset = Util.GetUtf8(ini_filename, native_ini_filename, ini_filename_byteCount); + native_ini_filename[native_ini_filename_offset] = 0; + } + else { native_ini_filename = null; } + ImGuiNative.igSaveIniSettingsToDisk(native_ini_filename); + if (ini_filename_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_ini_filename); + } + } + public static string SaveIniSettingsToMemory() + { + uint* out_ini_size = null; + byte* ret = ImGuiNative.igSaveIniSettingsToMemory(out_ini_size); + return Util.StringFromPtr(ret); + } + public static string SaveIniSettingsToMemory(out uint out_ini_size) + { + fixed (uint* native_out_ini_size = &out_ini_size) + { + byte* ret = ImGuiNative.igSaveIniSettingsToMemory(native_out_ini_size); + return Util.StringFromPtr(ret); } } - public static bool InputDouble(string label, ref double v, double step, double step_fast) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Selectable(ReadOnlySpan label) { byte* native_label; int label_byteCount = 0; @@ -6907,36 +20530,18 @@ public static bool InputDouble(string label, ref double v, double step, double s native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.6f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.6f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (double* native_v = &v) + byte selected = 0; + ImGuiSelectableFlags flags = (ImGuiSelectableFlags)0; + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igSelectable_Bool(native_label, selected, flags, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool InputDouble(string label, ref double v, double step, double step_fast, string format) +#endif + public static bool Selectable(string label) { byte* native_label; int label_byteCount = 0; @@ -6956,40 +20561,18 @@ public static bool InputDouble(string label, ref double v, double step, double s native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (double* native_v = &v) + byte selected = 0; + ImGuiSelectableFlags flags = (ImGuiSelectableFlags)0; + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igSelectable_Bool(native_label, selected, flags, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool InputDouble(string label, ref double v, double step, double step_fast, string format, ImGuiInputTextFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Selectable(ReadOnlySpan label, bool selected) { byte* native_label; int label_byteCount = 0; @@ -7009,39 +20592,18 @@ public static bool InputDouble(string label, ref double v, double step, double s native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - fixed (double* native_v = &v) + byte native_selected = selected ? (byte)1 : (byte)0; + ImGuiSelectableFlags flags = (ImGuiSelectableFlags)0; + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igSelectable_Bool(native_label, native_selected, flags, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputDouble(native_label, native_v, step, step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool InputFloat(string label, ref float v) +#endif + public static bool Selectable(string label, bool selected) { byte* native_label; int label_byteCount = 0; @@ -7061,38 +20623,18 @@ public static bool InputFloat(string label, ref float v) native_label[native_label_offset] = 0; } else { native_label = null; } - float step = 0.0f; - float step_fast = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (float* native_v = &v) + byte native_selected = selected ? (byte)1 : (byte)0; + ImGuiSelectableFlags flags = (ImGuiSelectableFlags)0; + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igSelectable_Bool(native_label, native_selected, flags, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool InputFloat(string label, ref float v, float step) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Selectable(ReadOnlySpan label, bool selected, ImGuiSelectableFlags flags) { byte* native_label; int label_byteCount = 0; @@ -7112,37 +20654,17 @@ public static bool InputFloat(string label, ref float v, float step) native_label[native_label_offset] = 0; } else { native_label = null; } - float step_fast = 0.0f; - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (float* native_v = &v) + byte native_selected = selected ? (byte)1 : (byte)0; + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igSelectable_Bool(native_label, native_selected, flags, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool InputFloat(string label, ref float v, float step, float step_fast) +#endif + public static bool Selectable(string label, bool selected, ImGuiSelectableFlags flags) { byte* native_label; int label_byteCount = 0; @@ -7162,36 +20684,17 @@ public static bool InputFloat(string label, ref float v, float step, float step_ native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (float* native_v = &v) + byte native_selected = selected ? (byte)1 : (byte)0; + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igSelectable_Bool(native_label, native_selected, flags, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool InputFloat(string label, ref float v, float step, float step_fast, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Selectable(ReadOnlySpan label, bool selected, ImGuiSelectableFlags flags, Vector2 size) { byte* native_label; int label_byteCount = 0; @@ -7211,40 +20714,16 @@ public static bool InputFloat(string label, ref float v, float step, float step_ native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (float* native_v = &v) + byte native_selected = selected ? (byte)1 : (byte)0; + byte ret = ImGuiNative.igSelectable_Bool(native_label, native_selected, flags, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool InputFloat(string label, ref float v, float step, float step_fast, string format, ImGuiInputTextFlags flags) +#endif + public static bool Selectable(string label, bool selected, ImGuiSelectableFlags flags, Vector2 size) { byte* native_label; int label_byteCount = 0; @@ -7264,39 +20743,16 @@ public static bool InputFloat(string label, ref float v, float step, float step_ native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - fixed (float* native_v = &v) + byte native_selected = selected ? (byte)1 : (byte)0; + byte ret = ImGuiNative.igSelectable_Bool(native_label, native_selected, flags, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputFloat(native_label, native_v, step, step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool InputFloat2(string label, ref Vector2 v) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Selectable(ReadOnlySpan label, ref bool p_selected) { byte* native_label; int label_byteCount = 0; @@ -7316,36 +20772,20 @@ public static bool InputFloat2(string label, ref Vector2 v) native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (Vector2* native_v = &v) + byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; + byte* native_p_selected = &native_p_selected_val; + ImGuiSelectableFlags flags = (ImGuiSelectableFlags)0; + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igSelectable_BoolPtr(native_label, native_p_selected, flags, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + p_selected = native_p_selected_val != 0; + return ret != 0; } - public static bool InputFloat2(string label, ref Vector2 v, string format) +#endif + public static bool Selectable(string label, ref bool p_selected) { byte* native_label; int label_byteCount = 0; @@ -7365,40 +20805,20 @@ public static bool InputFloat2(string label, ref Vector2 v, string format) native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (Vector2* native_v = &v) + byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; + byte* native_p_selected = &native_p_selected_val; + ImGuiSelectableFlags flags = (ImGuiSelectableFlags)0; + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igSelectable_BoolPtr(native_label, native_p_selected, flags, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + p_selected = native_p_selected_val != 0; + return ret != 0; } - public static bool InputFloat2(string label, ref Vector2 v, string format, ImGuiInputTextFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Selectable(ReadOnlySpan label, ref bool p_selected, ImGuiSelectableFlags flags) { byte* native_label; int label_byteCount = 0; @@ -7418,39 +20838,19 @@ public static bool InputFloat2(string label, ref Vector2 v, string format, ImGui native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - fixed (Vector2* native_v = &v) + byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; + byte* native_p_selected = &native_p_selected_val; + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igSelectable_BoolPtr(native_label, native_p_selected, flags, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputFloat2(native_label, native_v, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + p_selected = native_p_selected_val != 0; + return ret != 0; } - public static bool InputFloat3(string label, ref Vector3 v) +#endif + public static bool Selectable(string label, ref bool p_selected, ImGuiSelectableFlags flags) { byte* native_label; int label_byteCount = 0; @@ -7470,36 +20870,19 @@ public static bool InputFloat3(string label, ref Vector3 v) native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (Vector3* native_v = &v) + byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; + byte* native_p_selected = &native_p_selected_val; + Vector2 size = new Vector2(); + byte ret = ImGuiNative.igSelectable_BoolPtr(native_label, native_p_selected, flags, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + p_selected = native_p_selected_val != 0; + return ret != 0; } - public static bool InputFloat3(string label, ref Vector3 v, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool Selectable(ReadOnlySpan label, ref bool p_selected, ImGuiSelectableFlags flags, Vector2 size) { byte* native_label; int label_byteCount = 0; @@ -7519,40 +20902,18 @@ public static bool InputFloat3(string label, ref Vector3 v, string format) native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (Vector3* native_v = &v) + byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; + byte* native_p_selected = &native_p_selected_val; + byte ret = ImGuiNative.igSelectable_BoolPtr(native_label, native_p_selected, flags, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + p_selected = native_p_selected_val != 0; + return ret != 0; } - public static bool InputFloat3(string label, ref Vector3 v, string format, ImGuiInputTextFlags flags) +#endif + public static bool Selectable(string label, ref bool p_selected, ImGuiSelectableFlags flags, Vector2 size) { byte* native_label; int label_byteCount = 0; @@ -7572,39 +20933,49 @@ public static bool InputFloat3(string label, ref Vector3 v, string format, ImGui native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) + byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; + byte* native_p_selected = &native_p_selected_val; + byte ret = ImGuiNative.igSelectable_BoolPtr(native_label, native_p_selected, flags, size); + if (label_byteCount > Util.StackAllocationSizeLimit) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + Util.Free(native_label); } - else { native_format = null; } - fixed (Vector3* native_v = &v) + p_selected = native_p_selected_val != 0; + return ret != 0; + } + public static void Separator() + { + ImGuiNative.igSeparator(); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SeparatorText(ReadOnlySpan label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) { - byte ret = ImGuiNative.igInputFloat3(native_label, native_v, native_format, flags); + label_byteCount = Encoding.UTF8.GetByteCount(label); if (label_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_label = Util.Allocate(label_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - return ret != 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImGuiNative.igSeparatorText(native_label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); } } - public static bool InputFloat4(string label, ref Vector4 v) +#endif + public static void SeparatorText(string label) { byte* native_label; int label_byteCount = 0; @@ -7624,683 +20995,1068 @@ public static bool InputFloat4(string label, ref Vector4 v) native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) + ImGuiNative.igSeparatorText(native_label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + } + public static void SetAllocatorFunctions(IntPtr alloc_func, IntPtr free_func) + { + void* user_data = null; + ImGuiNative.igSetAllocatorFunctions(alloc_func, free_func, user_data); + } + public static void SetAllocatorFunctions(IntPtr alloc_func, IntPtr free_func, IntPtr user_data) + { + void* native_user_data = (void*)user_data.ToPointer(); + ImGuiNative.igSetAllocatorFunctions(alloc_func, free_func, native_user_data); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetClipboardText(ReadOnlySpan text) + { + byte* native_text; + int text_byteCount = 0; + if (text != null) + { + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_text = Util.Allocate(text_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (Vector4* native_v = &v) + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + ImGuiNative.igSetClipboardText(native_text); + if (text_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_text); + } + } +#endif + public static void SetClipboardText(string text) + { + byte* native_text; + int text_byteCount = 0; + if (text != null) + { + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_text = Util.Allocate(text_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; } - return ret != 0; + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + ImGuiNative.igSetClipboardText(native_text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text); } } - public static bool InputFloat4(string label, ref Vector4 v, string format) + public static void SetColorEditOptions(ImGuiColorEditFlags flags) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + ImGuiNative.igSetColorEditOptions(flags); + } + public static void SetColumnOffset(int column_index, float offset_x) + { + ImGuiNative.igSetColumnOffset(column_index, offset_x); + } + public static void SetColumnWidth(int column_index, float width) + { + ImGuiNative.igSetColumnWidth(column_index, width); + } + public static void SetCurrentContext(IntPtr ctx) + { + ImGuiNative.igSetCurrentContext(ctx); + } + public static void SetCursorPos(Vector2 local_pos) + { + ImGuiNative.igSetCursorPos(local_pos); + } + public static void SetCursorPosX(float local_x) + { + ImGuiNative.igSetCursorPosX(local_x); + } + public static void SetCursorPosY(float local_y) + { + ImGuiNative.igSetCursorPosY(local_y); + } + public static void SetCursorScreenPos(Vector2 pos) + { + ImGuiNative.igSetCursorScreenPos(pos); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SetDragDropPayload(ReadOnlySpan type, IntPtr data, uint sz) + { + byte* native_type; + int type_byteCount = 0; + if (type != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + type_byteCount = Encoding.UTF8.GetByteCount(type); + if (type_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_type = Util.Allocate(type_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_type_stackBytes = stackalloc byte[type_byteCount + 1]; + native_type = native_type_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_type_offset = Util.GetUtf8(type, native_type, type_byteCount); + native_type[native_type_offset] = 0; } - else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) + else { native_type = null; } + void* native_data = (void*)data.ToPointer(); + ImGuiCond cond = (ImGuiCond)0; + byte ret = ImGuiNative.igSetDragDropPayload(native_type, native_data, sz, cond); + if (type_byteCount > Util.StackAllocationSizeLimit) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_type); + } + return ret != 0; + } +#endif + public static bool SetDragDropPayload(string type, IntPtr data, uint sz) + { + byte* native_type; + int type_byteCount = 0; + if (type != null) + { + type_byteCount = Encoding.UTF8.GetByteCount(type); + if (type_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_type = Util.Allocate(type_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_type_stackBytes = stackalloc byte[type_byteCount + 1]; + native_type = native_type_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + int native_type_offset = Util.GetUtf8(type, native_type, type_byteCount); + native_type[native_type_offset] = 0; } - else { native_format = null; } - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (Vector4* native_v = &v) + else { native_type = null; } + void* native_data = (void*)data.ToPointer(); + ImGuiCond cond = (ImGuiCond)0; + byte ret = ImGuiNative.igSetDragDropPayload(native_type, native_data, sz, cond); + if (type_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_type); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SetDragDropPayload(ReadOnlySpan type, IntPtr data, uint sz, ImGuiCond cond) + { + byte* native_type; + int type_byteCount = 0; + if (type != null) + { + type_byteCount = Encoding.UTF8.GetByteCount(type); + if (type_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_type = Util.Allocate(type_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_type_stackBytes = stackalloc byte[type_byteCount + 1]; + native_type = native_type_stackBytes; } - return ret != 0; + int native_type_offset = Util.GetUtf8(type, native_type, type_byteCount); + native_type[native_type_offset] = 0; + } + else { native_type = null; } + void* native_data = (void*)data.ToPointer(); + byte ret = ImGuiNative.igSetDragDropPayload(native_type, native_data, sz, cond); + if (type_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_type); } + return ret != 0; } - public static bool InputFloat4(string label, ref Vector4 v, string format, ImGuiInputTextFlags flags) +#endif + public static bool SetDragDropPayload(string type, IntPtr data, uint sz, ImGuiCond cond) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_type; + int type_byteCount = 0; + if (type != null) + { + type_byteCount = Encoding.UTF8.GetByteCount(type); + if (type_byteCount > Util.StackAllocationSizeLimit) + { + native_type = Util.Allocate(type_byteCount + 1); + } + else + { + byte* native_type_stackBytes = stackalloc byte[type_byteCount + 1]; + native_type = native_type_stackBytes; + } + int native_type_offset = Util.GetUtf8(type, native_type, type_byteCount); + native_type[native_type_offset] = 0; + } + else { native_type = null; } + void* native_data = (void*)data.ToPointer(); + byte ret = ImGuiNative.igSetDragDropPayload(native_type, native_data, sz, cond); + if (type_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_type); + } + return ret != 0; + } + public static void SetItemDefaultFocus() + { + ImGuiNative.igSetItemDefaultFocus(); + } + public static void SetItemKeyOwner(ImGuiKey key) + { + ImGuiNative.igSetItemKeyOwner_Nil(key); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetItemTooltip(ReadOnlySpan fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_fmt = Util.Allocate(fmt_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; } - else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) + else { native_fmt = null; } + ImGuiNative.igSetItemTooltip(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_fmt); + } + } +#endif + public static void SetItemTooltip(string fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_fmt = Util.Allocate(fmt_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; } - else { native_format = null; } - fixed (Vector4* native_v = &v) + else { native_fmt = null; } + ImGuiNative.igSetItemTooltip(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputFloat4(native_label, native_v, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_fmt); } } - public static bool InputInt(string label, ref int v) + public static void SetKeyboardFocusHere() { - byte* native_label; - int label_byteCount = 0; - if (label != null) + int offset = 0; + ImGuiNative.igSetKeyboardFocusHere(offset); + } + public static void SetKeyboardFocusHere(int offset) + { + ImGuiNative.igSetKeyboardFocusHere(offset); + } + public static void SetMouseCursor(ImGuiMouseCursor cursor_type) + { + ImGuiNative.igSetMouseCursor(cursor_type); + } + public static void SetNavCursorVisible(bool visible) + { + byte native_visible = visible ? (byte)1 : (byte)0; + ImGuiNative.igSetNavCursorVisible(native_visible); + } + public static void SetNextFrameWantCaptureKeyboard(bool want_capture_keyboard) + { + byte native_want_capture_keyboard = want_capture_keyboard ? (byte)1 : (byte)0; + ImGuiNative.igSetNextFrameWantCaptureKeyboard(native_want_capture_keyboard); + } + public static void SetNextFrameWantCaptureMouse(bool want_capture_mouse) + { + byte native_want_capture_mouse = want_capture_mouse ? (byte)1 : (byte)0; + ImGuiNative.igSetNextFrameWantCaptureMouse(native_want_capture_mouse); + } + public static void SetNextItemAllowOverlap() + { + ImGuiNative.igSetNextItemAllowOverlap(); + } + public static void SetNextItemOpen(bool is_open) + { + byte native_is_open = is_open ? (byte)1 : (byte)0; + ImGuiCond cond = (ImGuiCond)0; + ImGuiNative.igSetNextItemOpen(native_is_open, cond); + } + public static void SetNextItemOpen(bool is_open, ImGuiCond cond) + { + byte native_is_open = is_open ? (byte)1 : (byte)0; + ImGuiNative.igSetNextItemOpen(native_is_open, cond); + } + public static void SetNextItemSelectionUserData(long selection_user_data) + { + ImGuiNative.igSetNextItemSelectionUserData(selection_user_data); + } + public static void SetNextItemShortcut(ImGuiKey key_chord) + { + ImGuiInputFlags flags = (ImGuiInputFlags)0; + ImGuiNative.igSetNextItemShortcut(key_chord, flags); + } + public static void SetNextItemShortcut(ImGuiKey key_chord, ImGuiInputFlags flags) + { + ImGuiNative.igSetNextItemShortcut(key_chord, flags); + } + public static void SetNextItemStorageID(uint storage_id) + { + ImGuiNative.igSetNextItemStorageID(storage_id); + } + public static void SetNextItemWidth(float item_width) + { + ImGuiNative.igSetNextItemWidth(item_width); + } + public static void SetNextWindowBgAlpha(float alpha) + { + ImGuiNative.igSetNextWindowBgAlpha(alpha); + } + public static void SetNextWindowClass(ImGuiWindowClassPtr window_class) + { + ImGuiWindowClass* native_window_class = window_class.NativePtr; + ImGuiNative.igSetNextWindowClass(native_window_class); + } + public static void SetNextWindowCollapsed(bool collapsed) + { + byte native_collapsed = collapsed ? (byte)1 : (byte)0; + ImGuiCond cond = (ImGuiCond)0; + ImGuiNative.igSetNextWindowCollapsed(native_collapsed, cond); + } + public static void SetNextWindowCollapsed(bool collapsed, ImGuiCond cond) + { + byte native_collapsed = collapsed ? (byte)1 : (byte)0; + ImGuiNative.igSetNextWindowCollapsed(native_collapsed, cond); + } + public static void SetNextWindowContentSize(Vector2 size) + { + ImGuiNative.igSetNextWindowContentSize(size); + } + public static void SetNextWindowDockID(uint dock_id) + { + ImGuiCond cond = (ImGuiCond)0; + ImGuiNative.igSetNextWindowDockID(dock_id, cond); + } + public static void SetNextWindowDockID(uint dock_id, ImGuiCond cond) + { + ImGuiNative.igSetNextWindowDockID(dock_id, cond); + } + public static void SetNextWindowFocus() + { + ImGuiNative.igSetNextWindowFocus(); + } + public static void SetNextWindowPos(Vector2 pos) + { + ImGuiCond cond = (ImGuiCond)0; + Vector2 pivot = new Vector2(); + ImGuiNative.igSetNextWindowPos(pos, cond, pivot); + } + public static void SetNextWindowPos(Vector2 pos, ImGuiCond cond) + { + Vector2 pivot = new Vector2(); + ImGuiNative.igSetNextWindowPos(pos, cond, pivot); + } + public static void SetNextWindowPos(Vector2 pos, ImGuiCond cond, Vector2 pivot) + { + ImGuiNative.igSetNextWindowPos(pos, cond, pivot); + } + public static void SetNextWindowScroll(Vector2 scroll) + { + ImGuiNative.igSetNextWindowScroll(scroll); + } + public static void SetNextWindowSize(Vector2 size) + { + ImGuiCond cond = (ImGuiCond)0; + ImGuiNative.igSetNextWindowSize(size, cond); + } + public static void SetNextWindowSize(Vector2 size, ImGuiCond cond) + { + ImGuiNative.igSetNextWindowSize(size, cond); + } + public static void SetNextWindowSizeConstraints(Vector2 size_min, Vector2 size_max) + { + ImGuiSizeCallback custom_callback = null; + void* custom_callback_data = null; + ImGuiNative.igSetNextWindowSizeConstraints(size_min, size_max, custom_callback, custom_callback_data); + } + public static void SetNextWindowSizeConstraints(Vector2 size_min, Vector2 size_max, ImGuiSizeCallback custom_callback) + { + void* custom_callback_data = null; + ImGuiNative.igSetNextWindowSizeConstraints(size_min, size_max, custom_callback, custom_callback_data); + } + public static void SetNextWindowSizeConstraints(Vector2 size_min, Vector2 size_max, ImGuiSizeCallback custom_callback, IntPtr custom_callback_data) + { + void* native_custom_callback_data = (void*)custom_callback_data.ToPointer(); + ImGuiNative.igSetNextWindowSizeConstraints(size_min, size_max, custom_callback, native_custom_callback_data); + } + public static void SetNextWindowViewport(uint viewport_id) + { + ImGuiNative.igSetNextWindowViewport(viewport_id); + } + public static void SetScrollFromPosX(float local_x) + { + float center_x_ratio = 0.5f; + ImGuiNative.igSetScrollFromPosX_Float(local_x, center_x_ratio); + } + public static void SetScrollFromPosX(float local_x, float center_x_ratio) + { + ImGuiNative.igSetScrollFromPosX_Float(local_x, center_x_ratio); + } + public static void SetScrollFromPosY(float local_y) + { + float center_y_ratio = 0.5f; + ImGuiNative.igSetScrollFromPosY_Float(local_y, center_y_ratio); + } + public static void SetScrollFromPosY(float local_y, float center_y_ratio) + { + ImGuiNative.igSetScrollFromPosY_Float(local_y, center_y_ratio); + } + public static void SetScrollHereX() + { + float center_x_ratio = 0.5f; + ImGuiNative.igSetScrollHereX(center_x_ratio); + } + public static void SetScrollHereX(float center_x_ratio) + { + ImGuiNative.igSetScrollHereX(center_x_ratio); + } + public static void SetScrollHereY() + { + float center_y_ratio = 0.5f; + ImGuiNative.igSetScrollHereY(center_y_ratio); + } + public static void SetScrollHereY(float center_y_ratio) + { + ImGuiNative.igSetScrollHereY(center_y_ratio); + } + public static void SetScrollX(float scroll_x) + { + ImGuiNative.igSetScrollX_Float(scroll_x); + } + public static void SetScrollY(float scroll_y) + { + ImGuiNative.igSetScrollY_Float(scroll_y); + } + public static void SetStateStorage(ImGuiStoragePtr storage) + { + ImGuiStorage* native_storage = storage.NativePtr; + ImGuiNative.igSetStateStorage(native_storage); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetTabItemClosed(ReadOnlySpan tab_or_docked_window_label) + { + byte* native_tab_or_docked_window_label; + int tab_or_docked_window_label_byteCount = 0; + if (tab_or_docked_window_label != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + tab_or_docked_window_label_byteCount = Encoding.UTF8.GetByteCount(tab_or_docked_window_label); + if (tab_or_docked_window_label_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_tab_or_docked_window_label = Util.Allocate(tab_or_docked_window_label_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_tab_or_docked_window_label_stackBytes = stackalloc byte[tab_or_docked_window_label_byteCount + 1]; + native_tab_or_docked_window_label = native_tab_or_docked_window_label_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_tab_or_docked_window_label_offset = Util.GetUtf8(tab_or_docked_window_label, native_tab_or_docked_window_label, tab_or_docked_window_label_byteCount); + native_tab_or_docked_window_label[native_tab_or_docked_window_label_offset] = 0; } - else { native_label = null; } - int step = 1; - int step_fast = 100; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (int* native_v = &v) + else { native_tab_or_docked_window_label = null; } + ImGuiNative.igSetTabItemClosed(native_tab_or_docked_window_label); + if (tab_or_docked_window_label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_tab_or_docked_window_label); } } - public static bool InputInt(string label, ref int v, int step) +#endif + public static void SetTabItemClosed(string tab_or_docked_window_label) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_tab_or_docked_window_label; + int tab_or_docked_window_label_byteCount = 0; + if (tab_or_docked_window_label != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + tab_or_docked_window_label_byteCount = Encoding.UTF8.GetByteCount(tab_or_docked_window_label); + if (tab_or_docked_window_label_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_tab_or_docked_window_label = Util.Allocate(tab_or_docked_window_label_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_tab_or_docked_window_label_stackBytes = stackalloc byte[tab_or_docked_window_label_byteCount + 1]; + native_tab_or_docked_window_label = native_tab_or_docked_window_label_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_tab_or_docked_window_label_offset = Util.GetUtf8(tab_or_docked_window_label, native_tab_or_docked_window_label, tab_or_docked_window_label_byteCount); + native_tab_or_docked_window_label[native_tab_or_docked_window_label_offset] = 0; } - else { native_label = null; } - int step_fast = 100; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (int* native_v = &v) + else { native_tab_or_docked_window_label = null; } + ImGuiNative.igSetTabItemClosed(native_tab_or_docked_window_label); + if (tab_or_docked_window_label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_tab_or_docked_window_label); } } - public static bool InputInt(string label, ref int v, int step, int step_fast) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetTooltip(ReadOnlySpan fmt) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_fmt = Util.Allocate(fmt_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; } - else { native_label = null; } - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (int* native_v = &v) + else { native_fmt = null; } + ImGuiNative.igSetTooltip(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_fmt); } } - public static bool InputInt(string label, ref int v, int step, int step_fast, ImGuiInputTextFlags flags) +#endif + public static void SetTooltip(string fmt) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_fmt = Util.Allocate(fmt_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; } - else { native_label = null; } - fixed (int* native_v = &v) + else { native_fmt = null; } + ImGuiNative.igSetTooltip(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputInt(native_label, native_v, step, step_fast, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_fmt); } } - public static bool InputInt2(string label, ref int v) + public static void SetWindowCollapsed(bool collapsed) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte native_collapsed = collapsed ? (byte)1 : (byte)0; + ImGuiCond cond = (ImGuiCond)0; + ImGuiNative.igSetWindowCollapsed_Bool(native_collapsed, cond); + } + public static void SetWindowCollapsed(bool collapsed, ImGuiCond cond) + { + byte native_collapsed = collapsed ? (byte)1 : (byte)0; + ImGuiNative.igSetWindowCollapsed_Bool(native_collapsed, cond); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetWindowCollapsed(ReadOnlySpan name, bool collapsed) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (int* native_v = &v) + else { native_name = null; } + byte native_collapsed = collapsed ? (byte)1 : (byte)0; + ImGuiCond cond = (ImGuiCond)0; + ImGuiNative.igSetWindowCollapsed_Str(native_name, native_collapsed, cond); + if (name_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputInt2(native_label, native_v, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_name); } } - public static bool InputInt2(string label, ref int v, ImGuiInputTextFlags flags) +#endif + public static void SetWindowCollapsed(string name, bool collapsed) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_name; + int name_byteCount = 0; + if (name != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - fixed (int* native_v = &v) + else { native_name = null; } + byte native_collapsed = collapsed ? (byte)1 : (byte)0; + ImGuiCond cond = (ImGuiCond)0; + ImGuiNative.igSetWindowCollapsed_Str(native_name, native_collapsed, cond); + if (name_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputInt2(native_label, native_v, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_name); } } - public static bool InputInt3(string label, ref int v) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetWindowCollapsed(ReadOnlySpan name, bool collapsed, ImGuiCond cond) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_name; + int name_byteCount = 0; + if (name != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (int* native_v = &v) + else { native_name = null; } + byte native_collapsed = collapsed ? (byte)1 : (byte)0; + ImGuiNative.igSetWindowCollapsed_Str(native_name, native_collapsed, cond); + if (name_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputInt3(native_label, native_v, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_name); } } - public static bool InputInt3(string label, ref int v, ImGuiInputTextFlags flags) +#endif + public static void SetWindowCollapsed(string name, bool collapsed, ImGuiCond cond) { - byte* native_label; - int label_byteCount = 0; - if (label != null) - { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - fixed (int* native_v = &v) + else { native_name = null; } + byte native_collapsed = collapsed ? (byte)1 : (byte)0; + ImGuiNative.igSetWindowCollapsed_Str(native_name, native_collapsed, cond); + if (name_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputInt3(native_label, native_v, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_name); } } - public static bool InputInt4(string label, ref int v) + public static void SetWindowFocus() { - byte* native_label; - int label_byteCount = 0; - if (label != null) + ImGuiNative.igSetWindowFocus_Nil(); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetWindowFocus(ReadOnlySpan name) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - fixed (int* native_v = &v) + else { native_name = null; } + ImGuiNative.igSetWindowFocus_Str(native_name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputInt4(native_label, native_v, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_name); } } - public static bool InputInt4(string label, ref int v, ImGuiInputTextFlags flags) +#endif + public static void SetWindowFocus(string name) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_name; + int name_byteCount = 0; + if (name != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - fixed (int* native_v = &v) + else { native_name = null; } + ImGuiNative.igSetWindowFocus_Str(native_name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igInputInt4(native_label, native_v, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; + Util.Free(native_name); } } - public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr p_data) + public static void SetWindowFontScale(float scale) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + ImGuiNative.igSetWindowFontScale(scale); + } + public static void SetWindowPos(Vector2 pos) + { + ImGuiCond cond = (ImGuiCond)0; + ImGuiNative.igSetWindowPos_Vec2(pos, cond); + } + public static void SetWindowPos(Vector2 pos, ImGuiCond cond) + { + ImGuiNative.igSetWindowPos_Vec2(pos, cond); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetWindowPos(ReadOnlySpan name, Vector2 pos) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* p_step = null; - void* p_step_fast = null; - byte* native_format = null; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, p_step, p_step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_name = null; } + ImGuiCond cond = (ImGuiCond)0; + ImGuiNative.igSetWindowPos_Str(native_name, pos, cond); + if (name_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_name); } - return ret != 0; } - public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_step) +#endif + public static void SetWindowPos(string name, Vector2 pos) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_name; + int name_byteCount = 0; + if (name != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_step = (void*)p_step.ToPointer(); - void* p_step_fast = null; - byte* native_format = null; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, native_p_step, p_step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_name = null; } + ImGuiCond cond = (ImGuiCond)0; + ImGuiNative.igSetWindowPos_Str(native_name, pos, cond); + if (name_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_name); } - return ret != 0; } - public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_step, IntPtr p_step_fast) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetWindowPos(ReadOnlySpan name, Vector2 pos, ImGuiCond cond) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_name; + int name_byteCount = 0; + if (name != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_step = (void*)p_step.ToPointer(); - void* native_p_step_fast = (void*)p_step_fast.ToPointer(); - byte* native_format = null; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, native_p_step, native_p_step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_name = null; } + ImGuiNative.igSetWindowPos_Str(native_name, pos, cond); + if (name_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_name); } - return ret != 0; } - public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_step, IntPtr p_step_fast, string format) +#endif + public static void SetWindowPos(string name, Vector2 pos, ImGuiCond cond) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_name; + int name_byteCount = 0; + if (name != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_step = (void*)p_step.ToPointer(); - void* native_p_step_fast = (void*)p_step_fast.ToPointer(); - byte* native_format; - int format_byteCount = 0; - if (format != null) + else { native_name = null; } + ImGuiNative.igSetWindowPos_Str(native_name, pos, cond); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_name); + } + } + public static void SetWindowSize(Vector2 size) + { + ImGuiCond cond = (ImGuiCond)0; + ImGuiNative.igSetWindowSize_Vec2(size, cond); + } + public static void SetWindowSize(Vector2 size, ImGuiCond cond) + { + ImGuiNative.igSetWindowSize_Vec2(size, cond); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetWindowSize(ReadOnlySpan name, Vector2 size) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, native_p_step, native_p_step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { native_name = null; } + ImGuiCond cond = (ImGuiCond)0; + ImGuiNative.igSetWindowSize_Str(native_name, size, cond); + if (name_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_format); + Util.Free(native_name); } - return ret != 0; } - public static bool InputScalar(string label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_step, IntPtr p_step_fast, string format, ImGuiInputTextFlags flags) +#endif + public static void SetWindowSize(string name, Vector2 size) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_name; + int name_byteCount = 0; + if (name != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_step = (void*)p_step.ToPointer(); - void* native_p_step_fast = (void*)p_step_fast.ToPointer(); - byte* native_format; - int format_byteCount = 0; - if (format != null) + else { native_name = null; } + ImGuiCond cond = (ImGuiCond)0; + ImGuiNative.igSetWindowSize_Str(native_name, size, cond); + if (name_byteCount > Util.StackAllocationSizeLimit) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_name); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetWindowSize(ReadOnlySpan name, Vector2 size, ImGuiCond cond) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - byte ret = ImGuiNative.igInputScalar(native_label, data_type, native_p_data, native_p_step, native_p_step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { native_name = null; } + ImGuiNative.igSetWindowSize_Str(native_name, size, cond); + if (name_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_format); + Util.Free(native_name); } - return ret != 0; } - public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components) +#endif + public static void SetWindowSize(string name, Vector2 size, ImGuiCond cond) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_name; + int name_byteCount = 0; + if (name != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_name = Util.Allocate(name_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; } - else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* p_step = null; - void* p_step_fast = null; - byte* native_format = null; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, p_step, p_step_fast, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_name = null; } + ImGuiNative.igSetWindowSize_Str(native_name, size, cond); + if (name_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_name); } + } + public static bool Shortcut(ImGuiKey key_chord) + { + ImGuiInputFlags flags = (ImGuiInputFlags)0; + byte ret = ImGuiNative.igShortcut_Nil(key_chord, flags); return ret != 0; } - public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_step) + public static bool Shortcut(ImGuiKey key_chord, ImGuiInputFlags flags) + { + byte ret = ImGuiNative.igShortcut_Nil(key_chord, flags); + return ret != 0; + } + public static void ShowAboutWindow() + { + byte* p_open = null; + ImGuiNative.igShowAboutWindow(p_open); + } + public static void ShowAboutWindow(ref bool p_open) + { + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + ImGuiNative.igShowAboutWindow(native_p_open); + p_open = native_p_open_val != 0; + } + public static void ShowDebugLogWindow() + { + byte* p_open = null; + ImGuiNative.igShowDebugLogWindow(p_open); + } + public static void ShowDebugLogWindow(ref bool p_open) + { + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + ImGuiNative.igShowDebugLogWindow(native_p_open); + p_open = native_p_open_val != 0; + } + public static void ShowDemoWindow() + { + byte* p_open = null; + ImGuiNative.igShowDemoWindow(p_open); + } + public static void ShowDemoWindow(ref bool p_open) + { + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + ImGuiNative.igShowDemoWindow(native_p_open); + p_open = native_p_open_val != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void ShowFontSelector(ReadOnlySpan label) { byte* native_label; int label_byteCount = 0; @@ -8320,19 +22076,14 @@ public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr p_ native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_step = (void*)p_step.ToPointer(); - void* p_step_fast = null; - byte* native_format = null; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, native_p_step, p_step_fast, native_format, flags); + ImGuiNative.igShowFontSelector(native_label); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - return ret != 0; } - public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_step, IntPtr p_step_fast) +#endif + public static void ShowFontSelector(string label) { byte* native_label; int label_byteCount = 0; @@ -8352,19 +22103,48 @@ public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr p_ native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_step = (void*)p_step.ToPointer(); - void* native_p_step_fast = (void*)p_step_fast.ToPointer(); - byte* native_format = null; - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, native_p_step, native_p_step_fast, native_format, flags); + ImGuiNative.igShowFontSelector(native_label); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - return ret != 0; } - public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_step, IntPtr p_step_fast, string format) + public static void ShowIDStackToolWindow() + { + byte* p_open = null; + ImGuiNative.igShowIDStackToolWindow(p_open); + } + public static void ShowIDStackToolWindow(ref bool p_open) + { + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + ImGuiNative.igShowIDStackToolWindow(native_p_open); + p_open = native_p_open_val != 0; + } + public static void ShowMetricsWindow() + { + byte* p_open = null; + ImGuiNative.igShowMetricsWindow(p_open); + } + public static void ShowMetricsWindow(ref bool p_open) + { + byte native_p_open_val = p_open ? (byte)1 : (byte)0; + byte* native_p_open = &native_p_open_val; + ImGuiNative.igShowMetricsWindow(native_p_open); + p_open = native_p_open_val != 0; + } + public static void ShowStyleEditor() + { + ImGuiStyle* @ref = null; + ImGuiNative.igShowStyleEditor(@ref); + } + public static void ShowStyleEditor(ImGuiStylePtr @ref) + { + ImGuiStyle* native_ref = @ref.NativePtr; + ImGuiNative.igShowStyleEditor(native_ref); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ShowStyleSelector(ReadOnlySpan label) { byte* native_label; int label_byteCount = 0; @@ -8373,51 +22153,26 @@ public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr p_ label_byteCount = Encoding.UTF8.GetByteCount(label); if (label_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); - } - else - { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; - } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; - } - else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_step = (void*)p_step.ToPointer(); - void* native_p_step_fast = (void*)p_step_fast.ToPointer(); - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_format = null; } - ImGuiInputTextFlags flags = (ImGuiInputTextFlags)0; - byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, native_p_step, native_p_step_fast, native_format, flags); + else { native_label = null; } + byte ret = ImGuiNative.igShowStyleSelector(native_label); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } - public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_step, IntPtr p_step_fast, string format, ImGuiInputTextFlags flags) +#endif + public static bool ShowStyleSelector(string label) { byte* native_label; int label_byteCount = 0; @@ -8437,364 +22192,325 @@ public static bool InputScalarN(string label, ImGuiDataType data_type, IntPtr p_ native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_step = (void*)p_step.ToPointer(); - void* native_p_step_fast = (void*)p_step_fast.ToPointer(); - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - byte ret = ImGuiNative.igInputScalarN(native_label, data_type, native_p_data, components, native_p_step, native_p_step_fast, native_format, flags); + byte ret = ImGuiNative.igShowStyleSelector(native_label); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } - public static bool InvisibleButton(string str_id, Vector2 size) + public static void ShowUserGuide() { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) - { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) - { - native_str_id = Util.Allocate(str_id_byteCount + 1); - } - else - { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; - } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; - } - else { native_str_id = null; } - ImGuiButtonFlags flags = (ImGuiButtonFlags)0; - byte ret = ImGuiNative.igInvisibleButton(native_str_id, size, flags); - if (str_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_str_id); - } - return ret != 0; + ImGuiNative.igShowUserGuide(); } - public static bool InvisibleButton(string str_id, Vector2 size, ImGuiButtonFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderAngle(ReadOnlySpan label, ref float v_rad) { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; - } - else { native_str_id = null; } - byte ret = ImGuiNative.igInvisibleButton(native_str_id, size, flags); - if (str_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_str_id); + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_degrees_min = -360.0f; + float v_degrees_max = +360.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.0f deg"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.0f deg", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_rad = &v_rad) + { + byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; - } - public static bool IsAnyItemActive() - { - byte ret = ImGuiNative.igIsAnyItemActive(); - return ret != 0; - } - public static bool IsAnyItemFocused() - { - byte ret = ImGuiNative.igIsAnyItemFocused(); - return ret != 0; - } - public static bool IsAnyItemHovered() - { - byte ret = ImGuiNative.igIsAnyItemHovered(); - return ret != 0; - } - public static bool IsAnyMouseDown() - { - byte ret = ImGuiNative.igIsAnyMouseDown(); - return ret != 0; - } - public static bool IsItemActivated() - { - byte ret = ImGuiNative.igIsItemActivated(); - return ret != 0; - } - public static bool IsItemActive() - { - byte ret = ImGuiNative.igIsItemActive(); - return ret != 0; - } - public static bool IsItemClicked() - { - ImGuiMouseButton mouse_button = (ImGuiMouseButton)0; - byte ret = ImGuiNative.igIsItemClicked(mouse_button); - return ret != 0; - } - public static bool IsItemClicked(ImGuiMouseButton mouse_button) - { - byte ret = ImGuiNative.igIsItemClicked(mouse_button); - return ret != 0; - } - public static bool IsItemDeactivated() - { - byte ret = ImGuiNative.igIsItemDeactivated(); - return ret != 0; - } - public static bool IsItemDeactivatedAfterEdit() - { - byte ret = ImGuiNative.igIsItemDeactivatedAfterEdit(); - return ret != 0; - } - public static bool IsItemEdited() - { - byte ret = ImGuiNative.igIsItemEdited(); - return ret != 0; - } - public static bool IsItemFocused() - { - byte ret = ImGuiNative.igIsItemFocused(); - return ret != 0; - } - public static bool IsItemHovered() - { - ImGuiHoveredFlags flags = (ImGuiHoveredFlags)0; - byte ret = ImGuiNative.igIsItemHovered(flags); - return ret != 0; - } - public static bool IsItemHovered(ImGuiHoveredFlags flags) - { - byte ret = ImGuiNative.igIsItemHovered(flags); - return ret != 0; - } - public static bool IsItemToggledOpen() - { - byte ret = ImGuiNative.igIsItemToggledOpen(); - return ret != 0; - } - public static bool IsItemVisible() - { - byte ret = ImGuiNative.igIsItemVisible(); - return ret != 0; - } - public static bool IsKeyDown(ImGuiKey key) - { - byte ret = ImGuiNative.igIsKeyDown_Nil(key); - return ret != 0; - } - public static bool IsKeyPressed(ImGuiKey key) - { - byte repeat = 1; - byte ret = ImGuiNative.igIsKeyPressed_Bool(key, repeat); - return ret != 0; - } - public static bool IsKeyPressed(ImGuiKey key, bool repeat) - { - byte native_repeat = repeat ? (byte)1 : (byte)0; - byte ret = ImGuiNative.igIsKeyPressed_Bool(key, native_repeat); - return ret != 0; - } - public static bool IsKeyReleased(ImGuiKey key) - { - byte ret = ImGuiNative.igIsKeyReleased_Nil(key); - return ret != 0; - } - public static bool IsMouseClicked(ImGuiMouseButton button) - { - byte repeat = 0; - byte ret = ImGuiNative.igIsMouseClicked_Bool(button, repeat); - return ret != 0; - } - public static bool IsMouseClicked(ImGuiMouseButton button, bool repeat) - { - byte native_repeat = repeat ? (byte)1 : (byte)0; - byte ret = ImGuiNative.igIsMouseClicked_Bool(button, native_repeat); - return ret != 0; - } - public static bool IsMouseDoubleClicked(ImGuiMouseButton button) - { - byte ret = ImGuiNative.igIsMouseDoubleClicked(button); - return ret != 0; - } - public static bool IsMouseDown(ImGuiMouseButton button) - { - byte ret = ImGuiNative.igIsMouseDown_Nil(button); - return ret != 0; - } - public static bool IsMouseDragging(ImGuiMouseButton button) - { - float lock_threshold = -1.0f; - byte ret = ImGuiNative.igIsMouseDragging(button, lock_threshold); - return ret != 0; - } - public static bool IsMouseDragging(ImGuiMouseButton button, float lock_threshold) - { - byte ret = ImGuiNative.igIsMouseDragging(button, lock_threshold); - return ret != 0; - } - public static bool IsMouseHoveringRect(Vector2 r_min, Vector2 r_max) - { - byte clip = 1; - byte ret = ImGuiNative.igIsMouseHoveringRect(r_min, r_max, clip); - return ret != 0; - } - public static bool IsMouseHoveringRect(Vector2 r_min, Vector2 r_max, bool clip) - { - byte native_clip = clip ? (byte)1 : (byte)0; - byte ret = ImGuiNative.igIsMouseHoveringRect(r_min, r_max, native_clip); - return ret != 0; } - public static bool IsMousePosValid() +#endif + public static bool SliderAngle(string label, ref float v_rad) { - Vector2* mouse_pos = null; - byte ret = ImGuiNative.igIsMousePosValid(mouse_pos); - return ret != 0; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_degrees_min = -360.0f; + float v_degrees_max = +360.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.0f deg"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.0f deg", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_rad = &v_rad) + { + byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } } - public static bool IsMousePosValid(ref Vector2 mouse_pos) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderAngle(ReadOnlySpan label, ref float v_rad, float v_degrees_min) { - fixed (Vector2* native_mouse_pos = &mouse_pos) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - byte ret = ImGuiNative.igIsMousePosValid(native_mouse_pos); + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_degrees_max = +360.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.0f deg"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.0f deg", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_rad = &v_rad) + { + byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } return ret != 0; } } - public static bool IsMouseReleased(ImGuiMouseButton button) +#endif + public static bool SliderAngle(string label, ref float v_rad, float v_degrees_min) { - byte ret = ImGuiNative.igIsMouseReleased_Nil(button); - return ret != 0; + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float v_degrees_max = +360.0f; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.0f deg"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.0f deg", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_rad = &v_rad) + { + byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } } - public static bool IsPopupOpen(string str_id) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderAngle(ReadOnlySpan label, ref float v_rad, float v_degrees_min, float v_degrees_max) { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_str_id = null; } - ImGuiPopupFlags flags = (ImGuiPopupFlags)0; - byte ret = ImGuiNative.igIsPopupOpen_Str(native_str_id, flags); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.0f deg"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.0f deg", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_rad = &v_rad) { - Util.Free(native_str_id); + byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool IsPopupOpen(string str_id, ImGuiPopupFlags flags) +#endif + public static bool SliderAngle(string label, ref float v_rad, float v_degrees_min, float v_degrees_max) { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.0f deg"); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; - } - else { native_str_id = null; } - byte ret = ImGuiNative.igIsPopupOpen_Str(native_str_id, flags); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + int native_format_offset = Util.GetUtf8("%.0f deg", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_rad = &v_rad) { - Util.Free(native_str_id); + byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; - } - public static bool IsRectVisible(Vector2 size) - { - byte ret = ImGuiNative.igIsRectVisible_Nil(size); - return ret != 0; - } - public static bool IsRectVisible(Vector2 rect_min, Vector2 rect_max) - { - byte ret = ImGuiNative.igIsRectVisible_Vec2(rect_min, rect_max); - return ret != 0; - } - public static bool IsWindowAppearing() - { - byte ret = ImGuiNative.igIsWindowAppearing(); - return ret != 0; - } - public static bool IsWindowCollapsed() - { - byte ret = ImGuiNative.igIsWindowCollapsed(); - return ret != 0; - } - public static bool IsWindowDocked() - { - byte ret = ImGuiNative.igIsWindowDocked(); - return ret != 0; - } - public static bool IsWindowFocused() - { - ImGuiFocusedFlags flags = (ImGuiFocusedFlags)0; - byte ret = ImGuiNative.igIsWindowFocused(flags); - return ret != 0; - } - public static bool IsWindowFocused(ImGuiFocusedFlags flags) - { - byte ret = ImGuiNative.igIsWindowFocused(flags); - return ret != 0; - } - public static bool IsWindowHovered() - { - ImGuiHoveredFlags flags = (ImGuiHoveredFlags)0; - byte ret = ImGuiNative.igIsWindowHovered(flags); - return ret != 0; - } - public static bool IsWindowHovered(ImGuiHoveredFlags flags) - { - byte ret = ImGuiNative.igIsWindowHovered(flags); - return ret != 0; } - public static void LabelText(string label, string fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderAngle(ReadOnlySpan label, ref float v_rad, float v_degrees_min, float v_degrees_max, ReadOnlySpan format) { byte* native_label; int label_byteCount = 0; @@ -8814,35 +22530,41 @@ public static void LabelText(string label, string fmt) native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_fmt; - int fmt_byteCount = 0; - if (fmt != null) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_fmt = Util.Allocate(fmt_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; - native_fmt = native_fmt_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); - native_fmt[native_fmt_offset] = 0; - } - else { native_fmt = null; } - ImGuiNative.igLabelText(native_label, native_fmt); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - if (fmt_byteCount > Util.StackAllocationSizeLimit) + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_rad = &v_rad) { - Util.Free(native_fmt); + byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static bool ListBox(string label, ref int current_item, string[] items, int items_count) +#endif + public static bool SliderAngle(string label, ref float v_rad, float v_degrees_min, float v_degrees_max, string format) { byte* native_label; int label_byteCount = 0; @@ -8862,45 +22584,41 @@ public static bool ListBox(string label, ref int current_item, string[] items, i native_label[native_label_offset] = 0; } else { native_label = null; } - int* items_byteCounts = stackalloc int[items.Length]; - int items_byteCount = 0; - for (int i = 0; i < items.Length; i++) - { - string s = items[i]; - items_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - items_byteCount += items_byteCounts[i] + 1; - } - byte* native_items_data = stackalloc byte[items_byteCount]; - int offset = 0; - for (int i = 0; i < items.Length; i++) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - string s = items[i]; - fixed (char* sPtr = s) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_items_data + offset, items_byteCounts[i]); - native_items_data[offset] = 0; - offset += 1; + native_format = Util.Allocate(format_byteCount + 1); } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - byte** native_items = stackalloc byte*[items.Length]; - offset = 0; - for (int i = 0; i < items.Length; i++) - { - native_items[i] = &native_items_data[offset]; - offset += items_byteCounts[i] + 1; - } - int height_in_items = -1; - fixed (int* native_current_item = ¤t_item) + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v_rad = &v_rad) { - byte ret = ImGuiNative.igListBox_Str_arr(native_label, native_current_item, native_items, items_count, height_in_items); + byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } return ret != 0; } } - public static bool ListBox(string label, ref int current_item, string[] items, int items_count, int height_in_items) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderAngle(ReadOnlySpan label, ref float v_rad, float v_degrees_min, float v_degrees_max, ReadOnlySpan format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -8920,222 +22638,193 @@ public static bool ListBox(string label, ref int current_item, string[] items, i native_label[native_label_offset] = 0; } else { native_label = null; } - int* items_byteCounts = stackalloc int[items.Length]; - int items_byteCount = 0; - for (int i = 0; i < items.Length; i++) - { - string s = items[i]; - items_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - items_byteCount += items_byteCounts[i] + 1; - } - byte* native_items_data = stackalloc byte[items_byteCount]; - int offset = 0; - for (int i = 0; i < items.Length; i++) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - string s = items[i]; - fixed (char* sPtr = s) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_items_data + offset, items_byteCounts[i]); - native_items_data[offset] = 0; - offset += 1; + native_format = Util.Allocate(format_byteCount + 1); } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - byte** native_items = stackalloc byte*[items.Length]; - offset = 0; - for (int i = 0; i < items.Length; i++) - { - native_items[i] = &native_items_data[offset]; - offset += items_byteCounts[i] + 1; - } - fixed (int* native_current_item = ¤t_item) + else { native_format = null; } + fixed (float* native_v_rad = &v_rad) { - byte ret = ImGuiNative.igListBox_Str_arr(native_label, native_current_item, native_items, items_count, height_in_items); + byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } return ret != 0; } } - public static void LoadIniSettingsFromDisk(string ini_filename) +#endif + public static bool SliderAngle(string label, ref float v_rad, float v_degrees_min, float v_degrees_max, string format, ImGuiSliderFlags flags) { - byte* native_ini_filename; - int ini_filename_byteCount = 0; - if (ini_filename != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - ini_filename_byteCount = Encoding.UTF8.GetByteCount(ini_filename); - if (ini_filename_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_ini_filename = Util.Allocate(ini_filename_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_ini_filename_stackBytes = stackalloc byte[ini_filename_byteCount + 1]; - native_ini_filename = native_ini_filename_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_ini_filename_offset = Util.GetUtf8(ini_filename, native_ini_filename, ini_filename_byteCount); - native_ini_filename[native_ini_filename_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_ini_filename = null; } - ImGuiNative.igLoadIniSettingsFromDisk(native_ini_filename); - if (ini_filename_byteCount > Util.StackAllocationSizeLimit) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - Util.Free(native_ini_filename); + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - } - public static void LoadIniSettingsFromMemory(string ini_data) - { - byte* native_ini_data; - int ini_data_byteCount = 0; - if (ini_data != null) + else { native_format = null; } + fixed (float* native_v_rad = &v_rad) { - ini_data_byteCount = Encoding.UTF8.GetByteCount(ini_data); - if (ini_data_byteCount > Util.StackAllocationSizeLimit) + byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_ini_data = Util.Allocate(ini_data_byteCount + 1); + Util.Free(native_label); } - else + if (format_byteCount > Util.StackAllocationSizeLimit) { - byte* native_ini_data_stackBytes = stackalloc byte[ini_data_byteCount + 1]; - native_ini_data = native_ini_data_stackBytes; + Util.Free(native_format); } - int native_ini_data_offset = Util.GetUtf8(ini_data, native_ini_data, ini_data_byteCount); - native_ini_data[native_ini_data_offset] = 0; - } - else { native_ini_data = null; } - uint ini_size = 0; - ImGuiNative.igLoadIniSettingsFromMemory(native_ini_data, ini_size); - if (ini_data_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_ini_data); + return ret != 0; } } - public static void LoadIniSettingsFromMemory(string ini_data, uint ini_size) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderFloat(ReadOnlySpan label, ref float v, float v_min, float v_max) { - byte* native_ini_data; - int ini_data_byteCount = 0; - if (ini_data != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - ini_data_byteCount = Encoding.UTF8.GetByteCount(ini_data); - if (ini_data_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_ini_data = Util.Allocate(ini_data_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_ini_data_stackBytes = stackalloc byte[ini_data_byteCount + 1]; - native_ini_data = native_ini_data_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_ini_data_offset = Util.GetUtf8(ini_data, native_ini_data, ini_data_byteCount); - native_ini_data[native_ini_data_offset] = 0; - } - else { native_ini_data = null; } - ImGuiNative.igLoadIniSettingsFromMemory(native_ini_data, ini_size); - if (ini_data_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_ini_data); + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - } - public static void LogButtons() - { - ImGuiNative.igLogButtons(); - } - public static void LogFinish() - { - ImGuiNative.igLogFinish(); - } - public static void LogText(string fmt) - { - byte* native_fmt; - int fmt_byteCount = 0; - if (fmt != null) - { - fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_fmt = Util.Allocate(fmt_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; - native_fmt = native_fmt_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); - native_fmt[native_fmt_offset] = 0; - } - else { native_fmt = null; } - ImGuiNative.igLogText(native_fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v = &v) { - Util.Free(native_fmt); + byte ret = ImGuiNative.igSliderFloat(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static void LogToClipboard() - { - int auto_open_depth = -1; - ImGuiNative.igLogToClipboard(auto_open_depth); - } - public static void LogToClipboard(int auto_open_depth) - { - ImGuiNative.igLogToClipboard(auto_open_depth); - } - public static void LogToFile() - { - int auto_open_depth = -1; - byte* native_filename = null; - ImGuiNative.igLogToFile(auto_open_depth, native_filename); - } - public static void LogToFile(int auto_open_depth) - { - byte* native_filename = null; - ImGuiNative.igLogToFile(auto_open_depth, native_filename); - } - public static void LogToFile(int auto_open_depth, string filename) +#endif + public static bool SliderFloat(string label, ref float v, float v_min, float v_max) { - byte* native_filename; - int filename_byteCount = 0; - if (filename != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - filename_byteCount = Encoding.UTF8.GetByteCount(filename); - if (filename_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_filename = Util.Allocate(filename_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_filename_stackBytes = stackalloc byte[filename_byteCount + 1]; - native_filename = native_filename_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_filename_offset = Util.GetUtf8(filename, native_filename, filename_byteCount); - native_filename[native_filename_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_filename = null; } - ImGuiNative.igLogToFile(auto_open_depth, native_filename); - if (filename_byteCount > Util.StackAllocationSizeLimit) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v = &v) { - Util.Free(native_filename); + byte ret = ImGuiNative.igSliderFloat(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static void LogToTTY() - { - int auto_open_depth = -1; - ImGuiNative.igLogToTTY(auto_open_depth); - } - public static void LogToTTY(int auto_open_depth) - { - ImGuiNative.igLogToTTY(auto_open_depth); - } - public static IntPtr MemAlloc(uint size) - { - void* ret = ImGuiNative.igMemAlloc(size); - return (IntPtr)ret; - } - public static void MemFree(IntPtr ptr) - { - void* native_ptr = (void*)ptr.ToPointer(); - ImGuiNative.igMemFree(native_ptr); - } - public static bool MenuItem(string label) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderFloat(ReadOnlySpan label, ref float v, float v_min, float v_max, ReadOnlySpan format) { byte* native_label; int label_byteCount = 0; @@ -9155,17 +22844,41 @@ public static bool MenuItem(string label) native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_shortcut = null; - byte selected = 0; - byte enabled = 1; - byte ret = ImGuiNative.igMenuItem_Bool(native_label, native_shortcut, selected, enabled); - if (label_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - Util.Free(native_label); + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v = &v) + { + byte ret = ImGuiNative.igSliderFloat(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool MenuItem(string label, string shortcut) +#endif + public static bool SliderFloat(string label, ref float v, float v_min, float v_max, string format) { byte* native_label; int label_byteCount = 0; @@ -9185,38 +22898,41 @@ public static bool MenuItem(string label, string shortcut) native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_shortcut; - int shortcut_byteCount = 0; - if (shortcut != null) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); - if (shortcut_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v = &v) + { + byte ret = ImGuiNative.igSliderFloat(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_shortcut = Util.Allocate(shortcut_byteCount + 1); + Util.Free(native_label); } - else + if (format_byteCount > Util.StackAllocationSizeLimit) { - byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; - native_shortcut = native_shortcut_stackBytes; + Util.Free(native_format); } - int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); - native_shortcut[native_shortcut_offset] = 0; - } - else { native_shortcut = null; } - byte selected = 0; - byte enabled = 1; - byte ret = ImGuiNative.igMenuItem_Bool(native_label, native_shortcut, selected, enabled); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (shortcut_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_shortcut); + return ret != 0; } - return ret != 0; } - public static bool MenuItem(string label, string shortcut, bool selected) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderFloat(ReadOnlySpan label, ref float v, float v_min, float v_max, ReadOnlySpan format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -9236,38 +22952,40 @@ public static bool MenuItem(string label, string shortcut, bool selected) native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_shortcut; - int shortcut_byteCount = 0; - if (shortcut != null) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); - if (shortcut_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_shortcut = Util.Allocate(shortcut_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; - native_shortcut = native_shortcut_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); - native_shortcut[native_shortcut_offset] = 0; - } - else { native_shortcut = null; } - byte native_selected = selected ? (byte)1 : (byte)0; - byte enabled = 1; - byte ret = ImGuiNative.igMenuItem_Bool(native_label, native_shortcut, native_selected, enabled); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - if (shortcut_byteCount > Util.StackAllocationSizeLimit) + else { native_format = null; } + fixed (float* native_v = &v) { - Util.Free(native_shortcut); + byte ret = ImGuiNative.igSliderFloat(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool MenuItem(string label, string shortcut, bool selected, bool enabled) +#endif + public static bool SliderFloat(string label, ref float v, float v_min, float v_max, string format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -9287,38 +23005,40 @@ public static bool MenuItem(string label, string shortcut, bool selected, bool e native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_shortcut; - int shortcut_byteCount = 0; - if (shortcut != null) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); - if (shortcut_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_shortcut = Util.Allocate(shortcut_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; - native_shortcut = native_shortcut_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); - native_shortcut[native_shortcut_offset] = 0; - } - else { native_shortcut = null; } - byte native_selected = selected ? (byte)1 : (byte)0; - byte native_enabled = enabled ? (byte)1 : (byte)0; - byte ret = ImGuiNative.igMenuItem_Bool(native_label, native_shortcut, native_selected, native_enabled); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - if (shortcut_byteCount > Util.StackAllocationSizeLimit) + else { native_format = null; } + fixed (float* native_v = &v) { - Util.Free(native_shortcut); + byte ret = ImGuiNative.igSliderFloat(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool MenuItem(string label, string shortcut, ref bool p_selected) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderFloat2(ReadOnlySpan label, ref Vector2 v, float v_min, float v_max) { byte* native_label; int label_byteCount = 0; @@ -9338,40 +23058,37 @@ public static bool MenuItem(string label, string shortcut, ref bool p_selected) native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_shortcut; - int shortcut_byteCount = 0; - if (shortcut != null) - { - shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); - if (shortcut_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_shortcut = Util.Allocate(shortcut_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; - native_shortcut = native_shortcut_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); - native_shortcut[native_shortcut_offset] = 0; - } - else { native_shortcut = null; } - byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; - byte* native_p_selected = &native_p_selected_val; - byte enabled = 1; - byte ret = ImGuiNative.igMenuItem_BoolPtr(native_label, native_shortcut, native_p_selected, enabled); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (shortcut_byteCount > Util.StackAllocationSizeLimit) + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector2* native_v = &v) { - Util.Free(native_shortcut); + byte ret = ImGuiNative.igSliderFloat2(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - p_selected = native_p_selected_val != 0; - return ret != 0; } - public static bool MenuItem(string label, string shortcut, ref bool p_selected, bool enabled) +#endif + public static bool SliderFloat2(string label, ref Vector2 v, float v_min, float v_max) { byte* native_label; int label_byteCount = 0; @@ -9391,173 +23108,145 @@ public static bool MenuItem(string label, string shortcut, ref bool p_selected, native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_shortcut; - int shortcut_byteCount = 0; - if (shortcut != null) - { - shortcut_byteCount = Encoding.UTF8.GetByteCount(shortcut); - if (shortcut_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_shortcut = Util.Allocate(shortcut_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_shortcut_stackBytes = stackalloc byte[shortcut_byteCount + 1]; - native_shortcut = native_shortcut_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_shortcut_offset = Util.GetUtf8(shortcut, native_shortcut, shortcut_byteCount); - native_shortcut[native_shortcut_offset] = 0; - } - else { native_shortcut = null; } - byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; - byte* native_p_selected = &native_p_selected_val; - byte native_enabled = enabled ? (byte)1 : (byte)0; - byte ret = ImGuiNative.igMenuItem_BoolPtr(native_label, native_shortcut, native_p_selected, native_enabled); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (shortcut_byteCount > Util.StackAllocationSizeLimit) + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector2* native_v = &v) { - Util.Free(native_shortcut); + byte ret = ImGuiNative.igSliderFloat2(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - p_selected = native_p_selected_val != 0; - return ret != 0; - } - public static void NewFrame() - { - ImGuiNative.igNewFrame(); - } - public static void NewLine() - { - ImGuiNative.igNewLine(); - } - public static void NextColumn() - { - ImGuiNative.igNextColumn(); } - public static void OpenPopup(string str_id) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderFloat2(ReadOnlySpan label, ref Vector2 v, float v_min, float v_max, ReadOnlySpan format) { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; - } - else { native_str_id = null; } - ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)0; - ImGuiNative.igOpenPopup_Str(native_str_id, popup_flags); - if (str_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_str_id); + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - } - public static void OpenPopup(string str_id, ImGuiPopupFlags popup_flags) - { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_str_id = null; } - ImGuiNative.igOpenPopup_Str(native_str_id, popup_flags); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector2* native_v = &v) { - Util.Free(native_str_id); + byte ret = ImGuiNative.igSliderFloat2(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static void OpenPopup(uint id) - { - ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)0; - ImGuiNative.igOpenPopup_ID(id, popup_flags); - } - public static void OpenPopup(uint id, ImGuiPopupFlags popup_flags) - { - ImGuiNative.igOpenPopup_ID(id, popup_flags); - } - public static void OpenPopupOnItemClick() - { - byte* native_str_id = null; - ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; - ImGuiNative.igOpenPopupOnItemClick(native_str_id, popup_flags); - } - public static void OpenPopupOnItemClick(string str_id) +#endif + public static bool SliderFloat2(string label, ref Vector2 v, float v_min, float v_max, string format) { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; - } - else { native_str_id = null; } - ImGuiPopupFlags popup_flags = (ImGuiPopupFlags)1; - ImGuiNative.igOpenPopupOnItemClick(native_str_id, popup_flags); - if (str_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_str_id); + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - } - public static void OpenPopupOnItemClick(string str_id, ImGuiPopupFlags popup_flags) - { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_str_id = null; } - ImGuiNative.igOpenPopupOnItemClick(native_str_id, popup_flags); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector2* native_v = &v) { - Util.Free(native_str_id); + byte ret = ImGuiNative.igSliderFloat2(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static void PlotHistogram(string label, ref float values, int values_count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderFloat2(ReadOnlySpan label, ref Vector2 v, float v_min, float v_max, ReadOnlySpan format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -9577,22 +23266,40 @@ public static void PlotHistogram(string label, ref float values, int values_coun native_label[native_label_offset] = 0; } else { native_label = null; } - int values_offset = 0; - byte* native_overlay_text = null; - float scale_min = float.MaxValue; - float scale_max = float.MaxValue; - Vector2 graph_size = new Vector2(); - int stride = sizeof(float); - fixed (float* native_values = &values) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (Vector2* native_v = &v) + { + byte ret = ImGuiNative.igSliderFloat2(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static void PlotHistogram(string label, ref float values, int values_count, int values_offset) +#endif + public static bool SliderFloat2(string label, ref Vector2 v, float v_min, float v_max, string format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -9612,21 +23319,40 @@ public static void PlotHistogram(string label, ref float values, int values_coun native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_overlay_text = null; - float scale_min = float.MaxValue; - float scale_max = float.MaxValue; - Vector2 graph_size = new Vector2(); - int stride = sizeof(float); - fixed (float* native_values = &values) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (Vector2* native_v = &v) + { + byte ret = ImGuiNative.igSliderFloat2(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static void PlotHistogram(string label, ref float values, int values_count, int values_offset, string overlay_text) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderFloat3(ReadOnlySpan label, ref Vector3 v, float v_min, float v_max) { byte* native_label; int label_byteCount = 0; @@ -9646,42 +23372,37 @@ public static void PlotHistogram(string label, ref float values, int values_coun native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_overlay_text; - int overlay_text_byteCount = 0; - if (overlay_text != null) - { - overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; - native_overlay_text = native_overlay_text_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); - native_overlay_text[native_overlay_text_offset] = 0; - } - else { native_overlay_text = null; } - float scale_min = float.MaxValue; - float scale_max = float.MaxValue; - Vector2 graph_size = new Vector2(); - int stride = sizeof(float); - fixed (float* native_values = &values) + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector3* native_v = &v) { - ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + byte ret = ImGuiNative.igSliderFloat3(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + if (format_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_overlay_text); + Util.Free(native_format); } + return ret != 0; } } - public static void PlotHistogram(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min) +#endif + public static bool SliderFloat3(string label, ref Vector3 v, float v_min, float v_max) { byte* native_label; int label_byteCount = 0; @@ -9701,41 +23422,37 @@ public static void PlotHistogram(string label, ref float values, int values_coun native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_overlay_text; - int overlay_text_byteCount = 0; - if (overlay_text != null) - { - overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; - native_overlay_text = native_overlay_text_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); - native_overlay_text[native_overlay_text_offset] = 0; - } - else { native_overlay_text = null; } - float scale_max = float.MaxValue; - Vector2 graph_size = new Vector2(); - int stride = sizeof(float); - fixed (float* native_values = &values) + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector3* native_v = &v) { - ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + byte ret = ImGuiNative.igSliderFloat3(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + if (format_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_overlay_text); + Util.Free(native_format); } + return ret != 0; } } - public static void PlotHistogram(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min, float scale_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderFloat3(ReadOnlySpan label, ref Vector3 v, float v_min, float v_max, ReadOnlySpan format) { byte* native_label; int label_byteCount = 0; @@ -9755,40 +23472,41 @@ public static void PlotHistogram(string label, ref float values, int values_coun native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_overlay_text; - int overlay_text_byteCount = 0; - if (overlay_text != null) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; - native_overlay_text = native_overlay_text_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); - native_overlay_text[native_overlay_text_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_overlay_text = null; } - Vector2 graph_size = new Vector2(); - int stride = sizeof(float); - fixed (float* native_values = &values) + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector3* native_v = &v) { - ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + byte ret = ImGuiNative.igSliderFloat3(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + if (format_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_overlay_text); + Util.Free(native_format); } + return ret != 0; } } - public static void PlotHistogram(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min, float scale_max, Vector2 graph_size) +#endif + public static bool SliderFloat3(string label, ref Vector3 v, float v_min, float v_max, string format) { byte* native_label; int label_byteCount = 0; @@ -9808,39 +23526,41 @@ public static void PlotHistogram(string label, ref float values, int values_coun native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_overlay_text; - int overlay_text_byteCount = 0; - if (overlay_text != null) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; - native_overlay_text = native_overlay_text_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); - native_overlay_text[native_overlay_text_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_overlay_text = null; } - int stride = sizeof(float); - fixed (float* native_values = &values) + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector3* native_v = &v) { - ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + byte ret = ImGuiNative.igSliderFloat3(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + if (format_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_overlay_text); + Util.Free(native_format); } + return ret != 0; } } - public static void PlotHistogram(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min, float scale_max, Vector2 graph_size, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderFloat3(ReadOnlySpan label, ref Vector3 v, float v_min, float v_max, ReadOnlySpan format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -9860,38 +23580,40 @@ public static void PlotHistogram(string label, ref float values, int values_coun native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_overlay_text; - int overlay_text_byteCount = 0; - if (overlay_text != null) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; - native_overlay_text = native_overlay_text_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); - native_overlay_text[native_overlay_text_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_overlay_text = null; } - fixed (float* native_values = &values) + else { native_format = null; } + fixed (Vector3* native_v = &v) { - ImGuiNative.igPlotHistogram_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + byte ret = ImGuiNative.igSliderFloat3(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + if (format_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_overlay_text); + Util.Free(native_format); } + return ret != 0; } } - public static void PlotLines(string label, ref float values, int values_count) +#endif + public static bool SliderFloat3(string label, ref Vector3 v, float v_min, float v_max, string format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -9911,56 +23633,40 @@ public static void PlotLines(string label, ref float values, int values_count) native_label[native_label_offset] = 0; } else { native_label = null; } - int values_offset = 0; - byte* native_overlay_text = null; - float scale_min = float.MaxValue; - float scale_max = float.MaxValue; - Vector2 graph_size = new Vector2(); - int stride = sizeof(float); - fixed (float* native_values = &values) - { - ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - } - } - public static void PlotLines(string label, ref float values, int values_count, int values_offset) - { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_label = null; } - byte* native_overlay_text = null; - float scale_min = float.MaxValue; - float scale_max = float.MaxValue; - Vector2 graph_size = new Vector2(); - int stride = sizeof(float); - fixed (float* native_values = &values) + else { native_format = null; } + fixed (Vector3* native_v = &v) { - ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + byte ret = ImGuiNative.igSliderFloat3(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static void PlotLines(string label, ref float values, int values_count, int values_offset, string overlay_text) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderFloat4(ReadOnlySpan label, ref Vector4 v, float v_min, float v_max) { byte* native_label; int label_byteCount = 0; @@ -9980,42 +23686,37 @@ public static void PlotLines(string label, ref float values, int values_count, i native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_overlay_text; - int overlay_text_byteCount = 0; - if (overlay_text != null) - { - overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; - native_overlay_text = native_overlay_text_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); - native_overlay_text[native_overlay_text_offset] = 0; - } - else { native_overlay_text = null; } - float scale_min = float.MaxValue; - float scale_max = float.MaxValue; - Vector2 graph_size = new Vector2(); - int stride = sizeof(float); - fixed (float* native_values = &values) + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector4* native_v = &v) { - ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + byte ret = ImGuiNative.igSliderFloat4(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + if (format_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_overlay_text); + Util.Free(native_format); } + return ret != 0; } } - public static void PlotLines(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min) +#endif + public static bool SliderFloat4(string label, ref Vector4 v, float v_min, float v_max) { byte* native_label; int label_byteCount = 0; @@ -10035,41 +23736,37 @@ public static void PlotLines(string label, ref float values, int values_count, i native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_overlay_text; - int overlay_text_byteCount = 0; - if (overlay_text != null) - { - overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; - native_overlay_text = native_overlay_text_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); - native_overlay_text[native_overlay_text_offset] = 0; - } - else { native_overlay_text = null; } - float scale_max = float.MaxValue; - Vector2 graph_size = new Vector2(); - int stride = sizeof(float); - fixed (float* native_values = &values) + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector4* native_v = &v) { - ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + byte ret = ImGuiNative.igSliderFloat4(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + if (format_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_overlay_text); + Util.Free(native_format); } + return ret != 0; } } - public static void PlotLines(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min, float scale_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderFloat4(ReadOnlySpan label, ref Vector4 v, float v_min, float v_max, ReadOnlySpan format) { byte* native_label; int label_byteCount = 0; @@ -10089,40 +23786,41 @@ public static void PlotLines(string label, ref float values, int values_count, i native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_overlay_text; - int overlay_text_byteCount = 0; - if (overlay_text != null) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; - native_overlay_text = native_overlay_text_stackBytes; - } - int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); - native_overlay_text[native_overlay_text_offset] = 0; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_overlay_text = null; } - Vector2 graph_size = new Vector2(); - int stride = sizeof(float); - fixed (float* native_values = &values) + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector4* native_v = &v) { - ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + byte ret = ImGuiNative.igSliderFloat4(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + if (format_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_overlay_text); + Util.Free(native_format); } + return ret != 0; } } - public static void PlotLines(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min, float scale_max, Vector2 graph_size) +#endif + public static bool SliderFloat4(string label, ref Vector4 v, float v_min, float v_max, string format) { byte* native_label; int label_byteCount = 0; @@ -10142,39 +23840,41 @@ public static void PlotLines(string label, ref float values, int values_count, i native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_overlay_text; - int overlay_text_byteCount = 0; - if (overlay_text != null) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; - native_overlay_text = native_overlay_text_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); - native_overlay_text[native_overlay_text_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_overlay_text = null; } - int stride = sizeof(float); - fixed (float* native_values = &values) + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (Vector4* native_v = &v) { - ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + byte ret = ImGuiNative.igSliderFloat4(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + if (format_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_overlay_text); + Util.Free(native_format); } + return ret != 0; } } - public static void PlotLines(string label, ref float values, int values_count, int values_offset, string overlay_text, float scale_min, float scale_max, Vector2 graph_size, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderFloat4(ReadOnlySpan label, ref Vector4 v, float v_min, float v_max, ReadOnlySpan format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -10194,205 +23894,93 @@ public static void PlotLines(string label, ref float values, int values_count, i native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_overlay_text; - int overlay_text_byteCount = 0; - if (overlay_text != null) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - overlay_text_byteCount = Encoding.UTF8.GetByteCount(overlay_text); - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_overlay_text = Util.Allocate(overlay_text_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_overlay_text_stackBytes = stackalloc byte[overlay_text_byteCount + 1]; - native_overlay_text = native_overlay_text_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_overlay_text_offset = Util.GetUtf8(overlay_text, native_overlay_text, overlay_text_byteCount); - native_overlay_text[native_overlay_text_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_overlay_text = null; } - fixed (float* native_values = &values) + else { native_format = null; } + fixed (Vector4* native_v = &v) { - ImGuiNative.igPlotLines_FloatPtr(native_label, native_values, values_count, values_offset, native_overlay_text, scale_min, scale_max, graph_size, stride); + byte ret = ImGuiNative.igSliderFloat4(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (overlay_text_byteCount > Util.StackAllocationSizeLimit) + if (format_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_overlay_text); + Util.Free(native_format); } + return ret != 0; } } - public static void PopAllowKeyboardFocus() - { - ImGuiNative.igPopAllowKeyboardFocus(); - } - public static void PopButtonRepeat() - { - ImGuiNative.igPopButtonRepeat(); - } - public static void PopClipRect() - { - ImGuiNative.igPopClipRect(); - } - public static void PopFont() - { - ImGuiNative.igPopFont(); - } - public static void PopID() - { - ImGuiNative.igPopID(); - } - public static void PopItemWidth() - { - ImGuiNative.igPopItemWidth(); - } - public static void PopStyleColor() - { - int count = 1; - ImGuiNative.igPopStyleColor(count); - } - public static void PopStyleColor(int count) - { - ImGuiNative.igPopStyleColor(count); - } - public static void PopStyleVar() - { - int count = 1; - ImGuiNative.igPopStyleVar(count); - } - public static void PopStyleVar(int count) - { - ImGuiNative.igPopStyleVar(count); - } - public static void PopTextWrapPos() - { - ImGuiNative.igPopTextWrapPos(); - } - public static void ProgressBar(float fraction) - { - Vector2 size_arg = new Vector2(-float.MinValue, 0.0f); - byte* native_overlay = null; - ImGuiNative.igProgressBar(fraction, size_arg, native_overlay); - } - public static void ProgressBar(float fraction, Vector2 size_arg) - { - byte* native_overlay = null; - ImGuiNative.igProgressBar(fraction, size_arg, native_overlay); - } - public static void ProgressBar(float fraction, Vector2 size_arg, string overlay) +#endif + public static bool SliderFloat4(string label, ref Vector4 v, float v_min, float v_max, string format, ImGuiSliderFlags flags) { - byte* native_overlay; - int overlay_byteCount = 0; - if (overlay != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - overlay_byteCount = Encoding.UTF8.GetByteCount(overlay); - if (overlay_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_overlay = Util.Allocate(overlay_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_overlay_stackBytes = stackalloc byte[overlay_byteCount + 1]; - native_overlay = native_overlay_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_overlay_offset = Util.GetUtf8(overlay, native_overlay, overlay_byteCount); - native_overlay[native_overlay_offset] = 0; - } - else { native_overlay = null; } - ImGuiNative.igProgressBar(fraction, size_arg, native_overlay); - if (overlay_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_overlay); + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - } - public static void PushAllowKeyboardFocus(bool allow_keyboard_focus) - { - byte native_allow_keyboard_focus = allow_keyboard_focus ? (byte)1 : (byte)0; - ImGuiNative.igPushAllowKeyboardFocus(native_allow_keyboard_focus); - } - public static void PushButtonRepeat(bool repeat) - { - byte native_repeat = repeat ? (byte)1 : (byte)0; - ImGuiNative.igPushButtonRepeat(native_repeat); - } - public static void PushClipRect(Vector2 clip_rect_min, Vector2 clip_rect_max, bool intersect_with_current_clip_rect) - { - byte native_intersect_with_current_clip_rect = intersect_with_current_clip_rect ? (byte)1 : (byte)0; - ImGuiNative.igPushClipRect(clip_rect_min, clip_rect_max, native_intersect_with_current_clip_rect); - } - public static void PushFont(ImFontPtr font) - { - ImFont* native_font = font.NativePtr; - ImGuiNative.igPushFont(native_font); - } - public static void PushID(string str_id) - { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_str_id = null; } - ImGuiNative.igPushID_Str(native_str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + else { native_format = null; } + fixed (Vector4* native_v = &v) { - Util.Free(native_str_id); - } - } - public static void PushID(IntPtr ptr_id) - { - void* native_ptr_id = (void*)ptr_id.ToPointer(); - ImGuiNative.igPushID_Ptr(native_ptr_id); - } - public static void PushID(int int_id) - { - ImGuiNative.igPushID_Int(int_id); - } - public static void PushItemWidth(float item_width) - { - ImGuiNative.igPushItemWidth(item_width); - } - public static void PushStyleColor(ImGuiCol idx, uint col) - { - ImGuiNative.igPushStyleColor_U32(idx, col); - } - public static void PushStyleColor(ImGuiCol idx, Vector4 col) - { - ImGuiNative.igPushStyleColor_Vec4(idx, col); - } - public static void PushStyleVar(ImGuiStyleVar idx, float val) - { - ImGuiNative.igPushStyleVar_Float(idx, val); - } - public static void PushStyleVar(ImGuiStyleVar idx, Vector2 val) - { - ImGuiNative.igPushStyleVar_Vec2(idx, val); - } - public static void PushTextWrapPos() - { - float wrap_local_pos_x = 0.0f; - ImGuiNative.igPushTextWrapPos(wrap_local_pos_x); - } - public static void PushTextWrapPos(float wrap_local_pos_x) - { - ImGuiNative.igPushTextWrapPos(wrap_local_pos_x); + byte ret = ImGuiNative.igSliderFloat4(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } } - public static bool RadioButton(string label, bool active) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderInt(ReadOnlySpan label, ref int v, int v_min, int v_max) { byte* native_label; int label_byteCount = 0; @@ -10412,15 +24000,37 @@ public static bool RadioButton(string label, bool active) native_label[native_label_offset] = 0; } else { native_label = null; } - byte native_active = active ? (byte)1 : (byte)0; - byte ret = ImGuiNative.igRadioButton_Bool(native_label, native_active); - if (label_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) { - Util.Free(native_label); + byte ret = ImGuiNative.igSliderInt(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool RadioButton(string label, ref int v, int v_button) +#endif + public static bool SliderInt(string label, ref int v, int v_min, int v_max) { byte* native_label; int label_byteCount = 0; @@ -10440,103 +24050,145 @@ public static bool RadioButton(string label, ref int v, int v_button) native_label[native_label_offset] = 0; } else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; fixed (int* native_v = &v) { - byte ret = ImGuiNative.igRadioButton_IntPtr(native_label, native_v, v_button); + byte ret = ImGuiNative.igSliderInt(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } return ret != 0; } } - public static void Render() - { - ImGuiNative.igRender(); - } - public static void RenderPlatformWindowsDefault() - { - void* platform_render_arg = null; - void* renderer_render_arg = null; - ImGuiNative.igRenderPlatformWindowsDefault(platform_render_arg, renderer_render_arg); - } - public static void RenderPlatformWindowsDefault(IntPtr platform_render_arg) - { - void* native_platform_render_arg = (void*)platform_render_arg.ToPointer(); - void* renderer_render_arg = null; - ImGuiNative.igRenderPlatformWindowsDefault(native_platform_render_arg, renderer_render_arg); - } - public static void RenderPlatformWindowsDefault(IntPtr platform_render_arg, IntPtr renderer_render_arg) - { - void* native_platform_render_arg = (void*)platform_render_arg.ToPointer(); - void* native_renderer_render_arg = (void*)renderer_render_arg.ToPointer(); - ImGuiNative.igRenderPlatformWindowsDefault(native_platform_render_arg, native_renderer_render_arg); - } - public static void ResetMouseDragDelta() - { - ImGuiMouseButton button = (ImGuiMouseButton)0; - ImGuiNative.igResetMouseDragDelta(button); - } - public static void ResetMouseDragDelta(ImGuiMouseButton button) - { - ImGuiNative.igResetMouseDragDelta(button); - } - public static void SameLine() - { - float offset_from_start_x = 0.0f; - float spacing = -1.0f; - ImGuiNative.igSameLine(offset_from_start_x, spacing); - } - public static void SameLine(float offset_from_start_x) - { - float spacing = -1.0f; - ImGuiNative.igSameLine(offset_from_start_x, spacing); - } - public static void SameLine(float offset_from_start_x, float spacing) - { - ImGuiNative.igSameLine(offset_from_start_x, spacing); - } - public static void SaveIniSettingsToDisk(string ini_filename) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderInt(ReadOnlySpan label, ref int v, int v_min, int v_max, ReadOnlySpan format) { - byte* native_ini_filename; - int ini_filename_byteCount = 0; - if (ini_filename != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - ini_filename_byteCount = Encoding.UTF8.GetByteCount(ini_filename); - if (ini_filename_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_ini_filename = Util.Allocate(ini_filename_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_ini_filename_stackBytes = stackalloc byte[ini_filename_byteCount + 1]; - native_ini_filename = native_ini_filename_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_ini_filename_offset = Util.GetUtf8(ini_filename, native_ini_filename, ini_filename_byteCount); - native_ini_filename[native_ini_filename_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_ini_filename = null; } - ImGuiNative.igSaveIniSettingsToDisk(native_ini_filename); - if (ini_filename_byteCount > Util.StackAllocationSizeLimit) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - Util.Free(native_ini_filename); + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igSliderInt(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static string SaveIniSettingsToMemory() - { - uint* out_ini_size = null; - byte* ret = ImGuiNative.igSaveIniSettingsToMemory(out_ini_size); - return Util.StringFromPtr(ret); - } - public static string SaveIniSettingsToMemory(out uint out_ini_size) +#endif + public static bool SliderInt(string label, ref int v, int v_min, int v_max, string format) { - fixed (uint* native_out_ini_size = &out_ini_size) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - byte* ret = ImGuiNative.igSaveIniSettingsToMemory(native_out_ini_size); - return Util.StringFromPtr(ret); + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igSliderInt(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static bool Selectable(string label) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderInt(ReadOnlySpan label, ref int v, int v_min, int v_max, ReadOnlySpan format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -10556,17 +24208,40 @@ public static bool Selectable(string label) native_label[native_label_offset] = 0; } else { native_label = null; } - byte selected = 0; - ImGuiSelectableFlags flags = (ImGuiSelectableFlags)0; - Vector2 size = new Vector2(); - byte ret = ImGuiNative.igSelectable_Bool(native_label, selected, flags, size); - if (label_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - Util.Free(native_label); + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igSliderInt(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool Selectable(string label, bool selected) +#endif + public static bool SliderInt(string label, ref int v, int v_min, int v_max, string format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -10586,46 +24261,40 @@ public static bool Selectable(string label, bool selected) native_label[native_label_offset] = 0; } else { native_label = null; } - byte native_selected = selected ? (byte)1 : (byte)0; - ImGuiSelectableFlags flags = (ImGuiSelectableFlags)0; - Vector2 size = new Vector2(); - byte ret = ImGuiNative.igSelectable_Bool(native_label, native_selected, flags, size); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; - } - public static bool Selectable(string label, bool selected, ImGuiSelectableFlags flags) - { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_label = null; } - byte native_selected = selected ? (byte)1 : (byte)0; - Vector2 size = new Vector2(); - byte ret = ImGuiNative.igSelectable_Bool(native_label, native_selected, flags, size); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_format = null; } + fixed (int* native_v = &v) { - Util.Free(native_label); + byte ret = ImGuiNative.igSliderInt(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool Selectable(string label, bool selected, ImGuiSelectableFlags flags, Vector2 size) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderInt2(ReadOnlySpan label, ref int v, int v_min, int v_max) { byte* native_label; int label_byteCount = 0; @@ -10645,15 +24314,37 @@ public static bool Selectable(string label, bool selected, ImGuiSelectableFlags native_label[native_label_offset] = 0; } else { native_label = null; } - byte native_selected = selected ? (byte)1 : (byte)0; - byte ret = ImGuiNative.igSelectable_Bool(native_label, native_selected, flags, size); - if (label_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) { - Util.Free(native_label); + byte ret = ImGuiNative.igSliderInt2(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool Selectable(string label, ref bool p_selected) +#endif + public static bool SliderInt2(string label, ref int v, int v_min, int v_max) { byte* native_label; int label_byteCount = 0; @@ -10673,19 +24364,37 @@ public static bool Selectable(string label, ref bool p_selected) native_label[native_label_offset] = 0; } else { native_label = null; } - byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; - byte* native_p_selected = &native_p_selected_val; - ImGuiSelectableFlags flags = (ImGuiSelectableFlags)0; - Vector2 size = new Vector2(); - byte ret = ImGuiNative.igSelectable_BoolPtr(native_label, native_p_selected, flags, size); - if (label_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) { - Util.Free(native_label); + byte ret = ImGuiNative.igSliderInt2(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - p_selected = native_p_selected_val != 0; - return ret != 0; } - public static bool Selectable(string label, ref bool p_selected, ImGuiSelectableFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderInt2(ReadOnlySpan label, ref int v, int v_min, int v_max, ReadOnlySpan format) { byte* native_label; int label_byteCount = 0; @@ -10705,18 +24414,41 @@ public static bool Selectable(string label, ref bool p_selected, ImGuiSelectable native_label[native_label_offset] = 0; } else { native_label = null; } - byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; - byte* native_p_selected = &native_p_selected_val; - Vector2 size = new Vector2(); - byte ret = ImGuiNative.igSelectable_BoolPtr(native_label, native_p_selected, flags, size); - if (label_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - Util.Free(native_label); + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igSliderInt2(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - p_selected = native_p_selected_val != 0; - return ret != 0; } - public static bool Selectable(string label, ref bool p_selected, ImGuiSelectableFlags flags, Vector2 size) +#endif + public static bool SliderInt2(string label, ref int v, int v_min, int v_max, string format) { byte* native_label; int label_byteCount = 0; @@ -10731,643 +24463,516 @@ public static bool Selectable(string label, ref bool p_selected, ImGuiSelectable { byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; native_label = native_label_stackBytes; - } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; - } - else { native_label = null; } - byte native_p_selected_val = p_selected ? (byte)1 : (byte)0; - byte* native_p_selected = &native_p_selected_val; - byte ret = ImGuiNative.igSelectable_BoolPtr(native_label, native_p_selected, flags, size); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - p_selected = native_p_selected_val != 0; - return ret != 0; - } - public static void Separator() - { - ImGuiNative.igSeparator(); - } - public static void SetAllocatorFunctions(IntPtr alloc_func, IntPtr free_func) - { - void* user_data = null; - ImGuiNative.igSetAllocatorFunctions(alloc_func, free_func, user_data); - } - public static void SetAllocatorFunctions(IntPtr alloc_func, IntPtr free_func, IntPtr user_data) - { - void* native_user_data = (void*)user_data.ToPointer(); - ImGuiNative.igSetAllocatorFunctions(alloc_func, free_func, native_user_data); - } - public static void SetClipboardText(string text) - { - byte* native_text; - int text_byteCount = 0; - if (text != null) - { - text_byteCount = Encoding.UTF8.GetByteCount(text); - if (text_byteCount > Util.StackAllocationSizeLimit) - { - native_text = Util.Allocate(text_byteCount + 1); - } - else - { - byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; - native_text = native_text_stackBytes; - } - int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); - native_text[native_text_offset] = 0; - } - else { native_text = null; } - ImGuiNative.igSetClipboardText(native_text); - if (text_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_text); - } - } - public static void SetColorEditOptions(ImGuiColorEditFlags flags) - { - ImGuiNative.igSetColorEditOptions(flags); - } - public static void SetColumnOffset(int column_index, float offset_x) - { - ImGuiNative.igSetColumnOffset(column_index, offset_x); - } - public static void SetColumnWidth(int column_index, float width) - { - ImGuiNative.igSetColumnWidth(column_index, width); - } - public static void SetCurrentContext(IntPtr ctx) - { - ImGuiNative.igSetCurrentContext(ctx); - } - public static void SetCursorPos(Vector2 local_pos) - { - ImGuiNative.igSetCursorPos(local_pos); - } - public static void SetCursorPosX(float local_x) - { - ImGuiNative.igSetCursorPosX(local_x); - } - public static void SetCursorPosY(float local_y) - { - ImGuiNative.igSetCursorPosY(local_y); - } - public static void SetCursorScreenPos(Vector2 pos) - { - ImGuiNative.igSetCursorScreenPos(pos); - } - public static bool SetDragDropPayload(string type, IntPtr data, uint sz) - { - byte* native_type; - int type_byteCount = 0; - if (type != null) + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - type_byteCount = Encoding.UTF8.GetByteCount(type); - if (type_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_type = Util.Allocate(type_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_type_stackBytes = stackalloc byte[type_byteCount + 1]; - native_type = native_type_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_type_offset = Util.GetUtf8(type, native_type, type_byteCount); - native_type[native_type_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_type = null; } - void* native_data = (void*)data.ToPointer(); - ImGuiCond cond = (ImGuiCond)0; - byte ret = ImGuiNative.igSetDragDropPayload(native_type, native_data, sz, cond); - if (type_byteCount > Util.StackAllocationSizeLimit) + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) { - Util.Free(native_type); + byte ret = ImGuiNative.igSliderInt2(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool SetDragDropPayload(string type, IntPtr data, uint sz, ImGuiCond cond) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderInt2(ReadOnlySpan label, ref int v, int v_min, int v_max, ReadOnlySpan format, ImGuiSliderFlags flags) { - byte* native_type; - int type_byteCount = 0; - if (type != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - type_byteCount = Encoding.UTF8.GetByteCount(type); - if (type_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_type = Util.Allocate(type_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_type_stackBytes = stackalloc byte[type_byteCount + 1]; - native_type = native_type_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_type_offset = Util.GetUtf8(type, native_type, type_byteCount); - native_type[native_type_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_type = null; } - void* native_data = (void*)data.ToPointer(); - byte ret = ImGuiNative.igSetDragDropPayload(native_type, native_data, sz, cond); - if (type_byteCount > Util.StackAllocationSizeLimit) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - Util.Free(native_type); - } - return ret != 0; - } - public static void SetItemAllowOverlap() - { - ImGuiNative.igSetItemAllowOverlap(); - } - public static void SetItemDefaultFocus() - { - ImGuiNative.igSetItemDefaultFocus(); - } - public static void SetKeyboardFocusHere() - { - int offset = 0; - ImGuiNative.igSetKeyboardFocusHere(offset); - } - public static void SetKeyboardFocusHere(int offset) - { - ImGuiNative.igSetKeyboardFocusHere(offset); - } - public static void SetMouseCursor(ImGuiMouseCursor cursor_type) - { - ImGuiNative.igSetMouseCursor(cursor_type); - } - public static void SetNextFrameWantCaptureKeyboard(bool want_capture_keyboard) - { - byte native_want_capture_keyboard = want_capture_keyboard ? (byte)1 : (byte)0; - ImGuiNative.igSetNextFrameWantCaptureKeyboard(native_want_capture_keyboard); - } - public static void SetNextFrameWantCaptureMouse(bool want_capture_mouse) - { - byte native_want_capture_mouse = want_capture_mouse ? (byte)1 : (byte)0; - ImGuiNative.igSetNextFrameWantCaptureMouse(native_want_capture_mouse); - } - public static void SetNextItemOpen(bool is_open) - { - byte native_is_open = is_open ? (byte)1 : (byte)0; - ImGuiCond cond = (ImGuiCond)0; - ImGuiNative.igSetNextItemOpen(native_is_open, cond); - } - public static void SetNextItemOpen(bool is_open, ImGuiCond cond) - { - byte native_is_open = is_open ? (byte)1 : (byte)0; - ImGuiNative.igSetNextItemOpen(native_is_open, cond); - } - public static void SetNextItemWidth(float item_width) - { - ImGuiNative.igSetNextItemWidth(item_width); - } - public static void SetNextWindowBgAlpha(float alpha) - { - ImGuiNative.igSetNextWindowBgAlpha(alpha); - } - public static void SetNextWindowClass(ImGuiWindowClassPtr window_class) - { - ImGuiWindowClass* native_window_class = window_class.NativePtr; - ImGuiNative.igSetNextWindowClass(native_window_class); - } - public static void SetNextWindowCollapsed(bool collapsed) - { - byte native_collapsed = collapsed ? (byte)1 : (byte)0; - ImGuiCond cond = (ImGuiCond)0; - ImGuiNative.igSetNextWindowCollapsed(native_collapsed, cond); - } - public static void SetNextWindowCollapsed(bool collapsed, ImGuiCond cond) - { - byte native_collapsed = collapsed ? (byte)1 : (byte)0; - ImGuiNative.igSetNextWindowCollapsed(native_collapsed, cond); - } - public static void SetNextWindowContentSize(Vector2 size) - { - ImGuiNative.igSetNextWindowContentSize(size); - } - public static void SetNextWindowDockID(uint dock_id) - { - ImGuiCond cond = (ImGuiCond)0; - ImGuiNative.igSetNextWindowDockID(dock_id, cond); - } - public static void SetNextWindowDockID(uint dock_id, ImGuiCond cond) - { - ImGuiNative.igSetNextWindowDockID(dock_id, cond); - } - public static void SetNextWindowFocus() - { - ImGuiNative.igSetNextWindowFocus(); - } - public static void SetNextWindowPos(Vector2 pos) - { - ImGuiCond cond = (ImGuiCond)0; - Vector2 pivot = new Vector2(); - ImGuiNative.igSetNextWindowPos(pos, cond, pivot); - } - public static void SetNextWindowPos(Vector2 pos, ImGuiCond cond) - { - Vector2 pivot = new Vector2(); - ImGuiNative.igSetNextWindowPos(pos, cond, pivot); - } - public static void SetNextWindowPos(Vector2 pos, ImGuiCond cond, Vector2 pivot) - { - ImGuiNative.igSetNextWindowPos(pos, cond, pivot); - } - public static void SetNextWindowScroll(Vector2 scroll) - { - ImGuiNative.igSetNextWindowScroll(scroll); - } - public static void SetNextWindowSize(Vector2 size) - { - ImGuiCond cond = (ImGuiCond)0; - ImGuiNative.igSetNextWindowSize(size, cond); - } - public static void SetNextWindowSize(Vector2 size, ImGuiCond cond) - { - ImGuiNative.igSetNextWindowSize(size, cond); - } - public static void SetNextWindowSizeConstraints(Vector2 size_min, Vector2 size_max) - { - ImGuiSizeCallback custom_callback = null; - void* custom_callback_data = null; - ImGuiNative.igSetNextWindowSizeConstraints(size_min, size_max, custom_callback, custom_callback_data); - } - public static void SetNextWindowSizeConstraints(Vector2 size_min, Vector2 size_max, ImGuiSizeCallback custom_callback) - { - void* custom_callback_data = null; - ImGuiNative.igSetNextWindowSizeConstraints(size_min, size_max, custom_callback, custom_callback_data); - } - public static void SetNextWindowSizeConstraints(Vector2 size_min, Vector2 size_max, ImGuiSizeCallback custom_callback, IntPtr custom_callback_data) - { - void* native_custom_callback_data = (void*)custom_callback_data.ToPointer(); - ImGuiNative.igSetNextWindowSizeConstraints(size_min, size_max, custom_callback, native_custom_callback_data); - } - public static void SetNextWindowViewport(uint viewport_id) - { - ImGuiNative.igSetNextWindowViewport(viewport_id); - } - public static void SetScrollFromPosX(float local_x) - { - float center_x_ratio = 0.5f; - ImGuiNative.igSetScrollFromPosX_Float(local_x, center_x_ratio); - } - public static void SetScrollFromPosX(float local_x, float center_x_ratio) - { - ImGuiNative.igSetScrollFromPosX_Float(local_x, center_x_ratio); - } - public static void SetScrollFromPosY(float local_y) - { - float center_y_ratio = 0.5f; - ImGuiNative.igSetScrollFromPosY_Float(local_y, center_y_ratio); - } - public static void SetScrollFromPosY(float local_y, float center_y_ratio) - { - ImGuiNative.igSetScrollFromPosY_Float(local_y, center_y_ratio); - } - public static void SetScrollHereX() - { - float center_x_ratio = 0.5f; - ImGuiNative.igSetScrollHereX(center_x_ratio); - } - public static void SetScrollHereX(float center_x_ratio) - { - ImGuiNative.igSetScrollHereX(center_x_ratio); - } - public static void SetScrollHereY() - { - float center_y_ratio = 0.5f; - ImGuiNative.igSetScrollHereY(center_y_ratio); - } - public static void SetScrollHereY(float center_y_ratio) - { - ImGuiNative.igSetScrollHereY(center_y_ratio); - } - public static void SetScrollX(float scroll_x) - { - ImGuiNative.igSetScrollX_Float(scroll_x); - } - public static void SetScrollY(float scroll_y) - { - ImGuiNative.igSetScrollY_Float(scroll_y); - } - public static void SetStateStorage(ImGuiStoragePtr storage) - { - ImGuiStorage* native_storage = storage.NativePtr; - ImGuiNative.igSetStateStorage(native_storage); + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igSliderInt2(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } } - public static void SetTabItemClosed(string tab_or_docked_window_label) +#endif + public static bool SliderInt2(string label, ref int v, int v_min, int v_max, string format, ImGuiSliderFlags flags) { - byte* native_tab_or_docked_window_label; - int tab_or_docked_window_label_byteCount = 0; - if (tab_or_docked_window_label != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - tab_or_docked_window_label_byteCount = Encoding.UTF8.GetByteCount(tab_or_docked_window_label); - if (tab_or_docked_window_label_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_tab_or_docked_window_label = Util.Allocate(tab_or_docked_window_label_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_tab_or_docked_window_label_stackBytes = stackalloc byte[tab_or_docked_window_label_byteCount + 1]; - native_tab_or_docked_window_label = native_tab_or_docked_window_label_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_tab_or_docked_window_label_offset = Util.GetUtf8(tab_or_docked_window_label, native_tab_or_docked_window_label, tab_or_docked_window_label_byteCount); - native_tab_or_docked_window_label[native_tab_or_docked_window_label_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_tab_or_docked_window_label = null; } - ImGuiNative.igSetTabItemClosed(native_tab_or_docked_window_label); - if (tab_or_docked_window_label_byteCount > Util.StackAllocationSizeLimit) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - Util.Free(native_tab_or_docked_window_label); + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igSliderInt2(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static void SetTooltip(string fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderInt3(ReadOnlySpan label, ref int v, int v_min, int v_max) { - byte* native_fmt; - int fmt_byteCount = 0; - if (fmt != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_fmt = Util.Allocate(fmt_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; - native_fmt = native_fmt_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); - native_fmt[native_fmt_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_fmt = null; } - ImGuiNative.igSetTooltip(native_fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) { - Util.Free(native_fmt); + byte ret = ImGuiNative.igSliderInt3(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static void SetWindowCollapsed(bool collapsed) +#endif + public static bool SliderInt3(string label, ref int v, int v_min, int v_max) { - byte native_collapsed = collapsed ? (byte)1 : (byte)0; - ImGuiCond cond = (ImGuiCond)0; - ImGuiNative.igSetWindowCollapsed_Bool(native_collapsed, cond); + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igSliderInt3(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } } - public static void SetWindowCollapsed(bool collapsed, ImGuiCond cond) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderInt3(ReadOnlySpan label, ref int v, int v_min, int v_max, ReadOnlySpan format) { - byte native_collapsed = collapsed ? (byte)1 : (byte)0; - ImGuiNative.igSetWindowCollapsed_Bool(native_collapsed, cond); + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igSliderInt3(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } } - public static void SetWindowCollapsed(string name, bool collapsed) +#endif + public static bool SliderInt3(string label, ref int v, int v_min, int v_max, string format) { - byte* native_name; - int name_byteCount = 0; - if (name != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - name_byteCount = Encoding.UTF8.GetByteCount(name); - if (name_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_name = Util.Allocate(name_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; - native_name = native_name_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); - native_name[native_name_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_name = null; } - byte native_collapsed = collapsed ? (byte)1 : (byte)0; - ImGuiCond cond = (ImGuiCond)0; - ImGuiNative.igSetWindowCollapsed_Str(native_name, native_collapsed, cond); - if (name_byteCount > Util.StackAllocationSizeLimit) + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) { - Util.Free(native_name); + byte ret = ImGuiNative.igSliderInt3(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static void SetWindowCollapsed(string name, bool collapsed, ImGuiCond cond) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderInt3(ReadOnlySpan label, ref int v, int v_min, int v_max, ReadOnlySpan format, ImGuiSliderFlags flags) { - byte* native_name; - int name_byteCount = 0; - if (name != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - name_byteCount = Encoding.UTF8.GetByteCount(name); - if (name_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_name = Util.Allocate(name_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; - native_name = native_name_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); - native_name[native_name_offset] = 0; - } - else { native_name = null; } - byte native_collapsed = collapsed ? (byte)1 : (byte)0; - ImGuiNative.igSetWindowCollapsed_Str(native_name, native_collapsed, cond); - if (name_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_name); + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - } - public static void SetWindowFocus() - { - ImGuiNative.igSetWindowFocus_Nil(); - } - public static void SetWindowFocus(string name) - { - byte* native_name; - int name_byteCount = 0; - if (name != null) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - name_byteCount = Encoding.UTF8.GetByteCount(name); - if (name_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_name = Util.Allocate(name_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; - native_name = native_name_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); - native_name[native_name_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_name = null; } - ImGuiNative.igSetWindowFocus_Str(native_name); - if (name_byteCount > Util.StackAllocationSizeLimit) + else { native_format = null; } + fixed (int* native_v = &v) { - Util.Free(native_name); + byte ret = ImGuiNative.igSliderInt3(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static void SetWindowFontScale(float scale) - { - ImGuiNative.igSetWindowFontScale(scale); - } - public static void SetWindowPos(Vector2 pos) - { - ImGuiCond cond = (ImGuiCond)0; - ImGuiNative.igSetWindowPos_Vec2(pos, cond); - } - public static void SetWindowPos(Vector2 pos, ImGuiCond cond) - { - ImGuiNative.igSetWindowPos_Vec2(pos, cond); - } - public static void SetWindowPos(string name, Vector2 pos) +#endif + public static bool SliderInt3(string label, ref int v, int v_min, int v_max, string format, ImGuiSliderFlags flags) { - byte* native_name; - int name_byteCount = 0; - if (name != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - name_byteCount = Encoding.UTF8.GetByteCount(name); - if (name_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_name = Util.Allocate(name_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; - native_name = native_name_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); - native_name[native_name_offset] = 0; - } - else { native_name = null; } - ImGuiCond cond = (ImGuiCond)0; - ImGuiNative.igSetWindowPos_Str(native_name, pos, cond); - if (name_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_name); + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - } - public static void SetWindowPos(string name, Vector2 pos, ImGuiCond cond) - { - byte* native_name; - int name_byteCount = 0; - if (name != null) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - name_byteCount = Encoding.UTF8.GetByteCount(name); - if (name_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_name = Util.Allocate(name_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; - native_name = native_name_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); - native_name[native_name_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_name = null; } - ImGuiNative.igSetWindowPos_Str(native_name, pos, cond); - if (name_byteCount > Util.StackAllocationSizeLimit) + else { native_format = null; } + fixed (int* native_v = &v) { - Util.Free(native_name); + byte ret = ImGuiNative.igSliderInt3(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static void SetWindowSize(Vector2 size) - { - ImGuiCond cond = (ImGuiCond)0; - ImGuiNative.igSetWindowSize_Vec2(size, cond); - } - public static void SetWindowSize(Vector2 size, ImGuiCond cond) - { - ImGuiNative.igSetWindowSize_Vec2(size, cond); - } - public static void SetWindowSize(string name, Vector2 size) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderInt4(ReadOnlySpan label, ref int v, int v_min, int v_max) { - byte* native_name; - int name_byteCount = 0; - if (name != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - name_byteCount = Encoding.UTF8.GetByteCount(name); - if (name_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_name = Util.Allocate(name_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; - native_name = native_name_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); - native_name[native_name_offset] = 0; - } - else { native_name = null; } - ImGuiCond cond = (ImGuiCond)0; - ImGuiNative.igSetWindowSize_Str(native_name, size, cond); - if (name_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_name); + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - } - public static void SetWindowSize(string name, Vector2 size, ImGuiCond cond) - { - byte* native_name; - int name_byteCount = 0; - if (name != null) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) { - name_byteCount = Encoding.UTF8.GetByteCount(name); - if (name_byteCount > Util.StackAllocationSizeLimit) + byte ret = ImGuiNative.igSliderInt4(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_name = Util.Allocate(name_byteCount + 1); + Util.Free(native_label); } - else + if (format_byteCount > Util.StackAllocationSizeLimit) { - byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; - native_name = native_name_stackBytes; + Util.Free(native_format); } - int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); - native_name[native_name_offset] = 0; - } - else { native_name = null; } - ImGuiNative.igSetWindowSize_Str(native_name, size, cond); - if (name_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_name); + return ret != 0; } } - public static void ShowAboutWindow() - { - byte* p_open = null; - ImGuiNative.igShowAboutWindow(p_open); - } - public static void ShowAboutWindow(ref bool p_open) - { - byte native_p_open_val = p_open ? (byte)1 : (byte)0; - byte* native_p_open = &native_p_open_val; - ImGuiNative.igShowAboutWindow(native_p_open); - p_open = native_p_open_val != 0; - } - public static void ShowDebugLogWindow() - { - byte* p_open = null; - ImGuiNative.igShowDebugLogWindow(p_open); - } - public static void ShowDebugLogWindow(ref bool p_open) - { - byte native_p_open_val = p_open ? (byte)1 : (byte)0; - byte* native_p_open = &native_p_open_val; - ImGuiNative.igShowDebugLogWindow(native_p_open); - p_open = native_p_open_val != 0; - } - public static void ShowDemoWindow() - { - byte* p_open = null; - ImGuiNative.igShowDemoWindow(p_open); - } - public static void ShowDemoWindow(ref bool p_open) - { - byte native_p_open_val = p_open ? (byte)1 : (byte)0; - byte* native_p_open = &native_p_open_val; - ImGuiNative.igShowDemoWindow(native_p_open); - p_open = native_p_open_val != 0; - } - public static void ShowFontSelector(string label) +#endif + public static bool SliderInt4(string label, ref int v, int v_min, int v_max) { byte* native_label; int label_byteCount = 0; @@ -11387,47 +24992,37 @@ public static void ShowFontSelector(string label) native_label[native_label_offset] = 0; } else { native_label = null; } - ImGuiNative.igShowFontSelector(native_label); - if (label_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) { - Util.Free(native_label); + byte ret = ImGuiNative.igSliderInt4(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static void ShowMetricsWindow() - { - byte* p_open = null; - ImGuiNative.igShowMetricsWindow(p_open); - } - public static void ShowMetricsWindow(ref bool p_open) - { - byte native_p_open_val = p_open ? (byte)1 : (byte)0; - byte* native_p_open = &native_p_open_val; - ImGuiNative.igShowMetricsWindow(native_p_open); - p_open = native_p_open_val != 0; - } - public static void ShowStackToolWindow() - { - byte* p_open = null; - ImGuiNative.igShowStackToolWindow(p_open); - } - public static void ShowStackToolWindow(ref bool p_open) - { - byte native_p_open_val = p_open ? (byte)1 : (byte)0; - byte* native_p_open = &native_p_open_val; - ImGuiNative.igShowStackToolWindow(native_p_open); - p_open = native_p_open_val != 0; - } - public static void ShowStyleEditor() - { - ImGuiStyle* @ref = null; - ImGuiNative.igShowStyleEditor(@ref); - } - public static void ShowStyleEditor(ImGuiStylePtr @ref) - { - ImGuiStyle* native_ref = @ref.NativePtr; - ImGuiNative.igShowStyleEditor(native_ref); - } - public static bool ShowStyleSelector(string label) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderInt4(ReadOnlySpan label, ref int v, int v_min, int v_max, ReadOnlySpan format) { byte* native_label; int label_byteCount = 0; @@ -11447,18 +25042,41 @@ public static bool ShowStyleSelector(string label) native_label[native_label_offset] = 0; } else { native_label = null; } - byte ret = ImGuiNative.igShowStyleSelector(native_label); - if (label_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - Util.Free(native_label); + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) + { + byte ret = ImGuiNative.igSliderInt4(native_label, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; - } - public static void ShowUserGuide() - { - ImGuiNative.igShowUserGuide(); } - public static bool SliderAngle(string label, ref float v_rad) +#endif + public static bool SliderInt4(string label, ref int v, int v_min, int v_max, string format) { byte* native_label; int label_byteCount = 0; @@ -11478,11 +25096,11 @@ public static bool SliderAngle(string label, ref float v_rad) native_label[native_label_offset] = 0; } else { native_label = null; } - float v_degrees_min = -360.0f; - float v_degrees_max = +360.0f; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.0f deg"); + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -11492,12 +25110,14 @@ public static bool SliderAngle(string label, ref float v_rad) byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%.0f deg", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); native_format[native_format_offset] = 0; + } + else { native_format = null; } ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v_rad = &v_rad) + fixed (int* native_v = &v) { - byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); + byte ret = ImGuiNative.igSliderInt4(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -11509,7 +25129,8 @@ public static bool SliderAngle(string label, ref float v_rad) return ret != 0; } } - public static bool SliderAngle(string label, ref float v_rad, float v_degrees_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderInt4(ReadOnlySpan label, ref int v, int v_min, int v_max, ReadOnlySpan format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -11529,10 +25150,11 @@ public static bool SliderAngle(string label, ref float v_rad, float v_degrees_mi native_label[native_label_offset] = 0; } else { native_label = null; } - float v_degrees_max = +360.0f; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.0f deg"); + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -11542,12 +25164,13 @@ public static bool SliderAngle(string label, ref float v_rad, float v_degrees_mi byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%.0f deg", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v_rad = &v_rad) + } + else { native_format = null; } + fixed (int* native_v = &v) { - byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); + byte ret = ImGuiNative.igSliderInt4(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -11559,7 +25182,8 @@ public static bool SliderAngle(string label, ref float v_rad, float v_degrees_mi return ret != 0; } } - public static bool SliderAngle(string label, ref float v_rad, float v_degrees_min, float v_degrees_max) +#endif + public static bool SliderInt4(string label, ref int v, int v_min, int v_max, string format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -11581,7 +25205,9 @@ public static bool SliderAngle(string label, ref float v_rad, float v_degrees_mi else { native_label = null; } byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.0f deg"); + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -11591,12 +25217,13 @@ public static bool SliderAngle(string label, ref float v_rad, float v_degrees_mi byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%.0f deg", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v_rad = &v_rad) + } + else { native_format = null; } + fixed (int* native_v = &v) { - byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); + byte ret = ImGuiNative.igSliderInt4(native_label, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -11608,7 +25235,74 @@ public static bool SliderAngle(string label, ref float v_rad, float v_degrees_mi return ret != 0; } } - public static bool SliderAngle(string label, ref float v_rad, float v_degrees_min, float v_degrees_max, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igSliderScalar(native_label, data_type, native_p_data, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool SliderScalar(string label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igSliderScalar(native_label, data_type, native_p_data, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max, ReadOnlySpan format) { byte* native_label; int label_byteCount = 0; @@ -11628,6 +25322,9 @@ public static bool SliderAngle(string label, ref float v_rad, float v_degrees_mi native_label[native_label_offset] = 0; } else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); byte* native_format; int format_byteCount = 0; if (format != null) @@ -11647,21 +25344,19 @@ public static bool SliderAngle(string label, ref float v_rad, float v_degrees_mi } else { native_format = null; } ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v_rad = &v_rad) + byte ret = ImGuiNative.igSliderScalar(native_label, data_type, native_p_data, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); } + return ret != 0; } - public static bool SliderAngle(string label, ref float v_rad, float v_degrees_min, float v_degrees_max, string format, ImGuiSliderFlags flags) +#endif + public static bool SliderScalar(string label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max, string format) { byte* native_label; int label_byteCount = 0; @@ -11681,6 +25376,9 @@ public static bool SliderAngle(string label, ref float v_rad, float v_degrees_mi native_label[native_label_offset] = 0; } else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); byte* native_format; int format_byteCount = 0; if (format != null) @@ -11699,21 +25397,20 @@ public static bool SliderAngle(string label, ref float v_rad, float v_degrees_mi native_format[native_format_offset] = 0; } else { native_format = null; } - fixed (float* native_v_rad = &v_rad) + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igSliderScalar(native_label, data_type, native_p_data, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderAngle(native_label, native_v_rad, v_degrees_min, v_degrees_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - public static bool SliderFloat(string label, ref float v, float v_min, float v_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max, ReadOnlySpan format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -11733,9 +25430,14 @@ public static bool SliderFloat(string label, ref float v, float v_min, float v_m native_label[native_label_offset] = 0; } else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -11745,24 +25447,23 @@ public static bool SliderFloat(string label, ref float v, float v_min, float v_m byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v = &v) + } + else { native_format = null; } + byte ret = ImGuiNative.igSliderScalar(native_label, data_type, native_p_data, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderFloat(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - public static bool SliderFloat(string label, ref float v, float v_min, float v_max, string format) +#endif + public static bool SliderScalar(string label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max, string format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -11782,6 +25483,9 @@ public static bool SliderFloat(string label, ref float v, float v_min, float v_m native_label[native_label_offset] = 0; } else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); byte* native_format; int format_byteCount = 0; if (format != null) @@ -11800,22 +25504,19 @@ public static bool SliderFloat(string label, ref float v, float v_min, float v_m native_format[native_format_offset] = 0; } else { native_format = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v = &v) + byte ret = ImGuiNative.igSliderScalar(native_label, data_type, native_p_data, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderFloat(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); } + return ret != 0; } - public static bool SliderFloat(string label, ref float v, float v_min, float v_max, string format, ImGuiSliderFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_min, IntPtr p_max) { byte* native_label; int label_byteCount = 0; @@ -11835,39 +25536,20 @@ public static bool SliderFloat(string label, ref float v, float v_min, float v_m native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - fixed (float* native_v = &v) + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igSliderScalarN(native_label, data_type, native_p_data, components, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderFloat(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool SliderFloat2(string label, ref Vector2 v, float v_min, float v_max) +#endif + public static bool SliderScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_min, IntPtr p_max) { byte* native_label; int label_byteCount = 0; @@ -11887,36 +25569,20 @@ public static bool SliderFloat2(string label, ref Vector2 v, float v_min, float native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format = null; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector2* native_v = &v) + byte ret = ImGuiNative.igSliderScalarN(native_label, data_type, native_p_data, components, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderFloat2(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } + return ret != 0; } - public static bool SliderFloat2(string label, ref Vector2 v, float v_min, float v_max, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_min, IntPtr p_max, ReadOnlySpan format) { byte* native_label; int label_byteCount = 0; @@ -11936,6 +25602,9 @@ public static bool SliderFloat2(string label, ref Vector2 v, float v_min, float native_label[native_label_offset] = 0; } else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); byte* native_format; int format_byteCount = 0; if (format != null) @@ -11955,21 +25624,19 @@ public static bool SliderFloat2(string label, ref Vector2 v, float v_min, float } else { native_format = null; } ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector2* native_v = &v) + byte ret = ImGuiNative.igSliderScalarN(native_label, data_type, native_p_data, components, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderFloat2(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); } + return ret != 0; } - public static bool SliderFloat2(string label, ref Vector2 v, float v_min, float v_max, string format, ImGuiSliderFlags flags) +#endif + public static bool SliderScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_min, IntPtr p_max, string format) { byte* native_label; int label_byteCount = 0; @@ -11989,6 +25656,9 @@ public static bool SliderFloat2(string label, ref Vector2 v, float v_min, float native_label[native_label_offset] = 0; } else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); byte* native_format; int format_byteCount = 0; if (format != null) @@ -12007,21 +25677,20 @@ public static bool SliderFloat2(string label, ref Vector2 v, float v_min, float native_format[native_format_offset] = 0; } else { native_format = null; } - fixed (Vector2* native_v = &v) + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igSliderScalarN(native_label, data_type, native_p_data, components, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderFloat2(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); } + return ret != 0; } - public static bool SliderFloat3(string label, ref Vector3 v, float v_min, float v_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_min, IntPtr p_max, ReadOnlySpan format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -12041,9 +25710,14 @@ public static bool SliderFloat3(string label, ref Vector3 v, float v_min, float native_label[native_label_offset] = 0; } else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -12053,24 +25727,23 @@ public static bool SliderFloat3(string label, ref Vector3 v, float v_min, float byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector3* native_v = &v) - { - byte ret = ImGuiNative.igSliderFloat3(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; } + else { native_format = null; } + byte ret = ImGuiNative.igSliderScalarN(native_label, data_type, native_p_data, components, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - public static bool SliderFloat3(string label, ref Vector3 v, float v_min, float v_max, string format) +#endif + public static bool SliderScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_min, IntPtr p_max, string format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -12090,6 +25763,9 @@ public static bool SliderFloat3(string label, ref Vector3 v, float v_min, float native_label[native_label_offset] = 0; } else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); byte* native_format; int format_byteCount = 0; if (format != null) @@ -12108,22 +25784,47 @@ public static bool SliderFloat3(string label, ref Vector3 v, float v_min, float native_format[native_format_offset] = 0; } else { native_format = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector3* native_v = &v) + byte ret = ImGuiNative.igSliderScalarN(native_label, data_type, native_p_data, components, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderFloat3(native_label, native_v, v_min, v_max, native_format, flags); + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool SmallButton(ReadOnlySpan label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); if (label_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_label = Util.Allocate(label_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - return ret != 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte ret = ImGuiNative.igSmallButton(native_label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); } + return ret != 0; } - public static bool SliderFloat3(string label, ref Vector3 v, float v_min, float v_max, string format, ImGuiSliderFlags flags) +#endif + public static bool SmallButton(string label) { byte* native_label; int label_byteCount = 0; @@ -12143,39 +25844,107 @@ public static bool SliderFloat3(string label, ref Vector3 v, float v_min, float native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) + byte ret = ImGuiNative.igSmallButton(native_label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_label); + } + return ret != 0; + } + public static void Spacing() + { + ImGuiNative.igSpacing(); + } + public static void StyleColorsClassic() + { + ImGuiStyle* dst = null; + ImGuiNative.igStyleColorsClassic(dst); + } + public static void StyleColorsClassic(ImGuiStylePtr dst) + { + ImGuiStyle* native_dst = dst.NativePtr; + ImGuiNative.igStyleColorsClassic(native_dst); + } + public static void StyleColorsDark() + { + ImGuiStyle* dst = null; + ImGuiNative.igStyleColorsDark(dst); + } + public static void StyleColorsDark(ImGuiStylePtr dst) + { + ImGuiStyle* native_dst = dst.NativePtr; + ImGuiNative.igStyleColorsDark(native_dst); + } + public static void StyleColorsLight() + { + ImGuiStyle* dst = null; + ImGuiNative.igStyleColorsLight(dst); + } + public static void StyleColorsLight(ImGuiStylePtr dst) + { + ImGuiStyle* native_dst = dst.NativePtr; + ImGuiNative.igStyleColorsLight(native_dst); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool TabItemButton(ReadOnlySpan label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_format = null; } - fixed (Vector3* native_v = &v) + else { native_label = null; } + ImGuiTabItemFlags flags = (ImGuiTabItemFlags)0; + byte ret = ImGuiNative.igTabItemButton(native_label, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderFloat3(native_label, native_v, v_min, v_max, native_format, flags); + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool TabItemButton(string label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); if (label_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_label = Util.Allocate(label_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - return ret != 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImGuiTabItemFlags flags = (ImGuiTabItemFlags)0; + byte ret = ImGuiNative.igTabItemButton(native_label, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); } + return ret != 0; } - public static bool SliderFloat4(string label, ref Vector4 v, float v_min, float v_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool TabItemButton(ReadOnlySpan label, ImGuiTabItemFlags flags) { byte* native_label; int label_byteCount = 0; @@ -12195,36 +25964,121 @@ public static bool SliderFloat4(string label, ref Vector4 v, float v_min, float native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); - if (format_byteCount > Util.StackAllocationSizeLimit) + byte ret = ImGuiNative.igTabItemButton(native_label, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif + public static bool TabItemButton(string label, ImGuiTabItemFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector4* native_v = &v) + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte ret = ImGuiNative.igTabItemButton(native_label, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderFloat4(native_label, native_v, v_min, v_max, native_format, flags); + Util.Free(native_label); + } + return ret != 0; + } + public static void TableAngledHeadersRow() + { + ImGuiNative.igTableAngledHeadersRow(); + } + public static int TableGetColumnCount() + { + int ret = ImGuiNative.igTableGetColumnCount(); + return ret; + } + public static ImGuiTableColumnFlags TableGetColumnFlags() + { + int column_n = -1; + ImGuiTableColumnFlags ret = ImGuiNative.igTableGetColumnFlags(column_n); + return ret; + } + public static ImGuiTableColumnFlags TableGetColumnFlags(int column_n) + { + ImGuiTableColumnFlags ret = ImGuiNative.igTableGetColumnFlags(column_n); + return ret; + } + public static int TableGetColumnIndex() + { + int ret = ImGuiNative.igTableGetColumnIndex(); + return ret; + } + public static string TableGetColumnName() + { + int column_n = -1; + byte* ret = ImGuiNative.igTableGetColumnName_Int(column_n); + return Util.StringFromPtr(ret); + } + public static string TableGetColumnName(int column_n) + { + byte* ret = ImGuiNative.igTableGetColumnName_Int(column_n); + return Util.StringFromPtr(ret); + } + public static int TableGetHoveredColumn() + { + int ret = ImGuiNative.igTableGetHoveredColumn(); + return ret; + } + public static int TableGetRowIndex() + { + int ret = ImGuiNative.igTableGetRowIndex(); + return ret; + } + public static ImGuiTableSortSpecsPtr TableGetSortSpecs() + { + ImGuiTableSortSpecs* ret = ImGuiNative.igTableGetSortSpecs(); + return new ImGuiTableSortSpecsPtr(ret); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void TableHeader(ReadOnlySpan label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); if (label_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_label = Util.Allocate(label_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - return ret != 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImGuiNative.igTableHeader(native_label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); } } - public static bool SliderFloat4(string label, ref Vector4 v, float v_min, float v_max, string format) +#endif + public static void TableHeader(string label) { byte* native_label; int label_byteCount = 0; @@ -12244,40 +26098,57 @@ public static bool SliderFloat4(string label, ref Vector4 v, float v_min, float native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (Vector4* native_v = &v) + ImGuiNative.igTableHeader(native_label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderFloat4(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } } - public static bool SliderFloat4(string label, ref Vector4 v, float v_min, float v_max, string format, ImGuiSliderFlags flags) + public static void TableHeadersRow() + { + ImGuiNative.igTableHeadersRow(); + } + public static bool TableNextColumn() + { + byte ret = ImGuiNative.igTableNextColumn(); + return ret != 0; + } + public static void TableNextRow() + { + ImGuiTableRowFlags row_flags = (ImGuiTableRowFlags)0; + float min_row_height = 0.0f; + ImGuiNative.igTableNextRow(row_flags, min_row_height); + } + public static void TableNextRow(ImGuiTableRowFlags row_flags) + { + float min_row_height = 0.0f; + ImGuiNative.igTableNextRow(row_flags, min_row_height); + } + public static void TableNextRow(ImGuiTableRowFlags row_flags, float min_row_height) + { + ImGuiNative.igTableNextRow(row_flags, min_row_height); + } + public static void TableSetBgColor(ImGuiTableBgTarget target, uint color) + { + int column_n = -1; + ImGuiNative.igTableSetBgColor(target, color, column_n); + } + public static void TableSetBgColor(ImGuiTableBgTarget target, uint color, int column_n) + { + ImGuiNative.igTableSetBgColor(target, color, column_n); + } + public static void TableSetColumnEnabled(int column_n, bool v) + { + byte native_v = v ? (byte)1 : (byte)0; + ImGuiNative.igTableSetColumnEnabled(column_n, native_v); + } + public static bool TableSetColumnIndex(int column_n) + { + byte ret = ImGuiNative.igTableSetColumnIndex(column_n); + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void TableSetupColumn(ReadOnlySpan label) { byte* native_label; int label_byteCount = 0; @@ -12297,39 +26168,17 @@ public static bool SliderFloat4(string label, ref Vector4 v, float v_min, float native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - fixed (Vector4* native_v = &v) + ImGuiTableColumnFlags flags = (ImGuiTableColumnFlags)0; + float init_width_or_weight = 0.0f; + uint user_id = 0; + ImGuiNative.igTableSetupColumn(native_label, flags, init_width_or_weight, user_id); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderFloat4(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } } - public static bool SliderInt(string label, ref int v, int v_min, int v_max) +#endif + public static void TableSetupColumn(string label) { byte* native_label; int label_byteCount = 0; @@ -12349,36 +26198,17 @@ public static bool SliderInt(string label, ref int v, int v_min, int v_max) native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + ImGuiTableColumnFlags flags = (ImGuiTableColumnFlags)0; + float init_width_or_weight = 0.0f; + uint user_id = 0; + ImGuiNative.igTableSetupColumn(native_label, flags, init_width_or_weight, user_id); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderInt(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } } - public static bool SliderInt(string label, ref int v, int v_min, int v_max, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void TableSetupColumn(ReadOnlySpan label, ImGuiTableColumnFlags flags) { byte* native_label; int label_byteCount = 0; @@ -12398,40 +26228,16 @@ public static bool SliderInt(string label, ref int v, int v_min, int v_max, stri native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + float init_width_or_weight = 0.0f; + uint user_id = 0; + ImGuiNative.igTableSetupColumn(native_label, flags, init_width_or_weight, user_id); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderInt(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } } - public static bool SliderInt(string label, ref int v, int v_min, int v_max, string format, ImGuiSliderFlags flags) +#endif + public static void TableSetupColumn(string label, ImGuiTableColumnFlags flags) { byte* native_label; int label_byteCount = 0; @@ -12451,39 +26257,16 @@ public static bool SliderInt(string label, ref int v, int v_min, int v_max, stri native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - fixed (int* native_v = &v) + float init_width_or_weight = 0.0f; + uint user_id = 0; + ImGuiNative.igTableSetupColumn(native_label, flags, init_width_or_weight, user_id); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderInt(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } } - public static bool SliderInt2(string label, ref int v, int v_min, int v_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void TableSetupColumn(ReadOnlySpan label, ImGuiTableColumnFlags flags, float init_width_or_weight) { byte* native_label; int label_byteCount = 0; @@ -12500,39 +26283,18 @@ public static bool SliderInt2(string label, ref int v, int v_min, int v_max) native_label = native_label_stackBytes; } int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; - } - else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) - { - byte ret = ImGuiNative.igSliderInt2(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + native_label[native_label_offset] = 0; + } + else { native_label = null; } + uint user_id = 0; + ImGuiNative.igTableSetupColumn(native_label, flags, init_width_or_weight, user_id); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); } } - public static bool SliderInt2(string label, ref int v, int v_min, int v_max, string format) +#endif + public static void TableSetupColumn(string label, ImGuiTableColumnFlags flags, float init_width_or_weight) { byte* native_label; int label_byteCount = 0; @@ -12552,40 +26314,15 @@ public static bool SliderInt2(string label, ref int v, int v_min, int v_max, str native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + uint user_id = 0; + ImGuiNative.igTableSetupColumn(native_label, flags, init_width_or_weight, user_id); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderInt2(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } } - public static bool SliderInt2(string label, ref int v, int v_min, int v_max, string format, ImGuiSliderFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void TableSetupColumn(ReadOnlySpan label, ImGuiTableColumnFlags flags, float init_width_or_weight, uint user_id) { byte* native_label; int label_byteCount = 0; @@ -12605,39 +26342,14 @@ public static bool SliderInt2(string label, ref int v, int v_min, int v_max, str native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - fixed (int* native_v = &v) + ImGuiNative.igTableSetupColumn(native_label, flags, init_width_or_weight, user_id); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderInt2(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); } } - public static bool SliderInt3(string label, ref int v, int v_min, int v_max) +#endif + public static void TableSetupColumn(string label, ImGuiTableColumnFlags flags, float init_width_or_weight, uint user_id) { byte* native_label; int label_byteCount = 0; @@ -12657,89 +26369,180 @@ public static bool SliderInt3(string label, ref int v, int v_min, int v_max) native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); - if (format_byteCount > Util.StackAllocationSizeLimit) + ImGuiNative.igTableSetupColumn(native_label, flags, init_width_or_weight, user_id); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + } + public static void TableSetupScrollFreeze(int cols, int rows) + { + ImGuiNative.igTableSetupScrollFreeze(cols, rows); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void Text(ReadOnlySpan fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_fmt = Util.Allocate(fmt_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImGuiNative.igText(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderInt3(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_fmt); + } + } +#endif + public static void Text(string fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_fmt = Util.Allocate(fmt_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - return ret != 0; + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImGuiNative.igText(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); } } - public static bool SliderInt3(string label, ref int v, int v_min, int v_max, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void TextColored(Vector4 col, ReadOnlySpan fmt) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_fmt = Util.Allocate(fmt_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; } - else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) + else { native_fmt = null; } + ImGuiNative.igTextColored(col, native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_fmt); + } + } +#endif + public static void TextColored(Vector4 col, string fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_fmt = Util.Allocate(fmt_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; } - else { native_format = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + else { native_fmt = null; } + ImGuiNative.igTextColored(col, native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderInt3(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_fmt); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void TextDisabled(ReadOnlySpan fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_fmt = Util.Allocate(fmt_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - return ret != 0; + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImGuiNative.igTextDisabled(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + } +#endif + public static void TextDisabled(string fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImGuiNative.igTextDisabled(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); } } - public static bool SliderInt3(string label, ref int v, int v_min, int v_max, string format, ImGuiSliderFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool TextLink(ReadOnlySpan label) { byte* native_label; int label_byteCount = 0; @@ -12759,39 +26562,43 @@ public static bool SliderInt3(string label, ref int v, int v_min, int v_max, str native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) + byte ret = ImGuiNative.igTextLink(native_label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + Util.Free(native_label); } - else { native_format = null; } - fixed (int* native_v = &v) + return ret != 0; + } +#endif + public static bool TextLink(string label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) { - byte ret = ImGuiNative.igSliderInt3(native_label, native_v, v_min, v_max, native_format, flags); + label_byteCount = Encoding.UTF8.GetByteCount(label); if (label_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_label = Util.Allocate(label_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - return ret != 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte ret = ImGuiNative.igTextLink(native_label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); } + return ret != 0; } - public static bool SliderInt4(string label, ref int v, int v_min, int v_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void TextLinkOpenURL(ReadOnlySpan label) { byte* native_label; int label_byteCount = 0; @@ -12811,36 +26618,43 @@ public static bool SliderInt4(string label, ref int v, int v_min, int v_max) native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); - native_format[native_format_offset] = 0; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + byte* native_url = null; + ImGuiNative.igTextLinkOpenURL(native_label, native_url); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderInt4(native_label, native_v, v_min, v_max, native_format, flags); + Util.Free(native_label); + } + } +#endif + public static void TextLinkOpenURL(string label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); if (label_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_label = Util.Allocate(label_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - return ret != 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_url = null; + ImGuiNative.igTextLinkOpenURL(native_label, native_url); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); } } - public static bool SliderInt4(string label, ref int v, int v_min, int v_max, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void TextLinkOpenURL(ReadOnlySpan label, ReadOnlySpan url) { byte* native_label; int label_byteCount = 0; @@ -12860,40 +26674,36 @@ public static bool SliderInt4(string label, ref int v, int v_min, int v_max, str native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) + byte* native_url; + int url_byteCount = 0; + if (url != null) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + url_byteCount = Encoding.UTF8.GetByteCount(url); + if (url_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_url = Util.Allocate(url_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_url_stackBytes = stackalloc byte[url_byteCount + 1]; + native_url = native_url_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + int native_url_offset = Util.GetUtf8(url, native_url, url_byteCount); + native_url[native_url_offset] = 0; } - else { native_format = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (int* native_v = &v) + else { native_url = null; } + ImGuiNative.igTextLinkOpenURL(native_label, native_url); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderInt4(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); + } + if (url_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_url); } } - public static bool SliderInt4(string label, ref int v, int v_min, int v_max, string format, ImGuiSliderFlags flags) +#endif + public static void TextLinkOpenURL(string label, string url) { byte* native_label; int label_byteCount = 0; @@ -12913,124 +26723,144 @@ public static bool SliderInt4(string label, ref int v, int v_min, int v_max, str native_label[native_label_offset] = 0; } else { native_label = null; } - byte* native_format; - int format_byteCount = 0; - if (format != null) + byte* native_url; + int url_byteCount = 0; + if (url != null) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + url_byteCount = Encoding.UTF8.GetByteCount(url); + if (url_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_url = Util.Allocate(url_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_url_stackBytes = stackalloc byte[url_byteCount + 1]; + native_url = native_url_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + int native_url_offset = Util.GetUtf8(url, native_url, url_byteCount); + native_url[native_url_offset] = 0; } - else { native_format = null; } - fixed (int* native_v = &v) + else { native_url = null; } + ImGuiNative.igTextLinkOpenURL(native_label, native_url); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImGuiNative.igSliderInt4(native_label, native_v, v_min, v_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_label); + } + if (url_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_url); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void TextUnformatted(ReadOnlySpan text) + { + byte* native_text; + int text_byteCount = 0; + if (text != null) + { + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + native_text = Util.Allocate(text_byteCount + 1); } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_format); + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; } - return ret != 0; + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + ImGuiNative.igTextUnformatted(native_text, native_text+text_byteCount); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text); } } - public static bool SliderScalar(string label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max) +#endif + public static void TextUnformatted(string text) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_text; + int text_byteCount = 0; + if (text != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_text = Util.Allocate(text_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; } - else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_min = (void*)p_min.ToPointer(); - void* native_p_max = (void*)p_max.ToPointer(); - byte* native_format = null; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - byte ret = ImGuiNative.igSliderScalar(native_label, data_type, native_p_data, native_p_min, native_p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_text = null; } + ImGuiNative.igTextUnformatted(native_text, native_text+text_byteCount); + if (text_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_text); } - return ret != 0; } - public static bool SliderScalar(string label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void TextWrapped(ReadOnlySpan fmt) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_fmt = Util.Allocate(fmt_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; } - else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_min = (void*)p_min.ToPointer(); - void* native_p_max = (void*)p_max.ToPointer(); - byte* native_format; - int format_byteCount = 0; - if (format != null) + else { native_fmt = null; } + ImGuiNative.igTextWrapped(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + Util.Free(native_fmt); + } + } +#endif + public static void TextWrapped(string fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_fmt = Util.Allocate(fmt_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - byte ret = ImGuiNative.igSliderScalar(native_label, data_type, native_p_data, native_p_min, native_p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; } - if (format_byteCount > Util.StackAllocationSizeLimit) + else { native_fmt = null; } + ImGuiNative.igTextWrapped(native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_format); + Util.Free(native_fmt); } - return ret != 0; } - public static bool SliderScalar(string label, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max, string format, ImGuiSliderFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool TreeNode(ReadOnlySpan label) { byte* native_label; int label_byteCount = 0; @@ -13050,39 +26880,15 @@ public static bool SliderScalar(string label, ImGuiDataType data_type, IntPtr p_ native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_min = (void*)p_min.ToPointer(); - void* native_p_max = (void*)p_max.ToPointer(); - byte* native_format; - int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) - { - native_format = Util.Allocate(format_byteCount + 1); - } - else - { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; - } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; - } - else { native_format = null; } - byte ret = ImGuiNative.igSliderScalar(native_label, data_type, native_p_data, native_p_min, native_p_max, native_format, flags); + byte ret = ImGuiNative.igTreeNode_Str(native_label); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } return ret != 0; } - public static bool SliderScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_min, IntPtr p_max) +#endif + public static bool TreeNode(string label) { byte* native_label; int label_byteCount = 0; @@ -13102,124 +26908,173 @@ public static bool SliderScalarN(string label, ImGuiDataType data_type, IntPtr p native_label[native_label_offset] = 0; } else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_min = (void*)p_min.ToPointer(); - void* native_p_max = (void*)p_max.ToPointer(); - byte* native_format = null; - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - byte ret = ImGuiNative.igSliderScalarN(native_label, data_type, native_p_data, components, native_p_min, native_p_max, native_format, flags); + byte ret = ImGuiNative.igTreeNode_Str(native_label); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } return ret != 0; } - public static bool SliderScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_min, IntPtr p_max, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool TreeNode(ReadOnlySpan str_id, ReadOnlySpan fmt) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_min = (void*)p_min.ToPointer(); - void* native_p_max = (void*)p_max.ToPointer(); - byte* native_format; - int format_byteCount = 0; - if (format != null) + else { native_str_id = null; } + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_fmt = Util.Allocate(fmt_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; } - else { native_format = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - byte ret = ImGuiNative.igSliderScalarN(native_label, data_type, native_p_data, components, native_p_min, native_p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_fmt = null; } + byte ret = ImGuiNative.igTreeNode_StrStr(native_str_id, native_fmt); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_str_id); } - if (format_byteCount > Util.StackAllocationSizeLimit) + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_format); + Util.Free(native_fmt); } return ret != 0; } - public static bool SliderScalarN(string label, ImGuiDataType data_type, IntPtr p_data, int components, IntPtr p_min, IntPtr p_max, string format, ImGuiSliderFlags flags) +#endif + public static bool TreeNode(string str_id, string fmt) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_label = null; } - void* native_p_data = (void*)p_data.ToPointer(); - void* native_p_min = (void*)p_min.ToPointer(); - void* native_p_max = (void*)p_max.ToPointer(); - byte* native_format; - int format_byteCount = 0; - if (format != null) + else { native_str_id = null; } + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) { - format_byteCount = Encoding.UTF8.GetByteCount(format); - if (format_byteCount > Util.StackAllocationSizeLimit) + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - native_format = Util.Allocate(format_byteCount + 1); + native_fmt = Util.Allocate(fmt_byteCount + 1); } else { - byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; - native_format = native_format_stackBytes; + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); - native_format[native_format_offset] = 0; + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; } - else { native_format = null; } - byte ret = ImGuiNative.igSliderScalarN(native_label, data_type, native_p_data, components, native_p_min, native_p_max, native_format, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_fmt = null; } + byte ret = ImGuiNative.igTreeNode_StrStr(native_str_id, native_fmt); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_str_id); } - if (format_byteCount > Util.StackAllocationSizeLimit) + if (fmt_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_format); + Util.Free(native_fmt); } return ret != 0; } - public static bool SmallButton(string label) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool TreeNode(IntPtr ptr_id, ReadOnlySpan fmt) + { + void* native_ptr_id = (void*)ptr_id.ToPointer(); + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + byte ret = ImGuiNative.igTreeNode_Ptr(native_ptr_id, native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + return ret != 0; + } +#endif + public static bool TreeNode(IntPtr ptr_id, string fmt) + { + void* native_ptr_id = (void*)ptr_id.ToPointer(); + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + byte ret = ImGuiNative.igTreeNode_Ptr(native_ptr_id, native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool TreeNodeEx(ReadOnlySpan label) { byte* native_label; int label_byteCount = 0; @@ -13239,48 +27094,45 @@ public static bool SmallButton(string label) native_label[native_label_offset] = 0; } else { native_label = null; } - byte ret = ImGuiNative.igSmallButton(native_label); + ImGuiTreeNodeFlags flags = (ImGuiTreeNodeFlags)0; + byte ret = ImGuiNative.igTreeNodeEx_Str(native_label, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } return ret != 0; } - public static void Spacing() - { - ImGuiNative.igSpacing(); - } - public static void StyleColorsClassic() - { - ImGuiStyle* dst = null; - ImGuiNative.igStyleColorsClassic(dst); - } - public static void StyleColorsClassic(ImGuiStylePtr dst) - { - ImGuiStyle* native_dst = dst.NativePtr; - ImGuiNative.igStyleColorsClassic(native_dst); - } - public static void StyleColorsDark() - { - ImGuiStyle* dst = null; - ImGuiNative.igStyleColorsDark(dst); - } - public static void StyleColorsDark(ImGuiStylePtr dst) - { - ImGuiStyle* native_dst = dst.NativePtr; - ImGuiNative.igStyleColorsDark(native_dst); - } - public static void StyleColorsLight() - { - ImGuiStyle* dst = null; - ImGuiNative.igStyleColorsLight(dst); - } - public static void StyleColorsLight(ImGuiStylePtr dst) +#endif + public static bool TreeNodeEx(string label) { - ImGuiStyle* native_dst = dst.NativePtr; - ImGuiNative.igStyleColorsLight(native_dst); + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImGuiTreeNodeFlags flags = (ImGuiTreeNodeFlags)0; + byte ret = ImGuiNative.igTreeNodeEx_Str(native_label, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; } - public static bool TabItemButton(string label) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool TreeNodeEx(ReadOnlySpan label, ImGuiTreeNodeFlags flags) { byte* native_label; int label_byteCount = 0; @@ -13300,15 +27152,15 @@ public static bool TabItemButton(string label) native_label[native_label_offset] = 0; } else { native_label = null; } - ImGuiTabItemFlags flags = (ImGuiTabItemFlags)0; - byte ret = ImGuiNative.igTabItemButton(native_label, flags); + byte ret = ImGuiNative.igTreeNodeEx_Str(native_label, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } return ret != 0; } - public static bool TabItemButton(string label, ImGuiTabItemFlags flags) +#endif + public static bool TreeNodeEx(string label, ImGuiTreeNodeFlags flags) { byte* native_label; int label_byteCount = 0; @@ -13328,370 +27180,567 @@ public static bool TabItemButton(string label, ImGuiTabItemFlags flags) native_label[native_label_offset] = 0; } else { native_label = null; } - byte ret = ImGuiNative.igTabItemButton(native_label, flags); + byte ret = ImGuiNative.igTreeNodeEx_Str(native_label, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); } return ret != 0; } - public static int TableGetColumnCount() - { - int ret = ImGuiNative.igTableGetColumnCount(); - return ret; - } - public static ImGuiTableColumnFlags TableGetColumnFlags() - { - int column_n = -1; - ImGuiTableColumnFlags ret = ImGuiNative.igTableGetColumnFlags(column_n); - return ret; - } - public static ImGuiTableColumnFlags TableGetColumnFlags(int column_n) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool TreeNodeEx(ReadOnlySpan str_id, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt) { - ImGuiTableColumnFlags ret = ImGuiNative.igTableGetColumnFlags(column_n); - return ret; + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + byte ret = ImGuiNative.igTreeNodeEx_StrStr(native_str_id, flags, native_fmt); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + return ret != 0; } - public static int TableGetColumnIndex() +#endif + public static bool TreeNodeEx(string str_id, ImGuiTreeNodeFlags flags, string fmt) { - int ret = ImGuiNative.igTableGetColumnIndex(); - return ret; + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + byte ret = ImGuiNative.igTreeNodeEx_StrStr(native_str_id, flags, native_fmt); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + return ret != 0; } - public static string TableGetColumnName() +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool TreeNodeEx(IntPtr ptr_id, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt) { - int column_n = -1; - byte* ret = ImGuiNative.igTableGetColumnName_Int(column_n); - return Util.StringFromPtr(ret); + void* native_ptr_id = (void*)ptr_id.ToPointer(); + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + byte ret = ImGuiNative.igTreeNodeEx_Ptr(native_ptr_id, flags, native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + return ret != 0; } - public static string TableGetColumnName(int column_n) +#endif + public static bool TreeNodeEx(IntPtr ptr_id, ImGuiTreeNodeFlags flags, string fmt) { - byte* ret = ImGuiNative.igTableGetColumnName_Int(column_n); - return Util.StringFromPtr(ret); + void* native_ptr_id = (void*)ptr_id.ToPointer(); + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + byte ret = ImGuiNative.igTreeNodeEx_Ptr(native_ptr_id, flags, native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + return ret != 0; } - public static int TableGetRowIndex() + public static void TreePop() { - int ret = ImGuiNative.igTableGetRowIndex(); - return ret; + ImGuiNative.igTreePop(); } - public static ImGuiTableSortSpecsPtr TableGetSortSpecs() +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void TreePush(ReadOnlySpan str_id) { - ImGuiTableSortSpecs* ret = ImGuiNative.igTableGetSortSpecs(); - return new ImGuiTableSortSpecsPtr(ret); + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) + { + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + native_str_id = Util.Allocate(str_id_byteCount + 1); + } + else + { + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; + } + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; + } + else { native_str_id = null; } + ImGuiNative.igTreePush_Str(native_str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str_id); + } } - public static void TableHeader(string label) +#endif + public static void TreePush(string str_id) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_str_id; + int str_id_byteCount = 0; + if (str_id != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_str_id = Util.Allocate(str_id_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; + native_str_id = native_str_id_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); + native_str_id[native_str_id_offset] = 0; } - else { native_label = null; } - ImGuiNative.igTableHeader(native_label); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_str_id = null; } + ImGuiNative.igTreePush_Str(native_str_id); + if (str_id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_str_id); } } - public static void TableHeadersRow() - { - ImGuiNative.igTableHeadersRow(); - } - public static bool TableNextColumn() - { - byte ret = ImGuiNative.igTableNextColumn(); - return ret != 0; - } - public static void TableNextRow() - { - ImGuiTableRowFlags row_flags = (ImGuiTableRowFlags)0; - float min_row_height = 0.0f; - ImGuiNative.igTableNextRow(row_flags, min_row_height); - } - public static void TableNextRow(ImGuiTableRowFlags row_flags) + public static void TreePush(IntPtr ptr_id) { - float min_row_height = 0.0f; - ImGuiNative.igTableNextRow(row_flags, min_row_height); + void* native_ptr_id = (void*)ptr_id.ToPointer(); + ImGuiNative.igTreePush_Ptr(native_ptr_id); } - public static void TableNextRow(ImGuiTableRowFlags row_flags, float min_row_height) + public static void Unindent() { - ImGuiNative.igTableNextRow(row_flags, min_row_height); + float indent_w = 0.0f; + ImGuiNative.igUnindent(indent_w); } - public static void TableSetBgColor(ImGuiTableBgTarget target, uint color) + public static void Unindent(float indent_w) { - int column_n = -1; - ImGuiNative.igTableSetBgColor(target, color, column_n); + ImGuiNative.igUnindent(indent_w); } - public static void TableSetBgColor(ImGuiTableBgTarget target, uint color, int column_n) + public static void UpdatePlatformWindows() { - ImGuiNative.igTableSetBgColor(target, color, column_n); + ImGuiNative.igUpdatePlatformWindows(); } - public static void TableSetColumnEnabled(int column_n, bool v) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void Value(ReadOnlySpan prefix, bool b) { - byte native_v = v ? (byte)1 : (byte)0; - ImGuiNative.igTableSetColumnEnabled(column_n, native_v); + byte* native_prefix; + int prefix_byteCount = 0; + if (prefix != null) + { + prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); + if (prefix_byteCount > Util.StackAllocationSizeLimit) + { + native_prefix = Util.Allocate(prefix_byteCount + 1); + } + else + { + byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; + native_prefix = native_prefix_stackBytes; + } + int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); + native_prefix[native_prefix_offset] = 0; + } + else { native_prefix = null; } + byte native_b = b ? (byte)1 : (byte)0; + ImGuiNative.igValue_Bool(native_prefix, native_b); + if (prefix_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_prefix); + } } - public static bool TableSetColumnIndex(int column_n) +#endif + public static void Value(string prefix, bool b) { - byte ret = ImGuiNative.igTableSetColumnIndex(column_n); - return ret != 0; + byte* native_prefix; + int prefix_byteCount = 0; + if (prefix != null) + { + prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); + if (prefix_byteCount > Util.StackAllocationSizeLimit) + { + native_prefix = Util.Allocate(prefix_byteCount + 1); + } + else + { + byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; + native_prefix = native_prefix_stackBytes; + } + int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); + native_prefix[native_prefix_offset] = 0; + } + else { native_prefix = null; } + byte native_b = b ? (byte)1 : (byte)0; + ImGuiNative.igValue_Bool(native_prefix, native_b); + if (prefix_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_prefix); + } } - public static void TableSetupColumn(string label) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void Value(ReadOnlySpan prefix, int v) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_prefix; + int prefix_byteCount = 0; + if (prefix != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); + if (prefix_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_prefix = Util.Allocate(prefix_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; + native_prefix = native_prefix_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); + native_prefix[native_prefix_offset] = 0; } - else { native_label = null; } - ImGuiTableColumnFlags flags = (ImGuiTableColumnFlags)0; - float init_width_or_weight = 0.0f; - uint user_id = 0; - ImGuiNative.igTableSetupColumn(native_label, flags, init_width_or_weight, user_id); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_prefix = null; } + ImGuiNative.igValue_Int(native_prefix, v); + if (prefix_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_prefix); } } - public static void TableSetupColumn(string label, ImGuiTableColumnFlags flags) +#endif + public static void Value(string prefix, int v) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_prefix; + int prefix_byteCount = 0; + if (prefix != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); + if (prefix_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_prefix = Util.Allocate(prefix_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; + native_prefix = native_prefix_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); + native_prefix[native_prefix_offset] = 0; } - else { native_label = null; } - float init_width_or_weight = 0.0f; - uint user_id = 0; - ImGuiNative.igTableSetupColumn(native_label, flags, init_width_or_weight, user_id); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_prefix = null; } + ImGuiNative.igValue_Int(native_prefix, v); + if (prefix_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_prefix); } } - public static void TableSetupColumn(string label, ImGuiTableColumnFlags flags, float init_width_or_weight) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void Value(ReadOnlySpan prefix, uint v) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_prefix; + int prefix_byteCount = 0; + if (prefix != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); + if (prefix_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_prefix = Util.Allocate(prefix_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; + native_prefix = native_prefix_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); + native_prefix[native_prefix_offset] = 0; } - else { native_label = null; } - uint user_id = 0; - ImGuiNative.igTableSetupColumn(native_label, flags, init_width_or_weight, user_id); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_prefix = null; } + ImGuiNative.igValue_Uint(native_prefix, v); + if (prefix_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_prefix); } } - public static void TableSetupColumn(string label, ImGuiTableColumnFlags flags, float init_width_or_weight, uint user_id) +#endif + public static void Value(string prefix, uint v) { - byte* native_label; - int label_byteCount = 0; - if (label != null) + byte* native_prefix; + int prefix_byteCount = 0; + if (prefix != null) { - label_byteCount = Encoding.UTF8.GetByteCount(label); - if (label_byteCount > Util.StackAllocationSizeLimit) + prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); + if (prefix_byteCount > Util.StackAllocationSizeLimit) { - native_label = Util.Allocate(label_byteCount + 1); + native_prefix = Util.Allocate(prefix_byteCount + 1); } else { - byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; - native_label = native_label_stackBytes; + byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; + native_prefix = native_prefix_stackBytes; } - int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); - native_label[native_label_offset] = 0; + int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); + native_prefix[native_prefix_offset] = 0; } - else { native_label = null; } - ImGuiNative.igTableSetupColumn(native_label, flags, init_width_or_weight, user_id); - if (label_byteCount > Util.StackAllocationSizeLimit) + else { native_prefix = null; } + ImGuiNative.igValue_Uint(native_prefix, v); + if (prefix_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label); + Util.Free(native_prefix); } } - public static void TableSetupScrollFreeze(int cols, int rows) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void Value(ReadOnlySpan prefix, float v) { - ImGuiNative.igTableSetupScrollFreeze(cols, rows); + byte* native_prefix; + int prefix_byteCount = 0; + if (prefix != null) + { + prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); + if (prefix_byteCount > Util.StackAllocationSizeLimit) + { + native_prefix = Util.Allocate(prefix_byteCount + 1); + } + else + { + byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; + native_prefix = native_prefix_stackBytes; + } + int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); + native_prefix[native_prefix_offset] = 0; + } + else { native_prefix = null; } + byte* native_float_format = null; + ImGuiNative.igValue_Float(native_prefix, v, native_float_format); + if (prefix_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_prefix); + } } - public static void Text(string fmt) +#endif + public static void Value(string prefix, float v) { - byte* native_fmt; - int fmt_byteCount = 0; - if (fmt != null) + byte* native_prefix; + int prefix_byteCount = 0; + if (prefix != null) { - fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); + if (prefix_byteCount > Util.StackAllocationSizeLimit) { - native_fmt = Util.Allocate(fmt_byteCount + 1); + native_prefix = Util.Allocate(prefix_byteCount + 1); } else { - byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; - native_fmt = native_fmt_stackBytes; + byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; + native_prefix = native_prefix_stackBytes; } - int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); - native_fmt[native_fmt_offset] = 0; + int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); + native_prefix[native_prefix_offset] = 0; } - else { native_fmt = null; } - ImGuiNative.igText(native_fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + else { native_prefix = null; } + byte* native_float_format = null; + ImGuiNative.igValue_Float(native_prefix, v, native_float_format); + if (prefix_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_fmt); + Util.Free(native_prefix); } } - public static void TextColored(Vector4 col, string fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void Value(ReadOnlySpan prefix, float v, ReadOnlySpan float_format) { - byte* native_fmt; - int fmt_byteCount = 0; - if (fmt != null) + byte* native_prefix; + int prefix_byteCount = 0; + if (prefix != null) { - fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); + if (prefix_byteCount > Util.StackAllocationSizeLimit) { - native_fmt = Util.Allocate(fmt_byteCount + 1); + native_prefix = Util.Allocate(prefix_byteCount + 1); } else { - byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; - native_fmt = native_fmt_stackBytes; + byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; + native_prefix = native_prefix_stackBytes; } - int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); - native_fmt[native_fmt_offset] = 0; - } - else { native_fmt = null; } - ImGuiNative.igTextColored(col, native_fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_fmt); + int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); + native_prefix[native_prefix_offset] = 0; } - } - public static void TextDisabled(string fmt) - { - byte* native_fmt; - int fmt_byteCount = 0; - if (fmt != null) + else { native_prefix = null; } + byte* native_float_format; + int float_format_byteCount = 0; + if (float_format != null) { - fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + float_format_byteCount = Encoding.UTF8.GetByteCount(float_format); + if (float_format_byteCount > Util.StackAllocationSizeLimit) { - native_fmt = Util.Allocate(fmt_byteCount + 1); + native_float_format = Util.Allocate(float_format_byteCount + 1); } else { - byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; - native_fmt = native_fmt_stackBytes; + byte* native_float_format_stackBytes = stackalloc byte[float_format_byteCount + 1]; + native_float_format = native_float_format_stackBytes; } - int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); - native_fmt[native_fmt_offset] = 0; + int native_float_format_offset = Util.GetUtf8(float_format, native_float_format, float_format_byteCount); + native_float_format[native_float_format_offset] = 0; } - else { native_fmt = null; } - ImGuiNative.igTextDisabled(native_fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + else { native_float_format = null; } + ImGuiNative.igValue_Float(native_prefix, v, native_float_format); + if (prefix_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_fmt); + Util.Free(native_prefix); + } + if (float_format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_float_format); } } - public static void TextUnformatted(string text) +#endif + public static void Value(string prefix, float v, string float_format) { - byte* native_text; - int text_byteCount = 0; - if (text != null) + byte* native_prefix; + int prefix_byteCount = 0; + if (prefix != null) { - text_byteCount = Encoding.UTF8.GetByteCount(text); - if (text_byteCount > Util.StackAllocationSizeLimit) + prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); + if (prefix_byteCount > Util.StackAllocationSizeLimit) { - native_text = Util.Allocate(text_byteCount + 1); + native_prefix = Util.Allocate(prefix_byteCount + 1); } else { - byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; - native_text = native_text_stackBytes; + byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; + native_prefix = native_prefix_stackBytes; } - int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); - native_text[native_text_offset] = 0; - } - else { native_text = null; } - byte* native_text_end = null; - ImGuiNative.igTextUnformatted(native_text, native_text_end); - if (text_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_text); + int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); + native_prefix[native_prefix_offset] = 0; } - } - public static void TextWrapped(string fmt) - { - byte* native_fmt; - int fmt_byteCount = 0; - if (fmt != null) + else { native_prefix = null; } + byte* native_float_format; + int float_format_byteCount = 0; + if (float_format != null) { - fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + float_format_byteCount = Encoding.UTF8.GetByteCount(float_format); + if (float_format_byteCount > Util.StackAllocationSizeLimit) { - native_fmt = Util.Allocate(fmt_byteCount + 1); + native_float_format = Util.Allocate(float_format_byteCount + 1); } else { - byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; - native_fmt = native_fmt_stackBytes; + byte* native_float_format_stackBytes = stackalloc byte[float_format_byteCount + 1]; + native_float_format = native_float_format_stackBytes; } - int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); - native_fmt[native_fmt_offset] = 0; + int native_float_format_offset = Util.GetUtf8(float_format, native_float_format, float_format_byteCount); + native_float_format[native_float_format_offset] = 0; } - else { native_fmt = null; } - ImGuiNative.igTextWrapped(native_fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + else { native_float_format = null; } + ImGuiNative.igValue_Float(native_prefix, v, native_float_format); + if (prefix_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_fmt); + Util.Free(native_prefix); + } + if (float_format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_float_format); } } - public static bool TreeNode(string label) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float v_min, float v_max) { byte* native_label; int label_byteCount = 0; @@ -13711,91 +27760,37 @@ public static bool TreeNode(string label) native_label[native_label_offset] = 0; } else { native_label = null; } - byte ret = ImGuiNative.igTreeNode_Str(native_label); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; - } - public static bool TreeNode(string str_id, string fmt) - { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) - { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) - { - native_str_id = Util.Allocate(str_id_byteCount + 1); - } - else - { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; - } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; - } - else { native_str_id = null; } - byte* native_fmt; - int fmt_byteCount = 0; - if (fmt != null) - { - fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_fmt = Util.Allocate(fmt_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; - native_fmt = native_fmt_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); - native_fmt[native_fmt_offset] = 0; - } - else { native_fmt = null; } - byte ret = ImGuiNative.igTreeNode_StrStr(native_str_id, native_fmt); - if (str_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_str_id); - } - if (fmt_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_fmt); - } - return ret != 0; - } - public static bool TreeNode(IntPtr ptr_id, string fmt) - { - void* native_ptr_id = (void*)ptr_id.ToPointer(); - byte* native_fmt; - int fmt_byteCount = 0; - if (fmt != null) + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v = &v) { - fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + byte ret = ImGuiNative.igVSliderFloat(native_label, size, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_fmt = Util.Allocate(fmt_byteCount + 1); + Util.Free(native_label); } - else + if (format_byteCount > Util.StackAllocationSizeLimit) { - byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; - native_fmt = native_fmt_stackBytes; + Util.Free(native_format); } - int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); - native_fmt[native_fmt_offset] = 0; - } - else { native_fmt = null; } - byte ret = ImGuiNative.igTreeNode_Ptr(native_ptr_id, native_fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_fmt); + return ret != 0; } - return ret != 0; } - public static bool TreeNodeEx(string label) +#endif + public static bool VSliderFloat(string label, Vector2 size, ref float v, float v_min, float v_max) { byte* native_label; int label_byteCount = 0; @@ -13815,15 +27810,37 @@ public static bool TreeNodeEx(string label) native_label[native_label_offset] = 0; } else { native_label = null; } - ImGuiTreeNodeFlags flags = (ImGuiTreeNodeFlags)0; - byte ret = ImGuiNative.igTreeNodeEx_Str(native_label, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v = &v) { - Util.Free(native_label); + byte ret = ImGuiNative.igVSliderFloat(native_label, size, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } - return ret != 0; } - public static bool TreeNodeEx(string label, ImGuiTreeNodeFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float v_min, float v_max, ReadOnlySpan format) { byte* native_label; int label_byteCount = 0; @@ -13843,293 +27860,201 @@ public static bool TreeNodeEx(string label, ImGuiTreeNodeFlags flags) native_label[native_label_offset] = 0; } else { native_label = null; } - byte ret = ImGuiNative.igTreeNodeEx_Str(native_label, flags); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - return ret != 0; - } - public static bool TreeNodeEx(string str_id, ImGuiTreeNodeFlags flags, string fmt) - { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + byte* native_format; + int format_byteCount = 0; + if (format != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - else { native_str_id = null; } - byte* native_fmt; - int fmt_byteCount = 0; - if (fmt != null) + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v = &v) { - fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + byte ret = ImGuiNative.igVSliderFloat(native_label, size, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_fmt = Util.Allocate(fmt_byteCount + 1); + Util.Free(native_label); } - else + if (format_byteCount > Util.StackAllocationSizeLimit) { - byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; - native_fmt = native_fmt_stackBytes; + Util.Free(native_format); } - int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); - native_fmt[native_fmt_offset] = 0; - } - else { native_fmt = null; } - byte ret = ImGuiNative.igTreeNodeEx_StrStr(native_str_id, flags, native_fmt); - if (str_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_str_id); - } - if (fmt_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_fmt); + return ret != 0; } - return ret != 0; } - public static bool TreeNodeEx(IntPtr ptr_id, ImGuiTreeNodeFlags flags, string fmt) +#endif + public static bool VSliderFloat(string label, Vector2 size, ref float v, float v_min, float v_max, string format) { - void* native_ptr_id = (void*)ptr_id.ToPointer(); - byte* native_fmt; - int fmt_byteCount = 0; - if (fmt != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_fmt = Util.Allocate(fmt_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; - native_fmt = native_fmt_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); - native_fmt[native_fmt_offset] = 0; - } - else { native_fmt = null; } - byte ret = ImGuiNative.igTreeNodeEx_Ptr(native_ptr_id, flags, native_fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_fmt); + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - return ret != 0; - } - public static void TreePop() - { - ImGuiNative.igTreePop(); - } - public static void TreePush(string str_id) - { - byte* native_str_id; - int str_id_byteCount = 0; - if (str_id != null) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - str_id_byteCount = Encoding.UTF8.GetByteCount(str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_str_id = Util.Allocate(str_id_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_str_id_stackBytes = stackalloc byte[str_id_byteCount + 1]; - native_str_id = native_str_id_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_str_id_offset = Util.GetUtf8(str_id, native_str_id, str_id_byteCount); - native_str_id[native_str_id_offset] = 0; - } - else { native_str_id = null; } - ImGuiNative.igTreePush_Str(native_str_id); - if (str_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_str_id); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - } - public static void TreePush(IntPtr ptr_id) - { - void* native_ptr_id = (void*)ptr_id.ToPointer(); - ImGuiNative.igTreePush_Ptr(native_ptr_id); - } - public static void Unindent() - { - float indent_w = 0.0f; - ImGuiNative.igUnindent(indent_w); - } - public static void Unindent(float indent_w) - { - ImGuiNative.igUnindent(indent_w); - } - public static void UpdatePlatformWindows() - { - ImGuiNative.igUpdatePlatformWindows(); - } - public static void Value(string prefix, bool b) - { - byte* native_prefix; - int prefix_byteCount = 0; - if (prefix != null) + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (float* native_v = &v) { - prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); - if (prefix_byteCount > Util.StackAllocationSizeLimit) + byte ret = ImGuiNative.igVSliderFloat(native_label, size, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_prefix = Util.Allocate(prefix_byteCount + 1); + Util.Free(native_label); } - else + if (format_byteCount > Util.StackAllocationSizeLimit) { - byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; - native_prefix = native_prefix_stackBytes; + Util.Free(native_format); } - int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); - native_prefix[native_prefix_offset] = 0; - } - else { native_prefix = null; } - byte native_b = b ? (byte)1 : (byte)0; - ImGuiNative.igValue_Bool(native_prefix, native_b); - if (prefix_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_prefix); + return ret != 0; } } - public static void Value(string prefix, int v) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float v_min, float v_max, ReadOnlySpan format, ImGuiSliderFlags flags) { - byte* native_prefix; - int prefix_byteCount = 0; - if (prefix != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); - if (prefix_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_prefix = Util.Allocate(prefix_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; - native_prefix = native_prefix_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); - native_prefix[native_prefix_offset] = 0; - } - else { native_prefix = null; } - ImGuiNative.igValue_Int(native_prefix, v); - if (prefix_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_prefix); + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - } - public static void Value(string prefix, uint v) - { - byte* native_prefix; - int prefix_byteCount = 0; - if (prefix != null) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); - if (prefix_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_prefix = Util.Allocate(prefix_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; - native_prefix = native_prefix_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); - native_prefix[native_prefix_offset] = 0; - } - else { native_prefix = null; } - ImGuiNative.igValue_Uint(native_prefix, v); - if (prefix_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_prefix); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - } - public static void Value(string prefix, float v) - { - byte* native_prefix; - int prefix_byteCount = 0; - if (prefix != null) + else { native_format = null; } + fixed (float* native_v = &v) { - prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); - if (prefix_byteCount > Util.StackAllocationSizeLimit) + byte ret = ImGuiNative.igVSliderFloat(native_label, size, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_prefix = Util.Allocate(prefix_byteCount + 1); + Util.Free(native_label); } - else + if (format_byteCount > Util.StackAllocationSizeLimit) { - byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; - native_prefix = native_prefix_stackBytes; + Util.Free(native_format); } - int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); - native_prefix[native_prefix_offset] = 0; - } - else { native_prefix = null; } - byte* native_float_format = null; - ImGuiNative.igValue_Float(native_prefix, v, native_float_format); - if (prefix_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_prefix); + return ret != 0; } } - public static void Value(string prefix, float v, string float_format) +#endif + public static bool VSliderFloat(string label, Vector2 size, ref float v, float v_min, float v_max, string format, ImGuiSliderFlags flags) { - byte* native_prefix; - int prefix_byteCount = 0; - if (prefix != null) + byte* native_label; + int label_byteCount = 0; + if (label != null) { - prefix_byteCount = Encoding.UTF8.GetByteCount(prefix); - if (prefix_byteCount > Util.StackAllocationSizeLimit) + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) { - native_prefix = Util.Allocate(prefix_byteCount + 1); + native_label = Util.Allocate(label_byteCount + 1); } else { - byte* native_prefix_stackBytes = stackalloc byte[prefix_byteCount + 1]; - native_prefix = native_prefix_stackBytes; + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; } - int native_prefix_offset = Util.GetUtf8(prefix, native_prefix, prefix_byteCount); - native_prefix[native_prefix_offset] = 0; + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; } - else { native_prefix = null; } - byte* native_float_format; - int float_format_byteCount = 0; - if (float_format != null) + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) { - float_format_byteCount = Encoding.UTF8.GetByteCount(float_format); - if (float_format_byteCount > Util.StackAllocationSizeLimit) + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) { - native_float_format = Util.Allocate(float_format_byteCount + 1); + native_format = Util.Allocate(format_byteCount + 1); } else { - byte* native_float_format_stackBytes = stackalloc byte[float_format_byteCount + 1]; - native_float_format = native_float_format_stackBytes; + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; } - int native_float_format_offset = Util.GetUtf8(float_format, native_float_format, float_format_byteCount); - native_float_format[native_float_format_offset] = 0; - } - else { native_float_format = null; } - ImGuiNative.igValue_Float(native_prefix, v, native_float_format); - if (prefix_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_prefix); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; } - if (float_format_byteCount > Util.StackAllocationSizeLimit) + else { native_format = null; } + fixed (float* native_v = &v) { - Util.Free(native_float_format); + byte ret = ImGuiNative.igVSliderFloat(native_label, size, native_v, v_min, v_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; } } - public static bool VSliderFloat(string label, Vector2 size, ref float v, float v_min, float v_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int v_min, int v_max) { byte* native_label; int label_byteCount = 0; @@ -14151,7 +28076,7 @@ public static bool VSliderFloat(string label, Vector2 size, ref float v, float v else { native_label = null; } byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%.3f"); + format_byteCount = Encoding.UTF8.GetByteCount("%d"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -14161,12 +28086,12 @@ public static bool VSliderFloat(string label, Vector2 size, ref float v, float v byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%.3f", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); native_format[native_format_offset] = 0; ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v = &v) + fixed (int* native_v = &v) { - byte ret = ImGuiNative.igVSliderFloat(native_label, size, native_v, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igVSliderInt(native_label, size, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -14178,7 +28103,8 @@ public static bool VSliderFloat(string label, Vector2 size, ref float v, float v return ret != 0; } } - public static bool VSliderFloat(string label, Vector2 size, ref float v, float v_min, float v_max, string format) +#endif + public static bool VSliderInt(string label, Vector2 size, ref int v, int v_min, int v_max) { byte* native_label; int label_byteCount = 0; @@ -14200,9 +28126,7 @@ public static bool VSliderFloat(string label, Vector2 size, ref float v, float v else { native_label = null; } byte* native_format; int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); + format_byteCount = Encoding.UTF8.GetByteCount("%d"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -14212,14 +28136,12 @@ public static bool VSliderFloat(string label, Vector2 size, ref float v, float v byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); native_format[native_format_offset] = 0; - } - else { native_format = null; } ImGuiSliderFlags flags = (ImGuiSliderFlags)0; - fixed (float* native_v = &v) + fixed (int* native_v = &v) { - byte ret = ImGuiNative.igVSliderFloat(native_label, size, native_v, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igVSliderInt(native_label, size, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -14231,7 +28153,8 @@ public static bool VSliderFloat(string label, Vector2 size, ref float v, float v return ret != 0; } } - public static bool VSliderFloat(string label, Vector2 size, ref float v, float v_min, float v_max, string format, ImGuiSliderFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int v_min, int v_max, ReadOnlySpan format) { byte* native_label; int label_byteCount = 0; @@ -14269,9 +28192,10 @@ public static bool VSliderFloat(string label, Vector2 size, ref float v, float v native_format[native_format_offset] = 0; } else { native_format = null; } - fixed (float* native_v = &v) + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + fixed (int* native_v = &v) { - byte ret = ImGuiNative.igVSliderFloat(native_label, size, native_v, v_min, v_max, native_format, flags); + byte ret = ImGuiNative.igVSliderInt(native_label, size, native_v, v_min, v_max, native_format, flags); if (label_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label); @@ -14283,7 +28207,8 @@ public static bool VSliderFloat(string label, Vector2 size, ref float v, float v return ret != 0; } } - public static bool VSliderInt(string label, Vector2 size, ref int v, int v_min, int v_max) +#endif + public static bool VSliderInt(string label, Vector2 size, ref int v, int v_min, int v_max, string format) { byte* native_label; int label_byteCount = 0; @@ -14305,7 +28230,9 @@ public static bool VSliderInt(string label, Vector2 size, ref int v, int v_min, else { native_label = null; } byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount("%d"); + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -14315,8 +28242,10 @@ public static bool VSliderInt(string label, Vector2 size, ref int v, int v_min, byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("%d", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); native_format[native_format_offset] = 0; + } + else { native_format = null; } ImGuiSliderFlags flags = (ImGuiSliderFlags)0; fixed (int* native_v = &v) { @@ -14332,7 +28261,8 @@ public static bool VSliderInt(string label, Vector2 size, ref int v, int v_min, return ret != 0; } } - public static bool VSliderInt(string label, Vector2 size, ref int v, int v_min, int v_max, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int v_min, int v_max, ReadOnlySpan format, ImGuiSliderFlags flags) { byte* native_label; int label_byteCount = 0; @@ -14370,7 +28300,6 @@ public static bool VSliderInt(string label, Vector2 size, ref int v, int v_min, native_format[native_format_offset] = 0; } else { native_format = null; } - ImGuiSliderFlags flags = (ImGuiSliderFlags)0; fixed (int* native_v = &v) { byte ret = ImGuiNative.igVSliderInt(native_label, size, native_v, v_min, v_max, native_format, flags); @@ -14385,6 +28314,7 @@ public static bool VSliderInt(string label, Vector2 size, ref int v, int v_min, return ret != 0; } } +#endif public static bool VSliderInt(string label, Vector2 size, ref int v, int v_min, int v_max, string format, ImGuiSliderFlags flags) { byte* native_label; @@ -14437,6 +28367,40 @@ public static bool VSliderInt(string label, Vector2 size, ref int v, int v_min, return ret != 0; } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format = null; + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igVSliderScalar(native_label, size, data_type, native_p_data, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max) { byte* native_label; @@ -14469,6 +28433,61 @@ public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType data_ } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImGuiSliderFlags flags = (ImGuiSliderFlags)0; + byte ret = ImGuiNative.igVSliderScalar(native_label, size, data_type, native_p_data, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#endif public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max, string format) { byte* native_label; @@ -14522,6 +28541,60 @@ public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType data_ } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + void* native_p_data = (void*)p_data.ToPointer(); + void* native_p_min = (void*)p_min.ToPointer(); + void* native_p_max = (void*)p_max.ToPointer(); + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + byte ret = ImGuiNative.igVSliderScalar(native_label, size, data_type, native_p_data, native_p_min, native_p_max, native_format, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } +#endif public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType data_type, IntPtr p_data, IntPtr p_min, IntPtr p_max, string format, ImGuiSliderFlags flags) { byte* native_label; @@ -14574,5 +28647,10 @@ public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType data_ } return ret != 0; } + public static IntPtr* GetBuilderForFreeType() + { + IntPtr* ret = ImGuiNative.ImGuiFreeType_GetBuilderForFreeType(); + return ret; + } } } diff --git a/src/ImGui.NET/Generated/ImGuiButtonFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiButtonFlags.gen.cs index 7964d5ec..8443e2f7 100644 --- a/src/ImGui.NET/Generated/ImGuiButtonFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiButtonFlags.gen.cs @@ -8,6 +8,6 @@ public enum ImGuiButtonFlags MouseButtonRight = 2, MouseButtonMiddle = 4, MouseButtonMask = 7, - MouseButtonDefault = 1, + EnableNav = 8, } } diff --git a/src/ImGui.NET/Generated/ImGuiChildFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiChildFlags.gen.cs new file mode 100644 index 00000000..3e27b4f5 --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiChildFlags.gen.cs @@ -0,0 +1,17 @@ +namespace ImGuiNET +{ + [System.Flags] + public enum ImGuiChildFlags + { + None = 0, + Borders = 1, + AlwaysUseWindowPadding = 2, + ResizeX = 4, + ResizeY = 8, + AutoResizeX = 16, + AutoResizeY = 32, + AlwaysAutoResize = 64, + FrameStyle = 128, + NavFlattened = 256, + } +} diff --git a/src/ImGui.NET/Generated/ImGuiCol.gen.cs b/src/ImGui.NET/Generated/ImGuiCol.gen.cs index 38401f19..a9539b1b 100644 --- a/src/ImGui.NET/Generated/ImGuiCol.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiCol.gen.cs @@ -35,28 +35,31 @@ public enum ImGuiCol ResizeGrip = 30, ResizeGripHovered = 31, ResizeGripActive = 32, - Tab = 33, - TabHovered = 34, - TabActive = 35, - TabUnfocused = 36, - TabUnfocusedActive = 37, - DockingPreview = 38, - DockingEmptyBg = 39, - PlotLines = 40, - PlotLinesHovered = 41, - PlotHistogram = 42, - PlotHistogramHovered = 43, - TableHeaderBg = 44, - TableBorderStrong = 45, - TableBorderLight = 46, - TableRowBg = 47, - TableRowBgAlt = 48, - TextSelectedBg = 49, - DragDropTarget = 50, - NavHighlight = 51, - NavWindowingHighlight = 52, - NavWindowingDimBg = 53, - ModalWindowDimBg = 54, - COUNT = 55, + TabHovered = 33, + Tab = 34, + TabSelected = 35, + TabSelectedOverline = 36, + TabDimmed = 37, + TabDimmedSelected = 38, + TabDimmedSelectedOverline = 39, + DockingPreview = 40, + DockingEmptyBg = 41, + PlotLines = 42, + PlotLinesHovered = 43, + PlotHistogram = 44, + PlotHistogramHovered = 45, + TableHeaderBg = 46, + TableBorderStrong = 47, + TableBorderLight = 48, + TableRowBg = 49, + TableRowBgAlt = 50, + TextLink = 51, + TextSelectedBg = 52, + DragDropTarget = 53, + NavCursor = 54, + NavWindowingHighlight = 55, + NavWindowingDimBg = 56, + ModalWindowDimBg = 57, + COUNT = 58, } } diff --git a/src/ImGui.NET/Generated/ImGuiComboFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiComboFlags.gen.cs index 68efc53b..eec43092 100644 --- a/src/ImGui.NET/Generated/ImGuiComboFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiComboFlags.gen.cs @@ -11,6 +11,7 @@ public enum ImGuiComboFlags HeightLargest = 16, NoArrowButton = 32, NoPreview = 64, + WidthFitPreview = 128, HeightMask = 30, } } diff --git a/src/ImGui.NET/Generated/ImGuiConfigFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiConfigFlags.gen.cs index c64b1843..3da8b7bf 100644 --- a/src/ImGui.NET/Generated/ImGuiConfigFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiConfigFlags.gen.cs @@ -6,11 +6,10 @@ public enum ImGuiConfigFlags None = 0, NavEnableKeyboard = 1, NavEnableGamepad = 2, - NavEnableSetMousePos = 4, - NavNoCaptureKeyboard = 8, NoMouse = 16, NoMouseCursorChange = 32, - DockingEnable = 64, + NoKeyboard = 64, + DockingEnable = 128, ViewportsEnable = 1024, DpiEnableScaleViewports = 16384, DpiEnableScaleFonts = 32768, diff --git a/src/ImGui.NET/Generated/ImGuiDataType.gen.cs b/src/ImGui.NET/Generated/ImGuiDataType.gen.cs index 3e1f232c..d88dfc1d 100644 --- a/src/ImGui.NET/Generated/ImGuiDataType.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiDataType.gen.cs @@ -12,6 +12,7 @@ public enum ImGuiDataType U64 = 7, Float = 8, Double = 9, - COUNT = 10, + Bool = 10, + COUNT = 11, } } diff --git a/src/ImGui.NET/Generated/ImGuiDockNodeFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiDockNodeFlags.gen.cs index f705b1c6..9f8aff3d 100644 --- a/src/ImGui.NET/Generated/ImGuiDockNodeFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiDockNodeFlags.gen.cs @@ -5,10 +5,11 @@ public enum ImGuiDockNodeFlags { None = 0, KeepAliveOnly = 1, - NoDockingInCentralNode = 4, + NoDockingOverCentralNode = 4, PassthruCentralNode = 8, - NoSplit = 16, + NoDockingSplit = 16, NoResize = 32, AutoHideTabBar = 64, + NoUndocking = 128, } } diff --git a/src/ImGui.NET/Generated/ImGuiDragDropFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiDragDropFlags.gen.cs index 00fdf8a1..ef8c5657 100644 --- a/src/ImGui.NET/Generated/ImGuiDragDropFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiDragDropFlags.gen.cs @@ -9,7 +9,9 @@ public enum ImGuiDragDropFlags SourceNoHoldToOpenOthers = 4, SourceAllowNullID = 8, SourceExtern = 16, - SourceAutoExpirePayload = 32, + PayloadAutoExpire = 32, + PayloadNoCrossContext = 64, + PayloadNoCrossProcess = 128, AcceptBeforeDelivery = 1024, AcceptNoDrawDefaultRect = 2048, AcceptNoPreviewTooltip = 4096, diff --git a/src/ImGui.NET/Generated/ImGuiFreeTypeBuilderFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiFreeTypeBuilderFlags.gen.cs new file mode 100644 index 00000000..ee6b10ea --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiFreeTypeBuilderFlags.gen.cs @@ -0,0 +1,17 @@ +namespace ImGuiNET +{ + [System.Flags] + public enum ImGuiFreeTypeBuilderFlags + { + NoHinting = 1, + NoAutoHint = 2, + ForceAutoHint = 4, + LightHinting = 8, + MonoHinting = 16, + Bold = 32, + Oblique = 64, + Monochrome = 128, + LoadColor = 256, + Bitmap = 512, + } +} diff --git a/src/ImGui.NET/Generated/ImGuiHoveredFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiHoveredFlags.gen.cs index 444be694..fa1b7adf 100644 --- a/src/ImGui.NET/Generated/ImGuiHoveredFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiHoveredFlags.gen.cs @@ -11,13 +11,18 @@ public enum ImGuiHoveredFlags DockHierarchy = 16, AllowWhenBlockedByPopup = 32, AllowWhenBlockedByActiveItem = 128, - AllowWhenOverlapped = 256, - AllowWhenDisabled = 512, - NoNavOverride = 1024, - RectOnly = 416, + AllowWhenOverlappedByItem = 256, + AllowWhenOverlappedByWindow = 512, + AllowWhenDisabled = 1024, + NoNavOverride = 2048, + AllowWhenOverlapped = 768, + RectOnly = 928, RootAndChildWindows = 3, - DelayNormal = 2048, - DelayShort = 4096, - NoSharedDelay = 8192, + ForTooltip = 4096, + Stationary = 8192, + DelayNone = 16384, + DelayShort = 32768, + DelayNormal = 65536, + NoSharedDelay = 131072, } } diff --git a/src/ImGui.NET/Generated/ImGuiIO.gen.cs b/src/ImGui.NET/Generated/ImGuiIO.gen.cs index 14b0dde2..1b487a46 100644 --- a/src/ImGui.NET/Generated/ImGuiIO.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiIO.gen.cs @@ -14,19 +14,19 @@ public unsafe partial struct ImGuiIO public float IniSavingRate; public byte* IniFilename; public byte* LogFilename; - public float MouseDoubleClickTime; - public float MouseDoubleClickMaxDist; - public float MouseDragThreshold; - public float KeyRepeatDelay; - public float KeyRepeatRate; - public float HoverDelayNormal; - public float HoverDelayShort; public void* UserData; public ImFontAtlas* Fonts; public float FontGlobalScale; public byte FontAllowUserScaling; public ImFont* FontDefault; public Vector2 DisplayFramebufferScale; + public byte ConfigNavSwapGamepadButtons; + public byte ConfigNavMoveSetMousePos; + public byte ConfigNavCaptureKeyboard; + public byte ConfigNavEscapeClearFocusItem; + public byte ConfigNavEscapeClearFocusWindow; + public byte ConfigNavCursorVisibleAuto; + public byte ConfigNavCursorVisibleAlways; public byte ConfigDockingNoSplit; public byte ConfigDockingWithShift; public byte ConfigDockingAlwaysTabBar; @@ -43,17 +43,29 @@ public unsafe partial struct ImGuiIO public byte ConfigDragClickToInputText; public byte ConfigWindowsResizeFromEdges; public byte ConfigWindowsMoveFromTitleBarOnly; + public byte ConfigWindowsCopyContentsWithCtrlC; + public byte ConfigScrollbarScrollByPage; public float ConfigMemoryCompactTimer; + public float MouseDoubleClickTime; + public float MouseDoubleClickMaxDist; + public float MouseDragThreshold; + public float KeyRepeatDelay; + public float KeyRepeatRate; + public byte ConfigErrorRecovery; + public byte ConfigErrorRecoveryEnableAssert; + public byte ConfigErrorRecoveryEnableDebugLog; + public byte ConfigErrorRecoveryEnableTooltip; + public byte ConfigDebugIsDebuggerPresent; + public byte ConfigDebugHighlightIdConflicts; + public byte ConfigDebugBeginReturnValueOnce; + public byte ConfigDebugBeginReturnValueLoop; + public byte ConfigDebugIgnoreFocusLoss; + public byte ConfigDebugIniSettings; public byte* BackendPlatformName; public byte* BackendRendererName; public void* BackendPlatformUserData; public void* BackendRendererUserData; public void* BackendLanguageUserData; - public IntPtr GetClipboardTextFn; - public IntPtr SetClipboardTextFn; - public void* ClipboardUserData; - public IntPtr SetPlatformImeDataFn; - public void* _UnusedPadding; public byte WantCaptureMouse; public byte WantCaptureKeyboard; public byte WantTextInput; @@ -66,15 +78,13 @@ public unsafe partial struct ImGuiIO public int MetricsRenderIndices; public int MetricsRenderWindows; public int MetricsActiveWindows; - public int MetricsActiveAllocations; public Vector2 MouseDelta; - public fixed int KeyMap[652]; - public fixed byte KeysDown[652]; - public fixed float NavInputs[16]; + public IntPtr Ctx; public Vector2 MousePos; public fixed byte MouseDown[5]; public float MouseWheel; public float MouseWheelH; + public ImGuiMouseSource MouseSource; public uint MouseHoveredViewport; public byte KeyCtrl; public byte KeyShift; @@ -235,504 +245,6 @@ public unsafe partial struct ImGuiIO 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; - public ImGuiKeyData KeysData_645; - public ImGuiKeyData KeysData_646; - public ImGuiKeyData KeysData_647; - public ImGuiKeyData KeysData_648; - public ImGuiKeyData KeysData_649; - public ImGuiKeyData KeysData_650; - public ImGuiKeyData KeysData_651; public byte WantCaptureMouseUnlessPopupClose; public Vector2 MousePosPrev; public Vector2 MouseClickedPos_0; @@ -748,6 +260,8 @@ public unsafe partial struct ImGuiIO public fixed byte MouseReleased[5]; public fixed byte MouseDownOwned[5]; public fixed byte MouseDownOwnedUnlessPopupClose[5]; + public byte MouseWheelRequestAxisSwap; + public byte MouseCtrlLeftAsRightClick; public fixed float MouseDownDuration[5]; public fixed float MouseDownDurationPrev[5]; public Vector2 MouseDragMaxDistanceAbs_0; @@ -759,8 +273,6 @@ public unsafe partial struct ImGuiIO public float PenPressure; public byte AppFocusLost; public byte AppAcceptingEvents; - public sbyte BackendUsingLegacyKeyArrays; - public byte BackendUsingLegacyNavInputArray; public ushort InputQueueSurrogate; public ImVector InputQueueCharacters; } @@ -779,19 +291,19 @@ public unsafe partial struct ImGuiIOPtr public ref float IniSavingRate => ref Unsafe.AsRef(&NativePtr->IniSavingRate); public NullTerminatedString IniFilename => new NullTerminatedString(NativePtr->IniFilename); public NullTerminatedString LogFilename => new NullTerminatedString(NativePtr->LogFilename); - public ref float MouseDoubleClickTime => ref Unsafe.AsRef(&NativePtr->MouseDoubleClickTime); - public ref float MouseDoubleClickMaxDist => ref Unsafe.AsRef(&NativePtr->MouseDoubleClickMaxDist); - public ref float MouseDragThreshold => ref Unsafe.AsRef(&NativePtr->MouseDragThreshold); - public ref float KeyRepeatDelay => ref Unsafe.AsRef(&NativePtr->KeyRepeatDelay); - public ref float KeyRepeatRate => ref Unsafe.AsRef(&NativePtr->KeyRepeatRate); - public ref float HoverDelayNormal => ref Unsafe.AsRef(&NativePtr->HoverDelayNormal); - public ref float HoverDelayShort => ref Unsafe.AsRef(&NativePtr->HoverDelayShort); public IntPtr UserData { get => (IntPtr)NativePtr->UserData; set => NativePtr->UserData = (void*)value; } public ImFontAtlasPtr Fonts => new ImFontAtlasPtr(NativePtr->Fonts); public ref float FontGlobalScale => ref Unsafe.AsRef(&NativePtr->FontGlobalScale); public ref bool FontAllowUserScaling => ref Unsafe.AsRef(&NativePtr->FontAllowUserScaling); public ImFontPtr FontDefault => new ImFontPtr(NativePtr->FontDefault); public ref Vector2 DisplayFramebufferScale => ref Unsafe.AsRef(&NativePtr->DisplayFramebufferScale); + public ref bool ConfigNavSwapGamepadButtons => ref Unsafe.AsRef(&NativePtr->ConfigNavSwapGamepadButtons); + public ref bool ConfigNavMoveSetMousePos => ref Unsafe.AsRef(&NativePtr->ConfigNavMoveSetMousePos); + public ref bool ConfigNavCaptureKeyboard => ref Unsafe.AsRef(&NativePtr->ConfigNavCaptureKeyboard); + public ref bool ConfigNavEscapeClearFocusItem => ref Unsafe.AsRef(&NativePtr->ConfigNavEscapeClearFocusItem); + public ref bool ConfigNavEscapeClearFocusWindow => ref Unsafe.AsRef(&NativePtr->ConfigNavEscapeClearFocusWindow); + public ref bool ConfigNavCursorVisibleAuto => ref Unsafe.AsRef(&NativePtr->ConfigNavCursorVisibleAuto); + public ref bool ConfigNavCursorVisibleAlways => ref Unsafe.AsRef(&NativePtr->ConfigNavCursorVisibleAlways); public ref bool ConfigDockingNoSplit => ref Unsafe.AsRef(&NativePtr->ConfigDockingNoSplit); public ref bool ConfigDockingWithShift => ref Unsafe.AsRef(&NativePtr->ConfigDockingWithShift); public ref bool ConfigDockingAlwaysTabBar => ref Unsafe.AsRef(&NativePtr->ConfigDockingAlwaysTabBar); @@ -808,17 +320,29 @@ public unsafe partial struct ImGuiIOPtr public ref bool ConfigDragClickToInputText => ref Unsafe.AsRef(&NativePtr->ConfigDragClickToInputText); public ref bool ConfigWindowsResizeFromEdges => ref Unsafe.AsRef(&NativePtr->ConfigWindowsResizeFromEdges); public ref bool ConfigWindowsMoveFromTitleBarOnly => ref Unsafe.AsRef(&NativePtr->ConfigWindowsMoveFromTitleBarOnly); + public ref bool ConfigWindowsCopyContentsWithCtrlC => ref Unsafe.AsRef(&NativePtr->ConfigWindowsCopyContentsWithCtrlC); + public ref bool ConfigScrollbarScrollByPage => ref Unsafe.AsRef(&NativePtr->ConfigScrollbarScrollByPage); public ref float ConfigMemoryCompactTimer => ref Unsafe.AsRef(&NativePtr->ConfigMemoryCompactTimer); + public ref float MouseDoubleClickTime => ref Unsafe.AsRef(&NativePtr->MouseDoubleClickTime); + public ref float MouseDoubleClickMaxDist => ref Unsafe.AsRef(&NativePtr->MouseDoubleClickMaxDist); + public ref float MouseDragThreshold => ref Unsafe.AsRef(&NativePtr->MouseDragThreshold); + public ref float KeyRepeatDelay => ref Unsafe.AsRef(&NativePtr->KeyRepeatDelay); + public ref float KeyRepeatRate => ref Unsafe.AsRef(&NativePtr->KeyRepeatRate); + public ref bool ConfigErrorRecovery => ref Unsafe.AsRef(&NativePtr->ConfigErrorRecovery); + public ref bool ConfigErrorRecoveryEnableAssert => ref Unsafe.AsRef(&NativePtr->ConfigErrorRecoveryEnableAssert); + public ref bool ConfigErrorRecoveryEnableDebugLog => ref Unsafe.AsRef(&NativePtr->ConfigErrorRecoveryEnableDebugLog); + public ref bool ConfigErrorRecoveryEnableTooltip => ref Unsafe.AsRef(&NativePtr->ConfigErrorRecoveryEnableTooltip); + public ref bool ConfigDebugIsDebuggerPresent => ref Unsafe.AsRef(&NativePtr->ConfigDebugIsDebuggerPresent); + public ref bool ConfigDebugHighlightIdConflicts => ref Unsafe.AsRef(&NativePtr->ConfigDebugHighlightIdConflicts); + public ref bool ConfigDebugBeginReturnValueOnce => ref Unsafe.AsRef(&NativePtr->ConfigDebugBeginReturnValueOnce); + public ref bool ConfigDebugBeginReturnValueLoop => ref Unsafe.AsRef(&NativePtr->ConfigDebugBeginReturnValueLoop); + public ref bool ConfigDebugIgnoreFocusLoss => ref Unsafe.AsRef(&NativePtr->ConfigDebugIgnoreFocusLoss); + public ref bool ConfigDebugIniSettings => ref Unsafe.AsRef(&NativePtr->ConfigDebugIniSettings); public NullTerminatedString BackendPlatformName => new NullTerminatedString(NativePtr->BackendPlatformName); public NullTerminatedString BackendRendererName => new NullTerminatedString(NativePtr->BackendRendererName); public IntPtr BackendPlatformUserData { get => (IntPtr)NativePtr->BackendPlatformUserData; set => NativePtr->BackendPlatformUserData = (void*)value; } public IntPtr BackendRendererUserData { get => (IntPtr)NativePtr->BackendRendererUserData; set => NativePtr->BackendRendererUserData = (void*)value; } public IntPtr BackendLanguageUserData { get => (IntPtr)NativePtr->BackendLanguageUserData; set => NativePtr->BackendLanguageUserData = (void*)value; } - public ref IntPtr GetClipboardTextFn => ref Unsafe.AsRef(&NativePtr->GetClipboardTextFn); - public ref IntPtr SetClipboardTextFn => ref Unsafe.AsRef(&NativePtr->SetClipboardTextFn); - public IntPtr ClipboardUserData { get => (IntPtr)NativePtr->ClipboardUserData; set => NativePtr->ClipboardUserData = (void*)value; } - public ref IntPtr SetPlatformImeDataFn => ref Unsafe.AsRef(&NativePtr->SetPlatformImeDataFn); - public IntPtr _UnusedPadding { get => (IntPtr)NativePtr->_UnusedPadding; set => NativePtr->_UnusedPadding = (void*)value; } public ref bool WantCaptureMouse => ref Unsafe.AsRef(&NativePtr->WantCaptureMouse); public ref bool WantCaptureKeyboard => ref Unsafe.AsRef(&NativePtr->WantCaptureKeyboard); public ref bool WantTextInput => ref Unsafe.AsRef(&NativePtr->WantTextInput); @@ -831,22 +355,20 @@ public unsafe partial struct ImGuiIOPtr public ref int MetricsRenderIndices => ref Unsafe.AsRef(&NativePtr->MetricsRenderIndices); public ref int MetricsRenderWindows => ref Unsafe.AsRef(&NativePtr->MetricsRenderWindows); public ref int MetricsActiveWindows => ref Unsafe.AsRef(&NativePtr->MetricsActiveWindows); - public ref int MetricsActiveAllocations => ref Unsafe.AsRef(&NativePtr->MetricsActiveAllocations); public ref Vector2 MouseDelta => ref Unsafe.AsRef(&NativePtr->MouseDelta); - public RangeAccessor KeyMap => new RangeAccessor(NativePtr->KeyMap, 652); - public RangeAccessor KeysDown => new RangeAccessor(NativePtr->KeysDown, 652); - public RangeAccessor NavInputs => new RangeAccessor(NativePtr->NavInputs, 16); + public ref IntPtr Ctx => ref Unsafe.AsRef(&NativePtr->Ctx); public ref Vector2 MousePos => ref Unsafe.AsRef(&NativePtr->MousePos); public RangeAccessor MouseDown => new RangeAccessor(NativePtr->MouseDown, 5); public ref float MouseWheel => ref Unsafe.AsRef(&NativePtr->MouseWheel); public ref float MouseWheelH => ref Unsafe.AsRef(&NativePtr->MouseWheelH); + public ref ImGuiMouseSource MouseSource => ref Unsafe.AsRef(&NativePtr->MouseSource); public ref uint MouseHoveredViewport => ref Unsafe.AsRef(&NativePtr->MouseHoveredViewport); public ref bool KeyCtrl => ref Unsafe.AsRef(&NativePtr->KeyCtrl); public ref bool KeyShift => ref Unsafe.AsRef(&NativePtr->KeyShift); public ref bool KeyAlt => ref Unsafe.AsRef(&NativePtr->KeyAlt); public ref bool KeySuper => ref Unsafe.AsRef(&NativePtr->KeySuper); public ref ImGuiKey KeyMods => ref Unsafe.AsRef(&NativePtr->KeyMods); - public RangeAccessor KeysData => new RangeAccessor(&NativePtr->KeysData_0, 652); + public RangeAccessor KeysData => new RangeAccessor(&NativePtr->KeysData_0, 154); public ref bool WantCaptureMouseUnlessPopupClose => ref Unsafe.AsRef(&NativePtr->WantCaptureMouseUnlessPopupClose); public ref Vector2 MousePosPrev => ref Unsafe.AsRef(&NativePtr->MousePosPrev); public RangeAccessor MouseClickedPos => new RangeAccessor(&NativePtr->MouseClickedPos_0, 5); @@ -858,6 +380,8 @@ public unsafe partial struct ImGuiIOPtr public RangeAccessor MouseReleased => new RangeAccessor(NativePtr->MouseReleased, 5); public RangeAccessor MouseDownOwned => new RangeAccessor(NativePtr->MouseDownOwned, 5); public RangeAccessor MouseDownOwnedUnlessPopupClose => new RangeAccessor(NativePtr->MouseDownOwnedUnlessPopupClose, 5); + public ref bool MouseWheelRequestAxisSwap => ref Unsafe.AsRef(&NativePtr->MouseWheelRequestAxisSwap); + public ref bool MouseCtrlLeftAsRightClick => ref Unsafe.AsRef(&NativePtr->MouseCtrlLeftAsRightClick); public RangeAccessor MouseDownDuration => new RangeAccessor(NativePtr->MouseDownDuration, 5); public RangeAccessor MouseDownDurationPrev => new RangeAccessor(NativePtr->MouseDownDurationPrev, 5); public RangeAccessor MouseDragMaxDistanceAbs => new RangeAccessor(&NativePtr->MouseDragMaxDistanceAbs_0, 5); @@ -865,8 +389,6 @@ public unsafe partial struct ImGuiIOPtr public ref float PenPressure => ref Unsafe.AsRef(&NativePtr->PenPressure); public ref bool AppFocusLost => ref Unsafe.AsRef(&NativePtr->AppFocusLost); public ref bool AppAcceptingEvents => ref Unsafe.AsRef(&NativePtr->AppAcceptingEvents); - public ref sbyte BackendUsingLegacyKeyArrays => ref Unsafe.AsRef(&NativePtr->BackendUsingLegacyKeyArrays); - public ref bool BackendUsingLegacyNavInputArray => ref Unsafe.AsRef(&NativePtr->BackendUsingLegacyNavInputArray); public ref ushort InputQueueSurrogate => ref Unsafe.AsRef(&NativePtr->InputQueueSurrogate); public ImVector InputQueueCharacters => new ImVector(NativePtr->InputQueueCharacters); public void AddFocusEvent(bool focused) @@ -878,6 +400,34 @@ public void AddInputCharacter(uint c) { ImGuiNative.ImGuiIO_AddInputCharacter((ImGuiIO*)(NativePtr), c); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public void AddInputCharactersUTF8(ReadOnlySpan str) + { + byte* native_str; + int str_byteCount = 0; + if (str != null) + { + str_byteCount = Encoding.UTF8.GetByteCount(str); + if (str_byteCount > Util.StackAllocationSizeLimit) + { + native_str = Util.Allocate(str_byteCount + 1); + } + else + { + byte* native_str_stackBytes = stackalloc byte[str_byteCount + 1]; + native_str = native_str_stackBytes; + } + int native_str_offset = Util.GetUtf8(str, native_str, str_byteCount); + native_str[native_str_offset] = 0; + } + else { native_str = null; } + ImGuiNative.ImGuiIO_AddInputCharactersUTF8((ImGuiIO*)(NativePtr), native_str); + if (str_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str); + } + } +#endif public void AddInputCharactersUTF8(string str) { byte* native_str; @@ -927,22 +477,30 @@ public void AddMousePosEvent(float x, float y) { ImGuiNative.ImGuiIO_AddMousePosEvent((ImGuiIO*)(NativePtr), x, y); } + public void AddMouseSourceEvent(ImGuiMouseSource source) + { + ImGuiNative.ImGuiIO_AddMouseSourceEvent((ImGuiIO*)(NativePtr), source); + } public void AddMouseViewportEvent(uint id) { ImGuiNative.ImGuiIO_AddMouseViewportEvent((ImGuiIO*)(NativePtr), id); } - public void AddMouseWheelEvent(float wh_x, float wh_y) + public void AddMouseWheelEvent(float wheel_x, float wheel_y) { - ImGuiNative.ImGuiIO_AddMouseWheelEvent((ImGuiIO*)(NativePtr), wh_x, wh_y); + ImGuiNative.ImGuiIO_AddMouseWheelEvent((ImGuiIO*)(NativePtr), wheel_x, wheel_y); } - public void ClearInputCharacters() + public void ClearEventsQueue() { - ImGuiNative.ImGuiIO_ClearInputCharacters((ImGuiIO*)(NativePtr)); + ImGuiNative.ImGuiIO_ClearEventsQueue((ImGuiIO*)(NativePtr)); } public void ClearInputKeys() { ImGuiNative.ImGuiIO_ClearInputKeys((ImGuiIO*)(NativePtr)); } + public void ClearInputMouse() + { + ImGuiNative.ImGuiIO_ClearInputMouse((ImGuiIO*)(NativePtr)); + } public void Destroy() { ImGuiNative.ImGuiIO_destroy((ImGuiIO*)(NativePtr)); diff --git a/src/ImGui.NET/Generated/ImGuiInputFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiInputFlags.gen.cs new file mode 100644 index 00000000..838e1bec --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiInputFlags.gen.cs @@ -0,0 +1,18 @@ +namespace ImGuiNET +{ + [System.Flags] + public enum ImGuiInputFlags + { + None = 0, + Repeat = 1, + RouteActive = 1024, + RouteFocused = 2048, + RouteGlobal = 4096, + RouteAlways = 8192, + RouteOverFocused = 16384, + RouteOverActive = 32768, + RouteUnlessBgFocused = 65536, + RouteFromRootWindow = 131072, + Tooltip = 262144, + } +} diff --git a/src/ImGui.NET/Generated/ImGuiInputTextCallbackData.gen.cs b/src/ImGui.NET/Generated/ImGuiInputTextCallbackData.gen.cs index 4c11005f..10bd0faf 100644 --- a/src/ImGui.NET/Generated/ImGuiInputTextCallbackData.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiInputTextCallbackData.gen.cs @@ -7,6 +7,7 @@ namespace ImGuiNET { public unsafe partial struct ImGuiInputTextCallbackData { + public IntPtr Ctx; public ImGuiInputTextFlags EventFlag; public ImGuiInputTextFlags Flags; public void* UserData; @@ -28,6 +29,7 @@ public unsafe partial struct ImGuiInputTextCallbackDataPtr public static implicit operator ImGuiInputTextCallbackDataPtr(ImGuiInputTextCallbackData* nativePtr) => new ImGuiInputTextCallbackDataPtr(nativePtr); public static implicit operator ImGuiInputTextCallbackData* (ImGuiInputTextCallbackDataPtr wrappedPtr) => wrappedPtr.NativePtr; public static implicit operator ImGuiInputTextCallbackDataPtr(IntPtr nativePtr) => new ImGuiInputTextCallbackDataPtr(nativePtr); + public ref IntPtr Ctx => ref Unsafe.AsRef(&NativePtr->Ctx); public ref ImGuiInputTextFlags EventFlag => ref Unsafe.AsRef(&NativePtr->EventFlag); public ref ImGuiInputTextFlags Flags => ref Unsafe.AsRef(&NativePtr->Flags); public IntPtr UserData { get => (IntPtr)NativePtr->UserData; set => NativePtr->UserData = (void*)value; } @@ -57,6 +59,34 @@ public bool HasSelection() byte ret = ImGuiNative.ImGuiInputTextCallbackData_HasSelection((ImGuiInputTextCallbackData*)(NativePtr)); return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public void InsertChars(int pos, ReadOnlySpan text) + { + byte* native_text; + int text_byteCount = 0; + if (text != null) + { + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + native_text = Util.Allocate(text_byteCount + 1); + } + else + { + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; + } + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + ImGuiNative.ImGuiInputTextCallbackData_InsertChars((ImGuiInputTextCallbackData*)(NativePtr), pos, native_text, native_text+text_byteCount); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text); + } + } +#endif public void InsertChars(int pos, string text) { byte* native_text; @@ -77,8 +107,7 @@ public void InsertChars(int pos, string text) native_text[native_text_offset] = 0; } else { native_text = null; } - byte* native_text_end = null; - ImGuiNative.ImGuiInputTextCallbackData_InsertChars((ImGuiInputTextCallbackData*)(NativePtr), pos, native_text, native_text_end); + ImGuiNative.ImGuiInputTextCallbackData_InsertChars((ImGuiInputTextCallbackData*)(NativePtr), pos, native_text, native_text+text_byteCount); if (text_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_text); diff --git a/src/ImGui.NET/Generated/ImGuiInputTextFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiInputTextFlags.gen.cs index b74d8d6c..22e350fb 100644 --- a/src/ImGui.NET/Generated/ImGuiInputTextFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiInputTextFlags.gen.cs @@ -6,24 +6,27 @@ public enum ImGuiInputTextFlags None = 0, CharsDecimal = 1, CharsHexadecimal = 2, - CharsUppercase = 4, - CharsNoBlank = 8, - AutoSelectAll = 16, - EnterReturnsTrue = 32, - CallbackCompletion = 64, - CallbackHistory = 128, - CallbackAlways = 256, - CallbackCharFilter = 512, - AllowTabInput = 1024, - CtrlEnterForNewLine = 2048, - NoHorizontalScroll = 4096, - AlwaysOverwrite = 8192, - ReadOnly = 16384, - Password = 32768, + CharsScientific = 4, + CharsUppercase = 8, + CharsNoBlank = 16, + AllowTabInput = 32, + EnterReturnsTrue = 64, + EscapeClearsAll = 128, + CtrlEnterForNewLine = 256, + ReadOnly = 512, + Password = 1024, + AlwaysOverwrite = 2048, + AutoSelectAll = 4096, + ParseEmptyRefVal = 8192, + DisplayEmptyRefVal = 16384, + NoHorizontalScroll = 32768, NoUndoRedo = 65536, - CharsScientific = 131072, - CallbackResize = 262144, - CallbackEdit = 524288, - EscapeClearsAll = 1048576, + ElideLeft = 131072, + CallbackCompletion = 262144, + CallbackHistory = 524288, + CallbackAlways = 1048576, + CallbackCharFilter = 2097152, + CallbackResize = 4194304, + CallbackEdit = 8388608, } } diff --git a/src/ImGui.NET/Generated/ImGuiItemFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiItemFlags.gen.cs new file mode 100644 index 00000000..8c8befd9 --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiItemFlags.gen.cs @@ -0,0 +1,14 @@ +namespace ImGuiNET +{ + [System.Flags] + public enum ImGuiItemFlags + { + None = 0, + NoTabStop = 1, + NoNav = 2, + NoNavDefaultFocus = 4, + ButtonRepeat = 8, + AutoClosePopups = 16, + AllowDuplicateId = 32, + } +} diff --git a/src/ImGui.NET/Generated/ImGuiKey.gen.cs b/src/ImGui.NET/Generated/ImGuiKey.gen.cs index 47c198c9..51e69bbe 100644 --- a/src/ImGui.NET/Generated/ImGuiKey.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiKey.gen.cs @@ -3,6 +3,7 @@ namespace ImGuiNET public enum ImGuiKey { None = 0, + NamedKey_BEGIN = 512, Tab = 512, LeftArrow = 513, RightArrow = 514, @@ -75,86 +76,95 @@ public enum ImGuiKey F10 = 581, F11 = 582, F12 = 583, - Apostrophe = 584, - Comma = 585, - Minus = 586, - Period = 587, - Slash = 588, - Semicolon = 589, - Equal = 590, - LeftBracket = 591, - Backslash = 592, - RightBracket = 593, - GraveAccent = 594, - CapsLock = 595, - ScrollLock = 596, - NumLock = 597, - PrintScreen = 598, - Pause = 599, - Keypad0 = 600, - Keypad1 = 601, - Keypad2 = 602, - Keypad3 = 603, - Keypad4 = 604, - Keypad5 = 605, - Keypad6 = 606, - Keypad7 = 607, - Keypad8 = 608, - Keypad9 = 609, - KeypadDecimal = 610, - KeypadDivide = 611, - KeypadMultiply = 612, - KeypadSubtract = 613, - KeypadAdd = 614, - KeypadEnter = 615, - KeypadEqual = 616, - GamepadStart = 617, - GamepadBack = 618, - GamepadFaceLeft = 619, - GamepadFaceRight = 620, - GamepadFaceUp = 621, - GamepadFaceDown = 622, - GamepadDpadLeft = 623, - GamepadDpadRight = 624, - GamepadDpadUp = 625, - GamepadDpadDown = 626, - GamepadL1 = 627, - GamepadR1 = 628, - GamepadL2 = 629, - GamepadR2 = 630, - GamepadL3 = 631, - GamepadR3 = 632, - GamepadLStickLeft = 633, - GamepadLStickRight = 634, - GamepadLStickUp = 635, - GamepadLStickDown = 636, - GamepadRStickLeft = 637, - GamepadRStickRight = 638, - GamepadRStickUp = 639, - GamepadRStickDown = 640, - MouseLeft = 641, - MouseRight = 642, - MouseMiddle = 643, - MouseX1 = 644, - MouseX2 = 645, - MouseWheelX = 646, - MouseWheelY = 647, - ReservedForModCtrl = 648, - ReservedForModShift = 649, - ReservedForModAlt = 650, - ReservedForModSuper = 651, - COUNT = 652, - None = 0, - Ctrl = 4096, - Shift = 8192, - Alt = 16384, - Super = 32768, - Mask = 61440, - Shortcut = 4096, - NamedKey_BEGIN = 512, - NamedKey_END = 652, - NamedKey_COUNT = 140, - KeysData_SIZE = 652, - KeysData_OFFSET = 0, + F13 = 584, + F14 = 585, + F15 = 586, + F16 = 587, + F17 = 588, + F18 = 589, + F19 = 590, + F20 = 591, + F21 = 592, + F22 = 593, + F23 = 594, + F24 = 595, + Apostrophe = 596, + Comma = 597, + Minus = 598, + Period = 599, + Slash = 600, + Semicolon = 601, + Equal = 602, + LeftBracket = 603, + Backslash = 604, + RightBracket = 605, + GraveAccent = 606, + CapsLock = 607, + ScrollLock = 608, + NumLock = 609, + PrintScreen = 610, + Pause = 611, + Keypad0 = 612, + Keypad1 = 613, + Keypad2 = 614, + Keypad3 = 615, + Keypad4 = 616, + Keypad5 = 617, + Keypad6 = 618, + Keypad7 = 619, + Keypad8 = 620, + Keypad9 = 621, + KeypadDecimal = 622, + KeypadDivide = 623, + KeypadMultiply = 624, + KeypadSubtract = 625, + KeypadAdd = 626, + KeypadEnter = 627, + KeypadEqual = 628, + AppBack = 629, + AppForward = 630, + GamepadStart = 631, + GamepadBack = 632, + GamepadFaceLeft = 633, + GamepadFaceRight = 634, + GamepadFaceUp = 635, + GamepadFaceDown = 636, + GamepadDpadLeft = 637, + GamepadDpadRight = 638, + GamepadDpadUp = 639, + GamepadDpadDown = 640, + GamepadL1 = 641, + GamepadR1 = 642, + GamepadL2 = 643, + GamepadR2 = 644, + GamepadL3 = 645, + GamepadR3 = 646, + GamepadLStickLeft = 647, + GamepadLStickRight = 648, + GamepadLStickUp = 649, + GamepadLStickDown = 650, + GamepadRStickLeft = 651, + GamepadRStickRight = 652, + GamepadRStickUp = 653, + GamepadRStickDown = 654, + MouseLeft = 655, + MouseRight = 656, + MouseMiddle = 657, + MouseX1 = 658, + MouseX2 = 659, + MouseWheelX = 660, + MouseWheelY = 661, + ReservedForModCtrl = 662, + ReservedForModShift = 663, + ReservedForModAlt = 664, + ReservedForModSuper = 665, + NamedKey_END = 666, + ModNone = 0, + ModCtrl = 4096, + ModShift = 8192, + ModAlt = 16384, + ModSuper = 32768, + ModMask = 61440, + NamedKey_COUNT = 154, } } diff --git a/src/ImGui.NET/Generated/ImGuiListClipper.gen.cs b/src/ImGui.NET/Generated/ImGuiListClipper.gen.cs index 27a809b6..4e672d25 100644 --- a/src/ImGui.NET/Generated/ImGuiListClipper.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiListClipper.gen.cs @@ -7,11 +7,13 @@ namespace ImGuiNET { public unsafe partial struct ImGuiListClipper { + public IntPtr Ctx; public int DisplayStart; public int DisplayEnd; public int ItemsCount; public float ItemsHeight; public float StartPosY; + public double StartSeekOffsetY; public void* TempData; } public unsafe partial struct ImGuiListClipperPtr @@ -22,11 +24,13 @@ public unsafe partial struct ImGuiListClipperPtr public static implicit operator ImGuiListClipperPtr(ImGuiListClipper* nativePtr) => new ImGuiListClipperPtr(nativePtr); public static implicit operator ImGuiListClipper* (ImGuiListClipperPtr wrappedPtr) => wrappedPtr.NativePtr; public static implicit operator ImGuiListClipperPtr(IntPtr nativePtr) => new ImGuiListClipperPtr(nativePtr); + public ref IntPtr Ctx => ref Unsafe.AsRef(&NativePtr->Ctx); public ref int DisplayStart => ref Unsafe.AsRef(&NativePtr->DisplayStart); public ref int DisplayEnd => ref Unsafe.AsRef(&NativePtr->DisplayEnd); public ref int ItemsCount => ref Unsafe.AsRef(&NativePtr->ItemsCount); public ref float ItemsHeight => ref Unsafe.AsRef(&NativePtr->ItemsHeight); public ref float StartPosY => ref Unsafe.AsRef(&NativePtr->StartPosY); + public ref double StartSeekOffsetY => ref Unsafe.AsRef(&NativePtr->StartSeekOffsetY); public IntPtr TempData { get => (IntPtr)NativePtr->TempData; set => NativePtr->TempData = (void*)value; } public void Begin(int items_count) { @@ -45,9 +49,13 @@ public void End() { ImGuiNative.ImGuiListClipper_End((ImGuiListClipper*)(NativePtr)); } - public void ForceDisplayRangeByIndices(int item_min, int item_max) + public void IncludeItemByIndex(int item_index) { - ImGuiNative.ImGuiListClipper_ForceDisplayRangeByIndices((ImGuiListClipper*)(NativePtr), item_min, item_max); + ImGuiNative.ImGuiListClipper_IncludeItemByIndex((ImGuiListClipper*)(NativePtr), item_index); + } + public void SeekCursorForItem(int item_index) + { + ImGuiNative.ImGuiListClipper_SeekCursorForItem((ImGuiListClipper*)(NativePtr), item_index); } public bool Step() { diff --git a/src/ImGui.NET/Generated/ImGuiMouseSource.gen.cs b/src/ImGui.NET/Generated/ImGuiMouseSource.gen.cs new file mode 100644 index 00000000..58877f3b --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiMouseSource.gen.cs @@ -0,0 +1,10 @@ +namespace ImGuiNET +{ + public enum ImGuiMouseSource + { + Mouse = 0, + TouchScreen = 1, + Pen = 2, + COUNT = 3, + } +} diff --git a/src/ImGui.NET/Generated/ImGuiMultiSelectFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiMultiSelectFlags.gen.cs new file mode 100644 index 00000000..949ec4bf --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiMultiSelectFlags.gen.cs @@ -0,0 +1,24 @@ +namespace ImGuiNET +{ + [System.Flags] + public enum ImGuiMultiSelectFlags + { + None = 0, + SingleSelect = 1, + NoSelectAll = 2, + NoRangeSelect = 4, + NoAutoSelect = 8, + NoAutoClear = 16, + NoAutoClearOnReselect = 32, + BoxSelect1d = 64, + BoxSelect2d = 128, + BoxSelectNoScroll = 256, + ClearOnEscape = 512, + ClearOnClickVoid = 1024, + ScopeWindow = 2048, + ScopeRect = 4096, + SelectOnClick = 8192, + SelectOnClickRelease = 16384, + NavWrapX = 65536, + } +} diff --git a/src/ImGui.NET/Generated/ImGuiMultiSelectIO.gen.cs b/src/ImGui.NET/Generated/ImGuiMultiSelectIO.gen.cs new file mode 100644 index 00000000..8c8439f4 --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiMultiSelectIO.gen.cs @@ -0,0 +1,32 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace ImGuiNET +{ + public unsafe partial struct ImGuiMultiSelectIO + { + public ImVector Requests; + public long RangeSrcItem; + public long NavIdItem; + public byte NavIdSelected; + public byte RangeSrcReset; + public int ItemsCount; + } + public unsafe partial struct ImGuiMultiSelectIOPtr + { + public ImGuiMultiSelectIO* NativePtr { get; } + public ImGuiMultiSelectIOPtr(ImGuiMultiSelectIO* nativePtr) => NativePtr = nativePtr; + public ImGuiMultiSelectIOPtr(IntPtr nativePtr) => NativePtr = (ImGuiMultiSelectIO*)nativePtr; + public static implicit operator ImGuiMultiSelectIOPtr(ImGuiMultiSelectIO* nativePtr) => new ImGuiMultiSelectIOPtr(nativePtr); + public static implicit operator ImGuiMultiSelectIO* (ImGuiMultiSelectIOPtr wrappedPtr) => wrappedPtr.NativePtr; + public static implicit operator ImGuiMultiSelectIOPtr(IntPtr nativePtr) => new ImGuiMultiSelectIOPtr(nativePtr); + public ImPtrVector Requests => new ImPtrVector(NativePtr->Requests, Unsafe.SizeOf()); + public ref long RangeSrcItem => ref Unsafe.AsRef(&NativePtr->RangeSrcItem); + public ref long NavIdItem => ref Unsafe.AsRef(&NativePtr->NavIdItem); + public ref bool NavIdSelected => ref Unsafe.AsRef(&NativePtr->NavIdSelected); + public ref bool RangeSrcReset => ref Unsafe.AsRef(&NativePtr->RangeSrcReset); + public ref int ItemsCount => ref Unsafe.AsRef(&NativePtr->ItemsCount); + } +} diff --git a/src/ImGui.NET/Generated/ImGuiNative.gen.cs b/src/ImGui.NET/Generated/ImGuiNative.gen.cs index 8d1c029b..95347fc4 100644 --- a/src/ImGui.NET/Generated/ImGuiNative.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiNative.gen.cs @@ -15,11 +15,9 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igBegin(byte* name, byte* p_open, ImGuiWindowFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igBeginChild_Str(byte* str_id, Vector2 size, byte border, ImGuiWindowFlags flags); + public static extern byte igBeginChild_Str(byte* str_id, Vector2 size, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igBeginChild_ID(uint id, Vector2 size, byte border, ImGuiWindowFlags flags); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igBeginChildFrame(uint id, Vector2 size, ImGuiWindowFlags flags); + public static extern byte igBeginChild_ID(uint id, Vector2 size, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igBeginCombo(byte* label, byte* preview_value, ImGuiComboFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -31,6 +29,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igBeginGroup(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte igBeginItemTooltip(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igBeginListBox(byte* label, Vector2 size); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igBeginMainMenuBar(); @@ -39,6 +39,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igBeginMenuBar(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiMultiSelectIO* igBeginMultiSelect(ImGuiMultiSelectFlags flags, int selection_size, int items_count); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igBeginPopup(byte* str_id, ImGuiWindowFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igBeginPopupContextItem(byte* str_id, ImGuiPopupFlags popup_flags); @@ -53,9 +55,9 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igBeginTabItem(byte* label, byte* p_open, ImGuiTabItemFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igBeginTable(byte* str_id, int column, ImGuiTableFlags flags, Vector2 outer_size, float inner_width); + public static extern byte igBeginTable(byte* str_id, int columns, ImGuiTableFlags flags, Vector2 outer_size, float inner_width); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igBeginTooltip(); + public static extern byte igBeginTooltip(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igBullet(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -97,7 +99,7 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igColorPicker4(byte* label, Vector4* col, ImGuiColorEditFlags flags, float* ref_col); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igColumns(int count, byte* id, byte border); + public static extern void igColumns(int count, byte* id, byte borders); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igCombo_Str_arr(byte* label, int* current_item, byte** items, int items_count, int popup_max_height_in_items); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -107,15 +109,21 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igDebugCheckVersionAndDataLayout(byte* version_str, uint sz_io, uint sz_style, uint sz_vec2, uint sz_vec4, uint sz_drawvert, uint sz_drawidx); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igDebugFlashStyleColor(ImGuiCol idx); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igDebugLog(byte* fmt); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igDebugStartItemPicker(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igDebugTextEncoding(byte* text); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igDestroyContext(IntPtr ctx); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igDestroyPlatformWindows(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern uint igDockSpace(uint id, Vector2 size, ImGuiDockNodeFlags flags, ImGuiWindowClass* window_class); + public static extern uint igDockSpace(uint dockspace_id, Vector2 size, ImGuiDockNodeFlags flags, ImGuiWindowClass* window_class); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern uint igDockSpaceOverViewport(ImGuiViewport* viewport, ImGuiDockNodeFlags flags, ImGuiWindowClass* window_class); + public static extern uint igDockSpaceOverViewport(uint dockspace_id, ImGuiViewport* viewport, ImGuiDockNodeFlags flags, ImGuiWindowClass* window_class); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igDragFloat(byte* label, float* v, float v_speed, float v_min, float v_max, byte* format, ImGuiSliderFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -147,8 +155,6 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igEndChild(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igEndChildFrame(); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igEndCombo(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igEndDisabled(); @@ -169,6 +175,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igEndMenuBar(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiMultiSelectIO* igEndMultiSelect(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igEndPopup(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igEndTabBar(); @@ -185,9 +193,7 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igGetAllocatorFunctions(IntPtr* p_alloc_func, IntPtr* p_free_func, void** p_user_data); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern ImDrawList* igGetBackgroundDrawList_Nil(); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern ImDrawList* igGetBackgroundDrawList_ViewportPtr(ImGuiViewport* viewport); + public static extern ImDrawList* igGetBackgroundDrawList(ImGuiViewport* viewport); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte* igGetClipboardText(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -195,7 +201,7 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern uint igGetColorU32_Vec4(Vector4 col); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern uint igGetColorU32_U32(uint col); + public static extern uint igGetColorU32_U32(uint col, float alpha_mul); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern int igGetColumnIndex(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -207,8 +213,6 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igGetContentRegionAvail(Vector2* pOut); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igGetContentRegionMax(Vector2* pOut); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern IntPtr igGetCurrentContext(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igGetCursorPos(Vector2* pOut); @@ -233,8 +237,6 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igGetFontTexUvWhitePixel(Vector2* pOut); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern ImDrawList* igGetForegroundDrawList_Nil(); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImDrawList* igGetForegroundDrawList_ViewportPtr(ImGuiViewport* viewport); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern int igGetFrameCount(); @@ -249,16 +251,18 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern uint igGetID_Ptr(void* ptr_id); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern uint igGetID_Int(int int_id); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImGuiIO* igGetIO(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern uint igGetItemID(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igGetItemRectMax(Vector2* pOut); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igGetItemRectMin(Vector2* pOut); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igGetItemRectSize(Vector2* pOut); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern ImGuiKey igGetKeyIndex(ImGuiKey key); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte* igGetKeyName(ImGuiKey key); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern int igGetKeyPressedAmount(ImGuiKey key, float repeat_delay, float rate); @@ -303,10 +307,6 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte* igGetVersion(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igGetWindowContentRegionMax(Vector2* pOut); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igGetWindowContentRegionMin(Vector2* pOut); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern uint igGetWindowDockID(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern float igGetWindowDpiScale(); @@ -323,9 +323,9 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern float igGetWindowWidth(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igImage(IntPtr user_texture_id, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 tint_col, Vector4 border_col); + public static extern void igImage(IntPtr user_texture_id, Vector2 image_size, Vector2 uv0, Vector2 uv1, Vector4 tint_col, Vector4 border_col); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igImageButton(byte* str_id, IntPtr user_texture_id, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 bg_col, Vector4 tint_col); + public static extern byte igImageButton(byte* str_id, IntPtr user_texture_id, Vector2 image_size, Vector2 uv0, Vector2 uv1, Vector4 bg_col, Vector4 tint_col); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igIndent(float indent_w); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -385,8 +385,12 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igIsItemToggledOpen(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte igIsItemToggledSelection(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igIsItemVisible(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte igIsKeyChordPressed_Nil(ImGuiKey key_chord); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igIsKeyDown_Nil(ImGuiKey key); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igIsKeyPressed_Bool(ImGuiKey key, byte repeat); @@ -395,7 +399,7 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igIsMouseClicked_Bool(ImGuiMouseButton button, byte repeat); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern byte igIsMouseDoubleClicked(ImGuiMouseButton button); + public static extern byte igIsMouseDoubleClicked_Nil(ImGuiMouseButton button); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igIsMouseDown_Nil(ImGuiMouseButton button); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -467,16 +471,14 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igPlotLines_FloatPtr(byte* label, float* values, int values_count, int values_offset, byte* overlay_text, float scale_min, float scale_max, Vector2 graph_size, int stride); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igPopAllowKeyboardFocus(); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igPopButtonRepeat(); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igPopClipRect(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igPopFont(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igPopID(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igPopItemFlag(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igPopItemWidth(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igPopStyleColor(int count); @@ -487,10 +489,6 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igProgressBar(float fraction, Vector2 size_arg, byte* overlay); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igPushAllowKeyboardFocus(byte allow_keyboard_focus); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igPushButtonRepeat(byte repeat); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igPushClipRect(Vector2 clip_rect_min, Vector2 clip_rect_max, byte intersect_with_current_clip_rect); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igPushFont(ImFont* font); @@ -503,6 +501,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igPushID_Int(int int_id); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igPushItemFlag(ImGuiItemFlags option, byte enabled); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igPushItemWidth(float item_width); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igPushStyleColor_U32(ImGuiCol idx, uint col); @@ -513,6 +513,10 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igPushStyleVar_Vec2(ImGuiStyleVar idx, Vector2 val); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igPushStyleVarX(ImGuiStyleVar idx, float val_x); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igPushStyleVarY(ImGuiStyleVar idx, float val_y); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igPushTextWrapPos(float wrap_local_pos_x); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igRadioButton_Bool(byte* label, byte active); @@ -537,6 +541,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSeparator(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSeparatorText(byte* label); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetAllocatorFunctions(IntPtr alloc_func, IntPtr free_func, void* user_data); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetClipboardText(byte* text); @@ -559,20 +565,32 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igSetDragDropPayload(byte* type, void* data, uint sz, ImGuiCond cond); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igSetItemAllowOverlap(); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetItemDefaultFocus(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSetItemKeyOwner_Nil(ImGuiKey key); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSetItemTooltip(byte* fmt); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetKeyboardFocusHere(int offset); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetMouseCursor(ImGuiMouseCursor cursor_type); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSetNavCursorVisible(byte visible); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetNextFrameWantCaptureKeyboard(byte want_capture_keyboard); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetNextFrameWantCaptureMouse(byte want_capture_mouse); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSetNextItemAllowOverlap(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetNextItemOpen(byte is_open, ImGuiCond cond); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSetNextItemSelectionUserData(long selection_user_data); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSetNextItemShortcut(ImGuiKey key_chord, ImGuiInputFlags flags); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igSetNextItemStorageID(uint storage_id); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetNextItemWidth(float item_width); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetNextWindowBgAlpha(float alpha); @@ -633,6 +651,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igSetWindowSize_Str(byte* name, Vector2 size, ImGuiCond cond); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte igShortcut_Nil(ImGuiKey key_chord, ImGuiInputFlags flags); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igShowAboutWindow(byte* p_open); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igShowDebugLogWindow(byte* p_open); @@ -641,9 +661,9 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igShowFontSelector(byte* label); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igShowMetricsWindow(byte* p_open); + public static extern void igShowIDStackToolWindow(byte* p_open); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void igShowStackToolWindow(byte* p_open); + public static extern void igShowMetricsWindow(byte* p_open); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igShowStyleEditor(ImGuiStyle* @ref); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -685,6 +705,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte igTabItemButton(byte* label, ImGuiTabItemFlags flags); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igTableAngledHeadersRow(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern int igTableGetColumnCount(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImGuiTableColumnFlags igTableGetColumnFlags(int column_n); @@ -693,6 +715,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte* igTableGetColumnName_Int(int column_n); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern int igTableGetHoveredColumn(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern int igTableGetRowIndex(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImGuiTableSortSpecs* igTableGetSortSpecs(); @@ -721,6 +745,10 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igTextDisabled(byte* fmt); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte igTextLink(byte* label); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void igTextLinkOpenURL(byte* label, byte* url); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igTextUnformatted(byte* text, byte* text_end); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void igTextWrapped(byte* fmt); @@ -783,6 +811,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImDrawCmd* ImDrawCmd_ImDrawCmd(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawData_AddDrawList(ImDrawData* self, ImDrawList* draw_list); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawData_Clear(ImDrawData* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawData_DeIndexAllBuffers(ImDrawData* self); @@ -811,22 +841,30 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList__ResetForNewFrame(ImDrawList* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawList__SetTextureID(ImDrawList* self, IntPtr texture_id); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList__TryMergeDrawCmds(ImDrawList* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddBezierCubic(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int num_segments); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddBezierQuadratic(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int num_segments); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImDrawList_AddCallback(ImDrawList* self, IntPtr callback, void* callback_data); + public static extern void ImDrawList_AddCallback(ImDrawList* self, IntPtr callback, void* userdata, uint userdata_size); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddCircle(ImDrawList* self, Vector2 center, float radius, uint col, int num_segments, float thickness); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddCircleFilled(ImDrawList* self, Vector2 center, float radius, uint col, int num_segments); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawList_AddConcavePolyFilled(ImDrawList* self, Vector2* points, int num_points, uint col); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddConvexPolyFilled(ImDrawList* self, Vector2* points, int num_points, uint col); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddDrawCmd(ImDrawList* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawList_AddEllipse(ImDrawList* self, Vector2 center, Vector2 radius, uint col, float rot, int num_segments, float thickness); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawList_AddEllipseFilled(ImDrawList* self, Vector2 center, Vector2 radius, uint col, float rot, int num_segments); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddImage(ImDrawList* self, IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min, Vector2 uv_max, uint col); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_AddImageQuad(ImDrawList* self, IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col); @@ -885,6 +923,10 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_PathClear(ImDrawList* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawList_PathEllipticalArcTo(ImDrawList* self, Vector2 center, Vector2 radius, float rot, float a_min, float a_max, int num_segments); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImDrawList_PathFillConcave(ImDrawList* self, uint col); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_PathFillConvex(ImDrawList* self, uint col); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImDrawList_PathLineTo(ImDrawList* self, Vector2 pos); @@ -983,9 +1025,9 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self, byte* compressed_font_data_base85, float size_pixels, ImFontConfig* font_cfg, ushort* glyph_ranges); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self, void* compressed_font_data, int compressed_font_size, float size_pixels, ImFontConfig* font_cfg, ushort* glyph_ranges); + public static extern ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self, void* compressed_font_data, int compressed_font_data_size, float size_pixels, ImFontConfig* font_cfg, ushort* glyph_ranges); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self, void* font_data, int font_size, float size_pixels, ImFontConfig* font_cfg, ushort* glyph_ranges); + public static extern ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self, void* font_data, int font_data_size, float size_pixels, ImFontConfig* font_cfg, ushort* glyph_ranges); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte ImFontAtlas_Build(ImFontAtlas* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -1065,6 +1107,8 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImFontGlyphRangesBuilder_SetBit(ImFontGlyphRangesBuilder* self, uint n); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern IntPtr* ImGuiFreeType_GetBuilderForFreeType(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiInputTextCallbackData_ClearSelection(ImGuiInputTextCallbackData* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self, int pos, int bytes_count); @@ -1095,14 +1139,18 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiIO_AddMousePosEvent(ImGuiIO* self, float x, float y); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiIO_AddMouseSourceEvent(ImGuiIO* self, ImGuiMouseSource source); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiIO_AddMouseViewportEvent(ImGuiIO* self, uint id); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImGuiIO_AddMouseWheelEvent(ImGuiIO* self, float wh_x, float wh_y); + public static extern void ImGuiIO_AddMouseWheelEvent(ImGuiIO* self, float wheel_x, float wheel_y); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImGuiIO_ClearInputCharacters(ImGuiIO* self); + public static extern void ImGuiIO_ClearEventsQueue(ImGuiIO* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiIO_ClearInputKeys(ImGuiIO* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiIO_ClearInputMouse(ImGuiIO* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiIO_destroy(ImGuiIO* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImGuiIO* ImGuiIO_ImGuiIO(); @@ -1117,10 +1165,14 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiListClipper_End(ImGuiListClipper* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImGuiListClipper_ForceDisplayRangeByIndices(ImGuiListClipper* self, int item_min, int item_max); - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImGuiListClipper* ImGuiListClipper_ImGuiListClipper(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiListClipper_IncludeItemByIndex(ImGuiListClipper* self, int item_index); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiListClipper_IncludeItemsByIndex(ImGuiListClipper* self, int item_begin, int item_end); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiListClipper_SeekCursorForItem(ImGuiListClipper* self, int item_index); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte ImGuiListClipper_Step(ImGuiListClipper* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiOnceUponAFrame_destroy(ImGuiOnceUponAFrame* self); @@ -1151,6 +1203,30 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern ImGuiPlatformMonitor* ImGuiPlatformMonitor_ImGuiPlatformMonitor(); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiSelectionBasicStorage_ApplyRequests(ImGuiSelectionBasicStorage* self, ImGuiMultiSelectIO* ms_io); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiSelectionBasicStorage_Clear(ImGuiSelectionBasicStorage* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte ImGuiSelectionBasicStorage_Contains(ImGuiSelectionBasicStorage* self, uint id); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiSelectionBasicStorage_destroy(ImGuiSelectionBasicStorage* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern byte ImGuiSelectionBasicStorage_GetNextSelectedItem(ImGuiSelectionBasicStorage* self, void** opaque_it, uint* out_id); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern uint ImGuiSelectionBasicStorage_GetStorageIdFromIndex(ImGuiSelectionBasicStorage* self, int idx); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiSelectionBasicStorage* ImGuiSelectionBasicStorage_ImGuiSelectionBasicStorage(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiSelectionBasicStorage_SetItemSelected(ImGuiSelectionBasicStorage* self, uint id, byte selected); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiSelectionBasicStorage_Swap(ImGuiSelectionBasicStorage* self, ImGuiSelectionBasicStorage* r); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiSelectionExternalStorage_ApplyRequests(ImGuiSelectionExternalStorage* self, ImGuiMultiSelectIO* ms_io); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern void ImGuiSelectionExternalStorage_destroy(ImGuiSelectionExternalStorage* self); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] + public static extern ImGuiSelectionExternalStorage* ImGuiSelectionExternalStorage_ImGuiSelectionExternalStorage(); + [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiStorage_Clear(ImGuiStorage* self); @@ -1183,11 +1259,11 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiStoragePair_destroy(ImGuiStoragePair* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Int(uint _key, int _val_i); + public static extern ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Int(uint _key, int _val); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Float(uint _key, float _val_f); + public static extern ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Float(uint _key, float _val); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Ptr(uint _key, void* _val_p); + public static extern ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Ptr(uint _key, void* _val); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiStyle_destroy(ImGuiStyle* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] @@ -1205,7 +1281,7 @@ public static unsafe partial class ImGuiNative [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern void ImGuiTextBuffer_append(ImGuiTextBuffer* self, byte* str, byte* str_end); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] - public static extern void ImGuiTextBuffer_appendf(ImGuiTextBuffer* self, byte* fmt); + public static extern void ImGuiTextBuffer_appendf(ImGuiTextBuffer* buffer, byte* fmt); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] public static extern byte* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] diff --git a/src/ImGui.NET/Generated/ImGuiNavInput.gen.cs b/src/ImGui.NET/Generated/ImGuiNavInput.gen.cs deleted file mode 100644 index fa8ead2c..00000000 --- a/src/ImGui.NET/Generated/ImGuiNavInput.gen.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace ImGuiNET -{ - public enum ImGuiNavInput - { - Activate = 0, - Cancel = 1, - Input = 2, - Menu = 3, - DpadLeft = 4, - DpadRight = 5, - DpadUp = 6, - DpadDown = 7, - LStickLeft = 8, - LStickRight = 9, - LStickUp = 10, - LStickDown = 11, - FocusPrev = 12, - FocusNext = 13, - TweakSlow = 14, - TweakFast = 15, - COUNT = 16, - } -} diff --git a/src/ImGui.NET/Generated/ImGuiPayload.gen.cs b/src/ImGui.NET/Generated/ImGuiPayload.gen.cs index 117e7e61..6f4ba795 100644 --- a/src/ImGui.NET/Generated/ImGuiPayload.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiPayload.gen.cs @@ -40,6 +40,35 @@ public void Destroy() { ImGuiNative.ImGuiPayload_destroy((ImGuiPayload*)(NativePtr)); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public bool IsDataType(ReadOnlySpan type) + { + byte* native_type; + int type_byteCount = 0; + if (type != null) + { + type_byteCount = Encoding.UTF8.GetByteCount(type); + if (type_byteCount > Util.StackAllocationSizeLimit) + { + native_type = Util.Allocate(type_byteCount + 1); + } + else + { + byte* native_type_stackBytes = stackalloc byte[type_byteCount + 1]; + native_type = native_type_stackBytes; + } + int native_type_offset = Util.GetUtf8(type, native_type, type_byteCount); + native_type[native_type_offset] = 0; + } + else { native_type = null; } + byte ret = ImGuiNative.ImGuiPayload_IsDataType((ImGuiPayload*)(NativePtr), native_type); + if (type_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_type); + } + return ret != 0; + } +#endif public bool IsDataType(string type) { byte* native_type; diff --git a/src/ImGui.NET/Generated/ImGuiPlatformIO.gen.cs b/src/ImGui.NET/Generated/ImGuiPlatformIO.gen.cs index 602e3693..5bdef45b 100644 --- a/src/ImGui.NET/Generated/ImGuiPlatformIO.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiPlatformIO.gen.cs @@ -7,6 +7,15 @@ namespace ImGuiNET { public unsafe partial struct ImGuiPlatformIO { + public IntPtr Platform_GetClipboardTextFn; + public IntPtr Platform_SetClipboardTextFn; + public void* Platform_ClipboardUserData; + public IntPtr Platform_OpenInShellFn; + public void* Platform_OpenInShellUserData; + public IntPtr Platform_SetImeDataFn; + public void* Platform_ImeUserData; + public ushort Platform_LocaleDecimalPoint; + public void* Renderer_RenderState; public IntPtr Platform_CreateWindow; public IntPtr Platform_DestroyWindow; public IntPtr Platform_ShowWindow; @@ -24,6 +33,7 @@ public unsafe partial struct ImGuiPlatformIO public IntPtr Platform_SwapBuffers; public IntPtr Platform_GetWindowDpiScale; public IntPtr Platform_OnChangedViewport; + public IntPtr Platform_GetWindowWorkAreaInsets; public IntPtr Platform_CreateVkSurface; public IntPtr Renderer_CreateWindow; public IntPtr Renderer_DestroyWindow; @@ -41,6 +51,15 @@ public unsafe partial struct ImGuiPlatformIOPtr public static implicit operator ImGuiPlatformIOPtr(ImGuiPlatformIO* nativePtr) => new ImGuiPlatformIOPtr(nativePtr); public static implicit operator ImGuiPlatformIO* (ImGuiPlatformIOPtr wrappedPtr) => wrappedPtr.NativePtr; public static implicit operator ImGuiPlatformIOPtr(IntPtr nativePtr) => new ImGuiPlatformIOPtr(nativePtr); + public ref IntPtr Platform_GetClipboardTextFn => ref Unsafe.AsRef(&NativePtr->Platform_GetClipboardTextFn); + public ref IntPtr Platform_SetClipboardTextFn => ref Unsafe.AsRef(&NativePtr->Platform_SetClipboardTextFn); + public IntPtr Platform_ClipboardUserData { get => (IntPtr)NativePtr->Platform_ClipboardUserData; set => NativePtr->Platform_ClipboardUserData = (void*)value; } + public ref IntPtr Platform_OpenInShellFn => ref Unsafe.AsRef(&NativePtr->Platform_OpenInShellFn); + public IntPtr Platform_OpenInShellUserData { get => (IntPtr)NativePtr->Platform_OpenInShellUserData; set => NativePtr->Platform_OpenInShellUserData = (void*)value; } + public ref IntPtr Platform_SetImeDataFn => ref Unsafe.AsRef(&NativePtr->Platform_SetImeDataFn); + public IntPtr Platform_ImeUserData { get => (IntPtr)NativePtr->Platform_ImeUserData; set => NativePtr->Platform_ImeUserData = (void*)value; } + public ref ushort Platform_LocaleDecimalPoint => ref Unsafe.AsRef(&NativePtr->Platform_LocaleDecimalPoint); + public IntPtr Renderer_RenderState { get => (IntPtr)NativePtr->Renderer_RenderState; set => NativePtr->Renderer_RenderState = (void*)value; } public ref IntPtr Platform_CreateWindow => ref Unsafe.AsRef(&NativePtr->Platform_CreateWindow); public ref IntPtr Platform_DestroyWindow => ref Unsafe.AsRef(&NativePtr->Platform_DestroyWindow); public ref IntPtr Platform_ShowWindow => ref Unsafe.AsRef(&NativePtr->Platform_ShowWindow); @@ -58,6 +77,7 @@ public unsafe partial struct ImGuiPlatformIOPtr public ref IntPtr Platform_SwapBuffers => ref Unsafe.AsRef(&NativePtr->Platform_SwapBuffers); public ref IntPtr Platform_GetWindowDpiScale => ref Unsafe.AsRef(&NativePtr->Platform_GetWindowDpiScale); public ref IntPtr Platform_OnChangedViewport => ref Unsafe.AsRef(&NativePtr->Platform_OnChangedViewport); + public ref IntPtr Platform_GetWindowWorkAreaInsets => ref Unsafe.AsRef(&NativePtr->Platform_GetWindowWorkAreaInsets); public ref IntPtr Platform_CreateVkSurface => ref Unsafe.AsRef(&NativePtr->Platform_CreateVkSurface); public ref IntPtr Renderer_CreateWindow => ref Unsafe.AsRef(&NativePtr->Renderer_CreateWindow); public ref IntPtr Renderer_DestroyWindow => ref Unsafe.AsRef(&NativePtr->Renderer_DestroyWindow); diff --git a/src/ImGui.NET/Generated/ImGuiPlatformMonitor.gen.cs b/src/ImGui.NET/Generated/ImGuiPlatformMonitor.gen.cs index 8536d8aa..4013834b 100644 --- a/src/ImGui.NET/Generated/ImGuiPlatformMonitor.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiPlatformMonitor.gen.cs @@ -12,6 +12,7 @@ public unsafe partial struct ImGuiPlatformMonitor public Vector2 WorkPos; public Vector2 WorkSize; public float DpiScale; + public void* PlatformHandle; } public unsafe partial struct ImGuiPlatformMonitorPtr { @@ -26,6 +27,7 @@ public unsafe partial struct ImGuiPlatformMonitorPtr public ref Vector2 WorkPos => ref Unsafe.AsRef(&NativePtr->WorkPos); public ref Vector2 WorkSize => ref Unsafe.AsRef(&NativePtr->WorkSize); public ref float DpiScale => ref Unsafe.AsRef(&NativePtr->DpiScale); + public IntPtr PlatformHandle { get => (IntPtr)NativePtr->PlatformHandle; set => NativePtr->PlatformHandle = (void*)value; } public void Destroy() { ImGuiNative.ImGuiPlatformMonitor_destroy((ImGuiPlatformMonitor*)(NativePtr)); diff --git a/src/ImGui.NET/Generated/ImGuiPopupFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiPopupFlags.gen.cs index 5fbe6089..9564d98a 100644 --- a/src/ImGui.NET/Generated/ImGuiPopupFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiPopupFlags.gen.cs @@ -9,10 +9,11 @@ public enum ImGuiPopupFlags MouseButtonMiddle = 2, MouseButtonMask = 31, MouseButtonDefault = 1, - NoOpenOverExistingPopup = 32, - NoOpenOverItems = 64, - AnyPopupId = 128, - AnyPopupLevel = 256, - AnyPopup = 384, + NoReopen = 32, + NoOpenOverExistingPopup = 128, + NoOpenOverItems = 256, + AnyPopupId = 1024, + AnyPopupLevel = 2048, + AnyPopup = 3072, } } diff --git a/src/ImGui.NET/Generated/ImGuiSelectableFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiSelectableFlags.gen.cs index c0391bfb..4fff23c5 100644 --- a/src/ImGui.NET/Generated/ImGuiSelectableFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiSelectableFlags.gen.cs @@ -4,10 +4,11 @@ namespace ImGuiNET public enum ImGuiSelectableFlags { None = 0, - DontClosePopups = 1, + NoAutoClosePopups = 1, SpanAllColumns = 2, AllowDoubleClick = 4, Disabled = 8, - AllowItemOverlap = 16, + AllowOverlap = 16, + Highlight = 32, } } diff --git a/src/ImGui.NET/Generated/ImGuiSelectionBasicStorage.gen.cs b/src/ImGui.NET/Generated/ImGuiSelectionBasicStorage.gen.cs new file mode 100644 index 00000000..d929ff11 --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiSelectionBasicStorage.gen.cs @@ -0,0 +1,76 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace ImGuiNET +{ + public unsafe partial struct ImGuiSelectionBasicStorage + { + public int Size; + public byte PreserveOrder; + public void* UserData; + public IntPtr AdapterIndexToStorageId; + public int _SelectionOrder; + public ImGuiStorage _Storage; + } + public unsafe partial struct ImGuiSelectionBasicStoragePtr + { + public ImGuiSelectionBasicStorage* NativePtr { get; } + public ImGuiSelectionBasicStoragePtr(ImGuiSelectionBasicStorage* nativePtr) => NativePtr = nativePtr; + public ImGuiSelectionBasicStoragePtr(IntPtr nativePtr) => NativePtr = (ImGuiSelectionBasicStorage*)nativePtr; + public static implicit operator ImGuiSelectionBasicStoragePtr(ImGuiSelectionBasicStorage* nativePtr) => new ImGuiSelectionBasicStoragePtr(nativePtr); + public static implicit operator ImGuiSelectionBasicStorage* (ImGuiSelectionBasicStoragePtr wrappedPtr) => wrappedPtr.NativePtr; + public static implicit operator ImGuiSelectionBasicStoragePtr(IntPtr nativePtr) => new ImGuiSelectionBasicStoragePtr(nativePtr); + public ref int Size => ref Unsafe.AsRef(&NativePtr->Size); + public ref bool PreserveOrder => ref Unsafe.AsRef(&NativePtr->PreserveOrder); + public IntPtr UserData { get => (IntPtr)NativePtr->UserData; set => NativePtr->UserData = (void*)value; } + public ref IntPtr AdapterIndexToStorageId => ref Unsafe.AsRef(&NativePtr->AdapterIndexToStorageId); + public ref int _SelectionOrder => ref Unsafe.AsRef(&NativePtr->_SelectionOrder); + public ref ImGuiStorage _Storage => ref Unsafe.AsRef(&NativePtr->_Storage); + public void ApplyRequests(ImGuiMultiSelectIOPtr ms_io) + { + ImGuiMultiSelectIO* native_ms_io = ms_io.NativePtr; + ImGuiNative.ImGuiSelectionBasicStorage_ApplyRequests((ImGuiSelectionBasicStorage*)(NativePtr), native_ms_io); + } + public void Clear() + { + ImGuiNative.ImGuiSelectionBasicStorage_Clear((ImGuiSelectionBasicStorage*)(NativePtr)); + } + public bool Contains(uint id) + { + byte ret = ImGuiNative.ImGuiSelectionBasicStorage_Contains((ImGuiSelectionBasicStorage*)(NativePtr), id); + return ret != 0; + } + public void Destroy() + { + ImGuiNative.ImGuiSelectionBasicStorage_destroy((ImGuiSelectionBasicStorage*)(NativePtr)); + } + public bool GetNextSelectedItem(ref void* opaque_it, out uint out_id) + { + fixed (void** native_opaque_it = &opaque_it) + { + fixed (uint* native_out_id = &out_id) + { + byte ret = ImGuiNative.ImGuiSelectionBasicStorage_GetNextSelectedItem((ImGuiSelectionBasicStorage*)(NativePtr), native_opaque_it, native_out_id); + return ret != 0; + } + } + } + public uint GetStorageIdFromIndex(int idx) + { + uint ret = ImGuiNative.ImGuiSelectionBasicStorage_GetStorageIdFromIndex((ImGuiSelectionBasicStorage*)(NativePtr), idx); + return ret; + } + public void SetItemSelected(uint id, bool selected) + { + byte native_selected = selected ? (byte)1 : (byte)0; + ImGuiNative.ImGuiSelectionBasicStorage_SetItemSelected((ImGuiSelectionBasicStorage*)(NativePtr), id, native_selected); + } + public void Swap(ImGuiSelectionBasicStoragePtr r) + { + ImGuiSelectionBasicStorage* native_r = r.NativePtr; + ImGuiNative.ImGuiSelectionBasicStorage_Swap((ImGuiSelectionBasicStorage*)(NativePtr), native_r); + } + } +} diff --git a/src/ImGui.NET/Generated/ImGuiSelectionExternalStorage.gen.cs b/src/ImGui.NET/Generated/ImGuiSelectionExternalStorage.gen.cs new file mode 100644 index 00000000..fa8e2e02 --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiSelectionExternalStorage.gen.cs @@ -0,0 +1,33 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace ImGuiNET +{ + public unsafe partial struct ImGuiSelectionExternalStorage + { + public void* UserData; + public IntPtr AdapterSetItemSelected; + } + public unsafe partial struct ImGuiSelectionExternalStoragePtr + { + public ImGuiSelectionExternalStorage* NativePtr { get; } + public ImGuiSelectionExternalStoragePtr(ImGuiSelectionExternalStorage* nativePtr) => NativePtr = nativePtr; + public ImGuiSelectionExternalStoragePtr(IntPtr nativePtr) => NativePtr = (ImGuiSelectionExternalStorage*)nativePtr; + public static implicit operator ImGuiSelectionExternalStoragePtr(ImGuiSelectionExternalStorage* nativePtr) => new ImGuiSelectionExternalStoragePtr(nativePtr); + public static implicit operator ImGuiSelectionExternalStorage* (ImGuiSelectionExternalStoragePtr wrappedPtr) => wrappedPtr.NativePtr; + public static implicit operator ImGuiSelectionExternalStoragePtr(IntPtr nativePtr) => new ImGuiSelectionExternalStoragePtr(nativePtr); + public IntPtr UserData { get => (IntPtr)NativePtr->UserData; set => NativePtr->UserData = (void*)value; } + public ref IntPtr AdapterSetItemSelected => ref Unsafe.AsRef(&NativePtr->AdapterSetItemSelected); + public void ApplyRequests(ImGuiMultiSelectIOPtr ms_io) + { + ImGuiMultiSelectIO* native_ms_io = ms_io.NativePtr; + ImGuiNative.ImGuiSelectionExternalStorage_ApplyRequests((ImGuiSelectionExternalStorage*)(NativePtr), native_ms_io); + } + public void Destroy() + { + ImGuiNative.ImGuiSelectionExternalStorage_destroy((ImGuiSelectionExternalStorage*)(NativePtr)); + } + } +} diff --git a/src/ImGui.NET/Generated/ImGuiSelectionRequest.gen.cs b/src/ImGui.NET/Generated/ImGuiSelectionRequest.gen.cs new file mode 100644 index 00000000..86b52c0a --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiSelectionRequest.gen.cs @@ -0,0 +1,30 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace ImGuiNET +{ + public unsafe partial struct ImGuiSelectionRequest + { + public ImGuiSelectionRequestType Type; + public byte Selected; + public sbyte RangeDirection; + public long RangeFirstItem; + public long RangeLastItem; + } + public unsafe partial struct ImGuiSelectionRequestPtr + { + public ImGuiSelectionRequest* NativePtr { get; } + public ImGuiSelectionRequestPtr(ImGuiSelectionRequest* nativePtr) => NativePtr = nativePtr; + public ImGuiSelectionRequestPtr(IntPtr nativePtr) => NativePtr = (ImGuiSelectionRequest*)nativePtr; + public static implicit operator ImGuiSelectionRequestPtr(ImGuiSelectionRequest* nativePtr) => new ImGuiSelectionRequestPtr(nativePtr); + public static implicit operator ImGuiSelectionRequest* (ImGuiSelectionRequestPtr wrappedPtr) => wrappedPtr.NativePtr; + public static implicit operator ImGuiSelectionRequestPtr(IntPtr nativePtr) => new ImGuiSelectionRequestPtr(nativePtr); + public ref ImGuiSelectionRequestType Type => ref Unsafe.AsRef(&NativePtr->Type); + public ref bool Selected => ref Unsafe.AsRef(&NativePtr->Selected); + public ref sbyte RangeDirection => ref Unsafe.AsRef(&NativePtr->RangeDirection); + public ref long RangeFirstItem => ref Unsafe.AsRef(&NativePtr->RangeFirstItem); + public ref long RangeLastItem => ref Unsafe.AsRef(&NativePtr->RangeLastItem); + } +} diff --git a/src/ImGui.NET/Generated/ImGuiSelectionRequestType.gen.cs b/src/ImGui.NET/Generated/ImGuiSelectionRequestType.gen.cs new file mode 100644 index 00000000..45b2503a --- /dev/null +++ b/src/ImGui.NET/Generated/ImGuiSelectionRequestType.gen.cs @@ -0,0 +1,9 @@ +namespace ImGuiNET +{ + public enum ImGuiSelectionRequestType + { + None = 0, + SetAll = 1, + SetRange = 2, + } +} diff --git a/src/ImGui.NET/Generated/ImGuiSliderFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiSliderFlags.gen.cs index f87859c5..f080670d 100644 --- a/src/ImGui.NET/Generated/ImGuiSliderFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiSliderFlags.gen.cs @@ -4,10 +4,13 @@ namespace ImGuiNET public enum ImGuiSliderFlags { None = 0, - AlwaysClamp = 16, Logarithmic = 32, NoRoundToFormat = 64, NoInput = 128, + WrapAround = 256, + ClampOnInput = 512, + ClampZeroRange = 1024, + AlwaysClamp = 1536, InvalidMask = 1879048207, } } diff --git a/src/ImGui.NET/Generated/ImGuiStyle.gen.cs b/src/ImGui.NET/Generated/ImGuiStyle.gen.cs index 3c92420f..4a17ba36 100644 --- a/src/ImGui.NET/Generated/ImGuiStyle.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiStyle.gen.cs @@ -36,11 +36,19 @@ public unsafe partial struct ImGuiStyle public float TabRounding; public float TabBorderSize; public float TabMinWidthForCloseButton; + public float TabBarBorderSize; + public float TabBarOverlineSize; + public float TableAngledHeadersAngle; + public Vector2 TableAngledHeadersTextAlign; public ImGuiDir ColorButtonPosition; public Vector2 ButtonTextAlign; public Vector2 SelectableTextAlign; + public float SeparatorTextBorderSize; + public Vector2 SeparatorTextAlign; + public Vector2 SeparatorTextPadding; public Vector2 DisplayWindowPadding; public Vector2 DisplaySafeAreaPadding; + public float DockingSeparatorSize; public float MouseCursorScale; public byte AntiAliasedLines; public byte AntiAliasedLinesUseTex; @@ -102,6 +110,14 @@ public unsafe partial struct ImGuiStyle public Vector4 Colors_52; public Vector4 Colors_53; public Vector4 Colors_54; + public Vector4 Colors_55; + public Vector4 Colors_56; + public Vector4 Colors_57; + public float HoverStationaryDelay; + public float HoverDelayShort; + public float HoverDelayNormal; + public ImGuiHoveredFlags HoverFlagsForTooltipMouse; + public ImGuiHoveredFlags HoverFlagsForTooltipNav; } public unsafe partial struct ImGuiStylePtr { @@ -140,18 +156,31 @@ public unsafe partial struct ImGuiStylePtr public ref float TabRounding => ref Unsafe.AsRef(&NativePtr->TabRounding); public ref float TabBorderSize => ref Unsafe.AsRef(&NativePtr->TabBorderSize); public ref float TabMinWidthForCloseButton => ref Unsafe.AsRef(&NativePtr->TabMinWidthForCloseButton); + public ref float TabBarBorderSize => ref Unsafe.AsRef(&NativePtr->TabBarBorderSize); + public ref float TabBarOverlineSize => ref Unsafe.AsRef(&NativePtr->TabBarOverlineSize); + public ref float TableAngledHeadersAngle => ref Unsafe.AsRef(&NativePtr->TableAngledHeadersAngle); + public ref Vector2 TableAngledHeadersTextAlign => ref Unsafe.AsRef(&NativePtr->TableAngledHeadersTextAlign); public ref ImGuiDir ColorButtonPosition => ref Unsafe.AsRef(&NativePtr->ColorButtonPosition); public ref Vector2 ButtonTextAlign => ref Unsafe.AsRef(&NativePtr->ButtonTextAlign); public ref Vector2 SelectableTextAlign => ref Unsafe.AsRef(&NativePtr->SelectableTextAlign); + public ref float SeparatorTextBorderSize => ref Unsafe.AsRef(&NativePtr->SeparatorTextBorderSize); + public ref Vector2 SeparatorTextAlign => ref Unsafe.AsRef(&NativePtr->SeparatorTextAlign); + public ref Vector2 SeparatorTextPadding => ref Unsafe.AsRef(&NativePtr->SeparatorTextPadding); public ref Vector2 DisplayWindowPadding => ref Unsafe.AsRef(&NativePtr->DisplayWindowPadding); public ref Vector2 DisplaySafeAreaPadding => ref Unsafe.AsRef(&NativePtr->DisplaySafeAreaPadding); + public ref float DockingSeparatorSize => ref Unsafe.AsRef(&NativePtr->DockingSeparatorSize); public ref float MouseCursorScale => ref Unsafe.AsRef(&NativePtr->MouseCursorScale); public ref bool AntiAliasedLines => ref Unsafe.AsRef(&NativePtr->AntiAliasedLines); public ref bool AntiAliasedLinesUseTex => ref Unsafe.AsRef(&NativePtr->AntiAliasedLinesUseTex); public ref bool AntiAliasedFill => ref Unsafe.AsRef(&NativePtr->AntiAliasedFill); public ref float CurveTessellationTol => ref Unsafe.AsRef(&NativePtr->CurveTessellationTol); public ref float CircleTessellationMaxError => ref Unsafe.AsRef(&NativePtr->CircleTessellationMaxError); - public RangeAccessor Colors => new RangeAccessor(&NativePtr->Colors_0, 55); + public RangeAccessor Colors => new RangeAccessor(&NativePtr->Colors_0, 58); + public ref float HoverStationaryDelay => ref Unsafe.AsRef(&NativePtr->HoverStationaryDelay); + public ref float HoverDelayShort => ref Unsafe.AsRef(&NativePtr->HoverDelayShort); + public ref float HoverDelayNormal => ref Unsafe.AsRef(&NativePtr->HoverDelayNormal); + public ref ImGuiHoveredFlags HoverFlagsForTooltipMouse => ref Unsafe.AsRef(&NativePtr->HoverFlagsForTooltipMouse); + public ref ImGuiHoveredFlags HoverFlagsForTooltipNav => ref Unsafe.AsRef(&NativePtr->HoverFlagsForTooltipNav); public void Destroy() { ImGuiNative.ImGuiStyle_destroy((ImGuiStyle*)(NativePtr)); diff --git a/src/ImGui.NET/Generated/ImGuiStyleVar.gen.cs b/src/ImGui.NET/Generated/ImGuiStyleVar.gen.cs index ffa53e5b..7434bb3d 100644 --- a/src/ImGui.NET/Generated/ImGuiStyleVar.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiStyleVar.gen.cs @@ -25,8 +25,17 @@ public enum ImGuiStyleVar GrabMinSize = 20, GrabRounding = 21, TabRounding = 22, - ButtonTextAlign = 23, - SelectableTextAlign = 24, - COUNT = 25, + TabBorderSize = 23, + TabBarBorderSize = 24, + TabBarOverlineSize = 25, + TableAngledHeadersAngle = 26, + TableAngledHeadersTextAlign = 27, + ButtonTextAlign = 28, + SelectableTextAlign = 29, + SeparatorTextBorderSize = 30, + SeparatorTextAlign = 31, + SeparatorTextPadding = 32, + DockingSeparatorSize = 33, + COUNT = 34, } } diff --git a/src/ImGui.NET/Generated/ImGuiTabBarFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiTabBarFlags.gen.cs index c5b82bfd..77d90ca3 100644 --- a/src/ImGui.NET/Generated/ImGuiTabBarFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiTabBarFlags.gen.cs @@ -10,9 +10,10 @@ public enum ImGuiTabBarFlags NoCloseWithMiddleMouseButton = 8, NoTabListScrollingButtons = 16, NoTooltip = 32, - FittingPolicyResizeDown = 64, - FittingPolicyScroll = 128, - FittingPolicyMask = 192, - FittingPolicyDefault = 64, + DrawSelectedOverline = 64, + FittingPolicyResizeDown = 128, + FittingPolicyScroll = 256, + FittingPolicyMask = 384, + FittingPolicyDefault = 128, } } diff --git a/src/ImGui.NET/Generated/ImGuiTabItemFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiTabItemFlags.gen.cs index 18e2c017..5f723698 100644 --- a/src/ImGui.NET/Generated/ImGuiTabItemFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiTabItemFlags.gen.cs @@ -12,5 +12,6 @@ public enum ImGuiTabItemFlags NoReorder = 32, Leading = 64, Trailing = 128, + NoAssumedClosure = 256, } } diff --git a/src/ImGui.NET/Generated/ImGuiTableColumnFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiTableColumnFlags.gen.cs index e377cdcb..cdeb4f56 100644 --- a/src/ImGui.NET/Generated/ImGuiTableColumnFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiTableColumnFlags.gen.cs @@ -22,6 +22,7 @@ public enum ImGuiTableColumnFlags PreferSortDescending = 32768, IndentEnable = 65536, IndentDisable = 131072, + AngledHeader = 262144, IsEnabled = 16777216, IsVisible = 33554432, IsSorted = 67108864, diff --git a/src/ImGui.NET/Generated/ImGuiTableFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiTableFlags.gen.cs index c7f0a5f6..715caff8 100644 --- a/src/ImGui.NET/Generated/ImGuiTableFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiTableFlags.gen.cs @@ -38,6 +38,7 @@ public enum ImGuiTableFlags ScrollY = 33554432, SortMulti = 67108864, SortTristate = 134217728, + HighlightHoveredColumn = 268435456, SizingMask = 57344, } } diff --git a/src/ImGui.NET/Generated/ImGuiTextBuffer.gen.cs b/src/ImGui.NET/Generated/ImGuiTextBuffer.gen.cs index bac78b60..7c3db2f6 100644 --- a/src/ImGui.NET/Generated/ImGuiTextBuffer.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiTextBuffer.gen.cs @@ -18,6 +18,34 @@ public unsafe partial struct ImGuiTextBufferPtr public static implicit operator ImGuiTextBuffer* (ImGuiTextBufferPtr wrappedPtr) => wrappedPtr.NativePtr; public static implicit operator ImGuiTextBufferPtr(IntPtr nativePtr) => new ImGuiTextBufferPtr(nativePtr); public ImVector Buf => new ImVector(NativePtr->Buf); +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public void append(ReadOnlySpan str) + { + byte* native_str; + int str_byteCount = 0; + if (str != null) + { + str_byteCount = Encoding.UTF8.GetByteCount(str); + if (str_byteCount > Util.StackAllocationSizeLimit) + { + native_str = Util.Allocate(str_byteCount + 1); + } + else + { + byte* native_str_stackBytes = stackalloc byte[str_byteCount + 1]; + native_str = native_str_stackBytes; + } + int native_str_offset = Util.GetUtf8(str, native_str, str_byteCount); + native_str[native_str_offset] = 0; + } + else { native_str = null; } + ImGuiNative.ImGuiTextBuffer_append((ImGuiTextBuffer*)(NativePtr), native_str, native_str+str_byteCount); + if (str_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_str); + } + } +#endif public void append(string str) { byte* native_str; @@ -38,14 +66,44 @@ public void append(string str) native_str[native_str_offset] = 0; } else { native_str = null; } - byte* native_str_end = null; - ImGuiNative.ImGuiTextBuffer_append((ImGuiTextBuffer*)(NativePtr), native_str, native_str_end); + ImGuiNative.ImGuiTextBuffer_append((ImGuiTextBuffer*)(NativePtr), native_str, native_str+str_byteCount); if (str_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_str); } } - public void appendf(string fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public void appendf(ref ImGuiTextBuffer buffer, ReadOnlySpan fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + fixed (ImGuiTextBuffer* native_buffer = &buffer) + { + ImGuiNative.ImGuiTextBuffer_appendf(native_buffer, native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + } + } +#endif + public void appendf(ref ImGuiTextBuffer buffer, string fmt) { byte* native_fmt; int fmt_byteCount = 0; @@ -65,10 +123,13 @@ public void appendf(string fmt) native_fmt[native_fmt_offset] = 0; } else { native_fmt = null; } - ImGuiNative.ImGuiTextBuffer_appendf((ImGuiTextBuffer*)(NativePtr), native_fmt); - if (fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ImGuiTextBuffer* native_buffer = &buffer) { - Util.Free(native_fmt); + ImGuiNative.ImGuiTextBuffer_appendf(native_buffer, native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } } } public string begin() diff --git a/src/ImGui.NET/Generated/ImGuiTextFilter.gen.cs b/src/ImGui.NET/Generated/ImGuiTextFilter.gen.cs index 76e8b181..e8dff5fb 100644 --- a/src/ImGui.NET/Generated/ImGuiTextFilter.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiTextFilter.gen.cs @@ -58,6 +58,36 @@ public bool Draw() } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public bool Draw(ReadOnlySpan label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + float width = 0.0f; + byte ret = ImGuiNative.ImGuiTextFilter_Draw((ImGuiTextFilter*)(NativePtr), native_label, width); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif public bool Draw(string label) { byte* native_label; @@ -86,6 +116,35 @@ public bool Draw(string label) } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public bool Draw(ReadOnlySpan label, float width) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte ret = ImGuiNative.ImGuiTextFilter_Draw((ImGuiTextFilter*)(NativePtr), native_label, width); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif public bool Draw(string label, float width) { byte* native_label; @@ -118,6 +177,35 @@ public bool IsActive() byte ret = ImGuiNative.ImGuiTextFilter_IsActive((ImGuiTextFilter*)(NativePtr)); return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public bool PassFilter(ReadOnlySpan text) + { + byte* native_text; + int text_byteCount = 0; + if (text != null) + { + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + native_text = Util.Allocate(text_byteCount + 1); + } + else + { + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; + } + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + byte ret = ImGuiNative.ImGuiTextFilter_PassFilter((ImGuiTextFilter*)(NativePtr), native_text, native_text+text_byteCount); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text); + } + return ret != 0; + } +#endif public bool PassFilter(string text) { byte* native_text; @@ -138,8 +226,7 @@ public bool PassFilter(string text) native_text[native_text_offset] = 0; } else { native_text = null; } - byte* native_text_end = null; - byte ret = ImGuiNative.ImGuiTextFilter_PassFilter((ImGuiTextFilter*)(NativePtr), native_text, native_text_end); + byte ret = ImGuiNative.ImGuiTextFilter_PassFilter((ImGuiTextFilter*)(NativePtr), native_text, native_text+text_byteCount); if (text_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_text); diff --git a/src/ImGui.NET/Generated/ImGuiTreeNodeFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiTreeNodeFlags.gen.cs index 7f848754..88dd8bd8 100644 --- a/src/ImGui.NET/Generated/ImGuiTreeNodeFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiTreeNodeFlags.gen.cs @@ -6,7 +6,7 @@ public enum ImGuiTreeNodeFlags None = 0, Selected = 1, Framed = 2, - AllowItemOverlap = 4, + AllowOverlap = 4, NoTreePushOnOpen = 8, NoAutoOpenOnLog = 16, DefaultOpen = 32, @@ -17,7 +17,9 @@ public enum ImGuiTreeNodeFlags FramePadding = 1024, SpanAvailWidth = 2048, SpanFullWidth = 4096, - NavLeftJumpsBackHere = 8192, + SpanTextWidth = 8192, + SpanAllColumns = 16384, + NavLeftJumpsBackHere = 32768, CollapsingHeader = 26, } } diff --git a/src/ImGui.NET/Generated/ImGuiViewportFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiViewportFlags.gen.cs index 463d0a13..720967f1 100644 --- a/src/ImGui.NET/Generated/ImGuiViewportFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiViewportFlags.gen.cs @@ -13,9 +13,10 @@ public enum ImGuiViewportFlags NoFocusOnClick = 64, NoInputs = 128, NoRendererClear = 256, - TopMost = 512, - Minimized = 1024, - NoAutoMerge = 2048, - CanHostOtherWindows = 4096, + NoAutoMerge = 512, + TopMost = 1024, + CanHostOtherWindows = 2048, + IsMinimized = 4096, + IsFocused = 8192, } } diff --git a/src/ImGui.NET/Generated/ImGuiWindowClass.gen.cs b/src/ImGui.NET/Generated/ImGuiWindowClass.gen.cs index e34c5012..e4defab3 100644 --- a/src/ImGui.NET/Generated/ImGuiWindowClass.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiWindowClass.gen.cs @@ -9,6 +9,7 @@ public unsafe partial struct ImGuiWindowClass { public uint ClassId; public uint ParentViewportId; + public uint FocusRouteParentWindowId; public ImGuiViewportFlags ViewportFlagsOverrideSet; public ImGuiViewportFlags ViewportFlagsOverrideClear; public ImGuiTabItemFlags TabItemFlagsOverrideSet; @@ -26,6 +27,7 @@ public unsafe partial struct ImGuiWindowClassPtr public static implicit operator ImGuiWindowClassPtr(IntPtr nativePtr) => new ImGuiWindowClassPtr(nativePtr); public ref uint ClassId => ref Unsafe.AsRef(&NativePtr->ClassId); public ref uint ParentViewportId => ref Unsafe.AsRef(&NativePtr->ParentViewportId); + public ref uint FocusRouteParentWindowId => ref Unsafe.AsRef(&NativePtr->FocusRouteParentWindowId); public ref ImGuiViewportFlags ViewportFlagsOverrideSet => ref Unsafe.AsRef(&NativePtr->ViewportFlagsOverrideSet); public ref ImGuiViewportFlags ViewportFlagsOverrideClear => ref Unsafe.AsRef(&NativePtr->ViewportFlagsOverrideClear); public ref ImGuiTabItemFlags TabItemFlagsOverrideSet => ref Unsafe.AsRef(&NativePtr->TabItemFlagsOverrideSet); diff --git a/src/ImGui.NET/Generated/ImGuiWindowFlags.gen.cs b/src/ImGui.NET/Generated/ImGuiWindowFlags.gen.cs index be9ed0f2..184f40de 100644 --- a/src/ImGui.NET/Generated/ImGuiWindowFlags.gen.cs +++ b/src/ImGui.NET/Generated/ImGuiWindowFlags.gen.cs @@ -20,15 +20,13 @@ public enum ImGuiWindowFlags NoBringToFrontOnFocus = 8192, AlwaysVerticalScrollbar = 16384, AlwaysHorizontalScrollbar = 32768, - AlwaysUseWindowPadding = 65536, - NoNavInputs = 262144, - NoNavFocus = 524288, - UnsavedDocument = 1048576, - NoDocking = 2097152, - NoNav = 786432, + NoNavInputs = 65536, + NoNavFocus = 131072, + UnsavedDocument = 262144, + NoDocking = 524288, + NoNav = 196608, NoDecoration = 43, - NoInputs = 786944, - NavFlattened = 8388608, + NoInputs = 197120, ChildWindow = 16777216, Tooltip = 33554432, Popup = 67108864, diff --git a/src/ImGui.NET/ImDrawData.Manual.cs b/src/ImGui.NET/ImDrawData.Manual.cs deleted file mode 100644 index ddb50414..00000000 --- a/src/ImGui.NET/ImDrawData.Manual.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace ImGuiNET -{ - public unsafe partial struct ImDrawDataPtr - { - public RangePtrAccessor CmdListsRange => new RangePtrAccessor(CmdLists.ToPointer(), CmdListsCount); - } -} diff --git a/src/ImGui.NET/ImDrawList.Manual.cs b/src/ImGui.NET/ImDrawList.Manual.cs deleted file mode 100644 index dff0a4f3..00000000 --- a/src/ImGui.NET/ImDrawList.Manual.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System.Numerics; -using System.Text; - -namespace ImGuiNET -{ - public unsafe partial struct ImDrawListPtr - { - public void AddText(Vector2 pos, uint col, string text_begin) - { - int text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); - byte* native_text_begin = stackalloc byte[text_begin_byteCount + 1]; - fixed (char* text_begin_ptr = text_begin) - { - int native_text_begin_offset = Encoding.UTF8.GetBytes(text_begin_ptr, text_begin.Length, native_text_begin, text_begin_byteCount); - native_text_begin[native_text_begin_offset] = 0; - } - byte* native_text_end = null; - ImGuiNative.ImDrawList_AddText_Vec2(NativePtr, pos, col, native_text_begin, native_text_end); - } - - public void AddText(ImFontPtr font, float font_size, Vector2 pos, uint col, string text_begin) - { - ImFont* native_font = font.NativePtr; - int text_begin_byteCount = Encoding.UTF8.GetByteCount(text_begin); - byte* native_text_begin = stackalloc byte[text_begin_byteCount + 1]; - fixed (char* text_begin_ptr = text_begin) - { - int native_text_begin_offset = Encoding.UTF8.GetBytes(text_begin_ptr, text_begin.Length, native_text_begin, text_begin_byteCount); - native_text_begin[native_text_begin_offset] = 0; - } - byte* native_text_end = null; - float wrap_width = 0.0f; - Vector4* cpu_fine_clip_rect = null; - ImGuiNative.ImDrawList_AddText_FontPtr(NativePtr, native_font, font_size, pos, col, native_text_begin, native_text_end, wrap_width, cpu_fine_clip_rect); - } - } -} diff --git a/src/ImGui.NET/ImGui.Manual.ReadOnlySpan.cs b/src/ImGui.NET/ImGui.Manual.ReadOnlySpan.cs new file mode 100644 index 00000000..8fe914f2 --- /dev/null +++ b/src/ImGui.NET/ImGui.Manual.ReadOnlySpan.cs @@ -0,0 +1,515 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +// NOTE: +// This is a direct copy from ImGui.Manual.cs with all string parameters (not ref string) changed to ReadOnlySpan. +// TODO: This is far from ideal right now, maybe we could update the generator to do this for us. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER +namespace ImGuiNET +{ + public static unsafe partial class ImGui + { + public static bool InputText( + ReadOnlySpan label, + byte[] buf, + uint buf_size) + { + return InputText(label, buf, buf_size, 0, null, IntPtr.Zero); + } + + public static bool InputText( + ReadOnlySpan label, + byte[] buf, + uint buf_size, + ImGuiInputTextFlags flags) + { + return InputText(label, buf, buf_size, flags, null, IntPtr.Zero); + } + + public static bool InputText( + ReadOnlySpan label, + byte[] buf, + uint buf_size, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback) + { + return InputText(label, buf, buf_size, flags, callback, IntPtr.Zero); + } + + public static bool InputText( + ReadOnlySpan label, + byte[] buf, + uint buf_size, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback, + IntPtr user_data) + { + int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); + byte* utf8LabelBytes; + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); + } + else + { + byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; + utf8LabelBytes = stackPtr; + } + Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); + + bool ret; + fixed (byte* bufPtr = buf) + { + ret = ImGuiNative.igInputText(utf8LabelBytes, bufPtr, buf_size, flags, callback, user_data.ToPointer()) != 0; + } + + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + Util.Free(utf8LabelBytes); + } + + return ret; + } + + public static bool InputText( + ReadOnlySpan label, + ref string input, + uint maxLength) => InputText(label, ref input, maxLength, 0, null, IntPtr.Zero); + + public static bool InputText( + ReadOnlySpan label, + ref string input, + uint maxLength, + ImGuiInputTextFlags flags) => InputText(label, ref input, maxLength, flags, null, IntPtr.Zero); + + public static bool InputText( + ReadOnlySpan label, + ref string input, + uint maxLength, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback) => InputText(label, ref input, maxLength, flags, callback, IntPtr.Zero); + + public static bool InputText( + ReadOnlySpan label, + ref string input, + uint maxLength, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback, + IntPtr user_data) + { + int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); + byte* utf8LabelBytes; + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); + } + else + { + byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; + utf8LabelBytes = stackPtr; + } + Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); + + int utf8InputByteCount = Encoding.UTF8.GetByteCount(input); + int inputBufSize = Math.Max((int)maxLength + 1, utf8InputByteCount + 1); + + byte* utf8InputBytes; + byte* originalUtf8InputBytes; + if (inputBufSize > Util.StackAllocationSizeLimit) + { + utf8InputBytes = Util.Allocate(inputBufSize); + originalUtf8InputBytes = Util.Allocate(inputBufSize); + } + else + { + byte* inputStackBytes = stackalloc byte[inputBufSize]; + utf8InputBytes = inputStackBytes; + byte* originalInputStackBytes = stackalloc byte[inputBufSize]; + originalUtf8InputBytes = originalInputStackBytes; + } + Util.GetUtf8(input, utf8InputBytes, inputBufSize); + uint clearBytesCount = (uint)(inputBufSize - utf8InputByteCount); + Unsafe.InitBlockUnaligned(utf8InputBytes + utf8InputByteCount, 0, clearBytesCount); + Unsafe.CopyBlock(originalUtf8InputBytes, utf8InputBytes, (uint)inputBufSize); + + byte result = ImGuiNative.igInputText( + utf8LabelBytes, + utf8InputBytes, + (uint)inputBufSize, + flags, + callback, + user_data.ToPointer()); + if (!Util.AreStringsEqual(originalUtf8InputBytes, inputBufSize, utf8InputBytes)) + { + input = Util.StringFromPtr(utf8InputBytes); + } + + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + Util.Free(utf8LabelBytes); + } + if (inputBufSize > Util.StackAllocationSizeLimit) + { + Util.Free(utf8InputBytes); + Util.Free(originalUtf8InputBytes); + } + + return result != 0; + } + + public static bool InputTextMultiline( + ReadOnlySpan label, + ref string input, + uint maxLength, + Vector2 size) => InputTextMultiline(label, ref input, maxLength, size, 0, null, IntPtr.Zero); + + public static bool InputTextMultiline( + ReadOnlySpan label, + ref string input, + uint maxLength, + Vector2 size, + ImGuiInputTextFlags flags) => InputTextMultiline(label, ref input, maxLength, size, flags, null, IntPtr.Zero); + + public static bool InputTextMultiline( + ReadOnlySpan label, + ref string input, + uint maxLength, + Vector2 size, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback) => InputTextMultiline(label, ref input, maxLength, size, flags, callback, IntPtr.Zero); + + public static bool InputTextMultiline( + ReadOnlySpan label, + ref string input, + uint maxLength, + Vector2 size, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback, + IntPtr user_data) + { + int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); + byte* utf8LabelBytes; + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); + } + else + { + byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; + utf8LabelBytes = stackPtr; + } + Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); + + int utf8InputByteCount = Encoding.UTF8.GetByteCount(input); + int inputBufSize = Math.Max((int)maxLength + 1, utf8InputByteCount + 1); + + byte* utf8InputBytes; + byte* originalUtf8InputBytes; + if (inputBufSize > Util.StackAllocationSizeLimit) + { + utf8InputBytes = Util.Allocate(inputBufSize); + originalUtf8InputBytes = Util.Allocate(inputBufSize); + } + else + { + byte* inputStackBytes = stackalloc byte[inputBufSize]; + utf8InputBytes = inputStackBytes; + byte* originalInputStackBytes = stackalloc byte[inputBufSize]; + originalUtf8InputBytes = originalInputStackBytes; + } + Util.GetUtf8(input, utf8InputBytes, inputBufSize); + uint clearBytesCount = (uint)(inputBufSize - utf8InputByteCount); + Unsafe.InitBlockUnaligned(utf8InputBytes + utf8InputByteCount, 0, clearBytesCount); + Unsafe.CopyBlock(originalUtf8InputBytes, utf8InputBytes, (uint)inputBufSize); + + byte result = ImGuiNative.igInputTextMultiline( + utf8LabelBytes, + utf8InputBytes, + (uint)inputBufSize, + size, + flags, + callback, + user_data.ToPointer()); + if (!Util.AreStringsEqual(originalUtf8InputBytes, inputBufSize, utf8InputBytes)) + { + input = Util.StringFromPtr(utf8InputBytes); + } + + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + Util.Free(utf8LabelBytes); + } + if (inputBufSize > Util.StackAllocationSizeLimit) + { + Util.Free(utf8InputBytes); + Util.Free(originalUtf8InputBytes); + } + + return result != 0; + } + + public static bool InputTextWithHint( + ReadOnlySpan label, + ReadOnlySpan hint, + ref string input, + uint maxLength) => InputTextWithHint(label, hint, ref input, maxLength, 0, null, IntPtr.Zero); + + public static bool InputTextWithHint( + ReadOnlySpan label, + ReadOnlySpan hint, + ref string input, + uint maxLength, + ImGuiInputTextFlags flags) => InputTextWithHint(label, hint, ref input, maxLength, flags, null, IntPtr.Zero); + + public static bool InputTextWithHint( + ReadOnlySpan label, + ReadOnlySpan hint, + ref string input, + uint maxLength, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback) => InputTextWithHint(label, hint, ref input, maxLength, flags, callback, IntPtr.Zero); + + public static bool InputTextWithHint( + ReadOnlySpan label, + ReadOnlySpan hint, + ref string input, + uint maxLength, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback, + IntPtr user_data) + { + int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); + byte* utf8LabelBytes; + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); + } + else + { + byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; + utf8LabelBytes = stackPtr; + } + Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); + + int utf8HintByteCount = Encoding.UTF8.GetByteCount(hint); + byte* utf8HintBytes; + if (utf8HintByteCount > Util.StackAllocationSizeLimit) + { + utf8HintBytes = Util.Allocate(utf8HintByteCount + 1); + } + else + { + byte* stackPtr = stackalloc byte[utf8HintByteCount + 1]; + utf8HintBytes = stackPtr; + } + Util.GetUtf8(hint, utf8HintBytes, utf8HintByteCount); + + int utf8InputByteCount = Encoding.UTF8.GetByteCount(input); + int inputBufSize = Math.Max((int)maxLength + 1, utf8InputByteCount + 1); + + byte* utf8InputBytes; + byte* originalUtf8InputBytes; + if (inputBufSize > Util.StackAllocationSizeLimit) + { + utf8InputBytes = Util.Allocate(inputBufSize); + originalUtf8InputBytes = Util.Allocate(inputBufSize); + } + else + { + byte* inputStackBytes = stackalloc byte[inputBufSize]; + utf8InputBytes = inputStackBytes; + byte* originalInputStackBytes = stackalloc byte[inputBufSize]; + originalUtf8InputBytes = originalInputStackBytes; + } + Util.GetUtf8(input, utf8InputBytes, inputBufSize); + uint clearBytesCount = (uint)(inputBufSize - utf8InputByteCount); + Unsafe.InitBlockUnaligned(utf8InputBytes + utf8InputByteCount, 0, clearBytesCount); + Unsafe.CopyBlock(originalUtf8InputBytes, utf8InputBytes, (uint)inputBufSize); + + byte result = ImGuiNative.igInputTextWithHint( + utf8LabelBytes, + utf8HintBytes, + utf8InputBytes, + (uint)inputBufSize, + flags, + callback, + user_data.ToPointer()); + if (!Util.AreStringsEqual(originalUtf8InputBytes, inputBufSize, utf8InputBytes)) + { + input = Util.StringFromPtr(utf8InputBytes); + } + + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + Util.Free(utf8LabelBytes); + } + if (utf8HintByteCount > Util.StackAllocationSizeLimit) + { + Util.Free(utf8HintBytes); + } + if (inputBufSize > Util.StackAllocationSizeLimit) + { + Util.Free(utf8InputBytes); + Util.Free(originalUtf8InputBytes); + } + + return result != 0; + } + + public static Vector2 CalcTextSize(ReadOnlySpan text, int start) + => CalcTextSizeImpl(text, start); + + public static Vector2 CalcTextSize(ReadOnlySpan text, float wrapWidth) + => CalcTextSizeImpl(text, wrapWidth: wrapWidth); + + public static Vector2 CalcTextSize(ReadOnlySpan text, int start, int length) + => CalcTextSizeImpl(text, start, length); + + public static Vector2 CalcTextSize(ReadOnlySpan text, int start, bool hideTextAfterDoubleHash) + => CalcTextSizeImpl(text, start, hideTextAfterDoubleHash: hideTextAfterDoubleHash); + + public static Vector2 CalcTextSize(ReadOnlySpan text, int start, float wrapWidth) + => CalcTextSizeImpl(text, start, wrapWidth: wrapWidth); + + public static Vector2 CalcTextSize(ReadOnlySpan text, int start, int length, bool hideTextAfterDoubleHash) + => CalcTextSizeImpl(text, start, length, hideTextAfterDoubleHash); + + public static Vector2 CalcTextSize(ReadOnlySpan text, int start, int length, float wrapWidth) + => CalcTextSizeImpl(text, start, length, wrapWidth: wrapWidth); + + public static Vector2 CalcTextSize(ReadOnlySpan text, int start, int length, bool hideTextAfterDoubleHash, float wrapWidth) + => CalcTextSizeImpl(text, start, length, hideTextAfterDoubleHash, wrapWidth); + + private static Vector2 CalcTextSizeImpl( + ReadOnlySpan text, + int start = 0, + int? length = null, + bool hideTextAfterDoubleHash = false, + float wrapWidth = -1.0f) + { + return CalcTextSize(text.Slice(start, length ?? text.Length-start), hideTextAfterDoubleHash, wrapWidth); + } + + public static bool InputText( + ReadOnlySpan label, + IntPtr buf, + uint buf_size) + { + return InputText(label, buf, buf_size, 0, null, IntPtr.Zero); + } + + public static bool InputText( + ReadOnlySpan label, + IntPtr buf, + uint buf_size, + ImGuiInputTextFlags flags) + { + return InputText(label, buf, buf_size, flags, null, IntPtr.Zero); + } + + public static bool InputText( + ReadOnlySpan label, + IntPtr buf, + uint buf_size, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback) + { + return InputText(label, buf, buf_size, flags, callback, IntPtr.Zero); + } + + public static bool InputText( + ReadOnlySpan label, + IntPtr buf, + uint buf_size, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback, + IntPtr user_data) + { + int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); + byte* utf8LabelBytes; + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); + } + else + { + byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; + utf8LabelBytes = stackPtr; + } + Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); + + bool ret = ImGuiNative.igInputText(utf8LabelBytes, (byte*)buf.ToPointer(), buf_size, flags, callback, user_data.ToPointer()) != 0; + + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + Util.Free(utf8LabelBytes); + } + + return ret; + } + + public static bool Begin(ReadOnlySpan name, ImGuiWindowFlags flags) + { + int utf8NameByteCount = Encoding.UTF8.GetByteCount(name); + byte* utf8NameBytes; + if (utf8NameByteCount > Util.StackAllocationSizeLimit) + { + utf8NameBytes = Util.Allocate(utf8NameByteCount + 1); + } + else + { + byte* stackPtr = stackalloc byte[utf8NameByteCount + 1]; + utf8NameBytes = stackPtr; + } + Util.GetUtf8(name, utf8NameBytes, utf8NameByteCount); + + byte* p_open = null; + byte ret = ImGuiNative.igBegin(utf8NameBytes, p_open, flags); + + if (utf8NameByteCount > Util.StackAllocationSizeLimit) + { + Util.Free(utf8NameBytes); + } + + return ret != 0; + } + + public static bool MenuItem(ReadOnlySpan label, bool enabled) + { + return MenuItem(label, string.Empty, false, enabled); + } + + public static bool BeginPopupModal(ReadOnlySpan name, ImGuiWindowFlags flags) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + native_name = Util.Allocate(name_byteCount + 1); + } + else + { + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; + } + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; + } + else { native_name = null; } + byte* native_p_open = null; + byte ret = ImGuiNative.igBeginPopupModal(native_name, native_p_open, flags); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_name); + } + + return ret != 0; + } + } +} +#endif diff --git a/src/ImGui.NET/ImGui.Manual.cs b/src/ImGui.NET/ImGui.Manual.cs index cec21cfc..00c183d7 100644 --- a/src/ImGui.NET/ImGui.Manual.cs +++ b/src/ImGui.NET/ImGui.Manual.cs @@ -1,520 +1,510 @@ -using System; -using System.Numerics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Text; - -namespace ImGuiNET -{ - public static unsafe partial class ImGui - { - public static bool InputText( - string label, - byte[] buf, - uint buf_size) - { - return InputText(label, buf, buf_size, 0, null, IntPtr.Zero); - } - - public static bool InputText( - string label, - byte[] buf, - uint buf_size, - ImGuiInputTextFlags flags) - { - return InputText(label, buf, buf_size, flags, null, IntPtr.Zero); - } - - public static bool InputText( - string label, - byte[] buf, - uint buf_size, - ImGuiInputTextFlags flags, - ImGuiInputTextCallback callback) - { - return InputText(label, buf, buf_size, flags, callback, IntPtr.Zero); - } - - public static bool InputText( - string label, - byte[] buf, - uint buf_size, - ImGuiInputTextFlags flags, - ImGuiInputTextCallback callback, - IntPtr user_data) - { - int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); - byte* utf8LabelBytes; - if (utf8LabelByteCount > Util.StackAllocationSizeLimit) - { - utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); - } - else - { - byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; - utf8LabelBytes = stackPtr; - } - Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); - - bool ret; - fixed (byte* bufPtr = buf) - { - ret = ImGuiNative.igInputText(utf8LabelBytes, bufPtr, buf_size, flags, callback, user_data.ToPointer()) != 0; - } - - if (utf8LabelByteCount > Util.StackAllocationSizeLimit) - { - Util.Free(utf8LabelBytes); - } - - return ret; - } - - public static bool InputText( - string label, - ref string input, - uint maxLength) => InputText(label, ref input, maxLength, 0, null, IntPtr.Zero); - - public static bool InputText( - string label, - ref string input, - uint maxLength, - ImGuiInputTextFlags flags) => InputText(label, ref input, maxLength, flags, null, IntPtr.Zero); - - public static bool InputText( - string label, - ref string input, - uint maxLength, - ImGuiInputTextFlags flags, - ImGuiInputTextCallback callback) => InputText(label, ref input, maxLength, flags, callback, IntPtr.Zero); - - public static bool InputText( - string label, - ref string input, - uint maxLength, - ImGuiInputTextFlags flags, - ImGuiInputTextCallback callback, - IntPtr user_data) - { - int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); - byte* utf8LabelBytes; - if (utf8LabelByteCount > Util.StackAllocationSizeLimit) - { - utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); - } - else - { - byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; - utf8LabelBytes = stackPtr; - } - Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); - - int utf8InputByteCount = Encoding.UTF8.GetByteCount(input); - int inputBufSize = Math.Max((int)maxLength + 1, utf8InputByteCount + 1); - - byte* utf8InputBytes; - byte* originalUtf8InputBytes; - if (inputBufSize > Util.StackAllocationSizeLimit) - { - utf8InputBytes = Util.Allocate(inputBufSize); - originalUtf8InputBytes = Util.Allocate(inputBufSize); - } - else - { - byte* inputStackBytes = stackalloc byte[inputBufSize]; - utf8InputBytes = inputStackBytes; - byte* originalInputStackBytes = stackalloc byte[inputBufSize]; - originalUtf8InputBytes = originalInputStackBytes; - } - Util.GetUtf8(input, utf8InputBytes, inputBufSize); - uint clearBytesCount = (uint)(inputBufSize - utf8InputByteCount); - Unsafe.InitBlockUnaligned(utf8InputBytes + utf8InputByteCount, 0, clearBytesCount); - Unsafe.CopyBlock(originalUtf8InputBytes, utf8InputBytes, (uint)inputBufSize); - - byte result = ImGuiNative.igInputText( - utf8LabelBytes, - utf8InputBytes, - (uint)inputBufSize, - flags, - callback, - user_data.ToPointer()); - if (!Util.AreStringsEqual(originalUtf8InputBytes, inputBufSize, utf8InputBytes)) - { - input = Util.StringFromPtr(utf8InputBytes); - } - - if (utf8LabelByteCount > Util.StackAllocationSizeLimit) - { - Util.Free(utf8LabelBytes); - } - if (inputBufSize > Util.StackAllocationSizeLimit) - { - Util.Free(utf8InputBytes); - Util.Free(originalUtf8InputBytes); - } - - return result != 0; - } - - public static bool InputTextMultiline( - string label, - ref string input, - uint maxLength, - Vector2 size) => InputTextMultiline(label, ref input, maxLength, size, 0, null, IntPtr.Zero); - - public static bool InputTextMultiline( - string label, - ref string input, - uint maxLength, - Vector2 size, - ImGuiInputTextFlags flags) => InputTextMultiline(label, ref input, maxLength, size, flags, null, IntPtr.Zero); - - public static bool InputTextMultiline( - string label, - ref string input, - uint maxLength, - Vector2 size, - ImGuiInputTextFlags flags, - ImGuiInputTextCallback callback) => InputTextMultiline(label, ref input, maxLength, size, flags, callback, IntPtr.Zero); - - public static bool InputTextMultiline( - string label, - ref string input, - uint maxLength, - Vector2 size, - ImGuiInputTextFlags flags, - ImGuiInputTextCallback callback, - IntPtr user_data) - { - int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); - byte* utf8LabelBytes; - if (utf8LabelByteCount > Util.StackAllocationSizeLimit) - { - utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); - } - else - { - byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; - utf8LabelBytes = stackPtr; - } - Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); - - int utf8InputByteCount = Encoding.UTF8.GetByteCount(input); - int inputBufSize = Math.Max((int)maxLength + 1, utf8InputByteCount + 1); - - byte* utf8InputBytes; - byte* originalUtf8InputBytes; - if (inputBufSize > Util.StackAllocationSizeLimit) - { - utf8InputBytes = Util.Allocate(inputBufSize); - originalUtf8InputBytes = Util.Allocate(inputBufSize); - } - else - { - byte* inputStackBytes = stackalloc byte[inputBufSize]; - utf8InputBytes = inputStackBytes; - byte* originalInputStackBytes = stackalloc byte[inputBufSize]; - originalUtf8InputBytes = originalInputStackBytes; - } - Util.GetUtf8(input, utf8InputBytes, inputBufSize); - uint clearBytesCount = (uint)(inputBufSize - utf8InputByteCount); - Unsafe.InitBlockUnaligned(utf8InputBytes + utf8InputByteCount, 0, clearBytesCount); - Unsafe.CopyBlock(originalUtf8InputBytes, utf8InputBytes, (uint)inputBufSize); - - byte result = ImGuiNative.igInputTextMultiline( - utf8LabelBytes, - utf8InputBytes, - (uint)inputBufSize, - size, - flags, - callback, - user_data.ToPointer()); - if (!Util.AreStringsEqual(originalUtf8InputBytes, inputBufSize, utf8InputBytes)) - { - input = Util.StringFromPtr(utf8InputBytes); - } - - if (utf8LabelByteCount > Util.StackAllocationSizeLimit) - { - Util.Free(utf8LabelBytes); - } - if (inputBufSize > Util.StackAllocationSizeLimit) - { - Util.Free(utf8InputBytes); - Util.Free(originalUtf8InputBytes); - } - - return result != 0; - } - - public static bool InputTextWithHint( - string label, - string hint, - ref string input, - uint maxLength) => InputTextWithHint(label, hint, ref input, maxLength, 0, null, IntPtr.Zero); - - public static bool InputTextWithHint( - string label, - string hint, - ref string input, - uint maxLength, - ImGuiInputTextFlags flags) => InputTextWithHint(label, hint, ref input, maxLength, flags, null, IntPtr.Zero); - - public static bool InputTextWithHint( - string label, - string hint, - ref string input, - uint maxLength, - ImGuiInputTextFlags flags, - ImGuiInputTextCallback callback) => InputTextWithHint(label, hint, ref input, maxLength, flags, callback, IntPtr.Zero); - - public static bool InputTextWithHint( - string label, - string hint, - ref string input, - uint maxLength, - ImGuiInputTextFlags flags, - ImGuiInputTextCallback callback, - IntPtr user_data) - { - int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); - byte* utf8LabelBytes; - if (utf8LabelByteCount > Util.StackAllocationSizeLimit) - { - utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); - } - else - { - byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; - utf8LabelBytes = stackPtr; - } - Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); - - int utf8HintByteCount = Encoding.UTF8.GetByteCount(hint); - byte* utf8HintBytes; - if (utf8HintByteCount > Util.StackAllocationSizeLimit) - { - utf8HintBytes = Util.Allocate(utf8HintByteCount + 1); - } - else - { - byte* stackPtr = stackalloc byte[utf8HintByteCount + 1]; - utf8HintBytes = stackPtr; - } - Util.GetUtf8(hint, utf8HintBytes, utf8HintByteCount); - - int utf8InputByteCount = Encoding.UTF8.GetByteCount(input); - int inputBufSize = Math.Max((int)maxLength + 1, utf8InputByteCount + 1); - - byte* utf8InputBytes; - byte* originalUtf8InputBytes; - if (inputBufSize > Util.StackAllocationSizeLimit) - { - utf8InputBytes = Util.Allocate(inputBufSize); - originalUtf8InputBytes = Util.Allocate(inputBufSize); - } - else - { - byte* inputStackBytes = stackalloc byte[inputBufSize]; - utf8InputBytes = inputStackBytes; - byte* originalInputStackBytes = stackalloc byte[inputBufSize]; - originalUtf8InputBytes = originalInputStackBytes; - } - Util.GetUtf8(input, utf8InputBytes, inputBufSize); - uint clearBytesCount = (uint)(inputBufSize - utf8InputByteCount); - Unsafe.InitBlockUnaligned(utf8InputBytes + utf8InputByteCount, 0, clearBytesCount); - Unsafe.CopyBlock(originalUtf8InputBytes, utf8InputBytes, (uint)inputBufSize); - - byte result = ImGuiNative.igInputTextWithHint( - utf8LabelBytes, - utf8HintBytes, - utf8InputBytes, - (uint)inputBufSize, - flags, - callback, - user_data.ToPointer()); - if (!Util.AreStringsEqual(originalUtf8InputBytes, inputBufSize, utf8InputBytes)) - { - input = Util.StringFromPtr(utf8InputBytes); - } - - if (utf8LabelByteCount > Util.StackAllocationSizeLimit) - { - Util.Free(utf8LabelBytes); - } - if (utf8HintByteCount > Util.StackAllocationSizeLimit) - { - Util.Free(utf8HintBytes); - } - if (inputBufSize > Util.StackAllocationSizeLimit) - { - Util.Free(utf8InputBytes); - Util.Free(originalUtf8InputBytes); - } - - return result != 0; - } - - public static Vector2 CalcTextSize(string text) - => CalcTextSizeImpl(text); - - public static Vector2 CalcTextSize(string text, int start) - => CalcTextSizeImpl(text, start); - - public static Vector2 CalcTextSize(string text, float wrapWidth) - => CalcTextSizeImpl(text, wrapWidth: wrapWidth); - - public static Vector2 CalcTextSize(string text, bool hideTextAfterDoubleHash) - => CalcTextSizeImpl(text, hideTextAfterDoubleHash: hideTextAfterDoubleHash); - - public static Vector2 CalcTextSize(string text, int start, int length) - => CalcTextSizeImpl(text, start, length); - - public static Vector2 CalcTextSize(string text, int start, bool hideTextAfterDoubleHash) - => CalcTextSizeImpl(text, start, hideTextAfterDoubleHash: hideTextAfterDoubleHash); - - public static Vector2 CalcTextSize(string text, int start, float wrapWidth) - => CalcTextSizeImpl(text, start, wrapWidth: wrapWidth); - - public static Vector2 CalcTextSize(string text, bool hideTextAfterDoubleHash, float wrapWidth) - => CalcTextSizeImpl(text, hideTextAfterDoubleHash: hideTextAfterDoubleHash, wrapWidth: wrapWidth); - - public static Vector2 CalcTextSize(string text, int start, int length, bool hideTextAfterDoubleHash) - => CalcTextSizeImpl(text, start, length, hideTextAfterDoubleHash); - - public static Vector2 CalcTextSize(string text, int start, int length, float wrapWidth) - => CalcTextSizeImpl(text, start, length, wrapWidth: wrapWidth); - - public static Vector2 CalcTextSize(string text, int start, int length, bool hideTextAfterDoubleHash, float wrapWidth) - => CalcTextSizeImpl(text, start, length, hideTextAfterDoubleHash, wrapWidth); - - private static Vector2 CalcTextSizeImpl( - string text, - int start = 0, - int? length = null, - bool hideTextAfterDoubleHash = false, - float wrapWidth = -1.0f) - { - Vector2 ret; - byte* nativeTextStart = null; - byte* nativeTextEnd = null; - int textByteCount = 0; - if (text != null) - { - - int textToCopyLen = length.HasValue ? length.Value : text.Length; - textByteCount = Util.CalcSizeInUtf8(text, start, textToCopyLen); - if (textByteCount > Util.StackAllocationSizeLimit) - { - nativeTextStart = Util.Allocate(textByteCount + 1); - } - else - { - byte* nativeTextStackBytes = stackalloc byte[textByteCount + 1]; - nativeTextStart = nativeTextStackBytes; - } - - int nativeTextOffset = Util.GetUtf8(text, start, textToCopyLen, nativeTextStart, textByteCount); - nativeTextStart[nativeTextOffset] = 0; - nativeTextEnd = nativeTextStart + nativeTextOffset; - } - - ImGuiNative.igCalcTextSize(&ret, nativeTextStart, nativeTextEnd, *((byte*)(&hideTextAfterDoubleHash)), wrapWidth); - if (textByteCount > Util.StackAllocationSizeLimit) - { - Util.Free(nativeTextStart); - } - - return ret; - } - - public static bool InputText( - string label, - IntPtr buf, - uint buf_size) - { - return InputText(label, buf, buf_size, 0, null, IntPtr.Zero); - } - - public static bool InputText( - string label, - IntPtr buf, - uint buf_size, - ImGuiInputTextFlags flags) - { - return InputText(label, buf, buf_size, flags, null, IntPtr.Zero); - } - - public static bool InputText( - string label, - IntPtr buf, - uint buf_size, - ImGuiInputTextFlags flags, - ImGuiInputTextCallback callback) - { - return InputText(label, buf, buf_size, flags, callback, IntPtr.Zero); - } - - public static bool InputText( - string label, - IntPtr buf, - uint buf_size, - ImGuiInputTextFlags flags, - ImGuiInputTextCallback callback, - IntPtr user_data) - { - int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); - byte* utf8LabelBytes; - if (utf8LabelByteCount > Util.StackAllocationSizeLimit) - { - utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); - } - else - { - byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; - utf8LabelBytes = stackPtr; - } - Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); - - bool ret = ImGuiNative.igInputText(utf8LabelBytes, (byte*)buf.ToPointer(), buf_size, flags, callback, user_data.ToPointer()) != 0; - - if (utf8LabelByteCount > Util.StackAllocationSizeLimit) - { - Util.Free(utf8LabelBytes); - } - - return ret; - } - - public static bool Begin(string name, ImGuiWindowFlags flags) - { - int utf8NameByteCount = Encoding.UTF8.GetByteCount(name); - byte* utf8NameBytes; - if (utf8NameByteCount > Util.StackAllocationSizeLimit) - { - utf8NameBytes = Util.Allocate(utf8NameByteCount + 1); - } - else - { - byte* stackPtr = stackalloc byte[utf8NameByteCount + 1]; - utf8NameBytes = stackPtr; - } - Util.GetUtf8(name, utf8NameBytes, utf8NameByteCount); - - byte* p_open = null; - byte ret = ImGuiNative.igBegin(utf8NameBytes, p_open, flags); - - if (utf8NameByteCount > Util.StackAllocationSizeLimit) - { - Util.Free(utf8NameBytes); - } - - return ret != 0; - } - - public static bool MenuItem(string label, bool enabled) - { - return MenuItem(label, string.Empty, false, enabled); - } - } -} +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace ImGuiNET +{ + public static unsafe partial class ImGui + { + public static bool InputText( + string label, + byte[] buf, + uint buf_size) + { + return InputText(label, buf, buf_size, 0, null, IntPtr.Zero); + } + + public static bool InputText( + string label, + byte[] buf, + uint buf_size, + ImGuiInputTextFlags flags) + { + return InputText(label, buf, buf_size, flags, null, IntPtr.Zero); + } + + public static bool InputText( + string label, + byte[] buf, + uint buf_size, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback) + { + return InputText(label, buf, buf_size, flags, callback, IntPtr.Zero); + } + + public static bool InputText( + string label, + byte[] buf, + uint buf_size, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback, + IntPtr user_data) + { + int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); + byte* utf8LabelBytes; + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); + } + else + { + byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; + utf8LabelBytes = stackPtr; + } + Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); + + bool ret; + fixed (byte* bufPtr = buf) + { + ret = ImGuiNative.igInputText(utf8LabelBytes, bufPtr, buf_size, flags, callback, user_data.ToPointer()) != 0; + } + + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + Util.Free(utf8LabelBytes); + } + + return ret; + } + + public static bool InputText( + string label, + ref string input, + uint maxLength) => InputText(label, ref input, maxLength, 0, null, IntPtr.Zero); + + public static bool InputText( + string label, + ref string input, + uint maxLength, + ImGuiInputTextFlags flags) => InputText(label, ref input, maxLength, flags, null, IntPtr.Zero); + + public static bool InputText( + string label, + ref string input, + uint maxLength, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback) => InputText(label, ref input, maxLength, flags, callback, IntPtr.Zero); + + public static bool InputText( + string label, + ref string input, + uint maxLength, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback, + IntPtr user_data) + { + int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); + byte* utf8LabelBytes; + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); + } + else + { + byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; + utf8LabelBytes = stackPtr; + } + Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); + + int utf8InputByteCount = Encoding.UTF8.GetByteCount(input); + int inputBufSize = Math.Max((int)maxLength + 1, utf8InputByteCount + 1); + + byte* utf8InputBytes; + byte* originalUtf8InputBytes; + if (inputBufSize > Util.StackAllocationSizeLimit) + { + utf8InputBytes = Util.Allocate(inputBufSize); + originalUtf8InputBytes = Util.Allocate(inputBufSize); + } + else + { + byte* inputStackBytes = stackalloc byte[inputBufSize]; + utf8InputBytes = inputStackBytes; + byte* originalInputStackBytes = stackalloc byte[inputBufSize]; + originalUtf8InputBytes = originalInputStackBytes; + } + Util.GetUtf8(input, utf8InputBytes, inputBufSize); + uint clearBytesCount = (uint)(inputBufSize - utf8InputByteCount); + Unsafe.InitBlockUnaligned(utf8InputBytes + utf8InputByteCount, 0, clearBytesCount); + Unsafe.CopyBlock(originalUtf8InputBytes, utf8InputBytes, (uint)inputBufSize); + + byte result = ImGuiNative.igInputText( + utf8LabelBytes, + utf8InputBytes, + (uint)inputBufSize, + flags, + callback, + user_data.ToPointer()); + if (!Util.AreStringsEqual(originalUtf8InputBytes, inputBufSize, utf8InputBytes)) + { + input = Util.StringFromPtr(utf8InputBytes); + } + + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + Util.Free(utf8LabelBytes); + } + if (inputBufSize > Util.StackAllocationSizeLimit) + { + Util.Free(utf8InputBytes); + Util.Free(originalUtf8InputBytes); + } + + return result != 0; + } + + public static bool InputTextMultiline( + string label, + ref string input, + uint maxLength, + Vector2 size) => InputTextMultiline(label, ref input, maxLength, size, 0, null, IntPtr.Zero); + + public static bool InputTextMultiline( + string label, + ref string input, + uint maxLength, + Vector2 size, + ImGuiInputTextFlags flags) => InputTextMultiline(label, ref input, maxLength, size, flags, null, IntPtr.Zero); + + public static bool InputTextMultiline( + string label, + ref string input, + uint maxLength, + Vector2 size, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback) => InputTextMultiline(label, ref input, maxLength, size, flags, callback, IntPtr.Zero); + + public static bool InputTextMultiline( + string label, + ref string input, + uint maxLength, + Vector2 size, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback, + IntPtr user_data) + { + int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); + byte* utf8LabelBytes; + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); + } + else + { + byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; + utf8LabelBytes = stackPtr; + } + Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); + + int utf8InputByteCount = Encoding.UTF8.GetByteCount(input); + int inputBufSize = Math.Max((int)maxLength + 1, utf8InputByteCount + 1); + + byte* utf8InputBytes; + byte* originalUtf8InputBytes; + if (inputBufSize > Util.StackAllocationSizeLimit) + { + utf8InputBytes = Util.Allocate(inputBufSize); + originalUtf8InputBytes = Util.Allocate(inputBufSize); + } + else + { + byte* inputStackBytes = stackalloc byte[inputBufSize]; + utf8InputBytes = inputStackBytes; + byte* originalInputStackBytes = stackalloc byte[inputBufSize]; + originalUtf8InputBytes = originalInputStackBytes; + } + Util.GetUtf8(input, utf8InputBytes, inputBufSize); + uint clearBytesCount = (uint)(inputBufSize - utf8InputByteCount); + Unsafe.InitBlockUnaligned(utf8InputBytes + utf8InputByteCount, 0, clearBytesCount); + Unsafe.CopyBlock(originalUtf8InputBytes, utf8InputBytes, (uint)inputBufSize); + + byte result = ImGuiNative.igInputTextMultiline( + utf8LabelBytes, + utf8InputBytes, + (uint)inputBufSize, + size, + flags, + callback, + user_data.ToPointer()); + if (!Util.AreStringsEqual(originalUtf8InputBytes, inputBufSize, utf8InputBytes)) + { + input = Util.StringFromPtr(utf8InputBytes); + } + + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + Util.Free(utf8LabelBytes); + } + if (inputBufSize > Util.StackAllocationSizeLimit) + { + Util.Free(utf8InputBytes); + Util.Free(originalUtf8InputBytes); + } + + return result != 0; + } + + public static bool InputTextWithHint( + string label, + string hint, + ref string input, + uint maxLength) => InputTextWithHint(label, hint, ref input, maxLength, 0, null, IntPtr.Zero); + + public static bool InputTextWithHint( + string label, + string hint, + ref string input, + uint maxLength, + ImGuiInputTextFlags flags) => InputTextWithHint(label, hint, ref input, maxLength, flags, null, IntPtr.Zero); + + public static bool InputTextWithHint( + string label, + string hint, + ref string input, + uint maxLength, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback) => InputTextWithHint(label, hint, ref input, maxLength, flags, callback, IntPtr.Zero); + + public static bool InputTextWithHint( + string label, + string hint, + ref string input, + uint maxLength, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback, + IntPtr user_data) + { + int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); + byte* utf8LabelBytes; + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); + } + else + { + byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; + utf8LabelBytes = stackPtr; + } + Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); + + int utf8HintByteCount = Encoding.UTF8.GetByteCount(hint); + byte* utf8HintBytes; + if (utf8HintByteCount > Util.StackAllocationSizeLimit) + { + utf8HintBytes = Util.Allocate(utf8HintByteCount + 1); + } + else + { + byte* stackPtr = stackalloc byte[utf8HintByteCount + 1]; + utf8HintBytes = stackPtr; + } + Util.GetUtf8(hint, utf8HintBytes, utf8HintByteCount); + + int utf8InputByteCount = Encoding.UTF8.GetByteCount(input); + int inputBufSize = Math.Max((int)maxLength + 1, utf8InputByteCount + 1); + + byte* utf8InputBytes; + byte* originalUtf8InputBytes; + if (inputBufSize > Util.StackAllocationSizeLimit) + { + utf8InputBytes = Util.Allocate(inputBufSize); + originalUtf8InputBytes = Util.Allocate(inputBufSize); + } + else + { + byte* inputStackBytes = stackalloc byte[inputBufSize]; + utf8InputBytes = inputStackBytes; + byte* originalInputStackBytes = stackalloc byte[inputBufSize]; + originalUtf8InputBytes = originalInputStackBytes; + } + Util.GetUtf8(input, utf8InputBytes, inputBufSize); + uint clearBytesCount = (uint)(inputBufSize - utf8InputByteCount); + Unsafe.InitBlockUnaligned(utf8InputBytes + utf8InputByteCount, 0, clearBytesCount); + Unsafe.CopyBlock(originalUtf8InputBytes, utf8InputBytes, (uint)inputBufSize); + + byte result = ImGuiNative.igInputTextWithHint( + utf8LabelBytes, + utf8HintBytes, + utf8InputBytes, + (uint)inputBufSize, + flags, + callback, + user_data.ToPointer()); + if (!Util.AreStringsEqual(originalUtf8InputBytes, inputBufSize, utf8InputBytes)) + { + input = Util.StringFromPtr(utf8InputBytes); + } + + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + Util.Free(utf8LabelBytes); + } + if (utf8HintByteCount > Util.StackAllocationSizeLimit) + { + Util.Free(utf8HintBytes); + } + if (inputBufSize > Util.StackAllocationSizeLimit) + { + Util.Free(utf8InputBytes); + Util.Free(originalUtf8InputBytes); + } + + return result != 0; + } + + public static Vector2 CalcTextSize(string text, int start) + => CalcTextSizeImpl(text, start); + + public static Vector2 CalcTextSize(string text, float wrapWidth) + => CalcTextSizeImpl(text, wrapWidth: wrapWidth); + + public static Vector2 CalcTextSize(string text, int start, int length) + => CalcTextSizeImpl(text, start, length); + + public static Vector2 CalcTextSize(string text, int start, bool hideTextAfterDoubleHash) + => CalcTextSizeImpl(text, start, hideTextAfterDoubleHash: hideTextAfterDoubleHash); + + public static Vector2 CalcTextSize(string text, int start, float wrapWidth) + => CalcTextSizeImpl(text, start, wrapWidth: wrapWidth); + + public static Vector2 CalcTextSize(string text, int start, int length, bool hideTextAfterDoubleHash) + => CalcTextSizeImpl(text, start, length, hideTextAfterDoubleHash); + + public static Vector2 CalcTextSize(string text, int start, int length, float wrapWidth) + => CalcTextSizeImpl(text, start, length, wrapWidth: wrapWidth); + + public static Vector2 CalcTextSize(string text, int start, int length, bool hideTextAfterDoubleHash, float wrapWidth) + => CalcTextSizeImpl(text, start, length, hideTextAfterDoubleHash, wrapWidth); + + private static Vector2 CalcTextSizeImpl( + string text, + int start = 0, + int? length = null, + bool hideTextAfterDoubleHash = false, + float wrapWidth = -1.0f) + { + return CalcTextSize(text.Substring(start, length ?? text.Length-start), hideTextAfterDoubleHash, wrapWidth); + } + + public static bool InputText( + string label, + IntPtr buf, + uint buf_size) + { + return InputText(label, buf, buf_size, 0, null, IntPtr.Zero); + } + + public static bool InputText( + string label, + IntPtr buf, + uint buf_size, + ImGuiInputTextFlags flags) + { + return InputText(label, buf, buf_size, flags, null, IntPtr.Zero); + } + + public static bool InputText( + string label, + IntPtr buf, + uint buf_size, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback) + { + return InputText(label, buf, buf_size, flags, callback, IntPtr.Zero); + } + + public static bool InputText( + string label, + IntPtr buf, + uint buf_size, + ImGuiInputTextFlags flags, + ImGuiInputTextCallback callback, + IntPtr user_data) + { + int utf8LabelByteCount = Encoding.UTF8.GetByteCount(label); + byte* utf8LabelBytes; + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + utf8LabelBytes = Util.Allocate(utf8LabelByteCount + 1); + } + else + { + byte* stackPtr = stackalloc byte[utf8LabelByteCount + 1]; + utf8LabelBytes = stackPtr; + } + Util.GetUtf8(label, utf8LabelBytes, utf8LabelByteCount); + + bool ret = ImGuiNative.igInputText(utf8LabelBytes, (byte*)buf.ToPointer(), buf_size, flags, callback, user_data.ToPointer()) != 0; + + if (utf8LabelByteCount > Util.StackAllocationSizeLimit) + { + Util.Free(utf8LabelBytes); + } + + return ret; + } + + public static bool Begin(string name, ImGuiWindowFlags flags) + { + int utf8NameByteCount = Encoding.UTF8.GetByteCount(name); + byte* utf8NameBytes; + if (utf8NameByteCount > Util.StackAllocationSizeLimit) + { + utf8NameBytes = Util.Allocate(utf8NameByteCount + 1); + } + else + { + byte* stackPtr = stackalloc byte[utf8NameByteCount + 1]; + utf8NameBytes = stackPtr; + } + Util.GetUtf8(name, utf8NameBytes, utf8NameByteCount); + + byte* p_open = null; + byte ret = ImGuiNative.igBegin(utf8NameBytes, p_open, flags); + + if (utf8NameByteCount > Util.StackAllocationSizeLimit) + { + Util.Free(utf8NameBytes); + } + + return ret != 0; + } + + public static bool MenuItem(string label, bool enabled) + { + return MenuItem(label, string.Empty, false, enabled); + } + + public static bool BeginPopupModal(string name, ImGuiWindowFlags flags) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + native_name = Util.Allocate(name_byteCount + 1); + } + else + { + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; + } + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; + } + else { native_name = null; } + byte* native_p_open = null; + byte ret = ImGuiNative.igBeginPopupModal(native_name, native_p_open, flags); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_name); + } + + return ret != 0; + } + } +} diff --git a/src/ImGui.NET/ImGui.NET.csproj b/src/ImGui.NET/ImGui.NET.csproj index fe576a72..b8e466a0 100644 --- a/src/ImGui.NET/ImGui.NET.csproj +++ b/src/ImGui.NET/ImGui.NET.csproj @@ -1,9 +1,9 @@  A .NET wrapper for the Dear ImGui library. - 1.89.1 + 1.91.6.1 Eric Mellino - netstandard2.0;net6.0 + netstandard2.0;net6.0;net8.0 true portable ImGui.NET @@ -16,9 +16,9 @@ ImGuiNET - - - + + + @@ -37,6 +37,10 @@ runtimes/win-x64/native true + + runtimes/win-arm64/native + true + runtimes/linux-x64/native/libcimgui.so true diff --git a/src/ImGui.NET/Generated/ImGuiModFlags.gen.cs b/src/ImGui.NET/ImGuiModFlags.Manual.cs similarity index 87% rename from src/ImGui.NET/Generated/ImGuiModFlags.gen.cs rename to src/ImGui.NET/ImGuiModFlags.Manual.cs index 0490b82a..5bfbcc68 100644 --- a/src/ImGui.NET/Generated/ImGuiModFlags.gen.cs +++ b/src/ImGui.NET/ImGuiModFlags.Manual.cs @@ -1,4 +1,4 @@ -namespace ImGuiNET +namespace ImGuiNET { [System.Flags] public enum ImGuiModFlags @@ -9,4 +9,4 @@ public enum ImGuiModFlags Alt = 4, Super = 8, } -} +} \ No newline at end of file diff --git a/src/ImGui.NET/Util.cs b/src/ImGui.NET/Util.cs index 52785b65..438948c8 100644 --- a/src/ImGui.NET/Util.cs +++ b/src/ImGui.NET/Util.cs @@ -35,12 +35,17 @@ internal static bool AreStringsEqual(byte* a, int aLength, byte* b) internal static void Free(byte* ptr) => Marshal.FreeHGlobal((IntPtr)ptr); +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + internal static int CalcSizeInUtf8(ReadOnlySpan s, int start, int length) +#else internal static int CalcSizeInUtf8(string s, int start, int length) +#endif { if (start < 0 || length < 0 || start + length > s.Length) { throw new ArgumentOutOfRangeException(); } + if(s.Length == 0) return 0; fixed (char* utf16Ptr = s) { @@ -48,6 +53,21 @@ internal static int CalcSizeInUtf8(string s, int start, int length) } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + internal static int GetUtf8(ReadOnlySpan s, byte* utf8Bytes, int utf8ByteCount) + { + if (s.IsEmpty) + { + return 0; + } + + fixed (char* utf16Ptr = s) + { + return Encoding.UTF8.GetBytes(utf16Ptr, s.Length, utf8Bytes, utf8ByteCount); + } + } +#endif + internal static int GetUtf8(string s, byte* utf8Bytes, int utf8ByteCount) { fixed (char* utf16Ptr = s) @@ -56,12 +76,17 @@ internal static int GetUtf8(string s, byte* utf8Bytes, int utf8ByteCount) } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + internal static int GetUtf8(ReadOnlySpan s, int start, int length, byte* utf8Bytes, int utf8ByteCount) +#else internal static int GetUtf8(string s, int start, int length, byte* utf8Bytes, int utf8ByteCount) +#endif { if (start < 0 || length < 0 || start + length > s.Length) { throw new ArgumentOutOfRangeException(); } + if (s.Length == 0) return 0; fixed (char* utf16Ptr = s) { diff --git a/src/ImGuizmo.NET/ImGuizmo.NET.csproj b/src/ImGuizmo.NET/ImGuizmo.NET.csproj index 48bde828..d2a2c9b4 100644 --- a/src/ImGuizmo.NET/ImGuizmo.NET.csproj +++ b/src/ImGuizmo.NET/ImGuizmo.NET.csproj @@ -3,7 +3,7 @@ A .NET wrapper for the ImGuizmo library. 1.61.0 Eric Mellino - netstandard2.0;net6.0 + netstandard2.0;net8.0 true portable ImGuizmo.NET @@ -16,9 +16,9 @@ ImPlotNET - - - + + + diff --git a/src/ImNodes.NET/Generated/ImNodes.gen.cs b/src/ImNodes.NET/Generated/ImNodes.gen.cs index 686b6491..89e9b4fc 100644 --- a/src/ImNodes.NET/Generated/ImNodes.gen.cs +++ b/src/ImNodes.NET/Generated/ImNodes.gen.cs @@ -310,6 +310,34 @@ public static void Link(int id, int start_attribute_id, int end_attribute_id) { imnodesNative.imnodes_Link(id, start_attribute_id, end_attribute_id); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void LoadCurrentEditorStateFromIniFile(ReadOnlySpan file_name) + { + byte* native_file_name; + int file_name_byteCount = 0; + if (file_name != null) + { + file_name_byteCount = Encoding.UTF8.GetByteCount(file_name); + if (file_name_byteCount > Util.StackAllocationSizeLimit) + { + native_file_name = Util.Allocate(file_name_byteCount + 1); + } + else + { + byte* native_file_name_stackBytes = stackalloc byte[file_name_byteCount + 1]; + native_file_name = native_file_name_stackBytes; + } + int native_file_name_offset = Util.GetUtf8(file_name, native_file_name, file_name_byteCount); + native_file_name[native_file_name_offset] = 0; + } + else { native_file_name = null; } + imnodesNative.imnodes_LoadCurrentEditorStateFromIniFile(native_file_name); + if (file_name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_file_name); + } + } +#endif public static void LoadCurrentEditorStateFromIniFile(string file_name) { byte* native_file_name; @@ -336,6 +364,34 @@ public static void LoadCurrentEditorStateFromIniFile(string file_name) Util.Free(native_file_name); } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void LoadCurrentEditorStateFromIniString(ReadOnlySpan data, uint data_size) + { + byte* native_data; + int data_byteCount = 0; + if (data != null) + { + data_byteCount = Encoding.UTF8.GetByteCount(data); + if (data_byteCount > Util.StackAllocationSizeLimit) + { + native_data = Util.Allocate(data_byteCount + 1); + } + else + { + byte* native_data_stackBytes = stackalloc byte[data_byteCount + 1]; + native_data = native_data_stackBytes; + } + int native_data_offset = Util.GetUtf8(data, native_data, data_byteCount); + native_data[native_data_offset] = 0; + } + else { native_data = null; } + imnodesNative.imnodes_LoadCurrentEditorStateFromIniString(native_data, data_size); + if (data_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_data); + } + } +#endif public static void LoadCurrentEditorStateFromIniString(string data, uint data_size) { byte* native_data; @@ -362,6 +418,34 @@ public static void LoadCurrentEditorStateFromIniString(string data, uint data_si Util.Free(native_data); } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void LoadEditorStateFromIniFile(IntPtr editor, ReadOnlySpan file_name) + { + byte* native_file_name; + int file_name_byteCount = 0; + if (file_name != null) + { + file_name_byteCount = Encoding.UTF8.GetByteCount(file_name); + if (file_name_byteCount > Util.StackAllocationSizeLimit) + { + native_file_name = Util.Allocate(file_name_byteCount + 1); + } + else + { + byte* native_file_name_stackBytes = stackalloc byte[file_name_byteCount + 1]; + native_file_name = native_file_name_stackBytes; + } + int native_file_name_offset = Util.GetUtf8(file_name, native_file_name, file_name_byteCount); + native_file_name[native_file_name_offset] = 0; + } + else { native_file_name = null; } + imnodesNative.imnodes_LoadEditorStateFromIniFile(editor, native_file_name); + if (file_name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_file_name); + } + } +#endif public static void LoadEditorStateFromIniFile(IntPtr editor, string file_name) { byte* native_file_name; @@ -388,6 +472,34 @@ public static void LoadEditorStateFromIniFile(IntPtr editor, string file_name) Util.Free(native_file_name); } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void LoadEditorStateFromIniString(IntPtr editor, ReadOnlySpan data, uint data_size) + { + byte* native_data; + int data_byteCount = 0; + if (data != null) + { + data_byteCount = Encoding.UTF8.GetByteCount(data); + if (data_byteCount > Util.StackAllocationSizeLimit) + { + native_data = Util.Allocate(data_byteCount + 1); + } + else + { + byte* native_data_stackBytes = stackalloc byte[data_byteCount + 1]; + native_data = native_data_stackBytes; + } + int native_data_offset = Util.GetUtf8(data, native_data, data_byteCount); + native_data[native_data_offset] = 0; + } + else { native_data = null; } + imnodesNative.imnodes_LoadEditorStateFromIniString(editor, native_data, data_size); + if (data_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_data); + } + } +#endif public static void LoadEditorStateFromIniString(IntPtr editor, string data, uint data_size) { byte* native_data; @@ -448,6 +560,34 @@ public static void PushStyleVar(StyleVar style_item, float value) { imnodesNative.imnodes_PushStyleVar(style_item, value); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SaveCurrentEditorStateToIniFile(ReadOnlySpan file_name) + { + byte* native_file_name; + int file_name_byteCount = 0; + if (file_name != null) + { + file_name_byteCount = Encoding.UTF8.GetByteCount(file_name); + if (file_name_byteCount > Util.StackAllocationSizeLimit) + { + native_file_name = Util.Allocate(file_name_byteCount + 1); + } + else + { + byte* native_file_name_stackBytes = stackalloc byte[file_name_byteCount + 1]; + native_file_name = native_file_name_stackBytes; + } + int native_file_name_offset = Util.GetUtf8(file_name, native_file_name, file_name_byteCount); + native_file_name[native_file_name_offset] = 0; + } + else { native_file_name = null; } + imnodesNative.imnodes_SaveCurrentEditorStateToIniFile(native_file_name); + if (file_name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_file_name); + } + } +#endif public static void SaveCurrentEditorStateToIniFile(string file_name) { byte* native_file_name; @@ -488,6 +628,34 @@ public static string SaveCurrentEditorStateToIniString(ref uint data_size) return Util.StringFromPtr(ret); } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SaveEditorStateToIniFile(IntPtr editor, ReadOnlySpan file_name) + { + byte* native_file_name; + int file_name_byteCount = 0; + if (file_name != null) + { + file_name_byteCount = Encoding.UTF8.GetByteCount(file_name); + if (file_name_byteCount > Util.StackAllocationSizeLimit) + { + native_file_name = Util.Allocate(file_name_byteCount + 1); + } + else + { + byte* native_file_name_stackBytes = stackalloc byte[file_name_byteCount + 1]; + native_file_name = native_file_name_stackBytes; + } + int native_file_name_offset = Util.GetUtf8(file_name, native_file_name, file_name_byteCount); + native_file_name[native_file_name_offset] = 0; + } + else { native_file_name = null; } + imnodesNative.imnodes_SaveEditorStateToIniFile(editor, native_file_name); + if (file_name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_file_name); + } + } +#endif public static void SaveEditorStateToIniFile(IntPtr editor, string file_name) { byte* native_file_name; diff --git a/src/ImNodes.NET/ImNodes.NET.csproj b/src/ImNodes.NET/ImNodes.NET.csproj index 7e340670..4446a9df 100644 --- a/src/ImNodes.NET/ImNodes.NET.csproj +++ b/src/ImNodes.NET/ImNodes.NET.csproj @@ -3,7 +3,7 @@ A .NET wrapper for the imnodes library. 0.3.0 Eric Mellino - netstandard2.0;net6.0 + netstandard2.0;net8.0 true portable ImNodes.NET @@ -16,9 +16,9 @@ imnodesNET - - - + + + diff --git a/src/ImPlot.NET/Generated/ImPlot.gen.cs b/src/ImPlot.NET/Generated/ImPlot.gen.cs index 771ad008..cb0ba801 100644 --- a/src/ImPlot.NET/Generated/ImPlot.gen.cs +++ b/src/ImPlot.NET/Generated/ImPlot.gen.cs @@ -8,6 +8,39 @@ namespace ImPlotNET { public static unsafe partial class ImPlot { +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static ImPlotColormap AddColormap(ReadOnlySpan name, ref Vector4 cols, int size) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + native_name = Util.Allocate(name_byteCount + 1); + } + else + { + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; + } + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; + } + else { native_name = null; } + byte qual = 1; + fixed (Vector4* native_cols = &cols) + { + ImPlotColormap ret = ImPlotNative.ImPlot_AddColormap_Vec4Ptr(native_name, native_cols, size, qual); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_name); + } + return ret; + } + } +#endif public static ImPlotColormap AddColormap(string name, ref Vector4 cols, int size) { byte* native_name; @@ -39,6 +72,39 @@ public static ImPlotColormap AddColormap(string name, ref Vector4 cols, int size return ret; } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static ImPlotColormap AddColormap(ReadOnlySpan name, ref Vector4 cols, int size, bool qual) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + native_name = Util.Allocate(name_byteCount + 1); + } + else + { + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; + } + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; + } + else { native_name = null; } + byte native_qual = qual ? (byte)1 : (byte)0; + fixed (Vector4* native_cols = &cols) + { + ImPlotColormap ret = ImPlotNative.ImPlot_AddColormap_Vec4Ptr(native_name, native_cols, size, native_qual); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_name); + } + return ret; + } + } +#endif public static ImPlotColormap AddColormap(string name, ref Vector4 cols, int size, bool qual) { byte* native_name; @@ -70,6 +136,39 @@ public static ImPlotColormap AddColormap(string name, ref Vector4 cols, int size return ret; } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static ImPlotColormap AddColormap(ReadOnlySpan name, ref uint cols, int size) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + native_name = Util.Allocate(name_byteCount + 1); + } + else + { + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; + } + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; + } + else { native_name = null; } + byte qual = 1; + fixed (uint* native_cols = &cols) + { + ImPlotColormap ret = ImPlotNative.ImPlot_AddColormap_U32Ptr(native_name, native_cols, size, qual); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_name); + } + return ret; + } + } +#endif public static ImPlotColormap AddColormap(string name, ref uint cols, int size) { byte* native_name; @@ -101,6 +200,39 @@ public static ImPlotColormap AddColormap(string name, ref uint cols, int size) return ret; } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static ImPlotColormap AddColormap(ReadOnlySpan name, ref uint cols, int size, bool qual) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + native_name = Util.Allocate(name_byteCount + 1); + } + else + { + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; + } + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; + } + else { native_name = null; } + byte native_qual = qual ? (byte)1 : (byte)0; + fixed (uint* native_cols = &cols) + { + ImPlotColormap ret = ImPlotNative.ImPlot_AddColormap_U32Ptr(native_name, native_cols, size, native_qual); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_name); + } + return ret; + } + } +#endif public static ImPlotColormap AddColormap(string name, ref uint cols, int size, bool qual) { byte* native_name; @@ -144,6 +276,35 @@ public static void Annotation(double x, double y, Vector4 col, Vector2 pix_offse byte native_round = round ? (byte)1 : (byte)0; ImPlotNative.ImPlot_Annotation_Bool(x, y, col, pix_offset, native_clamp, native_round); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void Annotation(double x, double y, Vector4 col, Vector2 pix_offset, bool clamp, ReadOnlySpan fmt) + { + byte native_clamp = clamp ? (byte)1 : (byte)0; + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImPlotNative.ImPlot_Annotation_Str(x, y, col, pix_offset, native_clamp, native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + } +#endif public static void Annotation(double x, double y, Vector4 col, Vector2 pix_offset, bool clamp, string fmt) { byte native_clamp = clamp ? (byte)1 : (byte)0; @@ -171,6 +332,36 @@ public static void Annotation(double x, double y, Vector4 col, Vector2 pix_offse Util.Free(native_fmt); } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginAlignedPlots(ReadOnlySpan group_id) + { + byte* native_group_id; + int group_id_byteCount = 0; + if (group_id != null) + { + group_id_byteCount = Encoding.UTF8.GetByteCount(group_id); + if (group_id_byteCount > Util.StackAllocationSizeLimit) + { + native_group_id = Util.Allocate(group_id_byteCount + 1); + } + else + { + byte* native_group_id_stackBytes = stackalloc byte[group_id_byteCount + 1]; + native_group_id = native_group_id_stackBytes; + } + int native_group_id_offset = Util.GetUtf8(group_id, native_group_id, group_id_byteCount); + native_group_id[native_group_id_offset] = 0; + } + else { native_group_id = null; } + byte vertical = 1; + byte ret = ImPlotNative.ImPlot_BeginAlignedPlots(native_group_id, vertical); + if (group_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_group_id); + } + return ret != 0; + } +#endif public static bool BeginAlignedPlots(string group_id) { byte* native_group_id; @@ -199,6 +390,36 @@ public static bool BeginAlignedPlots(string group_id) } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginAlignedPlots(ReadOnlySpan group_id, bool vertical) + { + byte* native_group_id; + int group_id_byteCount = 0; + if (group_id != null) + { + group_id_byteCount = Encoding.UTF8.GetByteCount(group_id); + if (group_id_byteCount > Util.StackAllocationSizeLimit) + { + native_group_id = Util.Allocate(group_id_byteCount + 1); + } + else + { + byte* native_group_id_stackBytes = stackalloc byte[group_id_byteCount + 1]; + native_group_id = native_group_id_stackBytes; + } + int native_group_id_offset = Util.GetUtf8(group_id, native_group_id, group_id_byteCount); + native_group_id[native_group_id_offset] = 0; + } + else { native_group_id = null; } + byte native_vertical = vertical ? (byte)1 : (byte)0; + byte ret = ImPlotNative.ImPlot_BeginAlignedPlots(native_group_id, native_vertical); + if (group_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_group_id); + } + return ret != 0; + } +#endif public static bool BeginAlignedPlots(string group_id, bool vertical) { byte* native_group_id; @@ -238,6 +459,36 @@ public static bool BeginDragDropSourceAxis(ImAxis axis, ImGuiDragDropFlags flags byte ret = ImPlotNative.ImPlot_BeginDragDropSourceAxis(axis, flags); return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginDragDropSourceItem(ReadOnlySpan label_id) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImGuiDragDropFlags flags = 0; + byte ret = ImPlotNative.ImPlot_BeginDragDropSourceItem(native_label_id, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret != 0; + } +#endif public static bool BeginDragDropSourceItem(string label_id) { byte* native_label_id; @@ -266,6 +517,35 @@ public static bool BeginDragDropSourceItem(string label_id) } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginDragDropSourceItem(ReadOnlySpan label_id, ImGuiDragDropFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte ret = ImPlotNative.ImPlot_BeginDragDropSourceItem(native_label_id, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret != 0; + } +#endif public static bool BeginDragDropSourceItem(string label_id, ImGuiDragDropFlags flags) { byte* native_label_id; @@ -319,6 +599,36 @@ public static bool BeginDragDropTargetPlot() byte ret = ImPlotNative.ImPlot_BeginDragDropTargetPlot(); return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginLegendPopup(ReadOnlySpan label_id) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImGuiMouseButton mouse_button = (ImGuiMouseButton)1; + byte ret = ImPlotNative.ImPlot_BeginLegendPopup(native_label_id, mouse_button); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret != 0; + } +#endif public static bool BeginLegendPopup(string label_id) { byte* native_label_id; @@ -347,6 +657,35 @@ public static bool BeginLegendPopup(string label_id) } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginLegendPopup(ReadOnlySpan label_id, ImGuiMouseButton mouse_button) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte ret = ImPlotNative.ImPlot_BeginLegendPopup(native_label_id, mouse_button); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret != 0; + } +#endif public static bool BeginLegendPopup(string label_id, ImGuiMouseButton mouse_button) { byte* native_label_id; @@ -374,6 +713,37 @@ public static bool BeginLegendPopup(string label_id, ImGuiMouseButton mouse_butt } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginPlot(ReadOnlySpan title_id) + { + byte* native_title_id; + int title_id_byteCount = 0; + if (title_id != null) + { + title_id_byteCount = Encoding.UTF8.GetByteCount(title_id); + if (title_id_byteCount > Util.StackAllocationSizeLimit) + { + native_title_id = Util.Allocate(title_id_byteCount + 1); + } + else + { + byte* native_title_id_stackBytes = stackalloc byte[title_id_byteCount + 1]; + native_title_id = native_title_id_stackBytes; + } + int native_title_id_offset = Util.GetUtf8(title_id, native_title_id, title_id_byteCount); + native_title_id[native_title_id_offset] = 0; + } + else { native_title_id = null; } + Vector2 size = new Vector2(-1, 0); + ImPlotFlags flags = (ImPlotFlags)0; + byte ret = ImPlotNative.ImPlot_BeginPlot(native_title_id, size, flags); + if (title_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_title_id); + } + return ret != 0; + } +#endif public static bool BeginPlot(string title_id) { byte* native_title_id; @@ -403,6 +773,36 @@ public static bool BeginPlot(string title_id) } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginPlot(ReadOnlySpan title_id, Vector2 size) + { + byte* native_title_id; + int title_id_byteCount = 0; + if (title_id != null) + { + title_id_byteCount = Encoding.UTF8.GetByteCount(title_id); + if (title_id_byteCount > Util.StackAllocationSizeLimit) + { + native_title_id = Util.Allocate(title_id_byteCount + 1); + } + else + { + byte* native_title_id_stackBytes = stackalloc byte[title_id_byteCount + 1]; + native_title_id = native_title_id_stackBytes; + } + int native_title_id_offset = Util.GetUtf8(title_id, native_title_id, title_id_byteCount); + native_title_id[native_title_id_offset] = 0; + } + else { native_title_id = null; } + ImPlotFlags flags = (ImPlotFlags)0; + byte ret = ImPlotNative.ImPlot_BeginPlot(native_title_id, size, flags); + if (title_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_title_id); + } + return ret != 0; + } +#endif public static bool BeginPlot(string title_id, Vector2 size) { byte* native_title_id; @@ -431,6 +831,35 @@ public static bool BeginPlot(string title_id, Vector2 size) } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginPlot(ReadOnlySpan title_id, Vector2 size, ImPlotFlags flags) + { + byte* native_title_id; + int title_id_byteCount = 0; + if (title_id != null) + { + title_id_byteCount = Encoding.UTF8.GetByteCount(title_id); + if (title_id_byteCount > Util.StackAllocationSizeLimit) + { + native_title_id = Util.Allocate(title_id_byteCount + 1); + } + else + { + byte* native_title_id_stackBytes = stackalloc byte[title_id_byteCount + 1]; + native_title_id = native_title_id_stackBytes; + } + int native_title_id_offset = Util.GetUtf8(title_id, native_title_id, title_id_byteCount); + native_title_id[native_title_id_offset] = 0; + } + else { native_title_id = null; } + byte ret = ImPlotNative.ImPlot_BeginPlot(native_title_id, size, flags); + if (title_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_title_id); + } + return ret != 0; + } +#endif public static bool BeginPlot(string title_id, Vector2 size, ImPlotFlags flags) { byte* native_title_id; @@ -458,6 +887,38 @@ public static bool BeginPlot(string title_id, Vector2 size, ImPlotFlags flags) } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginSubplots(ReadOnlySpan title_id, int rows, int cols, Vector2 size) + { + byte* native_title_id; + int title_id_byteCount = 0; + if (title_id != null) + { + title_id_byteCount = Encoding.UTF8.GetByteCount(title_id); + if (title_id_byteCount > Util.StackAllocationSizeLimit) + { + native_title_id = Util.Allocate(title_id_byteCount + 1); + } + else + { + byte* native_title_id_stackBytes = stackalloc byte[title_id_byteCount + 1]; + native_title_id = native_title_id_stackBytes; + } + int native_title_id_offset = Util.GetUtf8(title_id, native_title_id, title_id_byteCount); + native_title_id[native_title_id_offset] = 0; + } + else { native_title_id = null; } + ImPlotSubplotFlags flags = (ImPlotSubplotFlags)0; + float* row_ratios = null; + float* col_ratios = null; + byte ret = ImPlotNative.ImPlot_BeginSubplots(native_title_id, rows, cols, size, flags, row_ratios, col_ratios); + if (title_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_title_id); + } + return ret != 0; + } +#endif public static bool BeginSubplots(string title_id, int rows, int cols, Vector2 size) { byte* native_title_id; @@ -488,6 +949,37 @@ public static bool BeginSubplots(string title_id, int rows, int cols, Vector2 si } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginSubplots(ReadOnlySpan title_id, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags) + { + byte* native_title_id; + int title_id_byteCount = 0; + if (title_id != null) + { + title_id_byteCount = Encoding.UTF8.GetByteCount(title_id); + if (title_id_byteCount > Util.StackAllocationSizeLimit) + { + native_title_id = Util.Allocate(title_id_byteCount + 1); + } + else + { + byte* native_title_id_stackBytes = stackalloc byte[title_id_byteCount + 1]; + native_title_id = native_title_id_stackBytes; + } + int native_title_id_offset = Util.GetUtf8(title_id, native_title_id, title_id_byteCount); + native_title_id[native_title_id_offset] = 0; + } + else { native_title_id = null; } + float* row_ratios = null; + float* col_ratios = null; + byte ret = ImPlotNative.ImPlot_BeginSubplots(native_title_id, rows, cols, size, flags, row_ratios, col_ratios); + if (title_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_title_id); + } + return ret != 0; + } +#endif public static bool BeginSubplots(string title_id, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags) { byte* native_title_id; @@ -517,6 +1009,39 @@ public static bool BeginSubplots(string title_id, int rows, int cols, Vector2 si } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginSubplots(ReadOnlySpan title_id, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float row_ratios) + { + byte* native_title_id; + int title_id_byteCount = 0; + if (title_id != null) + { + title_id_byteCount = Encoding.UTF8.GetByteCount(title_id); + if (title_id_byteCount > Util.StackAllocationSizeLimit) + { + native_title_id = Util.Allocate(title_id_byteCount + 1); + } + else + { + byte* native_title_id_stackBytes = stackalloc byte[title_id_byteCount + 1]; + native_title_id = native_title_id_stackBytes; + } + int native_title_id_offset = Util.GetUtf8(title_id, native_title_id, title_id_byteCount); + native_title_id[native_title_id_offset] = 0; + } + else { native_title_id = null; } + float* col_ratios = null; + fixed (float* native_row_ratios = &row_ratios) + { + byte ret = ImPlotNative.ImPlot_BeginSubplots(native_title_id, rows, cols, size, flags, native_row_ratios, col_ratios); + if (title_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_title_id); + } + return ret != 0; + } + } +#endif public static bool BeginSubplots(string title_id, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float row_ratios) { byte* native_title_id; @@ -548,6 +1073,41 @@ public static bool BeginSubplots(string title_id, int rows, int cols, Vector2 si return ret != 0; } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool BeginSubplots(ReadOnlySpan title_id, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float row_ratios, ref float col_ratios) + { + byte* native_title_id; + int title_id_byteCount = 0; + if (title_id != null) + { + title_id_byteCount = Encoding.UTF8.GetByteCount(title_id); + if (title_id_byteCount > Util.StackAllocationSizeLimit) + { + native_title_id = Util.Allocate(title_id_byteCount + 1); + } + else + { + byte* native_title_id_stackBytes = stackalloc byte[title_id_byteCount + 1]; + native_title_id = native_title_id_stackBytes; + } + int native_title_id_offset = Util.GetUtf8(title_id, native_title_id, title_id_byteCount); + native_title_id[native_title_id_offset] = 0; + } + else { native_title_id = null; } + fixed (float* native_row_ratios = &row_ratios) + { + fixed (float* native_col_ratios = &col_ratios) + { + byte ret = ImPlotNative.ImPlot_BeginSubplots(native_title_id, rows, cols, size, flags, native_row_ratios, native_col_ratios); + if (title_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_title_id); + } + return ret != 0; + } + } + } +#endif public static bool BeginSubplots(string title_id, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float row_ratios, ref float col_ratios) { byte* native_title_id; @@ -586,7 +1146,8 @@ public static void BustColorCache() byte* native_plot_title_id = null; ImPlotNative.ImPlot_BustColorCache(native_plot_title_id); } - public static void BustColorCache(string plot_title_id) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void BustColorCache(ReadOnlySpan plot_title_id) { byte* native_plot_title_id; int plot_title_id_byteCount = 0; @@ -612,11 +1173,39 @@ public static void BustColorCache(string plot_title_id) Util.Free(native_plot_title_id); } } - public static void CancelPlotSelection() +#endif + public static void BustColorCache(string plot_title_id) { - ImPlotNative.ImPlot_CancelPlotSelection(); - } - public static bool ColormapButton(string label) + byte* native_plot_title_id; + int plot_title_id_byteCount = 0; + if (plot_title_id != null) + { + plot_title_id_byteCount = Encoding.UTF8.GetByteCount(plot_title_id); + if (plot_title_id_byteCount > Util.StackAllocationSizeLimit) + { + native_plot_title_id = Util.Allocate(plot_title_id_byteCount + 1); + } + else + { + byte* native_plot_title_id_stackBytes = stackalloc byte[plot_title_id_byteCount + 1]; + native_plot_title_id = native_plot_title_id_stackBytes; + } + int native_plot_title_id_offset = Util.GetUtf8(plot_title_id, native_plot_title_id, plot_title_id_byteCount); + native_plot_title_id[native_plot_title_id_offset] = 0; + } + else { native_plot_title_id = null; } + ImPlotNative.ImPlot_BustColorCache(native_plot_title_id); + if (plot_title_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_plot_title_id); + } + } + public static void CancelPlotSelection() + { + ImPlotNative.ImPlot_CancelPlotSelection(); + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColormapButton(ReadOnlySpan label) { byte* native_label; int label_byteCount = 0; @@ -645,6 +1234,66 @@ public static bool ColormapButton(string label) } return ret != 0; } +#endif + public static bool ColormapButton(string label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + Vector2 size = new Vector2(); + ImPlotColormap cmap = (ImPlotColormap)(-1); + byte ret = ImPlotNative.ImPlot_ColormapButton(native_label, size, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColormapButton(ReadOnlySpan label, Vector2 size) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImPlotColormap cmap = (ImPlotColormap)(-1); + byte ret = ImPlotNative.ImPlot_ColormapButton(native_label, size, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif public static bool ColormapButton(string label, Vector2 size) { byte* native_label; @@ -673,6 +1322,35 @@ public static bool ColormapButton(string label, Vector2 size) } return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColormapButton(ReadOnlySpan label, Vector2 size, ImPlotColormap cmap) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte ret = ImPlotNative.ImPlot_ColormapButton(native_label, size, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif public static bool ColormapButton(string label, Vector2 size, ImPlotColormap cmap) { byte* native_label; @@ -704,7 +1382,8 @@ public static void ColormapIcon(ImPlotColormap cmap) { ImPlotNative.ImPlot_ColormapIcon(cmap); } - public static void ColormapScale(string label, double scale_min, double scale_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void ColormapScale(ReadOnlySpan label, double scale_min, double scale_max) { byte* native_label; int label_byteCount = 0; @@ -751,7 +1430,8 @@ public static void ColormapScale(string label, double scale_min, double scale_ma Util.Free(native_format); } } - public static void ColormapScale(string label, double scale_min, double scale_max, Vector2 size) +#endif + public static void ColormapScale(string label, double scale_min, double scale_max) { byte* native_label; int label_byteCount = 0; @@ -771,6 +1451,7 @@ public static void ColormapScale(string label, double scale_min, double scale_ma native_label[native_label_offset] = 0; } else { native_label = null; } + Vector2 size = new Vector2(); byte* native_format; int format_byteCount = 0; format_byteCount = Encoding.UTF8.GetByteCount("%g"); @@ -797,7 +1478,8 @@ public static void ColormapScale(string label, double scale_min, double scale_ma Util.Free(native_format); } } - public static void ColormapScale(string label, double scale_min, double scale_max, Vector2 size, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void ColormapScale(ReadOnlySpan label, double scale_min, double scale_max, Vector2 size) { byte* native_label; int label_byteCount = 0; @@ -819,9 +1501,7 @@ public static void ColormapScale(string label, double scale_min, double scale_ma else { native_label = null; } byte* native_format; int format_byteCount = 0; - if (format != null) - { - format_byteCount = Encoding.UTF8.GetByteCount(format); + format_byteCount = Encoding.UTF8.GetByteCount("%g"); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -831,10 +1511,55 @@ public static void ColormapScale(string label, double scale_min, double scale_ma byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + int native_format_offset = Util.GetUtf8("%g", native_format, format_byteCount); native_format[native_format_offset] = 0; + ImPlotColormapScaleFlags flags = (ImPlotColormapScaleFlags)0; + ImPlotColormap cmap = (ImPlotColormap)(-1); + ImPlotNative.ImPlot_ColormapScale(native_label, scale_min, scale_max, size, native_format, flags, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); } - else { native_format = null; } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + } +#endif + public static void ColormapScale(string label, double scale_min, double scale_max, Vector2 size) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount("%g"); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("%g", native_format, format_byteCount); + native_format[native_format_offset] = 0; ImPlotColormapScaleFlags flags = (ImPlotColormapScaleFlags)0; ImPlotColormap cmap = (ImPlotColormap)(-1); ImPlotNative.ImPlot_ColormapScale(native_label, scale_min, scale_max, size, native_format, flags, cmap); @@ -847,7 +1572,8 @@ public static void ColormapScale(string label, double scale_min, double scale_ma Util.Free(native_format); } } - public static void ColormapScale(string label, double scale_min, double scale_max, Vector2 size, string format, ImPlotColormapScaleFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void ColormapScale(ReadOnlySpan label, double scale_min, double scale_max, Vector2 size, ReadOnlySpan format) { byte* native_label; int label_byteCount = 0; @@ -885,6 +1611,7 @@ public static void ColormapScale(string label, double scale_min, double scale_ma native_format[native_format_offset] = 0; } else { native_format = null; } + ImPlotColormapScaleFlags flags = (ImPlotColormapScaleFlags)0; ImPlotColormap cmap = (ImPlotColormap)(-1); ImPlotNative.ImPlot_ColormapScale(native_label, scale_min, scale_max, size, native_format, flags, cmap); if (label_byteCount > Util.StackAllocationSizeLimit) @@ -896,7 +1623,8 @@ public static void ColormapScale(string label, double scale_min, double scale_ma Util.Free(native_format); } } - public static void ColormapScale(string label, double scale_min, double scale_max, Vector2 size, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) +#endif + public static void ColormapScale(string label, double scale_min, double scale_max, Vector2 size, string format) { byte* native_label; int label_byteCount = 0; @@ -934,6 +1662,8 @@ public static void ColormapScale(string label, double scale_min, double scale_ma native_format[native_format_offset] = 0; } else { native_format = null; } + ImPlotColormapScaleFlags flags = (ImPlotColormapScaleFlags)0; + ImPlotColormap cmap = (ImPlotColormap)(-1); ImPlotNative.ImPlot_ColormapScale(native_label, scale_min, scale_max, size, native_format, flags, cmap); if (label_byteCount > Util.StackAllocationSizeLimit) { @@ -944,7 +1674,8 @@ public static void ColormapScale(string label, double scale_min, double scale_ma Util.Free(native_format); } } - public static bool ColormapSlider(string label, ref float t) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void ColormapScale(ReadOnlySpan label, double scale_min, double scale_max, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags) { byte* native_label; int label_byteCount = 0; @@ -964,10 +1695,11 @@ public static bool ColormapSlider(string label, ref float t) native_label[native_label_offset] = 0; } else { native_label = null; } - Vector4* @out = null; byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount(""); + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -977,24 +1709,23 @@ public static bool ColormapSlider(string label, ref float t) byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); native_format[native_format_offset] = 0; + } + else { native_format = null; } ImPlotColormap cmap = (ImPlotColormap)(-1); - fixed (float* native_t = &t) + ImPlotNative.ImPlot_ColormapScale(native_label, scale_min, scale_max, size, native_format, flags, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) { - byte ret = ImPlotNative.ImPlot_ColormapSlider(native_label, native_t, @out, native_format, cmap); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); } } - public static bool ColormapSlider(string label, ref float t, out Vector4 @out) +#endif + public static void ColormapScale(string label, double scale_min, double scale_max, Vector2 size, string format, ImPlotColormapScaleFlags flags) { byte* native_label; int label_byteCount = 0; @@ -1016,7 +1747,9 @@ public static bool ColormapSlider(string label, ref float t, out Vector4 @out) else { native_label = null; } byte* native_format; int format_byteCount = 0; - format_byteCount = Encoding.UTF8.GetByteCount(""); + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); if (format_byteCount > Util.StackAllocationSizeLimit) { native_format = Util.Allocate(format_byteCount + 1); @@ -1026,27 +1759,23 @@ public static bool ColormapSlider(string label, ref float t, out Vector4 @out) byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; native_format = native_format_stackBytes; } - int native_format_offset = Util.GetUtf8("", native_format, format_byteCount); + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); native_format[native_format_offset] = 0; + } + else { native_format = null; } ImPlotColormap cmap = (ImPlotColormap)(-1); - fixed (float* native_t = &t) + ImPlotNative.ImPlot_ColormapScale(native_label, scale_min, scale_max, size, native_format, flags, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) { - fixed (Vector4* native_out = &@out) - { - byte ret = ImPlotNative.ImPlot_ColormapSlider(native_label, native_t, native_out, native_format, cmap); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; - } + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); } } - public static bool ColormapSlider(string label, ref float t, out Vector4 @out, string format) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void ColormapScale(ReadOnlySpan label, double scale_min, double scale_max, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) { byte* native_label; int label_byteCount = 0; @@ -1084,25 +1813,445 @@ public static bool ColormapSlider(string label, ref float t, out Vector4 @out, s native_format[native_format_offset] = 0; } else { native_format = null; } - ImPlotColormap cmap = (ImPlotColormap)(-1); - fixed (float* native_t = &t) + ImPlotNative.ImPlot_ColormapScale(native_label, scale_min, scale_max, size, native_format, flags, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) { - fixed (Vector4* native_out = &@out) - { - byte ret = ImPlotNative.ImPlot_ColormapSlider(native_label, native_t, native_out, native_format, cmap); - if (label_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label); - } - if (format_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_format); - } - return ret != 0; - } + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); } } - public static bool ColormapSlider(string label, ref float t, out Vector4 @out, string format, ImPlotColormap cmap) +#endif + public static void ColormapScale(string label, double scale_min, double scale_max, Vector2 size, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImPlotNative.ImPlot_ColormapScale(native_label, scale_min, scale_max, size, native_format, flags, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColormapSlider(ReadOnlySpan label, ref float t) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + Vector4* @out = null; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount(""); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImPlotColormap cmap = (ImPlotColormap)(-1); + fixed (float* native_t = &t) + { + byte ret = ImPlotNative.ImPlot_ColormapSlider(native_label, native_t, @out, native_format, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#endif + public static bool ColormapSlider(string label, ref float t) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + Vector4* @out = null; + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount(""); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImPlotColormap cmap = (ImPlotColormap)(-1); + fixed (float* native_t = &t) + { + byte ret = ImPlotNative.ImPlot_ColormapSlider(native_label, native_t, @out, native_format, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColormapSlider(ReadOnlySpan label, ref float t, out Vector4 @out) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount(""); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImPlotColormap cmap = (ImPlotColormap)(-1); + fixed (float* native_t = &t) + { + fixed (Vector4* native_out = &@out) + { + byte ret = ImPlotNative.ImPlot_ColormapSlider(native_label, native_t, native_out, native_format, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#endif + public static bool ColormapSlider(string label, ref float t, out Vector4 @out) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + format_byteCount = Encoding.UTF8.GetByteCount(""); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8("", native_format, format_byteCount); + native_format[native_format_offset] = 0; + ImPlotColormap cmap = (ImPlotColormap)(-1); + fixed (float* native_t = &t) + { + fixed (Vector4* native_out = &@out) + { + byte ret = ImPlotNative.ImPlot_ColormapSlider(native_label, native_t, native_out, native_format, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColormapSlider(ReadOnlySpan label, ref float t, out Vector4 @out, ReadOnlySpan format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImPlotColormap cmap = (ImPlotColormap)(-1); + fixed (float* native_t = &t) + { + fixed (Vector4* native_out = &@out) + { + byte ret = ImPlotNative.ImPlot_ColormapSlider(native_label, native_t, native_out, native_format, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#endif + public static bool ColormapSlider(string label, ref float t, out Vector4 @out, string format) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + ImPlotColormap cmap = (ImPlotColormap)(-1); + fixed (float* native_t = &t) + { + fixed (Vector4* native_out = &@out) + { + byte ret = ImPlotNative.ImPlot_ColormapSlider(native_label, native_t, native_out, native_format, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ColormapSlider(ReadOnlySpan label, ref float t, out Vector4 @out, ReadOnlySpan format, ImPlotColormap cmap) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte* native_format; + int format_byteCount = 0; + if (format != null) + { + format_byteCount = Encoding.UTF8.GetByteCount(format); + if (format_byteCount > Util.StackAllocationSizeLimit) + { + native_format = Util.Allocate(format_byteCount + 1); + } + else + { + byte* native_format_stackBytes = stackalloc byte[format_byteCount + 1]; + native_format = native_format_stackBytes; + } + int native_format_offset = Util.GetUtf8(format, native_format, format_byteCount); + native_format[native_format_offset] = 0; + } + else { native_format = null; } + fixed (float* native_t = &t) + { + fixed (Vector4* native_out = &@out) + { + byte ret = ImPlotNative.ImPlot_ColormapSlider(native_label, native_t, native_out, native_format, cmap); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + if (format_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_format); + } + return ret != 0; + } + } + } +#endif + public static bool ColormapSlider(string label, ref float t, out Vector4 @out, string format, ImPlotColormap cmap) { byte* native_label; int label_byteCount = 0; @@ -1338,6 +2487,35 @@ public static int GetColormapCount() int ret = ImPlotNative.ImPlot_GetColormapCount(); return ret; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static ImPlotColormap GetColormapIndex(ReadOnlySpan name) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + native_name = Util.Allocate(name_byteCount + 1); + } + else + { + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; + } + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; + } + else { native_name = null; } + ImPlotColormap ret = ImPlotNative.ImPlot_GetColormapIndex(native_name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_name); + } + return ret; + } +#endif public static ImPlotColormap GetColormapIndex(string name) { byte* native_name; @@ -1508,6 +2686,35 @@ public static bool IsAxisHovered(ImAxis axis) byte ret = ImPlotNative.ImPlot_IsAxisHovered(axis); return ret != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool IsLegendEntryHovered(ReadOnlySpan label_id) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte ret = ImPlotNative.ImPlot_IsLegendEntryHovered(native_label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret != 0; + } +#endif public static bool IsLegendEntryHovered(string label_id) { byte* native_label_id; @@ -1641,12 +2848,8 @@ public static void PlotBarGroups(string[] label_ids, ref float values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -1678,12 +2881,8 @@ public static void PlotBarGroups(string[] label_ids, ref float values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -1714,12 +2913,8 @@ public static void PlotBarGroups(string[] label_ids, ref float values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -1749,12 +2944,8 @@ public static void PlotBarGroups(string[] label_ids, ref float values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -1783,12 +2974,8 @@ public static void PlotBarGroups(string[] label_ids, ref double values, int item for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -1820,12 +3007,8 @@ public static void PlotBarGroups(string[] label_ids, ref double values, int item for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -1856,12 +3039,8 @@ public static void PlotBarGroups(string[] label_ids, ref double values, int item for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -1891,12 +3070,8 @@ public static void PlotBarGroups(string[] label_ids, ref double values, int item for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -1925,12 +3100,8 @@ public static void PlotBarGroups(string[] label_ids, ref sbyte values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -1962,12 +3133,8 @@ public static void PlotBarGroups(string[] label_ids, ref sbyte values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -1998,12 +3165,8 @@ public static void PlotBarGroups(string[] label_ids, ref sbyte values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2033,12 +3196,8 @@ public static void PlotBarGroups(string[] label_ids, ref sbyte values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2067,12 +3226,8 @@ public static void PlotBarGroups(string[] label_ids, ref byte values, int item_c for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2104,12 +3259,8 @@ public static void PlotBarGroups(string[] label_ids, ref byte values, int item_c for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2140,12 +3291,8 @@ public static void PlotBarGroups(string[] label_ids, ref byte values, int item_c for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2175,12 +3322,8 @@ public static void PlotBarGroups(string[] label_ids, ref byte values, int item_c for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2209,12 +3352,8 @@ public static void PlotBarGroups(string[] label_ids, ref short values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2246,12 +3385,8 @@ public static void PlotBarGroups(string[] label_ids, ref short values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2282,12 +3417,8 @@ public static void PlotBarGroups(string[] label_ids, ref short values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2317,12 +3448,8 @@ public static void PlotBarGroups(string[] label_ids, ref short values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2351,12 +3478,8 @@ public static void PlotBarGroups(string[] label_ids, ref ushort values, int item for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2388,12 +3511,8 @@ public static void PlotBarGroups(string[] label_ids, ref ushort values, int item for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2424,12 +3543,8 @@ public static void PlotBarGroups(string[] label_ids, ref ushort values, int item for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2459,12 +3574,8 @@ public static void PlotBarGroups(string[] label_ids, ref ushort values, int item for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2493,12 +3604,8 @@ public static void PlotBarGroups(string[] label_ids, ref int values, int item_co for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2530,12 +3637,8 @@ public static void PlotBarGroups(string[] label_ids, ref int values, int item_co for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2566,12 +3669,8 @@ public static void PlotBarGroups(string[] label_ids, ref int values, int item_co for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2601,12 +3700,8 @@ public static void PlotBarGroups(string[] label_ids, ref int values, int item_co for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2635,12 +3730,8 @@ public static void PlotBarGroups(string[] label_ids, ref uint values, int item_c for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2672,12 +3763,8 @@ public static void PlotBarGroups(string[] label_ids, ref uint values, int item_c for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2708,12 +3795,8 @@ public static void PlotBarGroups(string[] label_ids, ref uint values, int item_c for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2743,12 +3826,8 @@ public static void PlotBarGroups(string[] label_ids, ref uint values, int item_c for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2777,12 +3856,8 @@ public static void PlotBarGroups(string[] label_ids, ref long values, int item_c for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2814,12 +3889,8 @@ public static void PlotBarGroups(string[] label_ids, ref long values, int item_c for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2850,12 +3921,8 @@ public static void PlotBarGroups(string[] label_ids, ref long values, int item_c for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2885,12 +3952,8 @@ public static void PlotBarGroups(string[] label_ids, ref long values, int item_c for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2919,12 +3982,8 @@ public static void PlotBarGroups(string[] label_ids, ref ulong values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2956,12 +4015,8 @@ public static void PlotBarGroups(string[] label_ids, ref ulong values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -2992,12 +4047,8 @@ public static void PlotBarGroups(string[] label_ids, ref ulong values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -3027,12 +4078,8 @@ public static void PlotBarGroups(string[] label_ids, ref ulong values, int item_ for (int i = 0; i < label_ids.Length; i++) { string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; } byte** native_label_ids = stackalloc byte*[label_ids.Length]; offset = 0; @@ -3046,7 +4093,8 @@ public static void PlotBarGroups(string[] label_ids, ref ulong values, int item_ ImPlotNative.ImPlot_PlotBarGroups_U64Ptr(native_label_ids, native_values, item_count, group_count, group_size, shift, flags); } } - public static void PlotBars(string label_id, ref float values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref float values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -3080,7 +4128,8 @@ public static void PlotBars(string label_id, ref float values, int count) } } } - public static void PlotBars(string label_id, ref float values, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref float values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -3100,6 +4149,7 @@ public static void PlotBars(string label_id, ref float values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double bar_size = 0.67; double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; @@ -3113,7 +4163,8 @@ public static void PlotBars(string label_id, ref float values, int count, double } } } - public static void PlotBars(string label_id, ref float values, int count, double bar_size, double shift) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref float values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -3133,6 +4184,7 @@ public static void PlotBars(string label_id, ref float values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; int stride = sizeof(float); @@ -3145,7 +4197,8 @@ public static void PlotBars(string label_id, ref float values, int count, double } } } - public static void PlotBars(string label_id, ref float values, int count, double bar_size, double shift, ImPlotBarsFlags flags) +#endif + public static void PlotBars(string label_id, ref float values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -3165,6 +4218,8 @@ public static void PlotBars(string label_id, ref float values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; int stride = sizeof(float); fixed (float* native_values = &values) @@ -3176,7 +4231,8 @@ public static void PlotBars(string label_id, ref float values, int count, double } } } - public static void PlotBars(string label_id, ref float values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref float values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -3196,6 +4252,8 @@ public static void PlotBars(string label_id, ref float values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; int stride = sizeof(float); fixed (float* native_values = &values) { @@ -3206,7 +4264,8 @@ public static void PlotBars(string label_id, ref float values, int count, double } } } - public static void PlotBars(string label_id, ref float values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) +#endif + public static void PlotBars(string label_id, ref float values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -3226,6 +4285,9 @@ public static void PlotBars(string label_id, ref float values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(float); fixed (float* native_values = &values) { ImPlotNative.ImPlot_PlotBars_FloatPtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); @@ -3235,7 +4297,8 @@ public static void PlotBars(string label_id, ref float values, int count, double } } } - public static void PlotBars(string label_id, ref double values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref float values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -3255,21 +4318,19 @@ public static void PlotBars(string label_id, ref double values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_size = 0.67; - double shift = 0; - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(float); + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_FloatPtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref double values, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref float values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -3289,20 +4350,19 @@ public static void PlotBars(string label_id, ref double values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double shift = 0; - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(float); + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_FloatPtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref double values, int count, double bar_size, double shift) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref float values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -3322,19 +4382,18 @@ public static void PlotBars(string label_id, ref double values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; - int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(float); + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_FloatPtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref double values, int count, double bar_size, double shift, ImPlotBarsFlags flags) +#endif + public static void PlotBars(string label_id, ref float values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -3354,18 +4413,18 @@ public static void PlotBars(string label_id, ref double values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(float); + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_FloatPtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref double values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref float values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -3385,17 +4444,47 @@ public static void PlotBars(string label_id, ref double values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_values = &values) + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_FloatPtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref double values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) +#endif + public static void PlotBars(string label_id, ref float values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotBars_FloatPtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref double values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -3415,6 +4504,11 @@ public static void PlotBars(string label_id, ref double values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double bar_size = 0.67; + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(double); fixed (double* native_values = &values) { ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); @@ -3424,7 +4518,8 @@ public static void PlotBars(string label_id, ref double values, int count, doubl } } } - public static void PlotBars(string label_id, ref sbyte values, int count) +#endif + public static void PlotBars(string label_id, ref double values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -3448,17 +4543,18 @@ public static void PlotBars(string label_id, ref sbyte values, int count) double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(double); + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref sbyte values, int count, double bar_size) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref double values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -3481,17 +4577,18 @@ public static void PlotBars(string label_id, ref sbyte values, int count, double double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(double); + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref sbyte values, int count, double bar_size, double shift) +#endif + public static void PlotBars(string label_id, ref double values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -3511,19 +4608,21 @@ public static void PlotBars(string label_id, ref sbyte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(double); + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref sbyte values, int count, double bar_size, double shift, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref double values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -3543,18 +4642,20 @@ public static void PlotBars(string label_id, ref sbyte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(double); + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref sbyte values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref double values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -3574,17 +4675,20 @@ public static void PlotBars(string label_id, ref sbyte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref sbyte values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref double values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -3604,16 +4708,19 @@ public static void PlotBars(string label_id, ref sbyte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_values = &values) + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref byte values, int count) +#endif + public static void PlotBars(string label_id, ref double values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -3633,21 +4740,19 @@ public static void PlotBars(string label_id, ref byte values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_size = 0.67; - double shift = 0; - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(double); + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref byte values, int count, double bar_size) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref double values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -3667,20 +4772,18 @@ public static void PlotBars(string label_id, ref byte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double shift = 0; - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(double); + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref byte values, int count, double bar_size, double shift) +#endif + public static void PlotBars(string label_id, ref double values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -3700,19 +4803,18 @@ public static void PlotBars(string label_id, ref byte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(double); + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref byte values, int count, double bar_size, double shift, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref double values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -3732,18 +4834,17 @@ public static void PlotBars(string label_id, ref byte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref byte values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref double values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -3763,17 +4864,17 @@ public static void PlotBars(string label_id, ref byte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_values = &values) + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref byte values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref sbyte values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -3793,16 +4894,22 @@ public static void PlotBars(string label_id, ref byte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_values = &values) + double bar_size = 0.67; + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref short values, int count) +#endif + public static void PlotBars(string label_id, ref sbyte values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -3826,17 +4933,18 @@ public static void PlotBars(string label_id, ref short values, int count) double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref short values, int count, double bar_size) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref sbyte values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -3859,17 +4967,18 @@ public static void PlotBars(string label_id, ref short values, int count, double double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref short values, int count, double bar_size, double shift) +#endif + public static void PlotBars(string label_id, ref sbyte values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -3889,19 +4998,21 @@ public static void PlotBars(string label_id, ref short values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref short values, int count, double bar_size, double shift, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref sbyte values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -3921,48 +5032,20 @@ public static void PlotBars(string label_id, ref short values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) - { - ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - public static void PlotBars(string label_id, ref short values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) - { - byte* native_label_id; - int label_id_byteCount = 0; - if (label_id != null) - { - label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - native_label_id = Util.Allocate(label_id_byteCount + 1); - } - else - { - byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; - native_label_id = native_label_id_stackBytes; - } - int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); - native_label_id[native_label_id_offset] = 0; - } - else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref short values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) +#endif + public static void PlotBars(string label_id, ref sbyte values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -3982,16 +5065,20 @@ public static void PlotBars(string label_id, ref short values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_values = &values) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ushort values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref sbyte values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -4011,21 +5098,19 @@ public static void PlotBars(string label_id, ref ushort values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_size = 0.67; - double shift = 0; - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ushort values, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref sbyte values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -4045,20 +5130,19 @@ public static void PlotBars(string label_id, ref ushort values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double shift = 0; - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ushort values, int count, double bar_size, double shift) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref sbyte values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -4078,19 +5162,18 @@ public static void PlotBars(string label_id, ref ushort values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ushort values, int count, double bar_size, double shift, ImPlotBarsFlags flags) +#endif + public static void PlotBars(string label_id, ref sbyte values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -4110,18 +5193,18 @@ public static void PlotBars(string label_id, ref ushort values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ushort values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref sbyte values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -4141,17 +5224,17 @@ public static void PlotBars(string label_id, ref ushort values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ushort values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) +#endif + public static void PlotBars(string label_id, ref sbyte values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -4171,16 +5254,17 @@ public static void PlotBars(string label_id, ref ushort values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_values = &values) + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref int values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref byte values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -4204,17 +5288,18 @@ public static void PlotBars(string label_id, ref int values, int count) double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref int values, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref byte values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -4234,20 +5319,22 @@ public static void PlotBars(string label_id, ref int values, int count, double b native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double bar_size = 0.67; double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref int values, int count, double bar_size, double shift) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref byte values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -4267,19 +5354,21 @@ public static void PlotBars(string label_id, ref int values, int count, double b native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref int values, int count, double bar_size, double shift, ImPlotBarsFlags flags) +#endif + public static void PlotBars(string label_id, ref byte values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -4299,18 +5388,21 @@ public static void PlotBars(string label_id, ref int values, int count, double b native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref int values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref byte values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -4330,17 +5422,20 @@ public static void PlotBars(string label_id, ref int values, int count, double b native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_values = &values) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref int values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) +#endif + public static void PlotBars(string label_id, ref byte values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -4360,16 +5455,20 @@ public static void PlotBars(string label_id, ref int values, int count, double b native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_values = &values) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref uint values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref byte values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -4389,21 +5488,19 @@ public static void PlotBars(string label_id, ref uint values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_size = 0.67; - double shift = 0; - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref uint values, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref byte values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -4423,20 +5520,19 @@ public static void PlotBars(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double shift = 0; - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref uint values, int count, double bar_size, double shift) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref byte values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -4456,19 +5552,18 @@ public static void PlotBars(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref uint values, int count, double bar_size, double shift, ImPlotBarsFlags flags) +#endif + public static void PlotBars(string label_id, ref byte values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -4488,18 +5583,18 @@ public static void PlotBars(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref uint values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref byte values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -4519,17 +5614,17 @@ public static void PlotBars(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(uint); - fixed (uint* native_values = &values) + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref uint values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) +#endif + public static void PlotBars(string label_id, ref byte values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -4549,16 +5644,17 @@ public static void PlotBars(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_values = &values) + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_U8PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref long values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref short values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -4582,17 +5678,18 @@ public static void PlotBars(string label_id, ref long values, int count) double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref long values, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref short values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -4612,20 +5709,22 @@ public static void PlotBars(string label_id, ref long values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double bar_size = 0.67; double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref long values, int count, double bar_size, double shift) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref short values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -4645,109 +5744,21 @@ public static void PlotBars(string label_id, ref long values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) - { - ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - public static void PlotBars(string label_id, ref long values, int count, double bar_size, double shift, ImPlotBarsFlags flags) - { - byte* native_label_id; - int label_id_byteCount = 0; - if (label_id != null) - { - label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - native_label_id = Util.Allocate(label_id_byteCount + 1); - } - else - { - byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; - native_label_id = native_label_id_stackBytes; - } - int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); - native_label_id[native_label_id_offset] = 0; - } - else { native_label_id = null; } - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) - { - ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - public static void PlotBars(string label_id, ref long values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) - { - byte* native_label_id; - int label_id_byteCount = 0; - if (label_id != null) - { - label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - native_label_id = Util.Allocate(label_id_byteCount + 1); - } - else - { - byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; - native_label_id = native_label_id_stackBytes; - } - int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); - native_label_id[native_label_id_offset] = 0; - } - else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_values = &values) - { - ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - public static void PlotBars(string label_id, ref long values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* native_label_id; - int label_id_byteCount = 0; - if (label_id != null) - { - label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - native_label_id = Util.Allocate(label_id_byteCount + 1); - } - else - { - byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; - native_label_id = native_label_id_stackBytes; - } - int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); - native_label_id[native_label_id_offset] = 0; - } - else { native_label_id = null; } - fixed (long* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ulong values, int count) +#endif + public static void PlotBars(string label_id, ref short values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -4767,21 +5778,21 @@ public static void PlotBars(string label_id, ref ulong values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_size = 0.67; double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ulong values, int count, double bar_size) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref short values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -4801,20 +5812,20 @@ public static void PlotBars(string label_id, ref ulong values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ulong values, int count, double bar_size, double shift) +#endif + public static void PlotBars(string label_id, ref short values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -4836,17 +5847,18 @@ public static void PlotBars(string label_id, ref ulong values, int count, double else { native_label_id = null; } ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ulong values, int count, double bar_size, double shift, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref short values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -4867,17 +5879,18 @@ public static void PlotBars(string label_id, ref ulong values, int count, double } else { native_label_id = null; } int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ulong values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref short values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -4897,17 +5910,19 @@ public static void PlotBars(string label_id, ref ulong values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ulong values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref short values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -4927,16 +5942,18 @@ public static void PlotBars(string label_id, ref ulong values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref float xs, ref float ys, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref short values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -4956,22 +5973,18 @@ public static void PlotBars(string label_id, ref float xs, ref float ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; - int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(short); + fixed (short* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref float xs, ref float ys, int count, double bar_size, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref short values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -4991,21 +6004,17 @@ public static void PlotBars(string label_id, ref float xs, ref float ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + fixed (short* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref float xs, ref float ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref short values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -5025,20 +6034,17 @@ public static void PlotBars(string label_id, ref float xs, ref float ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_xs = &xs) + fixed (short* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref float xs, ref float ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ushort values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -5058,19 +6064,22 @@ public static void PlotBars(string label_id, ref float xs, ref float ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_xs = &xs) + double bar_size = 0.67; + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref double xs, ref double ys, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref ushort values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -5090,22 +6099,22 @@ public static void PlotBars(string label_id, ref double xs, ref double ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double bar_size = 0.67; + double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref double xs, ref double ys, int count, double bar_size, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ushort values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -5125,21 +6134,21 @@ public static void PlotBars(string label_id, ref double xs, ref double ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref double xs, ref double ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref ushort values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -5159,20 +6168,21 @@ public static void PlotBars(string label_id, ref double xs, ref double ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_xs = &xs) + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref double xs, ref double ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ushort values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -5192,19 +6202,20 @@ public static void PlotBars(string label_id, ref double xs, ref double ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_xs = &xs) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref sbyte xs, ref sbyte ys, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref ushort values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -5226,20 +6237,18 @@ public static void PlotBars(string label_id, ref sbyte xs, ref sbyte ys, int cou else { native_label_id = null; } ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref sbyte xs, ref sbyte ys, int count, double bar_size, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ushort values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -5260,20 +6269,18 @@ public static void PlotBars(string label_id, ref sbyte xs, ref sbyte ys, int cou } else { native_label_id = null; } int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref sbyte xs, ref sbyte ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref ushort values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -5293,20 +6300,19 @@ public static void PlotBars(string label_id, ref sbyte xs, ref sbyte ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref sbyte xs, ref sbyte ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ushort values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -5326,19 +6332,18 @@ public static void PlotBars(string label_id, ref sbyte xs, ref sbyte ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref byte xs, ref byte ys, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref ushort values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -5358,22 +6363,18 @@ public static void PlotBars(string label_id, ref byte xs, ref byte ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref byte xs, ref byte ys, int count, double bar_size, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ushort values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -5393,21 +6394,17 @@ public static void PlotBars(string label_id, ref byte xs, ref byte ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + fixed (ushort* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref byte xs, ref byte ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref ushort values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -5427,20 +6424,17 @@ public static void PlotBars(string label_id, ref byte xs, ref byte ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + fixed (ushort* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U16PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref byte xs, ref byte ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref int values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -5460,19 +6454,22 @@ public static void PlotBars(string label_id, ref byte xs, ref byte ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_xs = &xs) + double bar_size = 0.67; + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref short xs, ref short ys, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref int values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -5492,22 +6489,22 @@ public static void PlotBars(string label_id, ref short xs, ref short ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double bar_size = 0.67; + double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref short xs, ref short ys, int count, double bar_size, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref int values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -5527,21 +6524,21 @@ public static void PlotBars(string label_id, ref short xs, ref short ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref short xs, ref short ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref int values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -5561,20 +6558,21 @@ public static void PlotBars(string label_id, ref short xs, ref short ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_xs = &xs) + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref short xs, ref short ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref int values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -5594,19 +6592,20 @@ public static void PlotBars(string label_id, ref short xs, ref short ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_xs = &xs) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ushort xs, ref ushort ys, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref int values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -5628,20 +6627,18 @@ public static void PlotBars(string label_id, ref ushort xs, ref ushort ys, int c else { native_label_id = null; } ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (ushort* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ushort xs, ref ushort ys, int count, double bar_size, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref int values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -5662,20 +6659,18 @@ public static void PlotBars(string label_id, ref ushort xs, ref ushort ys, int c } else { native_label_id = null; } int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (ushort* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ushort xs, ref ushort ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref int values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -5695,20 +6690,19 @@ public static void PlotBars(string label_id, ref ushort xs, ref ushort ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (ushort* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ushort xs, ref ushort ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref int values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -5728,19 +6722,18 @@ public static void PlotBars(string label_id, ref ushort xs, ref ushort ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (ushort* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref int xs, ref int ys, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref int values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -5760,22 +6753,18 @@ public static void PlotBars(string label_id, ref int xs, ref int ys, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; - int offset = 0; int stride = sizeof(int); - fixed (int* native_xs = &xs) + fixed (int* native_values = &values) { - fixed (int* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref int xs, ref int ys, int count, double bar_size, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref int values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -5795,21 +6784,17 @@ public static void PlotBars(string label_id, ref int xs, ref int ys, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + fixed (int* native_values = &values) { - fixed (int* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref int xs, ref int ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref int values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -5829,20 +6814,17 @@ public static void PlotBars(string label_id, ref int xs, ref int ys, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_xs = &xs) + fixed (int* native_values = &values) { - fixed (int* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref int xs, ref int ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref uint values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -5862,19 +6844,22 @@ public static void PlotBars(string label_id, ref int xs, ref int ys, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_xs = &xs) + double bar_size = 0.67; + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (int* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref uint xs, ref uint ys, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref uint values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -5894,22 +6879,22 @@ public static void PlotBars(string label_id, ref uint xs, ref uint ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double bar_size = 0.67; + double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + fixed (uint* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref uint xs, ref uint ys, int count, double bar_size, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref uint values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -5929,21 +6914,21 @@ public static void PlotBars(string label_id, ref uint xs, ref uint ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + fixed (uint* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref uint xs, ref uint ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref uint values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -5963,20 +6948,21 @@ public static void PlotBars(string label_id, ref uint xs, ref uint ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + fixed (uint* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref uint xs, ref uint ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref uint values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -5996,19 +6982,20 @@ public static void PlotBars(string label_id, ref uint xs, ref uint ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_xs = &xs) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref long xs, ref long ys, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref uint values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -6030,20 +7017,18 @@ public static void PlotBars(string label_id, ref long xs, ref long ys, int count else { native_label_id = null; } ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (long* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref long xs, ref long ys, int count, double bar_size, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref uint values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -6064,20 +7049,18 @@ public static void PlotBars(string label_id, ref long xs, ref long ys, int count } else { native_label_id = null; } int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (long* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref long xs, ref long ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref uint values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -6097,20 +7080,19 @@ public static void PlotBars(string label_id, ref long xs, ref long ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (long* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref long xs, ref long ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref uint values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -6130,19 +7112,18 @@ public static void PlotBars(string label_id, ref long xs, ref long ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (long* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ulong xs, ref ulong ys, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref uint values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -6162,22 +7143,18 @@ public static void PlotBars(string label_id, ref ulong xs, ref ulong ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotBarsFlags flags = (ImPlotBarsFlags)0; - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (ulong* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ulong xs, ref ulong ys, int count, double bar_size, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref uint values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -6197,21 +7174,17 @@ public static void PlotBars(string label_id, ref ulong xs, ref ulong ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + fixed (uint* native_values = &values) { - fixed (ulong* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ulong xs, ref ulong ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref uint values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -6231,20 +7204,17 @@ public static void PlotBars(string label_id, ref ulong xs, ref ulong ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + fixed (uint* native_values = &values) { - fixed (ulong* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U32PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBars(string label_id, ref ulong xs, ref ulong ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref long values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -6264,19 +7234,22 @@ public static void PlotBars(string label_id, ref ulong xs, ref ulong ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_xs = &xs) + double bar_size = 0.67; + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) { - fixed (ulong* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotBars_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotBarsG(string label_id, IntPtr getter, IntPtr data, int count, double bar_size) +#endif + public static void PlotBars(string label_id, ref long values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -6296,15 +7269,22 @@ public static void PlotBarsG(string label_id, IntPtr getter, IntPtr data, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - void* native_data = (void*)data.ToPointer(); + double bar_size = 0.67; + double shift = 0; ImPlotBarsFlags flags = (ImPlotBarsFlags)0; - ImPlotNative.ImPlot_PlotBarsG(native_label_id, getter, native_data, count, bar_size, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } - public static void PlotBarsG(string label_id, IntPtr getter, IntPtr data, int count, double bar_size, ImPlotBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref long values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -6324,14 +7304,21 @@ public static void PlotBarsG(string label_id, IntPtr getter, IntPtr data, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - void* native_data = (void*)data.ToPointer(); - ImPlotNative.ImPlot_PlotBarsG(native_label_id, getter, native_data, count, bar_size, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } - public static void PlotDigital(string label_id, ref float xs, ref float ys, int count) +#endif + public static void PlotBars(string label_id, ref long values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -6351,22 +7338,21 @@ public static void PlotDigital(string label_id, ref float xs, ref float ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_FloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref long values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -6386,21 +7372,20 @@ public static void PlotDigital(string label_id, ref float xs, ref float ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_FloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref long values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -6420,20 +7405,20 @@ public static void PlotDigital(string label_id, ref float xs, ref float ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_xs = &xs) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_FloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref long values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -6453,19 +7438,19 @@ public static void PlotDigital(string label_id, ref float xs, ref float ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_xs = &xs) + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_FloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref double xs, ref double ys, int count) +#endif + public static void PlotBars(string label_id, ref long values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -6485,22 +7470,19 @@ public static void PlotDigital(string label_id, ref double xs, ref double ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_doublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref long values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -6520,21 +7502,18 @@ public static void PlotDigital(string label_id, ref double xs, ref double ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_doublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref long values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -6554,20 +7533,18 @@ public static void PlotDigital(string label_id, ref double xs, ref double ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_doublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref long values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -6587,19 +7564,17 @@ public static void PlotDigital(string label_id, ref double xs, ref double ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_xs = &xs) + fixed (long* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_doublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref sbyte xs, ref sbyte ys, int count) +#endif + public static void PlotBars(string label_id, ref long values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -6619,22 +7594,17 @@ public static void PlotDigital(string label_id, ref sbyte xs, ref sbyte ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + fixed (long* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_S64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_S8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotDigitalFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ulong values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -6654,21 +7624,22 @@ public static void PlotDigital(string label_id, ref sbyte xs, ref sbyte ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double bar_size = 0.67; + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_S8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotDigitalFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref ulong values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -6688,20 +7659,22 @@ public static void PlotDigital(string label_id, ref sbyte xs, ref sbyte ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + double bar_size = 0.67; + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_S8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ulong values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -6721,19 +7694,21 @@ public static void PlotDigital(string label_id, ref sbyte xs, ref sbyte ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_xs = &xs) + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_S8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref byte xs, ref byte ys, int count) +#endif + public static void PlotBars(string label_id, ref ulong values, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -6753,22 +7728,21 @@ public static void PlotDigital(string label_id, ref byte xs, ref byte ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + double shift = 0; + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_U8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ulong values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -6788,21 +7762,20 @@ public static void PlotDigital(string label_id, ref byte xs, ref byte ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_U8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref ulong values, int count, double bar_size, double shift) { byte* native_label_id; int label_id_byteCount = 0; @@ -6822,20 +7795,20 @@ public static void PlotDigital(string label_id, ref byte xs, ref byte ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_U8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ulong values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -6855,19 +7828,19 @@ public static void PlotDigital(string label_id, ref byte xs, ref byte ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_xs = &xs) + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_U8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref short xs, ref short ys, int count) +#endif + public static void PlotBars(string label_id, ref ulong values, int count, double bar_size, double shift, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -6887,22 +7860,19 @@ public static void PlotDigital(string label_id, ref short xs, ref short ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_S16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ulong values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -6922,21 +7892,18 @@ public static void PlotDigital(string label_id, ref short xs, ref short ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_S16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref ulong values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -6956,20 +7923,18 @@ public static void PlotDigital(string label_id, ref short xs, ref short ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_S16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ulong values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -6989,19 +7954,17 @@ public static void PlotDigital(string label_id, ref short xs, ref short ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_xs = &xs) + fixed (ulong* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_S16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, int count) +#endif + public static void PlotBars(string label_id, ref ulong values, int count, double bar_size, double shift, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -7021,22 +7984,17 @@ public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + fixed (ulong* native_values = &values) { - fixed (ushort* native_ys = &ys) + ImPlotNative.ImPlot_PlotBars_U64PtrInt(native_label_id, native_values, count, bar_size, shift, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotDigital_U16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref float xs, ref float ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -7056,13 +8014,14 @@ public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (float* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_U16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7070,7 +8029,8 @@ public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, in } } } - public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref float xs, ref float ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -7090,12 +8050,14 @@ public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (float* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_U16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7103,7 +8065,8 @@ public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, in } } } - public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref float xs, ref float ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -7123,11 +8086,13 @@ public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_xs = &xs) + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (float* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_U16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7135,7 +8100,8 @@ public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, in } } } - public static void PlotDigital(string label_id, ref int xs, ref int ys, int count) +#endif + public static void PlotBars(string label_id, ref float xs, ref float ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -7155,14 +8121,13 @@ public static void PlotDigital(string label_id, ref int xs, ref int ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (float* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_S32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7170,7 +8135,8 @@ public static void PlotDigital(string label_id, ref int xs, ref int ys, int coun } } } - public static void PlotDigital(string label_id, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref float xs, ref float ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -7190,13 +8156,12 @@ public static void PlotDigital(string label_id, ref int xs, ref int ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (float* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_S32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7204,7 +8169,8 @@ public static void PlotDigital(string label_id, ref int xs, ref int ys, int coun } } } - public static void PlotDigital(string label_id, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref float xs, ref float ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -7224,12 +8190,12 @@ public static void PlotDigital(string label_id, ref int xs, ref int ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (float* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_S32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7237,7 +8203,8 @@ public static void PlotDigital(string label_id, ref int xs, ref int ys, int coun } } } - public static void PlotDigital(string label_id, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref float xs, ref float ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -7257,11 +8224,11 @@ public static void PlotDigital(string label_id, ref int xs, ref int ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_xs = &xs) + fixed (float* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (float* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_S32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7269,7 +8236,8 @@ public static void PlotDigital(string label_id, ref int xs, ref int ys, int coun } } } - public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int count) +#endif + public static void PlotBars(string label_id, ref float xs, ref float ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -7289,14 +8257,11 @@ public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + fixed (float* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (float* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_U32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7304,7 +8269,8 @@ public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int co } } } - public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref double xs, ref double ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -7324,13 +8290,14 @@ public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_U32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7338,7 +8305,8 @@ public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int co } } } - public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref double xs, ref double ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -7358,12 +8326,14 @@ public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_U32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7371,7 +8341,8 @@ public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int co } } } - public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref double xs, ref double ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -7391,11 +8362,13 @@ public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_xs = &xs) + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_U32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7403,7 +8376,8 @@ public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int co } } } - public static void PlotDigital(string label_id, ref long xs, ref long ys, int count) +#endif + public static void PlotBars(string label_id, ref double xs, ref double ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -7423,14 +8397,13 @@ public static void PlotDigital(string label_id, ref long xs, ref long ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_S64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7438,7 +8411,8 @@ public static void PlotDigital(string label_id, ref long xs, ref long ys, int co } } } - public static void PlotDigital(string label_id, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref double xs, ref double ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -7458,13 +8432,12 @@ public static void PlotDigital(string label_id, ref long xs, ref long ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_S64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7472,7 +8445,8 @@ public static void PlotDigital(string label_id, ref long xs, ref long ys, int co } } } - public static void PlotDigital(string label_id, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref double xs, ref double ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -7492,12 +8466,12 @@ public static void PlotDigital(string label_id, ref long xs, ref long ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_S64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7505,7 +8479,8 @@ public static void PlotDigital(string label_id, ref long xs, ref long ys, int co } } } - public static void PlotDigital(string label_id, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref double xs, ref double ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -7525,11 +8500,11 @@ public static void PlotDigital(string label_id, ref long xs, ref long ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_xs = &xs) + fixed (double* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_S64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7537,7 +8512,8 @@ public static void PlotDigital(string label_id, ref long xs, ref long ys, int co } } } - public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int count) +#endif + public static void PlotBars(string label_id, ref double xs, ref double ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -7557,14 +8533,11 @@ public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + fixed (double* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_U64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7572,7 +8545,8 @@ public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int } } } - public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -7592,13 +8566,14 @@ public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_U64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7606,7 +8581,8 @@ public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int } } } - public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref sbyte xs, ref sbyte ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -7626,12 +8602,14 @@ public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_U64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7639,7 +8617,8 @@ public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int } } } - public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -7659,11 +8638,13 @@ public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_xs = &xs) + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotDigital_U64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + ImPlotNative.ImPlot_PlotBars_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -7671,7 +8652,8 @@ public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int } } } - public static void PlotDigitalG(string label_id, IntPtr getter, IntPtr data, int count) +#endif + public static void PlotBars(string label_id, ref sbyte xs, ref sbyte ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -7691,15 +8673,22 @@ public static void PlotDigitalG(string label_id, IntPtr getter, IntPtr data, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - void* native_data = (void*)data.ToPointer(); - ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; - ImPlotNative.ImPlot_PlotDigitalG(native_label_id, getter, native_data, count, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - Util.Free(native_label_id); + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotBars_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } - public static void PlotDigitalG(string label_id, IntPtr getter, IntPtr data, int count, ImPlotDigitalFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -7719,14 +8708,21 @@ public static void PlotDigitalG(string label_id, IntPtr getter, IntPtr data, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - void* native_data = (void*)data.ToPointer(); - ImPlotNative.ImPlot_PlotDigitalG(native_label_id, getter, native_data, count, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - Util.Free(native_label_id); + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotBars_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } - public static void PlotDummy(string label_id) +#endif + public static void PlotBars(string label_id, ref sbyte xs, ref sbyte ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -7746,14 +8742,21 @@ public static void PlotDummy(string label_id) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotDummyFlags flags = (ImPlotDummyFlags)0; - ImPlotNative.ImPlot_PlotDummy(native_label_id, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - Util.Free(native_label_id); + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotBars_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } - public static void PlotDummy(string label_id, ImPlotDummyFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -7773,13 +8776,20 @@ public static void PlotDummy(string label_id, ImPlotDummyFlags flags) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotNative.ImPlot_PlotDummy(native_label_id, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_xs = &xs) { - Util.Free(native_label_id); + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotBars_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } - public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float err, int count) +#endif + public static void PlotBars(string label_id, ref sbyte xs, ref sbyte ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -7799,25 +8809,20 @@ public static void PlotErrorBars(string label_id, ref float xs, ref float ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; - int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + fixed (sbyte* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - fixed (float* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -7837,24 +8842,23 @@ public static void PlotErrorBars(string label_id, ref float xs, ref float ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (byte* native_ys = &ys) { - fixed (float* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref byte xs, ref byte ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -7874,23 +8878,23 @@ public static void PlotErrorBars(string label_id, ref float xs, ref float ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_xs = &xs) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (byte* native_ys = &ys) { - fixed (float* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -7910,22 +8914,22 @@ public static void PlotErrorBars(string label_id, ref float xs, ref float ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_xs = &xs) + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (byte* native_ys = &ys) { - fixed (float* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double err, int count) +#endif + public static void PlotBars(string label_id, ref byte xs, ref byte ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -7945,25 +8949,22 @@ public static void PlotErrorBars(string label_id, ref double xs, ref double ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (byte* native_ys = &ys) { - fixed (double* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -7983,24 +8984,21 @@ public static void PlotErrorBars(string label_id, ref double xs, ref double ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (byte* native_ys = &ys) { - fixed (double* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref byte xs, ref byte ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -8020,23 +9018,21 @@ public static void PlotErrorBars(string label_id, ref double xs, ref double ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (byte* native_ys = &ys) { - fixed (double* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -8056,22 +9052,20 @@ public static void PlotErrorBars(string label_id, ref double xs, ref double ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_xs = &xs) + fixed (byte* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (byte* native_ys = &ys) { - fixed (double* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte err, int count) +#endif + public static void PlotBars(string label_id, ref byte xs, ref byte ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -8091,25 +9085,20 @@ public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + fixed (byte* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (byte* native_ys = &ys) { - fixed (sbyte* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte err, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref short xs, ref short ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -8129,24 +9118,23 @@ public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (short* native_ys = &ys) { - fixed (sbyte* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte err, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref short xs, ref short ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -8166,23 +9154,23 @@ public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (short* native_ys = &ys) { - fixed (sbyte* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref short xs, ref short ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -8202,22 +9190,22 @@ public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_xs = &xs) + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (short* native_ys = &ys) { - fixed (sbyte* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte err, int count) +#endif + public static void PlotBars(string label_id, ref short xs, ref short ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -8237,25 +9225,22 @@ public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (short* native_ys = &ys) { - fixed (byte* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref short xs, ref short ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -8275,24 +9260,21 @@ public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (short* native_ys = &ys) { - fixed (byte* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref short xs, ref short ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -8312,23 +9294,21 @@ public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (short* native_ys = &ys) { - fixed (byte* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref short xs, ref short ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -8348,22 +9328,20 @@ public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_xs = &xs) + fixed (short* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (short* native_ys = &ys) { - fixed (byte* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short err, int count) +#endif + public static void PlotBars(string label_id, ref short xs, ref short ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -8383,25 +9361,20 @@ public static void PlotErrorBars(string label_id, ref short xs, ref short ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; - int offset = 0; - int stride = sizeof(short); fixed (short* native_xs = &xs) { fixed (short* native_ys = &ys) { - fixed (short* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -8421,24 +9394,23 @@ public static void PlotErrorBars(string label_id, ref short xs, ref short ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - fixed (short* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - fixed (short* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref ushort xs, ref ushort ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -8458,23 +9430,23 @@ public static void PlotErrorBars(string label_id, ref short xs, ref short ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_xs = &xs) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - fixed (short* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - fixed (short* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -8494,22 +9466,22 @@ public static void PlotErrorBars(string label_id, ref short xs, ref short ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_xs = &xs) + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - fixed (short* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - fixed (short* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort err, int count) +#endif + public static void PlotBars(string label_id, ref ushort xs, ref ushort ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -8529,25 +9501,22 @@ public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; int stride = sizeof(ushort); fixed (ushort* native_xs = &xs) { fixed (ushort* native_ys = &ys) { - fixed (ushort* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -8567,24 +9536,21 @@ public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; int stride = sizeof(ushort); fixed (ushort* native_xs = &xs) { fixed (ushort* native_ys = &ys) { - fixed (ushort* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref ushort xs, ref ushort ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -8609,18 +9575,16 @@ public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, { fixed (ushort* native_ys = &ys) { - fixed (ushort* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -8644,18 +9608,16 @@ public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, { fixed (ushort* native_ys = &ys) { - fixed (ushort* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int err, int count) +#endif + public static void PlotBars(string label_id, ref ushort xs, ref ushort ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -8675,25 +9637,20 @@ public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; - int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + fixed (ushort* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - fixed (int* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref int xs, ref int ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -8713,24 +9670,23 @@ public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; int stride = sizeof(int); fixed (int* native_xs = &xs) { fixed (int* native_ys = &ys) { - fixed (int* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref int xs, ref int ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -8750,23 +9706,23 @@ public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; int stride = sizeof(int); fixed (int* native_xs = &xs) { fixed (int* native_ys = &ys) { - fixed (int* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref int xs, ref int ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -8786,22 +9742,22 @@ public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); fixed (int* native_xs = &xs) { fixed (int* native_ys = &ys) { - fixed (int* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint err, int count) +#endif + public static void PlotBars(string label_id, ref int xs, ref int ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -8821,25 +9777,22 @@ public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (int* native_ys = &ys) { - fixed (uint* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref int xs, ref int ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -8859,24 +9812,21 @@ public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (int* native_ys = &ys) { - fixed (uint* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref int xs, ref int ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -8896,23 +9846,21 @@ public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (int* native_ys = &ys) { - fixed (uint* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref int xs, ref int ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -8932,22 +9880,20 @@ public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_xs = &xs) + fixed (int* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (int* native_ys = &ys) { - fixed (uint* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long err, int count) +#endif + public static void PlotBars(string label_id, ref int xs, ref int ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -8967,25 +9913,20 @@ public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + fixed (int* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (int* native_ys = &ys) { - fixed (long* native_err = &err) + ImPlotNative.ImPlot_PlotBars_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -9005,24 +9946,23 @@ public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (uint* native_ys = &ys) { - fixed (long* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref uint xs, ref uint ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -9042,23 +9982,23 @@ public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_xs = &xs) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (uint* native_ys = &ys) { - fixed (long* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -9078,22 +10018,22 @@ public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_xs = &xs) + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (uint* native_ys = &ys) { - fixed (long* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong err, int count) +#endif + public static void PlotBars(string label_id, ref uint xs, ref uint ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -9113,25 +10053,22 @@ public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (uint* native_ys = &ys) { - fixed (ulong* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -9151,24 +10088,21 @@ public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (uint* native_ys = &ys) { - fixed (ulong* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref uint xs, ref uint ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -9188,23 +10122,21 @@ public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (uint* native_ys = &ys) { - fixed (ulong* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -9224,22 +10156,20 @@ public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_xs = &xs) + fixed (uint* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (uint* native_ys = &ys) { - fixed (ulong* native_err = &err) + ImPlotNative.ImPlot_PlotBars_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float neg, ref float pos, int count) +#endif + public static void PlotBars(string label_id, ref uint xs, ref uint ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -9259,28 +10189,20 @@ public static void PlotErrorBars(string label_id, ref float xs, ref float ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; - int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + fixed (uint* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (uint* native_ys = &ys) { - fixed (float* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (float* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref long xs, ref long ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -9300,27 +10222,23 @@ public static void PlotErrorBars(string label_id, ref float xs, ref float ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (long* native_ys = &ys) { - fixed (float* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (float* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref long xs, ref long ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -9340,26 +10258,23 @@ public static void PlotErrorBars(string label_id, ref float xs, ref float ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_xs = &xs) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (long* native_ys = &ys) { - fixed (float* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (float* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref long xs, ref long ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -9379,25 +10294,22 @@ public static void PlotErrorBars(string label_id, ref float xs, ref float ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_xs = &xs) + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (long* native_ys = &ys) { - fixed (float* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (float* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double neg, ref double pos, int count) +#endif + public static void PlotBars(string label_id, ref long xs, ref long ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -9417,28 +10329,22 @@ public static void PlotErrorBars(string label_id, ref double xs, ref double ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (long* native_ys = &ys) { - fixed (double* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (double* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref long xs, ref long ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -9458,27 +10364,21 @@ public static void PlotErrorBars(string label_id, ref double xs, ref double ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (long* native_ys = &ys) { - fixed (double* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (double* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref long xs, ref long ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -9498,26 +10398,21 @@ public static void PlotErrorBars(string label_id, ref double xs, ref double ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (long* native_ys = &ys) { - fixed (double* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (double* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref long xs, ref long ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -9537,25 +10432,20 @@ public static void PlotErrorBars(string label_id, ref double xs, ref double ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_xs = &xs) + fixed (long* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (long* native_ys = &ys) { - fixed (double* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (double* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte neg, ref sbyte pos, int count) +#endif + public static void PlotBars(string label_id, ref long xs, ref long ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -9575,28 +10465,20 @@ public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + fixed (long* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (long* native_ys = &ys) { - fixed (sbyte* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (sbyte* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte neg, ref sbyte pos, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -9616,27 +10498,23 @@ public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - fixed (sbyte* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (sbyte* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte neg, ref sbyte pos, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref ulong xs, ref ulong ys, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -9656,26 +10534,23 @@ public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - fixed (sbyte* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (sbyte* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte neg, ref sbyte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -9695,25 +10570,22 @@ public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_xs = &xs) + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - fixed (sbyte* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (sbyte* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count) +#endif + public static void PlotBars(string label_id, ref ulong xs, ref ulong ys, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -9733,28 +10605,22 @@ public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - fixed (byte* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (byte* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -9774,27 +10640,21 @@ public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - fixed (byte* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (byte* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBars(string label_id, ref ulong xs, ref ulong ys, int count, double bar_size, ImPlotBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -9814,26 +10674,21 @@ public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - fixed (byte* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (byte* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBars(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -9853,25 +10708,20 @@ public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_xs = &xs) + fixed (ulong* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - fixed (byte* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (byte* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short neg, ref short pos, int count) +#endif + public static void PlotBars(string label_id, ref ulong xs, ref ulong ys, int count, double bar_size, ImPlotBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -9891,28 +10741,20 @@ public static void PlotErrorBars(string label_id, ref short xs, ref short ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; - int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + fixed (ulong* native_xs = &xs) { - fixed (short* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - fixed (short* native_neg = &neg) + ImPlotNative.ImPlot_PlotBars_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, bar_size, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (short* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBarsG(ReadOnlySpan label_id, IntPtr getter, IntPtr data, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -9932,27 +10774,16 @@ public static void PlotErrorBars(string label_id, ref short xs, ref short ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + void* native_data = (void*)data.ToPointer(); + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + ImPlotNative.ImPlot_PlotBarsG(native_label_id, getter, native_data, count, bar_size, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (short* native_ys = &ys) - { - fixed (short* native_neg = &neg) - { - fixed (short* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - } + Util.Free(native_label_id); } } - public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotBarsG(string label_id, IntPtr getter, IntPtr data, int count, double bar_size) { byte* native_label_id; int label_id_byteCount = 0; @@ -9972,26 +10803,16 @@ public static void PlotErrorBars(string label_id, ref short xs, ref short ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_xs = &xs) + void* native_data = (void*)data.ToPointer(); + ImPlotBarsFlags flags = (ImPlotBarsFlags)0; + ImPlotNative.ImPlot_PlotBarsG(native_label_id, getter, native_data, count, bar_size, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (short* native_ys = &ys) - { - fixed (short* native_neg = &neg) - { - fixed (short* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - } + Util.Free(native_label_id); } } - public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotBarsG(ReadOnlySpan label_id, IntPtr getter, IntPtr data, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -10011,25 +10832,15 @@ public static void PlotErrorBars(string label_id, ref short xs, ref short ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_xs = &xs) + void* native_data = (void*)data.ToPointer(); + ImPlotNative.ImPlot_PlotBarsG(native_label_id, getter, native_data, count, bar_size, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (short* native_ys = &ys) - { - fixed (short* native_neg = &neg) - { - fixed (short* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - } + Util.Free(native_label_id); } } - public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) +#endif + public static void PlotBarsG(string label_id, IntPtr getter, IntPtr data, int count, double bar_size, ImPlotBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -10049,28 +10860,15 @@ public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + void* native_data = (void*)data.ToPointer(); + ImPlotNative.ImPlot_PlotBarsG(native_label_id, getter, native_data, count, bar_size, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ushort* native_ys = &ys) - { - fixed (ushort* native_neg = &neg) - { - fixed (ushort* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - } + Util.Free(native_label_id); } } - public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref float xs, ref float ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -10090,27 +10888,23 @@ public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (float* native_ys = &ys) { - fixed (ushort* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_FloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ushort* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotDigital(string label_id, ref float xs, ref float ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -10130,26 +10924,23 @@ public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (float* native_ys = &ys) { - fixed (ushort* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_FloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ushort* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -10169,25 +10960,22 @@ public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_xs = &xs) + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (float* native_ys = &ys) { - fixed (ushort* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_FloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ushort* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int neg, ref int pos, int count) +#endif + public static void PlotDigital(string label_id, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -10207,28 +10995,22 @@ public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (float* native_ys = &ys) { - fixed (int* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_FloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (int* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -10248,27 +11030,21 @@ public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (float* native_ys = &ys) { - fixed (int* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_FloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (int* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotDigital(string label_id, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -10288,26 +11064,21 @@ public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (float* native_ys = &ys) { - fixed (int* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_FloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (int* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -10327,25 +11098,20 @@ public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_xs = &xs) + fixed (float* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (float* native_ys = &ys) { - fixed (int* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_FloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (int* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count) +#endif + public static void PlotDigital(string label_id, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -10365,28 +11131,20 @@ public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + fixed (float* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (float* native_ys = &ys) { - fixed (uint* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_FloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (uint* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref double xs, ref double ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -10406,27 +11164,23 @@ public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (double* native_ys = &ys) { - fixed (uint* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_doublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (uint* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotDigital(string label_id, ref double xs, ref double ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -10446,26 +11200,23 @@ public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (double* native_ys = &ys) { - fixed (uint* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_doublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (uint* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -10485,25 +11236,22 @@ public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_xs = &xs) + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (double* native_ys = &ys) { - fixed (uint* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_doublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (uint* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long neg, ref long pos, int count) +#endif + public static void PlotDigital(string label_id, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -10523,28 +11271,22 @@ public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (double* native_ys = &ys) { - fixed (long* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_doublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (long* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -10564,27 +11306,21 @@ public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (double* native_ys = &ys) { - fixed (long* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_doublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (long* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotDigital(string label_id, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -10604,26 +11340,21 @@ public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (double* native_ys = &ys) { - fixed (long* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_doublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (long* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -10643,25 +11374,20 @@ public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_xs = &xs) + fixed (double* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (double* native_ys = &ys) { - fixed (long* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_doublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (long* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) +#endif + public static void PlotDigital(string label_id, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -10681,28 +11407,20 @@ public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + fixed (double* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (double* native_ys = &ys) { - fixed (ulong* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_doublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ulong* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -10722,27 +11440,23 @@ public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - fixed (ulong* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_S8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ulong* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) +#endif + public static void PlotDigital(string label_id, ref sbyte xs, ref sbyte ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -10762,26 +11476,23 @@ public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - fixed (ulong* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_S8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ulong* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -10801,25 +11512,22 @@ public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_xs = &xs) + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - fixed (ulong* native_neg = &neg) + ImPlotNative.ImPlot_PlotDigital_S8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ulong* native_pos = &pos) - { - ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } } - public static void PlotHeatmap(string label_id, ref float values, int rows, int cols) +#endif + public static void PlotDigital(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -10839,39 +11547,22 @@ public static void PlotHeatmap(string label_id, ref float values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_min = 0; - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (float* native_values = &values) + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref float values, int rows, int cols, double scale_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -10891,38 +11582,21 @@ public static void PlotHeatmap(string label_id, ref float values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (float* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref float values, int rows, int cols, double scale_min, double scale_max) +#endif + public static void PlotDigital(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -10942,37 +11616,21 @@ public static void PlotHeatmap(string label_id, ref float values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (float* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref float values, int rows, int cols, double scale_min, double scale_max, string label_fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -10992,41 +11650,20 @@ public static void PlotHeatmap(string label_id, ref float values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (float* native_values = &values) + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref float values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) +#endif + public static void PlotDigital(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -11046,40 +11683,20 @@ public static void PlotHeatmap(string label_id, ref float values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (float* native_values = &values) + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref float values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -11099,39 +11716,23 @@ public static void PlotHeatmap(string label_id, ref float values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (float* native_values = &values) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref float values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) +#endif + public static void PlotDigital(string label_id, ref byte xs, ref byte ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -11151,38 +11752,23 @@ public static void PlotHeatmap(string label_id, ref float values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - fixed (float* native_values = &values) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref double values, int rows, int cols) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -11202,39 +11788,22 @@ public static void PlotHeatmap(string label_id, ref double values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_min = 0; - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (double* native_values = &values) + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref double values, int rows, int cols, double scale_min) +#endif + public static void PlotDigital(string label_id, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -11254,38 +11823,22 @@ public static void PlotHeatmap(string label_id, ref double values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (double* native_values = &values) + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref double values, int rows, int cols, double scale_min, double scale_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -11305,37 +11858,21 @@ public static void PlotHeatmap(string label_id, ref double values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (double* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref double values, int rows, int cols, double scale_min, double scale_max, string label_fmt) +#endif + public static void PlotDigital(string label_id, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -11355,41 +11892,21 @@ public static void PlotHeatmap(string label_id, ref double values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (double* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref double values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -11409,40 +11926,20 @@ public static void PlotHeatmap(string label_id, ref double values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (double* native_values = &values) + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref double values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) +#endif + public static void PlotDigital(string label_id, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -11462,39 +11959,20 @@ public static void PlotHeatmap(string label_id, ref double values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) + fixed (byte* native_xs = &xs) { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (double* native_values = &values) - { - ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref double values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref short xs, ref short ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -11514,38 +11992,23 @@ public static void PlotHeatmap(string label_id, ref double values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - fixed (double* native_values = &values) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int cols) +#endif + public static void PlotDigital(string label_id, ref short xs, ref short ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -11565,39 +12028,23 @@ public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_min = 0; - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (sbyte* native_values = &values) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int cols, double scale_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -11617,38 +12064,22 @@ public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (sbyte* native_values = &values) + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max) +#endif + public static void PlotDigital(string label_id, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -11668,37 +12099,22 @@ public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (sbyte* native_values = &values) + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max, string label_fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -11718,41 +12134,21 @@ public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (sbyte* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) +#endif + public static void PlotDigital(string label_id, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -11772,40 +12168,21 @@ public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (sbyte* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -11825,39 +12202,20 @@ public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (sbyte* native_values = &values) + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) +#endif + public static void PlotDigital(string label_id, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -11877,38 +12235,20 @@ public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - fixed (sbyte* native_values = &values) + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref byte values, int rows, int cols) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -11928,39 +12268,23 @@ public static void PlotHeatmap(string label_id, ref byte values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_min = 0; - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (byte* native_values = &values) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref byte values, int rows, int cols, double scale_min) +#endif + public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -11980,38 +12304,23 @@ public static void PlotHeatmap(string label_id, ref byte values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (byte* native_values = &values) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref byte values, int rows, int cols, double scale_min, double scale_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -12031,37 +12340,22 @@ public static void PlotHeatmap(string label_id, ref byte values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (byte* native_values = &values) + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref byte values, int rows, int cols, double scale_min, double scale_max, string label_fmt) +#endif + public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -12081,41 +12375,22 @@ public static void PlotHeatmap(string label_id, ref byte values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (byte* native_values = &values) + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref byte values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -12135,40 +12410,21 @@ public static void PlotHeatmap(string label_id, ref byte values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (byte* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref byte values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) +#endif + public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -12188,39 +12444,21 @@ public static void PlotHeatmap(string label_id, ref byte values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (byte* native_values = &values) - { - ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref byte values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -12240,38 +12478,20 @@ public static void PlotHeatmap(string label_id, ref byte values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - fixed (byte* native_values = &values) + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref short values, int rows, int cols) +#endif + public static void PlotDigital(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -12291,39 +12511,20 @@ public static void PlotHeatmap(string label_id, ref short values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_min = 0; - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (short* native_values = &values) + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref short values, int rows, int cols, double scale_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref int xs, ref int ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -12343,38 +12544,23 @@ public static void PlotHeatmap(string label_id, ref short values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (short* native_values = &values) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref short values, int rows, int cols, double scale_min, double scale_max) +#endif + public static void PlotDigital(string label_id, ref int xs, ref int ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -12394,37 +12580,23 @@ public static void PlotHeatmap(string label_id, ref short values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (short* native_values = &values) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref short values, int rows, int cols, double scale_min, double scale_max, string label_fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -12444,41 +12616,22 @@ public static void PlotHeatmap(string label_id, ref short values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (short* native_values = &values) + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref short values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) +#endif + public static void PlotDigital(string label_id, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -12498,40 +12651,22 @@ public static void PlotHeatmap(string label_id, ref short values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (short* native_values = &values) + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref short values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -12551,39 +12686,21 @@ public static void PlotHeatmap(string label_id, ref short values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (short* native_values = &values) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref short values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) +#endif + public static void PlotDigital(string label_id, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -12603,38 +12720,21 @@ public static void PlotHeatmap(string label_id, ref short values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - fixed (short* native_values = &values) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref ushort values, int rows, int cols) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -12654,39 +12754,20 @@ public static void PlotHeatmap(string label_id, ref ushort values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_min = 0; - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (ushort* native_values = &values) + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref ushort values, int rows, int cols, double scale_min) +#endif + public static void PlotDigital(string label_id, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -12706,38 +12787,20 @@ public static void PlotHeatmap(string label_id, ref ushort values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (ushort* native_values = &values) + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -12757,37 +12820,23 @@ public static void PlotHeatmap(string label_id, ref ushort values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (ushort* native_values = &values) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max, string label_fmt) +#endif + public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -12807,41 +12856,23 @@ public static void PlotHeatmap(string label_id, ref ushort values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (ushort* native_values = &values) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -12861,40 +12892,22 @@ public static void PlotHeatmap(string label_id, ref ushort values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (ushort* native_values = &values) + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) +#endif + public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -12914,39 +12927,22 @@ public static void PlotHeatmap(string label_id, ref ushort values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (ushort* native_values = &values) - { - ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -12966,38 +12962,21 @@ public static void PlotHeatmap(string label_id, ref ushort values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - fixed (ushort* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref int values, int rows, int cols) +#endif + public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -13017,39 +12996,21 @@ public static void PlotHeatmap(string label_id, ref int values, int rows, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_min = 0; - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (int* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref int values, int rows, int cols, double scale_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -13069,38 +13030,20 @@ public static void PlotHeatmap(string label_id, ref int values, int rows, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (int* native_values = &values) + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref int values, int rows, int cols, double scale_min, double scale_max) +#endif + public static void PlotDigital(string label_id, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -13120,37 +13063,20 @@ public static void PlotHeatmap(string label_id, ref int values, int rows, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (int* native_values = &values) + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref int values, int rows, int cols, double scale_min, double scale_max, string label_fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref long xs, ref long ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -13170,41 +13096,23 @@ public static void PlotHeatmap(string label_id, ref int values, int rows, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (int* native_values = &values) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref int values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) +#endif + public static void PlotDigital(string label_id, ref long xs, ref long ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -13224,40 +13132,23 @@ public static void PlotHeatmap(string label_id, ref int values, int rows, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (int* native_values = &values) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref int values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -13277,39 +13168,22 @@ public static void PlotHeatmap(string label_id, ref int values, int rows, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (int* native_values = &values) + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref int values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) +#endif + public static void PlotDigital(string label_id, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -13329,38 +13203,22 @@ public static void PlotHeatmap(string label_id, ref int values, int rows, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - fixed (int* native_values = &values) + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref uint values, int rows, int cols) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -13380,39 +13238,21 @@ public static void PlotHeatmap(string label_id, ref uint values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_min = 0; - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (uint* native_values = &values) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref uint values, int rows, int cols, double scale_min) +#endif + public static void PlotDigital(string label_id, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -13432,38 +13272,21 @@ public static void PlotHeatmap(string label_id, ref uint values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (uint* native_values = &values) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref uint values, int rows, int cols, double scale_min, double scale_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -13483,37 +13306,20 @@ public static void PlotHeatmap(string label_id, ref uint values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (uint* native_values = &values) + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref uint values, int rows, int cols, double scale_min, double scale_max, string label_fmt) +#endif + public static void PlotDigital(string label_id, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -13533,41 +13339,20 @@ public static void PlotHeatmap(string label_id, ref uint values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (uint* native_values = &values) + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_S64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref uint values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -13587,40 +13372,23 @@ public static void PlotHeatmap(string label_id, ref uint values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (uint* native_values = &values) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref uint values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) +#endif + public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -13640,39 +13408,23 @@ public static void PlotHeatmap(string label_id, ref uint values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (uint* native_values = &values) + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref uint values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -13692,38 +13444,22 @@ public static void PlotHeatmap(string label_id, ref uint values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - fixed (uint* native_values = &values) + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref long values, int rows, int cols) +#endif + public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -13743,39 +13479,22 @@ public static void PlotHeatmap(string label_id, ref long values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_min = 0; - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (long* native_values = &values) + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref long values, int rows, int cols, double scale_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -13795,38 +13514,21 @@ public static void PlotHeatmap(string label_id, ref long values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (long* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref long values, int rows, int cols, double scale_min, double scale_max) +#endif + public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -13846,37 +13548,21 @@ public static void PlotHeatmap(string label_id, ref long values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (long* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref long values, int rows, int cols, double scale_min, double scale_max, string label_fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigital(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -13896,41 +13582,20 @@ public static void PlotHeatmap(string label_id, ref long values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (long* native_values = &values) + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref long values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) +#endif + public static void PlotDigital(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -13950,40 +13615,20 @@ public static void PlotHeatmap(string label_id, ref long values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (long* native_values = &values) + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_fmt); + ImPlotNative.ImPlot_PlotDigital_U64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotHeatmap(string label_id, ref long values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigitalG(ReadOnlySpan label_id, IntPtr getter, IntPtr data, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -14003,39 +13648,16 @@ public static void PlotHeatmap(string label_id, ref long values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (long* native_values = &values) + void* native_data = (void*)data.ToPointer(); + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + ImPlotNative.ImPlot_PlotDigitalG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_fmt); - } + Util.Free(native_label_id); } } - public static void PlotHeatmap(string label_id, ref long values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) +#endif + public static void PlotDigitalG(string label_id, IntPtr getter, IntPtr data, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -14055,38 +13677,16 @@ public static void PlotHeatmap(string label_id, ref long values, int rows, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - fixed (long* native_values = &values) + void* native_data = (void*)data.ToPointer(); + ImPlotDigitalFlags flags = (ImPlotDigitalFlags)0; + ImPlotNative.ImPlot_PlotDigitalG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_fmt); - } + Util.Free(native_label_id); } } - public static void PlotHeatmap(string label_id, ref ulong values, int rows, int cols) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDigitalG(ReadOnlySpan label_id, IntPtr getter, IntPtr data, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -14106,39 +13706,15 @@ public static void PlotHeatmap(string label_id, ref ulong values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_min = 0; - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (ulong* native_values = &values) + void* native_data = (void*)data.ToPointer(); + ImPlotNative.ImPlot_PlotDigitalG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_fmt); - } + Util.Free(native_label_id); } } - public static void PlotHeatmap(string label_id, ref ulong values, int rows, int cols, double scale_min) +#endif + public static void PlotDigitalG(string label_id, IntPtr getter, IntPtr data, int count, ImPlotDigitalFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -14158,38 +13734,15 @@ public static void PlotHeatmap(string label_id, ref ulong values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale_max = 0; - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (ulong* native_values = &values) + void* native_data = (void*)data.ToPointer(); + ImPlotNative.ImPlot_PlotDigitalG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_fmt); - } + Util.Free(native_label_id); } } - public static void PlotHeatmap(string label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDummy(ReadOnlySpan label_id) { byte* native_label_id; int label_id_byteCount = 0; @@ -14209,37 +13762,15 @@ public static void PlotHeatmap(string label_id, ref ulong values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (ulong* native_values = &values) + ImPlotDummyFlags flags = (ImPlotDummyFlags)0; + ImPlotNative.ImPlot_PlotDummy(native_label_id, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_fmt); - } + Util.Free(native_label_id); } } - public static void PlotHeatmap(string label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max, string label_fmt) +#endif + public static void PlotDummy(string label_id) { byte* native_label_id; int label_id_byteCount = 0; @@ -14259,41 +13790,15 @@ public static void PlotHeatmap(string label_id, ref ulong values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (ulong* native_values = &values) + ImPlotDummyFlags flags = (ImPlotDummyFlags)0; + ImPlotNative.ImPlot_PlotDummy(native_label_id, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_fmt); - } + Util.Free(native_label_id); } } - public static void PlotHeatmap(string label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotDummy(ReadOnlySpan label_id, ImPlotDummyFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -14313,40 +13818,41 @@ public static void PlotHeatmap(string label_id, ref ulong values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) + ImPlotNative.ImPlot_PlotDummy(native_label_id, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; + Util.Free(native_label_id); } - else { native_label_fmt = null; } - ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (ulong* native_values = &values) + } +#endif + public static void PlotDummy(string label_id, ImPlotDummyFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); if (label_id_byteCount > Util.StackAllocationSizeLimit) { - Util.Free(native_label_id); + native_label_id = Util.Allocate(label_id_byteCount + 1); } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + else { - Util.Free(native_label_fmt); + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotNative.ImPlot_PlotDummy(native_label_id, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); } } - public static void PlotHeatmap(string label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref float xs, ref float ys, ref float err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -14366,39 +13872,26 @@ public static void PlotHeatmap(string label_id, ref ulong values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; - fixed (ulong* native_values = &values) - { - ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_fmt); + fixed (float* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotHeatmap(string label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) +#endif + public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -14418,38 +13911,26 @@ public static void PlotHeatmap(string label_id, ref ulong values, int rows, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); - } - else - { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - fixed (ulong* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_fmt); + fixed (float* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static double PlotHistogram(string label_id, ref float values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -14469,21 +13950,25 @@ public static double PlotHistogram(string label_id, ref float values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int bins = (int)ImPlotBin.Sturges; - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (float* native_values = &values) + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + fixed (float* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref float values, int count, int bins) +#endif + public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -14503,20 +13988,25 @@ public static double PlotHistogram(string label_id, ref float values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (float* native_values = &values) + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + fixed (float* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref float values, int count, int bins, double bar_scale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -14536,19 +14026,24 @@ public static double PlotHistogram(string label_id, ref float values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (float* native_values = &values) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + fixed (float* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref float values, int count, int bins, double bar_scale, ImPlotRange range) +#endif + public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -14568,18 +14063,24 @@ public static double PlotHistogram(string label_id, ref float values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (float* native_values = &values) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + fixed (float* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref float values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -14599,17 +14100,23 @@ public static double PlotHistogram(string label_id, ref float values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_values = &values) + fixed (float* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + fixed (float* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref double values, int count) +#endif + public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -14629,21 +14136,23 @@ public static double PlotHistogram(string label_id, ref double values, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int bins = (int)ImPlotBin.Sturges; - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (double* native_values = &values) + fixed (float* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + fixed (float* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref double values, int count, int bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref double xs, ref double ys, ref double err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -14663,20 +14172,26 @@ public static double PlotHistogram(string label_id, ref double values, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (double* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + fixed (double* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref double values, int count, int bins, double bar_scale) +#endif + public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -14696,19 +14211,26 @@ public static double PlotHistogram(string label_id, ref double values, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (double* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + fixed (double* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref double values, int count, int bins, double bar_scale, ImPlotRange range) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -14728,18 +14250,25 @@ public static double PlotHistogram(string label_id, ref double values, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (double* native_values = &values) + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + fixed (double* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref double values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) +#endif + public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -14759,17 +14288,25 @@ public static double PlotHistogram(string label_id, ref double values, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_values = &values) + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + fixed (double* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref sbyte values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -14789,21 +14326,24 @@ public static double PlotHistogram(string label_id, ref sbyte values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int bins = (int)ImPlotBin.Sturges; - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (sbyte* native_values = &values) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + fixed (double* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref sbyte values, int count, int bins) +#endif + public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -14823,20 +14363,24 @@ public static double PlotHistogram(string label_id, ref sbyte values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (sbyte* native_values = &values) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + fixed (double* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref sbyte values, int count, int bins, double bar_scale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -14856,19 +14400,23 @@ public static double PlotHistogram(string label_id, ref sbyte values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (sbyte* native_values = &values) + fixed (double* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + fixed (double* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref sbyte values, int count, int bins, double bar_scale, ImPlotRange range) +#endif + public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -14888,18 +14436,23 @@ public static double PlotHistogram(string label_id, ref sbyte values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (sbyte* native_values = &values) + fixed (double* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + fixed (double* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref sbyte values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, ref sbyte err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -14919,17 +14472,26 @@ public static double PlotHistogram(string label_id, ref sbyte values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (sbyte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref byte values, int count) +#endif + public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -14949,21 +14511,26 @@ public static double PlotHistogram(string label_id, ref byte values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int bins = (int)ImPlotBin.Sturges; - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (byte* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (sbyte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref byte values, int count, int bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, ref sbyte err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -14983,20 +14550,25 @@ public static double PlotHistogram(string label_id, ref byte values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (byte* native_values = &values) + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (sbyte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref byte values, int count, int bins, double bar_scale) +#endif + public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -15016,19 +14588,25 @@ public static double PlotHistogram(string label_id, ref byte values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (byte* native_values = &values) + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (sbyte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref byte values, int count, int bins, double bar_scale, ImPlotRange range) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, ref sbyte err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -15048,18 +14626,24 @@ public static double PlotHistogram(string label_id, ref byte values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (byte* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (sbyte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref byte values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) +#endif + public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -15079,17 +14663,24 @@ public static double PlotHistogram(string label_id, ref byte values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (sbyte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref short values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, ref sbyte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -15109,21 +14700,23 @@ public static double PlotHistogram(string label_id, ref short values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int bins = (int)ImPlotBin.Sturges; - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (short* native_values = &values) + fixed (sbyte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (sbyte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref short values, int count, int bins) +#endif + public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -15143,22 +14736,25 @@ public static double PlotHistogram(string label_id, ref short values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (short* native_values = &values) + fixed (sbyte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); - } - return ret; - } - } - public static double PlotHistogram(string label_id, ref short values, int count, int bins, double bar_scale) - { - byte* native_label_id; + fixed (sbyte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref byte xs, ref byte ys, ref byte err, int count) + { + byte* native_label_id; int label_id_byteCount = 0; if (label_id != null) { @@ -15176,19 +14772,26 @@ public static double PlotHistogram(string label_id, ref short values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (short* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (byte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref short values, int count, int bins, double bar_scale, ImPlotRange range) +#endif + public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -15208,18 +14811,26 @@ public static double PlotHistogram(string label_id, ref short values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (short* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (byte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref short values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -15239,17 +14850,25 @@ public static double PlotHistogram(string label_id, ref short values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_values = &values) + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (byte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref ushort values, int count) +#endif + public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -15269,21 +14888,25 @@ public static double PlotHistogram(string label_id, ref ushort values, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int bins = (int)ImPlotBin.Sturges; - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ushort* native_values = &values) + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (byte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref ushort values, int count, int bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -15303,20 +14926,24 @@ public static double PlotHistogram(string label_id, ref ushort values, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ushort* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (byte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref ushort values, int count, int bins, double bar_scale) +#endif + public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -15336,19 +14963,24 @@ public static double PlotHistogram(string label_id, ref ushort values, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ushort* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (byte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref ushort values, int count, int bins, double bar_scale, ImPlotRange range) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -15368,18 +15000,23 @@ public static double PlotHistogram(string label_id, ref ushort values, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ushort* native_values = &values) + fixed (byte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (byte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref ushort values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) +#endif + public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -15399,17 +15036,23 @@ public static double PlotHistogram(string label_id, ref ushort values, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_values = &values) + fixed (byte* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (byte* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref int values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref short xs, ref short ys, ref short err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -15429,21 +15072,26 @@ public static double PlotHistogram(string label_id, ref int values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int bins = (int)ImPlotBin.Sturges; - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (int* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref int values, int count, int bins) +#endif + public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -15463,20 +15111,26 @@ public static double PlotHistogram(string label_id, ref int values, int count, i native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (int* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref int values, int count, int bins, double bar_scale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -15496,19 +15150,25 @@ public static double PlotHistogram(string label_id, ref int values, int count, i native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (int* native_values = &values) + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref int values, int count, int bins, double bar_scale, ImPlotRange range) +#endif + public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -15528,18 +15188,25 @@ public static double PlotHistogram(string label_id, ref int values, int count, i native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (int* native_values = &values) + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref int values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -15559,17 +15226,24 @@ public static double PlotHistogram(string label_id, ref int values, int count, i native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref uint values, int count) +#endif + public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -15589,21 +15263,24 @@ public static double PlotHistogram(string label_id, ref uint values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int bins = (int)ImPlotBin.Sturges; - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (uint* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref uint values, int count, int bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -15623,20 +15300,23 @@ public static double PlotHistogram(string label_id, ref uint values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (uint* native_values = &values) + fixed (short* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref uint values, int count, int bins, double bar_scale) +#endif + public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -15656,19 +15336,23 @@ public static double PlotHistogram(string label_id, ref uint values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (uint* native_values = &values) + fixed (short* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref uint values, int count, int bins, double bar_scale, ImPlotRange range) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, ref ushort err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -15688,18 +15372,26 @@ public static double PlotHistogram(string label_id, ref uint values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (uint* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref uint values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) +#endif + public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -15719,17 +15411,26 @@ public static double PlotHistogram(string label_id, ref uint values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref long values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -15749,21 +15450,25 @@ public static double PlotHistogram(string label_id, ref long values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int bins = (int)ImPlotBin.Sturges; - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (long* native_values = &values) + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref long values, int count, int bins) +#endif + public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -15783,20 +15488,25 @@ public static double PlotHistogram(string label_id, ref long values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (long* native_values = &values) + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref long values, int count, int bins, double bar_scale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -15816,19 +15526,24 @@ public static double PlotHistogram(string label_id, ref long values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (long* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref long values, int count, int bins, double bar_scale, ImPlotRange range) +#endif + public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -15848,18 +15563,24 @@ public static double PlotHistogram(string label_id, ref long values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (long* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref long values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -15879,17 +15600,23 @@ public static double PlotHistogram(string label_id, ref long values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_values = &values) + fixed (ushort* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref ulong values, int count) +#endif + public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -15909,21 +15636,23 @@ public static double PlotHistogram(string label_id, ref ulong values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int bins = (int)ImPlotBin.Sturges; - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ulong* native_values = &values) + fixed (ushort* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref ulong values, int count, int bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref int xs, ref int ys, ref int err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -15943,20 +15672,26 @@ public static double PlotHistogram(string label_id, ref ulong values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double bar_scale = 1.0; - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ulong* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_id); + fixed (int* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref ulong values, int count, int bins, double bar_scale) +#endif + public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -15976,19 +15711,26 @@ public static double PlotHistogram(string label_id, ref ulong values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRange range = new ImPlotRange(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ulong* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_id); + fixed (int* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref ulong values, int count, int bins, double bar_scale, ImPlotRange range) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -16008,18 +15750,25 @@ public static double PlotHistogram(string label_id, ref ulong values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ulong* native_values = &values) + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_id); + fixed (int* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram(string label_id, ref ulong values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) +#endif + public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -16039,17 +15788,25 @@ public static double PlotHistogram(string label_id, ref ulong values, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_values = &values) + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_id); + fixed (int* native_err = &err) + { + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } - public static double PlotHistogram2D(string label_id, ref float xs, ref float ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -16069,24 +15826,24 @@ public static double PlotHistogram2D(string label_id, ref float xs, ref float ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int x_bins = (int)ImPlotBin.Sturges; - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (float* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (int* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref float xs, ref float ys, int count, int x_bins) +#endif + public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -16106,23 +15863,24 @@ public static double PlotHistogram2D(string label_id, ref float xs, ref float ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (float* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (int* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref float xs, ref float ys, int count, int x_bins, int y_bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -16142,22 +15900,23 @@ public static double PlotHistogram2D(string label_id, ref float xs, ref float ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (float* native_xs = &xs) + fixed (int* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (int* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref float xs, ref float ys, int count, int x_bins, int y_bins, ImPlotRect range) +#endif + public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -16177,21 +15936,23 @@ public static double PlotHistogram2D(string label_id, ref float xs, ref float ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (float* native_xs = &xs) + fixed (int* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (int* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref float xs, ref float ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref uint xs, ref uint ys, ref uint err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -16211,20 +15972,26 @@ public static double PlotHistogram2D(string label_id, ref float xs, ref float ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_xs = &xs) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (uint* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref double xs, ref double ys, int count) +#endif + public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -16244,24 +16011,26 @@ public static double PlotHistogram2D(string label_id, ref double xs, ref double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int x_bins = (int)ImPlotBin.Sturges; - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (double* native_xs = &xs) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (uint* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref double xs, ref double ys, int count, int x_bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -16281,23 +16050,25 @@ public static double PlotHistogram2D(string label_id, ref double xs, ref double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (double* native_xs = &xs) + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (uint* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref double xs, ref double ys, int count, int x_bins, int y_bins) +#endif + public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -16317,22 +16088,25 @@ public static double PlotHistogram2D(string label_id, ref double xs, ref double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (double* native_xs = &xs) + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (uint* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref double xs, ref double ys, int count, int x_bins, int y_bins, ImPlotRect range) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -16352,21 +16126,24 @@ public static double PlotHistogram2D(string label_id, ref double xs, ref double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (double* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (uint* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref double xs, ref double ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) +#endif + public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -16386,20 +16163,24 @@ public static double PlotHistogram2D(string label_id, ref double xs, ref double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (uint* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -16419,24 +16200,23 @@ public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int x_bins = (int)ImPlotBin.Sturges; - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (sbyte* native_xs = &xs) + fixed (uint* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (uint* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys, int count, int x_bins) +#endif + public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -16456,23 +16236,23 @@ public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (sbyte* native_xs = &xs) + fixed (uint* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (uint* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys, int count, int x_bins, int y_bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref long xs, ref long ys, ref long err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -16492,22 +16272,26 @@ public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (sbyte* native_xs = &xs) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (long* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys, int count, int x_bins, int y_bins, ImPlotRect range) +#endif + public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -16527,21 +16311,26 @@ public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (sbyte* native_xs = &xs) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (long* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -16561,20 +16350,25 @@ public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_xs = &xs) + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (long* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, int count) +#endif + public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -16594,24 +16388,25 @@ public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int x_bins = (int)ImPlotBin.Sturges; - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (byte* native_xs = &xs) + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (long* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, int count, int x_bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -16631,23 +16426,24 @@ public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (byte* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (long* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, int count, int x_bins, int y_bins) +#endif + public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -16667,22 +16463,24 @@ public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (byte* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (long* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, int count, int x_bins, int y_bins, ImPlotRect range) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -16702,21 +16500,23 @@ public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (byte* native_xs = &xs) + fixed (long* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (long* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) +#endif + public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -16736,20 +16536,23 @@ public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_xs = &xs) + fixed (long* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (long* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref short xs, ref short ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, ref ulong err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -16769,24 +16572,26 @@ public static double PlotHistogram2D(string label_id, ref short xs, ref short ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int x_bins = (int)ImPlotBin.Sturges; - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (short* native_xs = &xs) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (short* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref short xs, ref short ys, int count, int x_bins) +#endif + public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong err, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -16806,23 +16611,26 @@ public static double PlotHistogram2D(string label_id, ref short xs, ref short ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (short* native_xs = &xs) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (short* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref short xs, ref short ys, int count, int x_bins, int y_bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -16842,22 +16650,25 @@ public static double PlotHistogram2D(string label_id, ref short xs, ref short ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (short* native_xs = &xs) + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (short* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref short xs, ref short ys, int count, int x_bins, int y_bins, ImPlotRect range) +#endif + public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -16877,21 +16688,25 @@ public static double PlotHistogram2D(string label_id, ref short xs, ref short ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (short* native_xs = &xs) + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (short* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref short xs, ref short ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -16911,20 +16726,24 @@ public static double PlotHistogram2D(string label_id, ref short xs, ref short ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (short* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort ys, int count) +#endif + public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -16944,24 +16763,24 @@ public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int x_bins = (int)ImPlotBin.Sturges; - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ushort* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort ys, int count, int x_bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -16981,23 +16800,23 @@ public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ushort* native_xs = &xs) + fixed (ulong* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort ys, int count, int x_bins, int y_bins) +#endif + public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -17017,22 +16836,23 @@ public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ushort* native_xs = &xs) + fixed (ulong* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_err = &err) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt(native_label_id, native_xs, native_ys, native_err, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort ys, int count, int x_bins, int y_bins, ImPlotRect range) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref float xs, ref float ys, ref float neg, ref float pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -17052,21 +16872,29 @@ public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ushort* native_xs = &xs) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (float* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_neg = &neg) { - Util.Free(native_label_id); + fixed (float* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) +#endif + public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float neg, ref float pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -17086,20 +16914,29 @@ public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_xs = &xs) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (float* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_neg = &neg) { - Util.Free(native_label_id); + fixed (float* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -17119,24 +16956,28 @@ public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int x_bins = (int)ImPlotBin.Sturges; - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (int* native_xs = &xs) + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (float* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_neg = &neg) { - Util.Free(native_label_id); + fixed (float* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, int count, int x_bins) +#endif + public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -17156,23 +16997,28 @@ public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (int* native_xs = &xs) + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (float* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_neg = &neg) { - Util.Free(native_label_id); + fixed (float* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, int count, int x_bins, int y_bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -17192,22 +17038,27 @@ public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (int* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (float* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_neg = &neg) { - Util.Free(native_label_id); + fixed (float* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, int count, int x_bins, int y_bins, ImPlotRect range) +#endif + public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -17227,21 +17078,27 @@ public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (int* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (float* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_neg = &neg) { - Util.Free(native_label_id); + fixed (float* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -17261,20 +17118,26 @@ public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_xs = &xs) + fixed (float* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (float* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_neg = &neg) { - Util.Free(native_label_id); + fixed (float* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, int count) +#endif + public static void PlotErrorBars(string label_id, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -17294,24 +17157,26 @@ public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int x_bins = (int)ImPlotBin.Sturges; - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (uint* native_xs = &xs) + fixed (float* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (float* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_neg = &neg) { - Util.Free(native_label_id); + fixed (float* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, int count, int x_bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref double xs, ref double ys, ref double neg, ref double pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -17331,23 +17196,29 @@ public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (uint* native_xs = &xs) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (double* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_neg = &neg) { - Util.Free(native_label_id); + fixed (double* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, int count, int x_bins, int y_bins) +#endif + public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double neg, ref double pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -17367,22 +17238,29 @@ public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (uint* native_xs = &xs) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (double* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_neg = &neg) { - Util.Free(native_label_id); + fixed (double* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, int count, int x_bins, int y_bins, ImPlotRect range) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -17402,21 +17280,28 @@ public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (uint* native_xs = &xs) + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (double* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_neg = &neg) { - Util.Free(native_label_id); + fixed (double* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) +#endif + public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -17436,20 +17321,28 @@ public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_xs = &xs) + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (double* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_neg = &neg) { - Util.Free(native_label_id); + fixed (double* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -17469,24 +17362,27 @@ public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int x_bins = (int)ImPlotBin.Sturges; - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (long* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (double* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_neg = &neg) { - Util.Free(native_label_id); + fixed (double* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, int count, int x_bins) +#endif + public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -17506,23 +17402,27 @@ public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (long* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (double* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_neg = &neg) { - Util.Free(native_label_id); + fixed (double* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, int count, int x_bins, int y_bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -17542,22 +17442,26 @@ public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (long* native_xs = &xs) + fixed (double* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (double* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_neg = &neg) { - Util.Free(native_label_id); + fixed (double* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, int count, int x_bins, int y_bins, ImPlotRect range) +#endif + public static void PlotErrorBars(string label_id, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -17577,21 +17481,26 @@ public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (long* native_xs = &xs) + fixed (double* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (double* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_neg = &neg) { - Util.Free(native_label_id); + fixed (double* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, ref sbyte neg, ref sbyte pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -17611,20 +17520,29 @@ public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_xs = &xs) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_neg = &neg) { - Util.Free(native_label_id); + fixed (sbyte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys, int count) +#endif + public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte neg, ref sbyte pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -17644,24 +17562,29 @@ public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int x_bins = (int)ImPlotBin.Sturges; - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ulong* native_xs = &xs) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_neg = &neg) { - Util.Free(native_label_id); + fixed (sbyte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys, int count, int x_bins) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, ref sbyte neg, ref sbyte pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -17681,23 +17604,28 @@ public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int y_bins = (int)ImPlotBin.Sturges; - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ulong* native_xs = &xs) + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_neg = &neg) { - Util.Free(native_label_id); + fixed (sbyte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys, int count, int x_bins, int y_bins) +#endif + public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte neg, ref sbyte pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -17717,22 +17645,28 @@ public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotRect range = new ImPlotRect(); - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ulong* native_xs = &xs) + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_neg = &neg) { - Util.Free(native_label_id); + fixed (sbyte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys, int count, int x_bins, int y_bins, ImPlotRect range) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, ref sbyte neg, ref sbyte pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -17752,21 +17686,27 @@ public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; - fixed (ulong* native_xs = &xs) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_neg = &neg) { - Util.Free(native_label_id); + fixed (sbyte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) +#endif + public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte neg, ref sbyte pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -17786,20 +17726,27 @@ public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_xs = &xs) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_neg = &neg) { - Util.Free(native_label_id); + fixed (sbyte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } - return ret; } } } - public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, ref sbyte neg, ref sbyte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -17819,17 +17766,26 @@ public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoin native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - Vector2 uv0 = new Vector2(); - Vector2 uv1 = new Vector2(1, 1); - Vector4 tint_col = new Vector4(1, 1, 1, 1); - ImPlotImageFlags flags = (ImPlotImageFlags)0; - ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_xs = &xs) { - Util.Free(native_label_id); + fixed (sbyte* native_ys = &ys) + { + fixed (sbyte* native_neg = &neg) + { + fixed (sbyte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } } } - public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max, Vector2 uv0) +#endif + public static void PlotErrorBars(string label_id, ref sbyte xs, ref sbyte ys, ref sbyte neg, ref sbyte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -17849,16 +17805,26 @@ public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoin native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - Vector2 uv1 = new Vector2(1, 1); - Vector4 tint_col = new Vector4(1, 1, 1, 1); - ImPlotImageFlags flags = (ImPlotImageFlags)0; - ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_xs = &xs) { - Util.Free(native_label_id); + fixed (sbyte* native_ys = &ys) + { + fixed (sbyte* native_neg = &neg) + { + fixed (sbyte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } } } - public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max, Vector2 uv0, Vector2 uv1) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -17878,15 +17844,29 @@ public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoin native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - Vector4 tint_col = new Vector4(1, 1, 1, 1); - ImPlotImageFlags flags = (ImPlotImageFlags)0; - ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - Util.Free(native_label_id); + fixed (byte* native_ys = &ys) + { + fixed (byte* native_neg = &neg) + { + fixed (byte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } } } - public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max, Vector2 uv0, Vector2 uv1, Vector4 tint_col) +#endif + public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -17906,14 +17886,29 @@ public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoin native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotImageFlags flags = (ImPlotImageFlags)0; - ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - Util.Free(native_label_id); + fixed (byte* native_ys = &ys) + { + fixed (byte* native_neg = &neg) + { + fixed (byte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } } } - public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max, Vector2 uv0, Vector2 uv1, Vector4 tint_col, ImPlotImageFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -17933,13 +17928,28 @@ public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoin native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - Util.Free(native_label_id); + fixed (byte* native_ys = &ys) + { + fixed (byte* native_neg = &neg) + { + fixed (byte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } } } - public static void PlotInfLines(string label_id, ref float values, int count) +#endif + public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -17959,19 +17969,28 @@ public static void PlotInfLines(string label_id, ref float values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_FloatPtr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (byte* native_neg = &neg) + { + fixed (byte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref float values, int count, ImPlotInfLinesFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -17991,18 +18010,27 @@ public static void PlotInfLines(string label_id, ref float values, int count, Im native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_FloatPtr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (byte* native_neg = &neg) + { + fixed (byte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref float values, int count, ImPlotInfLinesFlags flags, int offset) +#endif + public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -18022,17 +18050,27 @@ public static void PlotInfLines(string label_id, ref float values, int count, Im native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_FloatPtr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (byte* native_neg = &neg) + { + fixed (byte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref float values, int count, ImPlotInfLinesFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -18052,16 +18090,26 @@ public static void PlotInfLines(string label_id, ref float values, int count, Im native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_values = &values) + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_FloatPtr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (byte* native_neg = &neg) + { + fixed (byte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref double values, int count) +#endif + public static void PlotErrorBars(string label_id, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -18081,19 +18129,26 @@ public static void PlotInfLines(string label_id, ref double values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; - int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_doublePtr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + fixed (byte* native_neg = &neg) + { + fixed (byte* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref double values, int count, ImPlotInfLinesFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref short xs, ref short ys, ref short neg, ref short pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -18113,18 +18168,29 @@ public static void PlotInfLines(string label_id, ref double values, int count, I native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_doublePtr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_neg = &neg) + { + fixed (short* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref double values, int count, ImPlotInfLinesFlags flags, int offset) +#endif + public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short neg, ref short pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -18144,17 +18210,29 @@ public static void PlotInfLines(string label_id, ref double values, int count, I native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_doublePtr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_neg = &neg) + { + fixed (short* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref double values, int count, ImPlotInfLinesFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -18174,16 +18252,28 @@ public static void PlotInfLines(string label_id, ref double values, int count, I native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_values = &values) + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_doublePtr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_neg = &neg) + { + fixed (short* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref sbyte values, int count) +#endif + public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -18203,19 +18293,28 @@ public static void PlotInfLines(string label_id, ref sbyte values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S8Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_neg = &neg) + { + fixed (short* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref sbyte values, int count, ImPlotInfLinesFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -18235,18 +18334,27 @@ public static void PlotInfLines(string label_id, ref sbyte values, int count, Im native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S8Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_neg = &neg) + { + fixed (short* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref sbyte values, int count, ImPlotInfLinesFlags flags, int offset) +#endif + public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -18266,17 +18374,27 @@ public static void PlotInfLines(string label_id, ref sbyte values, int count, Im native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S8Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_neg = &neg) + { + fixed (short* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref sbyte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -18296,16 +18414,26 @@ public static void PlotInfLines(string label_id, ref sbyte values, int count, Im native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_values = &values) + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S8Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_neg = &neg) + { + fixed (short* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref byte values, int count) +#endif + public static void PlotErrorBars(string label_id, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -18325,19 +18453,26 @@ public static void PlotInfLines(string label_id, ref byte values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U8Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + fixed (short* native_neg = &neg) + { + fixed (short* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref byte values, int count, ImPlotInfLinesFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -18357,18 +18492,29 @@ public static void PlotInfLines(string label_id, ref byte values, int count, ImP native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U8Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_neg = &neg) + { + fixed (ushort* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref byte values, int count, ImPlotInfLinesFlags flags, int offset) +#endif + public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -18388,17 +18534,29 @@ public static void PlotInfLines(string label_id, ref byte values, int count, ImP native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U8Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_neg = &neg) + { + fixed (ushort* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref byte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -18418,16 +18576,28 @@ public static void PlotInfLines(string label_id, ref byte values, int count, ImP native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_values = &values) + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U8Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_neg = &neg) + { + fixed (ushort* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref short values, int count) +#endif + public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -18447,19 +18617,28 @@ public static void PlotInfLines(string label_id, ref short values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S16Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_neg = &neg) + { + fixed (ushort* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref short values, int count, ImPlotInfLinesFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -18479,18 +18658,27 @@ public static void PlotInfLines(string label_id, ref short values, int count, Im native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S16Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_neg = &neg) + { + fixed (ushort* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref short values, int count, ImPlotInfLinesFlags flags, int offset) +#endif + public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -18510,17 +18698,27 @@ public static void PlotInfLines(string label_id, ref short values, int count, Im native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S16Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_neg = &neg) + { + fixed (ushort* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref short values, int count, ImPlotInfLinesFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -18540,16 +18738,26 @@ public static void PlotInfLines(string label_id, ref short values, int count, Im native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_values = &values) + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S16Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_neg = &neg) + { + fixed (ushort* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref ushort values, int count) +#endif + public static void PlotErrorBars(string label_id, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -18569,19 +18777,26 @@ public static void PlotInfLines(string label_id, ref ushort values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U16Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ushort* native_neg = &neg) + { + fixed (ushort* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref ushort values, int count, ImPlotInfLinesFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref int xs, ref int ys, ref int neg, ref int pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -18601,18 +18816,29 @@ public static void PlotInfLines(string label_id, ref ushort values, int count, I native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U16Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_id); + fixed (int* native_neg = &neg) + { + fixed (int* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset) +#endif + public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int neg, ref int pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -18632,17 +18858,29 @@ public static void PlotInfLines(string label_id, ref ushort values, int count, I native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U16Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_id); + fixed (int* native_neg = &neg) + { + fixed (int* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -18662,16 +18900,28 @@ public static void PlotInfLines(string label_id, ref ushort values, int count, I native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_values = &values) + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U16Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_id); + fixed (int* native_neg = &neg) + { + fixed (int* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref int values, int count) +#endif + public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -18691,19 +18941,28 @@ public static void PlotInfLines(string label_id, ref int values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; int offset = 0; int stride = sizeof(int); - fixed (int* native_values = &values) + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S32Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_id); + fixed (int* native_neg = &neg) + { + fixed (int* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref int values, int count, ImPlotInfLinesFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -18723,18 +18982,27 @@ public static void PlotInfLines(string label_id, ref int values, int count, ImPl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; int stride = sizeof(int); - fixed (int* native_values = &values) + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S32Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_id); + fixed (int* native_neg = &neg) + { + fixed (int* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref int values, int count, ImPlotInfLinesFlags flags, int offset) +#endif + public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -18755,16 +19023,26 @@ public static void PlotInfLines(string label_id, ref int values, int count, ImPl } else { native_label_id = null; } int stride = sizeof(int); - fixed (int* native_values = &values) + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S32Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_id); + fixed (int* native_neg = &neg) + { + fixed (int* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref int values, int count, ImPlotInfLinesFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -18784,16 +19062,26 @@ public static void PlotInfLines(string label_id, ref int values, int count, ImPl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_values = &values) + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S32Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_id); + fixed (int* native_neg = &neg) + { + fixed (int* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref uint values, int count) +#endif + public static void PlotErrorBars(string label_id, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -18813,19 +19101,26 @@ public static void PlotInfLines(string label_id, ref uint values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U32Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys = &ys) { - Util.Free(native_label_id); + fixed (int* native_neg = &neg) + { + fixed (int* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref uint values, int count, ImPlotInfLinesFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -18845,18 +19140,29 @@ public static void PlotInfLines(string label_id, ref uint values, int count, ImP native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; int stride = sizeof(uint); - fixed (uint* native_values = &values) + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U32Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_id); + fixed (uint* native_neg = &neg) + { + fixed (uint* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref uint values, int count, ImPlotInfLinesFlags flags, int offset) +#endif + public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -18876,17 +19182,29 @@ public static void PlotInfLines(string label_id, ref uint values, int count, ImP native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; int stride = sizeof(uint); - fixed (uint* native_values = &values) + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U32Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_id); + fixed (uint* native_neg = &neg) + { + fixed (uint* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref uint values, int count, ImPlotInfLinesFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -18906,16 +19224,28 @@ public static void PlotInfLines(string label_id, ref uint values, int count, ImP native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_values = &values) + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U32Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_id); + fixed (uint* native_neg = &neg) + { + fixed (uint* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref long values, int count) +#endif + public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -18935,19 +19265,28 @@ public static void PlotInfLines(string label_id, ref long values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S64Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_id); + fixed (uint* native_neg = &neg) + { + fixed (uint* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref long values, int count, ImPlotInfLinesFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -18967,18 +19306,27 @@ public static void PlotInfLines(string label_id, ref long values, int count, ImP native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S64Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_id); + fixed (uint* native_neg = &neg) + { + fixed (uint* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref long values, int count, ImPlotInfLinesFlags flags, int offset) +#endif + public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -18998,17 +19346,27 @@ public static void PlotInfLines(string label_id, ref long values, int count, ImP native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S64Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_id); + fixed (uint* native_neg = &neg) + { + fixed (uint* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref long values, int count, ImPlotInfLinesFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -19028,16 +19386,26 @@ public static void PlotInfLines(string label_id, ref long values, int count, ImP native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_values = &values) + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_S64Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_id); + fixed (uint* native_neg = &neg) + { + fixed (uint* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref ulong values, int count) +#endif + public static void PlotErrorBars(string label_id, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -19057,19 +19425,26 @@ public static void PlotInfLines(string label_id, ref ulong values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U64Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys = &ys) { - Util.Free(native_label_id); + fixed (uint* native_neg = &neg) + { + fixed (uint* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref ulong values, int count, ImPlotInfLinesFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref long xs, ref long ys, ref long neg, ref long pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -19089,18 +19464,29 @@ public static void PlotInfLines(string label_id, ref ulong values, int count, Im native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U64Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_id); + fixed (long* native_neg = &neg) + { + fixed (long* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset) +#endif + public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long neg, ref long pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -19120,17 +19506,29 @@ public static void PlotInfLines(string label_id, ref ulong values, int count, Im native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U64Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_id); + fixed (long* native_neg = &neg) + { + fixed (long* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotInfLines(string label_id, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -19150,16 +19548,28 @@ public static void PlotInfLines(string label_id, ref ulong values, int count, Im native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_values = &values) + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotInfLines_U64Ptr(native_label_id, native_values, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_id); + fixed (long* native_neg = &neg) + { + fixed (long* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotLine(string label_id, ref float values, int count) +#endif + public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -19179,21 +19589,28 @@ public static void PlotLine(string label_id, ref float values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_id); + fixed (long* native_neg = &neg) + { + fixed (long* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotLine(string label_id, ref float values, int count, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -19213,20 +19630,27 @@ public static void PlotLine(string label_id, ref float values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_id); + fixed (long* native_neg = &neg) + { + fixed (long* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotLine(string label_id, ref float values, int count, double xscale, double xstart) +#endif + public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -19246,19 +19670,27 @@ public static void PlotLine(string label_id, ref float values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_id); + fixed (long* native_neg = &neg) + { + fixed (long* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotLine(string label_id, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -19278,18 +19710,26 @@ public static void PlotLine(string label_id, ref float values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_id); + fixed (long* native_neg = &neg) + { + fixed (long* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotLine(string label_id, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) +#endif + public static void PlotErrorBars(string label_id, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -19309,17 +19749,26 @@ public static void PlotLine(string label_id, ref float values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_values = &values) + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys = &ys) { - Util.Free(native_label_id); + fixed (long* native_neg = &neg) + { + fixed (long* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotLine(string label_id, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -19339,16 +19788,29 @@ public static void PlotLine(string label_id, ref float values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_values = &values) + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ulong* native_neg = &neg) + { + fixed (ulong* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotLine(string label_id, ref double values, int count) +#endif + public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -19368,21 +19830,29 @@ public static void PlotLine(string label_id, ref double values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; + ImPlotErrorBarsFlags flags = (ImPlotErrorBarsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ulong* native_neg = &neg) + { + fixed (ulong* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotLine(string label_id, ref double values, int count, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -19402,20 +19872,28 @@ public static void PlotLine(string label_id, ref double values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ulong* native_neg = &neg) + { + fixed (ulong* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotLine(string label_id, ref double values, int count, double xscale, double xstart) +#endif + public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -19435,19 +19913,28 @@ public static void PlotLine(string label_id, ref double values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ulong* native_neg = &neg) + { + fixed (ulong* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotLine(string label_id, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -19467,18 +19954,27 @@ public static void PlotLine(string label_id, ref double values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ulong* native_neg = &neg) + { + fixed (ulong* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotLine(string label_id, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) +#endif + public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -19498,17 +19994,27 @@ public static void PlotLine(string label_id, ref double values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ulong* native_neg = &neg) + { + fixed (ulong* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotLine(string label_id, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotErrorBars(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -19528,16 +20034,26 @@ public static void PlotLine(string label_id, ref double values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_values = &values) + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ulong* native_neg = &neg) + { + fixed (ulong* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotLine(string label_id, ref sbyte values, int count) +#endif + public static void PlotErrorBars(string label_id, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -19557,21 +20073,26 @@ public static void PlotLine(string label_id, ref sbyte values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys = &ys) { - Util.Free(native_label_id); + fixed (ulong* native_neg = &neg) + { + fixed (ulong* native_pos = &pos) + { + ImPlotNative.ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys, native_neg, native_pos, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } } } } - public static void PlotLine(string label_id, ref sbyte values, int count, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref float values, int rows, int cols) { byte* native_label_id; int label_id_byteCount = 0; @@ -19591,20 +20112,40 @@ public static void PlotLine(string label_id, ref sbyte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref sbyte values, int count, double xscale, double xstart) +#endif + public static void PlotHeatmap(string label_id, ref float values, int rows, int cols) { byte* native_label_id; int label_id_byteCount = 0; @@ -19624,19 +20165,40 @@ public static void PlotLine(string label_id, ref sbyte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotLineFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref float values, int rows, int cols, double scale_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -19656,18 +20218,39 @@ public static void PlotLine(string label_id, ref sbyte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) +#endif + public static void PlotHeatmap(string label_id, ref float values, int rows, int cols, double scale_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -19687,17 +20270,39 @@ public static void PlotLine(string label_id, ref sbyte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref float values, int rows, int cols, double scale_min, double scale_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -19717,16 +20322,38 @@ public static void PlotLine(string label_id, ref sbyte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref byte values, int count) +#endif + public static void PlotHeatmap(string label_id, ref float values, int rows, int cols, double scale_min, double scale_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -19746,21 +20373,38 @@ public static void PlotLine(string label_id, ref byte values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref byte values, int count, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref float values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt) { byte* native_label_id; int label_id_byteCount = 0; @@ -19780,20 +20424,42 @@ public static void PlotLine(string label_id, ref byte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref byte values, int count, double xscale, double xstart) +#endif + public static void PlotHeatmap(string label_id, ref float values, int rows, int cols, double scale_min, double scale_max, string label_fmt) { byte* native_label_id; int label_id_byteCount = 0; @@ -19813,19 +20479,42 @@ public static void PlotLine(string label_id, ref byte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref float values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -19845,48 +20534,41 @@ public static void PlotLine(string label_id, ref byte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - public static void PlotLine(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* native_label_id; - int label_id_byteCount = 0; - if (label_id != null) - { - label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - native_label_id = Util.Allocate(label_id_byteCount + 1); + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); } else { - byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; - native_label_id = native_label_id_stackBytes; + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; } - int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); - native_label_id[native_label_id_offset] = 0; + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; } - else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_values = &values) + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) +#endif + public static void PlotHeatmap(string label_id, ref float values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -19906,16 +20588,41 @@ public static void PlotLine(string label_id, ref byte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref short values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref float values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -19935,21 +20642,40 @@ public static void PlotLine(string label_id, ref short values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref short values, int count, double xscale) +#endif + public static void PlotHeatmap(string label_id, ref float values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -19969,20 +20695,40 @@ public static void PlotLine(string label_id, ref short values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref short values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref float values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -20002,19 +20748,39 @@ public static void PlotLine(string label_id, ref short values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref float values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -20034,18 +20800,39 @@ public static void PlotLine(string label_id, ref short values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_FloatPtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref double values, int rows, int cols) { byte* native_label_id; int label_id_byteCount = 0; @@ -20065,17 +20852,40 @@ public static void PlotLine(string label_id, ref short values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_values = &values) + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) +#endif + public static void PlotHeatmap(string label_id, ref double values, int rows, int cols) { byte* native_label_id; int label_id_byteCount = 0; @@ -20095,16 +20905,40 @@ public static void PlotLine(string label_id, ref short values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_values = &values) + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref ushort values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref double values, int rows, int cols, double scale_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -20124,21 +20958,39 @@ public static void PlotLine(string label_id, ref ushort values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref ushort values, int count, double xscale) +#endif + public static void PlotHeatmap(string label_id, ref double values, int rows, int cols, double scale_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -20158,20 +21010,39 @@ public static void PlotLine(string label_id, ref ushort values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref ushort values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref double values, int rows, int cols, double scale_min, double scale_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -20191,19 +21062,38 @@ public static void PlotLine(string label_id, ref ushort values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref double values, int rows, int cols, double scale_min, double scale_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -20223,18 +21113,38 @@ public static void PlotLine(string label_id, ref ushort values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref double values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt) { byte* native_label_id; int label_id_byteCount = 0; @@ -20254,17 +21164,42 @@ public static void PlotLine(string label_id, ref ushort values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) +#endif + public static void PlotHeatmap(string label_id, ref double values, int rows, int cols, double scale_min, double scale_max, string label_fmt) { byte* native_label_id; int label_id_byteCount = 0; @@ -20284,16 +21219,42 @@ public static void PlotLine(string label_id, ref ushort values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref int values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref double values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -20313,21 +21274,41 @@ public static void PlotLine(string label_id, ref int values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref int values, int count, double xscale) +#endif + public static void PlotHeatmap(string label_id, ref double values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -20347,20 +21328,41 @@ public static void PlotLine(string label_id, ref int values, int count, double x native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref int values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref double values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -20380,50 +21382,40 @@ public static void PlotLine(string label_id, ref int values, int count, double x native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) - { - ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - public static void PlotLine(string label_id, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* native_label_id; - int label_id_byteCount = 0; - if (label_id != null) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - native_label_id = Util.Allocate(label_id_byteCount + 1); + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); } else { - byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; - native_label_id = native_label_id_stackBytes; + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; } - int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); - native_label_id[native_label_id_offset] = 0; + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; } - else { native_label_id = null; } - int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) +#endif + public static void PlotHeatmap(string label_id, ref double values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -20443,17 +21435,40 @@ public static void PlotLine(string label_id, ref int values, int count, double x native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref double values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -20473,16 +21488,39 @@ public static void PlotLine(string label_id, ref int values, int count, double x native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref uint values, int count) +#endif + public static void PlotHeatmap(string label_id, ref double values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -20502,21 +21540,39 @@ public static void PlotLine(string label_id, ref uint values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_doublePtr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref uint values, int count, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref sbyte values, int rows, int cols) { byte* native_label_id; int label_id_byteCount = 0; @@ -20536,20 +21592,40 @@ public static void PlotLine(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref uint values, int count, double xscale, double xstart) +#endif + public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int cols) { byte* native_label_id; int label_id_byteCount = 0; @@ -20569,19 +21645,40 @@ public static void PlotLine(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref sbyte values, int rows, int cols, double scale_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -20601,18 +21698,39 @@ public static void PlotLine(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) +#endif + public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int cols, double scale_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -20632,17 +21750,39 @@ public static void PlotLine(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(uint); - fixed (uint* native_values = &values) + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -20662,16 +21802,38 @@ public static void PlotLine(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref long values, int count) +#endif + public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -20691,21 +21853,38 @@ public static void PlotLine(string label_id, ref long values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref long values, int count, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt) { byte* native_label_id; int label_id_byteCount = 0; @@ -20725,20 +21904,42 @@ public static void PlotLine(string label_id, ref long values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref long values, int count, double xscale, double xstart) +#endif + public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max, string label_fmt) { byte* native_label_id; int label_id_byteCount = 0; @@ -20758,19 +21959,42 @@ public static void PlotLine(string label_id, ref long values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -20790,18 +22014,41 @@ public static void PlotLine(string label_id, ref long values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) +#endif + public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -20821,17 +22068,41 @@ public static void PlotLine(string label_id, ref long values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -20851,16 +22122,40 @@ public static void PlotLine(string label_id, ref long values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref ulong values, int count) +#endif + public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -20880,21 +22175,40 @@ public static void PlotLine(string label_id, ref ulong values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref ulong values, int count, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -20914,20 +22228,39 @@ public static void PlotLine(string label_id, ref ulong values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) - { - ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref ulong values, int count, double xscale, double xstart) +#endif + public static void PlotHeatmap(string label_id, ref sbyte values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -20947,19 +22280,39 @@ public static void PlotLine(string label_id, ref ulong values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref byte values, int rows, int cols) { byte* native_label_id; int label_id_byteCount = 0; @@ -20979,18 +22332,40 @@ public static void PlotLine(string label_id, ref ulong values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) +#endif + public static void PlotHeatmap(string label_id, ref byte values, int rows, int cols) { byte* native_label_id; int label_id_byteCount = 0; @@ -21010,17 +22385,40 @@ public static void PlotLine(string label_id, ref ulong values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref byte values, int rows, int cols, double scale_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -21040,16 +22438,39 @@ public static void PlotLine(string label_id, ref ulong values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_values = &values) + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLine(string label_id, ref float xs, ref float ys, int count) +#endif + public static void PlotHeatmap(string label_id, ref byte values, int rows, int cols, double scale_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -21069,22 +22490,39 @@ public static void PlotLine(string label_id, ref float xs, ref float ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (byte* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref float xs, ref float ys, int count, ImPlotLineFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref byte values, int rows, int cols, double scale_min, double scale_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -21104,21 +22542,38 @@ public static void PlotLine(string label_id, ref float xs, ref float ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (byte* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) +#endif + public static void PlotHeatmap(string label_id, ref byte values, int rows, int cols, double scale_min, double scale_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -21138,20 +22593,38 @@ public static void PlotLine(string label_id, ref float xs, ref float ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (byte* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref byte values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt) { byte* native_label_id; int label_id_byteCount = 0; @@ -21171,54 +22644,42 @@ public static void PlotLine(string label_id, ref float xs, ref float ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_xs = &xs) - { - fixed (float* native_ys = &ys) - { - ImPlotNative.ImPlot_PlotLine_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - } - public static void PlotLine(string label_id, ref double xs, ref double ys, int count) - { - byte* native_label_id; - int label_id_byteCount = 0; - if (label_id != null) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - native_label_id = Util.Allocate(label_id_byteCount + 1); + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); } else { - byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; - native_label_id = native_label_id_stackBytes; + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; } - int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); - native_label_id[native_label_id_offset] = 0; + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; } - else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + else { native_label_fmt = null; } + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (byte* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref double xs, ref double ys, int count, ImPlotLineFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref byte values, int rows, int cols, double scale_min, double scale_max, string label_fmt) { byte* native_label_id; int label_id_byteCount = 0; @@ -21238,21 +22699,42 @@ public static void PlotLine(string label_id, ref double xs, ref double ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (double* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref byte values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -21272,20 +22754,41 @@ public static void PlotLine(string label_id, ref double xs, ref double ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (double* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) +#endif + public static void PlotHeatmap(string label_id, ref byte values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -21305,19 +22808,41 @@ public static void PlotLine(string label_id, ref double xs, ref double ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (double* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref sbyte xs, ref sbyte ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref byte values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -21337,22 +22862,40 @@ public static void PlotLine(string label_id, ref sbyte xs, ref sbyte ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (sbyte* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotLineFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref byte values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -21372,21 +22915,40 @@ public static void PlotLine(string label_id, ref sbyte xs, ref sbyte ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (sbyte* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotLineFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref byte values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -21406,20 +22968,39 @@ public static void PlotLine(string label_id, ref sbyte xs, ref sbyte ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (sbyte* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotLineFlags flags, int offset, int stride) +#endif + public static void PlotHeatmap(string label_id, ref byte values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -21439,19 +23020,39 @@ public static void PlotLine(string label_id, ref sbyte xs, ref sbyte ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (sbyte* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U8Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref byte xs, ref byte ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref short values, int rows, int cols) { byte* native_label_id; int label_id_byteCount = 0; @@ -21471,22 +23072,40 @@ public static void PlotLine(string label_id, ref byte xs, ref byte ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (short* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref short values, int rows, int cols) { byte* native_label_id; int label_id_byteCount = 0; @@ -21506,21 +23125,40 @@ public static void PlotLine(string label_id, ref byte xs, ref byte ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (short* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref short values, int rows, int cols, double scale_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -21540,20 +23178,39 @@ public static void PlotLine(string label_id, ref byte xs, ref byte ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (short* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) +#endif + public static void PlotHeatmap(string label_id, ref short values, int rows, int cols, double scale_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -21573,19 +23230,39 @@ public static void PlotLine(string label_id, ref byte xs, ref byte ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_xs = &xs) + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (short* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref short xs, ref short ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref short values, int rows, int cols, double scale_min, double scale_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -21605,22 +23282,38 @@ public static void PlotLine(string label_id, ref short xs, ref short ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (short* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref short xs, ref short ys, int count, ImPlotLineFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref short values, int rows, int cols, double scale_min, double scale_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -21640,21 +23333,38 @@ public static void PlotLine(string label_id, ref short xs, ref short ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (short* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref short values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt) { byte* native_label_id; int label_id_byteCount = 0; @@ -21674,20 +23384,42 @@ public static void PlotLine(string label_id, ref short xs, ref short ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (short* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) +#endif + public static void PlotHeatmap(string label_id, ref short values, int rows, int cols, double scale_min, double scale_max, string label_fmt) { byte* native_label_id; int label_id_byteCount = 0; @@ -21707,19 +23439,42 @@ public static void PlotLine(string label_id, ref short xs, ref short ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (short* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref ushort xs, ref ushort ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref short values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -21739,22 +23494,41 @@ public static void PlotLine(string label_id, ref ushort xs, ref ushort ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (ushort* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref short values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -21774,21 +23548,41 @@ public static void PlotLine(string label_id, ref ushort xs, ref ushort ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (ushort* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref short values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -21808,20 +23602,40 @@ public static void PlotLine(string label_id, ref ushort xs, ref ushort ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (ushort* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) +#endif + public static void PlotHeatmap(string label_id, ref short values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -21841,19 +23655,40 @@ public static void PlotLine(string label_id, ref ushort xs, ref ushort ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (ushort* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref int xs, ref int ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref short values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -21873,22 +23708,39 @@ public static void PlotLine(string label_id, ref int xs, ref int ys, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (int* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref int xs, ref int ys, int count, ImPlotLineFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref short values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -21908,21 +23760,39 @@ public static void PlotLine(string label_id, ref int xs, ref int ys, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (int* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref ushort values, int rows, int cols) { byte* native_label_id; int label_id_byteCount = 0; @@ -21942,20 +23812,40 @@ public static void PlotLine(string label_id, ref int xs, ref int ys, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_xs = &xs) + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ushort* native_values = &values) { - fixed (int* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) +#endif + public static void PlotHeatmap(string label_id, ref ushort values, int rows, int cols) { byte* native_label_id; int label_id_byteCount = 0; @@ -21975,19 +23865,40 @@ public static void PlotLine(string label_id, ref int xs, ref int ys, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_xs = &xs) + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ushort* native_values = &values) { - fixed (int* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref uint xs, ref uint ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref ushort values, int rows, int cols, double scale_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -22007,22 +23918,39 @@ public static void PlotLine(string label_id, ref uint xs, ref uint ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ushort* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref ushort values, int rows, int cols, double scale_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -22042,21 +23970,39 @@ public static void PlotLine(string label_id, ref uint xs, ref uint ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ushort* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -22076,20 +24022,38 @@ public static void PlotLine(string label_id, ref uint xs, ref uint ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ushort* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) +#endif + public static void PlotHeatmap(string label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -22109,19 +24073,38 @@ public static void PlotLine(string label_id, ref uint xs, ref uint ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ushort* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref long xs, ref long ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt) { byte* native_label_id; int label_id_byteCount = 0; @@ -22141,22 +24124,42 @@ public static void PlotLine(string label_id, ref long xs, ref long ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (long* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref long xs, ref long ys, int count, ImPlotLineFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max, string label_fmt) { byte* native_label_id; int label_id_byteCount = 0; @@ -22176,21 +24179,42 @@ public static void PlotLine(string label_id, ref long xs, ref long ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (long* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -22210,20 +24234,41 @@ public static void PlotLine(string label_id, ref long xs, ref long ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (long* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) +#endif + public static void PlotHeatmap(string label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) { byte* native_label_id; int label_id_byteCount = 0; @@ -22243,19 +24288,41 @@ public static void PlotLine(string label_id, ref long xs, ref long ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (long* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref ulong xs, ref ulong ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -22275,22 +24342,40 @@ public static void PlotLine(string label_id, ref ulong xs, ref ulong ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotLineFlags flags = (ImPlotLineFlags)0; - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (ulong* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { byte* native_label_id; int label_id_byteCount = 0; @@ -22310,21 +24395,40 @@ public static void PlotLine(string label_id, ref ulong xs, ref ulong ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (ulong* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -22344,20 +24448,39 @@ public static void PlotLine(string label_id, ref ulong xs, ref ulong ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) - { - fixed (ulong* native_ys = &ys) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLine(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) +#endif + public static void PlotHeatmap(string label_id, ref ushort values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -22377,19 +24500,39 @@ public static void PlotLine(string label_id, ref ulong xs, ref ulong ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_xs = &xs) + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - fixed (ulong* native_ys = &ys) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotLine_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U16Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); } } } - public static void PlotLineG(string label_id, IntPtr getter, IntPtr data, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref int values, int rows, int cols) { byte* native_label_id; int label_id_byteCount = 0; @@ -22409,15 +24552,40 @@ public static void PlotLineG(string label_id, IntPtr getter, IntPtr data, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - void* native_data = (void*)data.ToPointer(); - ImPlotLineFlags flags = (ImPlotLineFlags)0; - ImPlotNative.ImPlot_PlotLineG(native_label_id, getter, native_data, count, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (int* native_values = &values) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } } } - public static void PlotLineG(string label_id, IntPtr getter, IntPtr data, int count, ImPlotLineFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref int values, int rows, int cols) { byte* native_label_id; int label_id_byteCount = 0; @@ -22437,42 +24605,8 @@ public static void PlotLineG(string label_id, IntPtr getter, IntPtr data, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - void* native_data = (void*)data.ToPointer(); - ImPlotNative.ImPlot_PlotLineG(native_label_id, getter, native_data, count, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - public static void PlotPieChart(string[] label_ids, ref float values, int count, double x, double y, double radius) - { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } - } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + double scale_min = 0; + double scale_max = 0; byte* native_label_fmt; int label_fmt_byteCount = 0; label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); @@ -22487,51 +24621,47 @@ public static void PlotPieChart(string[] label_ids, ref float values, int count, } int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (float* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_FloatPtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref float values, int count, double x, double y, double radius, string label_fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref int values, int rows, int cols, double scale_min) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } + double scale_max = 0; byte* native_label_fmt; int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -22541,55 +24671,49 @@ public static void PlotPieChart(string[] label_ids, ref float values, int count, byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (float* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_FloatPtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref float values, int count, double x, double y, double radius, string label_fmt, double angle0) +#endif + public static void PlotHeatmap(string label_id, ref int values, int rows, int cols, double scale_min) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } + double scale_max = 0; byte* native_label_fmt; int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -22599,54 +24723,48 @@ public static void PlotPieChart(string[] label_ids, ref float values, int count, byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (float* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_FloatPtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref float values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref int values, int rows, int cols, double scale_min, double scale_max) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -22656,48 +24774,45 @@ public static void PlotPieChart(string[] label_ids, ref float values, int count, byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - fixed (float* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_FloatPtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref double values, int count, double x, double y, double radius) +#endif + public static void PlotHeatmap(string label_id, ref int values, int rows, int cols, double scale_min, double scale_max) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); @@ -22712,46 +24827,43 @@ public static void PlotPieChart(string[] label_ids, ref double values, int count } int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (double* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_doublePtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref double values, int count, double x, double y, double radius, string label_fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref int values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -22770,46 +24882,43 @@ public static void PlotPieChart(string[] label_ids, ref double values, int count native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (double* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_doublePtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref double values, int count, double x, double y, double radius, string label_fmt, double angle0) +#endif + public static void PlotHeatmap(string label_id, ref int values, int rows, int cols, double scale_min, double scale_max, string label_fmt) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -22828,45 +24937,43 @@ public static void PlotPieChart(string[] label_ids, ref double values, int count native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (double* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_doublePtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref double values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref int values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -22885,47 +24992,47 @@ public static void PlotPieChart(string[] label_ids, ref double values, int count native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - fixed (double* native_values = &values) + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_doublePtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, double x, double y, double radius) +#endif + public static void PlotHeatmap(string label_id, ref int values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -22935,48 +25042,46 @@ public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (sbyte* native_values = &values) + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, double x, double y, double radius, string label_fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref int values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -22995,46 +25100,41 @@ public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (sbyte* native_values = &values) + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, double x, double y, double radius, string label_fmt, double angle0) +#endif + public static void PlotHeatmap(string label_id, ref int values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -23053,45 +25153,41 @@ public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (sbyte* native_values = &values) + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref int values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -23110,47 +25206,45 @@ public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - fixed (sbyte* native_values = &values) + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref byte values, int count, double x, double y, double radius) +#endif + public static void PlotHeatmap(string label_id, ref int values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -23160,53 +25254,49 @@ public static void PlotPieChart(string[] label_ids, ref byte values, int count, byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (byte* native_values = &values) + } + else { native_label_fmt = null; } + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_U8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref byte values, int count, double x, double y, double radius, string label_fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref uint values, int rows, int cols) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } + double scale_min = 0; + double scale_max = 0; byte* native_label_fmt; int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -23216,55 +25306,50 @@ public static void PlotPieChart(string[] label_ids, ref byte values, int count, byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (byte* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_U8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref byte values, int count, double x, double y, double radius, string label_fmt, double angle0) +#endif + public static void PlotHeatmap(string label_id, ref uint values, int rows, int cols) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } + double scale_min = 0; + double scale_max = 0; byte* native_label_fmt; int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -23274,54 +25359,49 @@ public static void PlotPieChart(string[] label_ids, ref byte values, int count, byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (byte* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_U8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref byte values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref uint values, int rows, int cols, double scale_min) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } + double scale_max = 0; byte* native_label_fmt; int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -23331,48 +25411,46 @@ public static void PlotPieChart(string[] label_ids, ref byte values, int count, byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - fixed (byte* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_U8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref short values, int count, double x, double y, double radius) +#endif + public static void PlotHeatmap(string label_id, ref uint values, int rows, int cols, double scale_min) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } + double scale_max = 0; byte* native_label_fmt; int label_fmt_byteCount = 0; label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); @@ -23387,51 +25465,46 @@ public static void PlotPieChart(string[] label_ids, ref short values, int count, } int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (short* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref short values, int count, double x, double y, double radius, string label_fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref uint values, int rows, int cols, double scale_min, double scale_max) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -23441,55 +25514,48 @@ public static void PlotPieChart(string[] label_ids, ref short values, int count, byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (short* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref short values, int count, double x, double y, double radius, string label_fmt, double angle0) +#endif + public static void PlotHeatmap(string label_id, ref uint values, int rows, int cols, double scale_min, double scale_max) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -23499,49 +25565,45 @@ public static void PlotPieChart(string[] label_ids, ref short values, int count, byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (short* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref short values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref uint values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -23560,98 +25622,43 @@ public static void PlotPieChart(string[] label_ids, ref short values, int count, native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - fixed (short* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref ushort values, int count, double x, double y, double radius) +#endif + public static void PlotHeatmap(string label_id, ref uint values, int rows, int cols, double scale_min, double scale_max, string label_fmt) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; - } - } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + native_label_id = Util.Allocate(label_id_byteCount + 1); } else { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; - } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (ushort* native_values = &values) - { - ImPlotNative.ImPlot_PlotPieChart_U16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_fmt); - } - } - } - public static void PlotPieChart(string[] label_ids, ref ushort values, int count, double x, double y, double radius, string label_fmt) - { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -23670,46 +25677,43 @@ public static void PlotPieChart(string[] label_ids, ref ushort values, int count native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (ushort* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_U16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref ushort values, int count, double x, double y, double radius, string label_fmt, double angle0) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref uint values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -23728,45 +25732,42 @@ public static void PlotPieChart(string[] label_ids, ref ushort values, int count native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (ushort* native_values = &values) + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_U16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref ushort values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref uint values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -23785,47 +25786,47 @@ public static void PlotPieChart(string[] label_ids, ref ushort values, int count native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - fixed (ushort* native_values = &values) + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_U16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref int values, int count, double x, double y, double radius) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref uint values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -23835,48 +25836,45 @@ public static void PlotPieChart(string[] label_ids, ref int values, int count, d byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (int* native_values = &values) + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref int values, int count, double x, double y, double radius, string label_fmt) +#endif + public static void PlotHeatmap(string label_id, ref uint values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -23895,46 +25893,41 @@ public static void PlotPieChart(string[] label_ids, ref int values, int count, d native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (int* native_values = &values) + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref int values, int count, double x, double y, double radius, string label_fmt, double angle0) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref uint values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -23953,45 +25946,40 @@ public static void PlotPieChart(string[] label_ids, ref int values, int count, d native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (int* native_values = &values) + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref int values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref uint values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -24010,44 +25998,42 @@ public static void PlotPieChart(string[] label_ids, ref int values, int count, d native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - fixed (int* native_values = &values) + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_U32Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref uint values, int count, double x, double y, double radius) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref long values, int rows, int cols) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } + double scale_min = 0; + double scale_max = 0; byte* native_label_fmt; int label_fmt_byteCount = 0; label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); @@ -24062,51 +26048,48 @@ public static void PlotPieChart(string[] label_ids, ref uint values, int count, } int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (uint* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_U32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref uint values, int count, double x, double y, double radius, string label_fmt) +#endif + public static void PlotHeatmap(string label_id, ref long values, int rows, int cols) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } + double scale_min = 0; + double scale_max = 0; byte* native_label_fmt; int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -24116,55 +26099,49 @@ public static void PlotPieChart(string[] label_ids, ref uint values, int count, byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (uint* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_U32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref uint values, int count, double x, double y, double radius, string label_fmt, double angle0) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref long values, int rows, int cols, double scale_min) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } + double scale_max = 0; byte* native_label_fmt; int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -24174,54 +26151,49 @@ public static void PlotPieChart(string[] label_ids, ref uint values, int count, byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (uint* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_U32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref uint values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) +#endif + public static void PlotHeatmap(string label_id, ref long values, int rows, int cols, double scale_min) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } + double scale_max = 0; byte* native_label_fmt; int label_fmt_byteCount = 0; - if (label_fmt != null) - { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -24231,48 +26203,45 @@ public static void PlotPieChart(string[] label_ids, ref uint values, int count, byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - } - else { native_label_fmt = null; } - fixed (uint* native_values = &values) + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_U32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref long values, int count, double x, double y, double radius) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref long values, int rows, int cols, double scale_min, double scale_max) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); @@ -24287,46 +26256,94 @@ public static void PlotPieChart(string[] label_ids, ref long values, int count, } int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref long values, int count, double x, double y, double radius, string label_fmt) +#endif + public static void PlotHeatmap(string label_id, ref long values, int rows, int cols, double scale_min, double scale_max) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + else { native_label_id = null; } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (long* native_values = &values) { - string s = label_ids[i]; - fixed (char* sPtr = s) + ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + Util.Free(native_label_fmt); } } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref long values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -24345,46 +26362,43 @@ public static void PlotPieChart(string[] label_ids, ref long values, int count, native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref long values, int count, double x, double y, double radius, string label_fmt, double angle0) +#endif + public static void PlotHeatmap(string label_id, ref long values, int rows, int cols, double scale_min, double scale_max, string label_fmt) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -24403,45 +26417,43 @@ public static void PlotPieChart(string[] label_ids, ref long values, int count, native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref long values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref long values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -24460,47 +26472,47 @@ public static void PlotPieChart(string[] label_ids, ref long values, int count, native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_S64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref ulong values, int count, double x, double y, double radius) +#endif + public static void PlotHeatmap(string label_id, ref long values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; - label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); @@ -24510,48 +26522,46 @@ public static void PlotPieChart(string[] label_ids, ref ulong values, int count, byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; native_label_fmt = native_label_fmt_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); native_label_fmt[native_label_fmt_offset] = 0; - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (ulong* native_values = &values) + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_U64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref ulong values, int count, double x, double y, double radius, string label_fmt) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref long values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) - { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; - } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + native_label_id = Util.Allocate(label_id_byteCount + 1); } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } + else { native_label_id = null; } byte* native_label_fmt; int label_fmt_byteCount = 0; if (label_fmt != null) @@ -24570,131 +26580,37391 @@ public static void PlotPieChart(string[] label_ids, ref ulong values, int count, native_label_fmt[native_label_fmt_offset] = 0; } else { native_label_fmt = null; } - double angle0 = 90; - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (ulong* native_values = &values) + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotPieChart_U64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } if (label_fmt_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_fmt); } } } - public static void PlotPieChart(string[] label_ids, ref ulong values, int count, double x, double y, double radius, string label_fmt, double angle0) +#endif + public static void PlotHeatmap(string label_id, ref long values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; - int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + else { native_label_id = null; } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) { - string s = label_ids[i]; - fixed (char* sPtr = s) + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref long values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotHeatmap(string label_id, ref long values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_S64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref ulong values, int rows, int cols) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotHeatmap(string label_id, ref ulong values, int rows, int cols) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double scale_min = 0; + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref ulong values, int rows, int cols, double scale_min) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotHeatmap(string label_id, ref ulong values, int rows, int cols, double scale_min) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double scale_max = 0; + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotHeatmap(string label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotHeatmap(string label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max, string label_fmt) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_min = new ImPlotPoint { x = 0, y = 0 }; + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotHeatmap(string label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPoint bounds_max = new ImPlotPoint { x = 1, y = 1 }; + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotHeatmap(string label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotHeatmapFlags flags = (ImPlotHeatmapFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotHeatmap(ReadOnlySpan label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max, ReadOnlySpan label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotHeatmap(string label_id, ref ulong values, int rows, int cols, double scale_min, double scale_max, string label_fmt, ImPlotPoint bounds_min, ImPlotPoint bounds_max, ImPlotHeatmapFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotHeatmap_U64Ptr(native_label_id, native_values, rows, cols, scale_min, scale_max, native_label_fmt, bounds_min, bounds_max, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref float values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref float values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref float values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref float values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref float values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref float values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref float values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref float values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref float values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref float values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_FloatPtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref double values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref double values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref double values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref double values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref double values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref double values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref double values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref double values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref double values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref double values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_doublePtr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref sbyte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref sbyte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref sbyte values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref sbyte values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref sbyte values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref sbyte values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref sbyte values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref sbyte values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref sbyte values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref sbyte values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref byte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref byte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref byte values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref byte values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref byte values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref byte values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref byte values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref byte values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref byte values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref byte values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U8Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref short values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref short values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref short values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref short values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref short values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref short values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref short values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref short values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref short values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref short values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref ushort values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref ushort values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref ushort values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref ushort values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref ushort values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref ushort values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref ushort values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref ushort values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref ushort values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref ushort values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U16Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref int values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref int values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref int values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref int values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref int values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref int values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref int values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref int values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref int values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref int values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref uint values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref uint values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref uint values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref uint values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref uint values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref uint values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref uint values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref uint values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref uint values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref uint values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U32Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref long values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref long values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref long values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref long values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref long values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref long values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref long values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref long values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref long values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref long values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_S64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref ulong values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref ulong values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int bins = (int)ImPlotBin.Sturges; + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref ulong values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref ulong values, int count, int bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double bar_scale = 1.0; + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref ulong values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref ulong values, int count, int bins, double bar_scale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRange range = new ImPlotRange(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref ulong values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref ulong values, int count, int bins, double bar_scale, ImPlotRange range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram(ReadOnlySpan label_id, ref ulong values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#endif + public static double PlotHistogram(string label_id, ref ulong values, int count, int bins, double bar_scale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_values = &values) + { + double ret = ImPlotNative.ImPlot_PlotHistogram_U64Ptr(native_label_id, native_values, count, bins, bar_scale, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref float xs, ref float ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref float xs, ref float ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref float xs, ref float ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref float xs, ref float ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref float xs, ref float ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref float xs, ref float ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref float xs, ref float ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref float xs, ref float ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref float xs, ref float ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref float xs, ref float ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_FloatPtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref double xs, ref double ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref double xs, ref double ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref double xs, ref double ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref double xs, ref double ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref double xs, ref double ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref double xs, ref double ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref double xs, ref double ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref double xs, ref double ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref double xs, ref double ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref double xs, ref double ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_doublePtr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref sbyte xs, ref sbyte ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref byte xs, ref byte ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U8Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref short xs, ref short ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref short xs, ref short ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref short xs, ref short ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref short xs, ref short ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref short xs, ref short ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref short xs, ref short ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref short xs, ref short ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref short xs, ref short ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref short xs, ref short ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref short xs, ref short ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref ushort xs, ref ushort ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U16Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref int xs, ref int ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref int xs, ref int ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref int xs, ref int ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref int xs, ref int ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref int xs, ref int ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref int xs, ref int ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref uint xs, ref uint ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U32Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref long xs, ref long ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref long xs, ref long ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref long xs, ref long ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref long xs, ref long ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref long xs, ref long ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref long xs, ref long ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_S64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int x_bins = (int)ImPlotBin.Sturges; + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys, int count, int x_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int y_bins = (int)ImPlotBin.Sturges; + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys, int count, int x_bins, int y_bins) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotRect range = new ImPlotRect(); + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys, int count, int x_bins, int y_bins, ImPlotRect range) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotHistogramFlags flags = (ImPlotHistogramFlags)0; + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static double PlotHistogram2D(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#endif + public static double PlotHistogram2D(string label_id, ref ulong xs, ref ulong ys, int count, int x_bins, int y_bins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + double ret = ImPlotNative.ImPlot_PlotHistogram2D_U64Ptr(native_label_id, native_xs, native_ys, count, x_bins, y_bins, range, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + return ret; + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotImage(ReadOnlySpan label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + Vector2 uv0 = new Vector2(); + Vector2 uv1 = new Vector2(1, 1); + Vector4 tint_col = new Vector4(1, 1, 1, 1); + ImPlotImageFlags flags = (ImPlotImageFlags)0; + ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#endif + public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + Vector2 uv0 = new Vector2(); + Vector2 uv1 = new Vector2(1, 1); + Vector4 tint_col = new Vector4(1, 1, 1, 1); + ImPlotImageFlags flags = (ImPlotImageFlags)0; + ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotImage(ReadOnlySpan label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max, Vector2 uv0) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + Vector2 uv1 = new Vector2(1, 1); + Vector4 tint_col = new Vector4(1, 1, 1, 1); + ImPlotImageFlags flags = (ImPlotImageFlags)0; + ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#endif + public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max, Vector2 uv0) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + Vector2 uv1 = new Vector2(1, 1); + Vector4 tint_col = new Vector4(1, 1, 1, 1); + ImPlotImageFlags flags = (ImPlotImageFlags)0; + ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotImage(ReadOnlySpan label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max, Vector2 uv0, Vector2 uv1) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + Vector4 tint_col = new Vector4(1, 1, 1, 1); + ImPlotImageFlags flags = (ImPlotImageFlags)0; + ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#endif + public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max, Vector2 uv0, Vector2 uv1) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + Vector4 tint_col = new Vector4(1, 1, 1, 1); + ImPlotImageFlags flags = (ImPlotImageFlags)0; + ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotImage(ReadOnlySpan label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max, Vector2 uv0, Vector2 uv1, Vector4 tint_col) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotImageFlags flags = (ImPlotImageFlags)0; + ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#endif + public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max, Vector2 uv0, Vector2 uv1, Vector4 tint_col) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotImageFlags flags = (ImPlotImageFlags)0; + ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotImage(ReadOnlySpan label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max, Vector2 uv0, Vector2 uv1, Vector4 tint_col, ImPlotImageFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#endif + public static void PlotImage(string label_id, IntPtr user_texture_id, ImPlotPoint bounds_min, ImPlotPoint bounds_max, Vector2 uv0, Vector2 uv1, Vector4 tint_col, ImPlotImageFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotNative.ImPlot_PlotImage(native_label_id, user_texture_id, bounds_min, bounds_max, uv0, uv1, tint_col, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref float values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_FloatPtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref float values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_FloatPtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref float values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_FloatPtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref float values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_FloatPtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref float values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_FloatPtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref float values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_FloatPtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref float values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_FloatPtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref float values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_FloatPtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref double values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_doublePtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref double values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_doublePtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref double values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_doublePtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref double values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_doublePtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref double values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_doublePtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref double values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_doublePtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref double values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_doublePtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref double values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_doublePtr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref sbyte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref sbyte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref sbyte values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref sbyte values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref sbyte values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref sbyte values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref sbyte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref sbyte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref byte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref byte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref byte values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref byte values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref byte values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref byte values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref byte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref byte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U8Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref short values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref short values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref short values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref short values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref short values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref short values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref short values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref short values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref ushort values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref ushort values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref ushort values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref ushort values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U16Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref int values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref int values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref int values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref int values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref int values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref int values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref int values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref int values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref uint values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref uint values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref uint values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref uint values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref uint values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref uint values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref uint values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref uint values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U32Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref long values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref long values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref long values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref long values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref long values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref long values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref long values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref long values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_S64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref ulong values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref ulong values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotInfLinesFlags flags = (ImPlotInfLinesFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref ulong values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref ulong values, int count, ImPlotInfLinesFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotInfLines(ReadOnlySpan label_id, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotInfLines(string label_id, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotInfLines_U64Ptr(native_label_id, native_values, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref float values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref float values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref float values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref float values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref float values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref float values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref double values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref double values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref double values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref double values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref double values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref double values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref sbyte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref sbyte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref sbyte values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref sbyte values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref sbyte values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref sbyte values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref byte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref byte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref byte values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref byte values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref byte values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref byte values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref short values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref short values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref short values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref short values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref short values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref short values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ushort values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref ushort values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ushort values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref ushort values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ushort values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref ushort values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref int values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref int values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref int values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref int values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref int values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref int values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref uint values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref uint values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref uint values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref uint values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref uint values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref uint values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref long values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref long values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref long values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref long values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref long values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref long values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ulong values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref ulong values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ulong values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref ulong values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ulong values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref ulong values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotLine(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotLine_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref float xs, ref float ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref float xs, ref float ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref float xs, ref float ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref float xs, ref float ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref double xs, ref double ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref double xs, ref double ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref double xs, ref double ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref double xs, ref double ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref sbyte xs, ref sbyte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref byte xs, ref byte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref short xs, ref short ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref short xs, ref short ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref short xs, ref short ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref short xs, ref short ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref ushort xs, ref ushort ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref int xs, ref int ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref int xs, ref int ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref int xs, ref int ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref int xs, ref int ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref uint xs, ref uint ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref long xs, ref long ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref long xs, ref long ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref long xs, ref long ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref long xs, ref long ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref ulong xs, ref ulong ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotLineFlags flags = (ImPlotLineFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLine(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotLine(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotLine_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLineG(ReadOnlySpan label_id, IntPtr getter, IntPtr data, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + void* native_data = (void*)data.ToPointer(); + ImPlotLineFlags flags = (ImPlotLineFlags)0; + ImPlotNative.ImPlot_PlotLineG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#endif + public static void PlotLineG(string label_id, IntPtr getter, IntPtr data, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + void* native_data = (void*)data.ToPointer(); + ImPlotLineFlags flags = (ImPlotLineFlags)0; + ImPlotNative.ImPlot_PlotLineG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotLineG(ReadOnlySpan label_id, IntPtr getter, IntPtr data, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + void* native_data = (void*)data.ToPointer(); + ImPlotNative.ImPlot_PlotLineG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#endif + public static void PlotLineG(string label_id, IntPtr getter, IntPtr data, int count, ImPlotLineFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + void* native_data = (void*)data.ToPointer(); + ImPlotNative.ImPlot_PlotLineG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + public static void PlotPieChart(string[] label_ids, ref float values, int count, double x, double y, double radius) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_FloatPtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref float values, int count, double x, double y, double radius, ReadOnlySpan label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_FloatPtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref float values, int count, double x, double y, double radius, string label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_FloatPtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref float values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_FloatPtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref float values, int count, double x, double y, double radius, string label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_FloatPtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref float values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_FloatPtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref float values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_FloatPtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } + public static void PlotPieChart(string[] label_ids, ref double values, int count, double x, double y, double radius) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_doublePtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref double values, int count, double x, double y, double radius, ReadOnlySpan label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_doublePtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref double values, int count, double x, double y, double radius, string label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_doublePtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref double values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_doublePtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref double values, int count, double x, double y, double radius, string label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_doublePtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref double values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_doublePtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref double values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_doublePtr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } + public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, double x, double y, double radius) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, double x, double y, double radius, ReadOnlySpan label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, double x, double y, double radius, string label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, double x, double y, double radius, string label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref sbyte values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } + public static void PlotPieChart(string[] label_ids, ref byte values, int count, double x, double y, double radius) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref byte values, int count, double x, double y, double radius, ReadOnlySpan label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref byte values, int count, double x, double y, double radius, string label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref byte values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref byte values, int count, double x, double y, double radius, string label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref byte values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref byte values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U8Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } + public static void PlotPieChart(string[] label_ids, ref short values, int count, double x, double y, double radius) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref short values, int count, double x, double y, double radius, ReadOnlySpan label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref short values, int count, double x, double y, double radius, string label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref short values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref short values, int count, double x, double y, double radius, string label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref short values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref short values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } + public static void PlotPieChart(string[] label_ids, ref ushort values, int count, double x, double y, double radius) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref ushort values, int count, double x, double y, double radius, ReadOnlySpan label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref ushort values, int count, double x, double y, double radius, string label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref ushort values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref ushort values, int count, double x, double y, double radius, string label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref ushort values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref ushort values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U16Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } + public static void PlotPieChart(string[] label_ids, ref int values, int count, double x, double y, double radius) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref int values, int count, double x, double y, double radius, ReadOnlySpan label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref int values, int count, double x, double y, double radius, string label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref int values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref int values, int count, double x, double y, double radius, string label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref int values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref int values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } + public static void PlotPieChart(string[] label_ids, ref uint values, int count, double x, double y, double radius) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref uint values, int count, double x, double y, double radius, ReadOnlySpan label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref uint values, int count, double x, double y, double radius, string label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref uint values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref uint values, int count, double x, double y, double radius, string label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref uint values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref uint values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U32Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } + public static void PlotPieChart(string[] label_ids, ref long values, int count, double x, double y, double radius) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref long values, int count, double x, double y, double radius, ReadOnlySpan label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref long values, int count, double x, double y, double radius, string label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref long values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref long values, int count, double x, double y, double radius, string label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref long values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref long values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_S64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } + public static void PlotPieChart(string[] label_ids, ref ulong values, int count, double x, double y, double radius) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + label_fmt_byteCount = Encoding.UTF8.GetByteCount("%.1f"); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8("%.1f", native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref ulong values, int count, double x, double y, double radius, ReadOnlySpan label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref ulong values, int count, double x, double y, double radius, string label_fmt) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + double angle0 = 90; + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref ulong values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref ulong values, int count, double x, double y, double radius, string label_fmt, double angle0) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotPieChart(string[] label_ids, ref ulong values, int count, double x, double y, double radius, ReadOnlySpan label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#endif + public static void PlotPieChart(string[] label_ids, ref ulong values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) + { + int* label_ids_byteCounts = stackalloc int[label_ids.Length]; + int label_ids_byteCount = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); + label_ids_byteCount += label_ids_byteCounts[i] + 1; + } + byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + int offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + string s = label_ids[i]; + offset += Util.GetUtf8(s, native_label_ids_data + offset, label_ids_byteCounts[i]); + native_label_ids_data[offset++] = 0; + } + byte** native_label_ids = stackalloc byte*[label_ids.Length]; + offset = 0; + for (int i = 0; i < label_ids.Length; i++) + { + native_label_ids[i] = &native_label_ids_data[offset]; + offset += label_ids_byteCounts[i] + 1; + } + byte* native_label_fmt; + int label_fmt_byteCount = 0; + if (label_fmt != null) + { + label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + } + else + { + byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; + native_label_fmt = native_label_fmt_stackBytes; + } + int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); + native_label_fmt[native_label_fmt_offset] = 0; + } + else { native_label_fmt = null; } + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotPieChart_U64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); + if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_fmt); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref float values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref float values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref float values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref float values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref float values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref float values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref double values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref double values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref double values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref double values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref double values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref double values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref sbyte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref sbyte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref sbyte values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref sbyte values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref sbyte values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref sbyte values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref byte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref byte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref byte values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref byte values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref byte values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref byte values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref short values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref short values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref short values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref short values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref short values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref short values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ushort values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref ushort values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ushort values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref ushort values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ushort values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref ushort values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref int values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref int values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref int values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref int values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref int values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref int values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref uint values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref uint values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref uint values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref uint values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref uint values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref uint values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref long values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref long values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref long values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref long values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref long values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref long values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ulong values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref ulong values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ulong values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref ulong values, int count, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ulong values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref ulong values, int count, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotScatter(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref float xs, ref float ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref float xs, ref float ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref float xs, ref float ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref float xs, ref float ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref double xs, ref double ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref double xs, ref double ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref double xs, ref double ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref double xs, ref double ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref sbyte xs, ref sbyte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref byte xs, ref byte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref short xs, ref short ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref short xs, ref short ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref short xs, ref short ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref short xs, ref short ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref ushort xs, ref ushort ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref int xs, ref int ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref int xs, ref int ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref int xs, ref int ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref int xs, ref int ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref uint xs, ref uint ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref long xs, ref long ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref long xs, ref long ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref long xs, ref long ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref long xs, ref long ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref ulong xs, ref ulong ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatter(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotScatter(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotScatter_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatterG(ReadOnlySpan label_id, IntPtr getter, IntPtr data, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + void* native_data = (void*)data.ToPointer(); + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + ImPlotNative.ImPlot_PlotScatterG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#endif + public static void PlotScatterG(string label_id, IntPtr getter, IntPtr data, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + void* native_data = (void*)data.ToPointer(); + ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + ImPlotNative.ImPlot_PlotScatterG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotScatterG(ReadOnlySpan label_id, IntPtr getter, IntPtr data, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + void* native_data = (void*)data.ToPointer(); + ImPlotNative.ImPlot_PlotScatterG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#endif + public static void PlotScatterG(string label_id, IntPtr getter, IntPtr data, int count, ImPlotScatterFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + void* native_data = (void*)data.ToPointer(); + ImPlotNative.ImPlot_PlotScatterG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref float values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref float values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref float values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref float values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref double values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref double values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref double values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref double values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref short values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref short values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref short values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref short values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(short); + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref ushort values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref ushort values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref ushort values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref ushort values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref int values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref int values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref int values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref int values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref uint values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref uint values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref uint values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref uint values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(uint); + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref long values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref long values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref long values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref long values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref ulong values, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref ulong values, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref ulong values, int count, double yref, double xscale) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double xstart = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref ulong values, int count, double yref, double xscale, double xstart) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotShaded(string label_id, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_values = &values) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float xs, ref float ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref float xs, ref float ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float xs, ref float ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref float xs, ref float ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_xs = &xs) + { + fixed (float* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double xs, ref double ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref double xs, ref double ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double xs, ref double ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref double xs, ref double ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_xs = &xs) + { + fixed (double* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short xs, ref short ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref short xs, ref short ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short xs, ref short ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref short xs, ref short ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ushort* native_xs = &xs) + { + fixed (ushort* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int xs, ref int ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref int xs, ref int ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int xs, ref int ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref int xs, ref int ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_xs = &xs) + { + fixed (int* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (uint* native_xs = &xs) + { + fixed (uint* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long xs, ref long ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref long xs, ref long ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long xs, ref long ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref long xs, ref long ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_xs = &xs) + { + fixed (long* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + double yref = 0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int count, double yref) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (ulong* native_xs = &xs) + { + fixed (ulong* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float xs, ref float ys1, ref float ys2, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys1 = &ys1) + { + fixed (float* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref float xs, ref float ys1, ref float ys2, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys1 = &ys1) + { + fixed (float* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys1 = &ys1) + { + fixed (float* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys1 = &ys1) + { + fixed (float* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys1 = &ys1) + { + fixed (float* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(float); + fixed (float* native_xs = &xs) + { + fixed (float* native_ys1 = &ys1) + { + fixed (float* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_xs = &xs) + { + fixed (float* native_ys1 = &ys1) + { + fixed (float* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (float* native_xs = &xs) + { + fixed (float* native_ys1 = &ys1) + { + fixed (float* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double xs, ref double ys1, ref double ys2, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys1 = &ys1) + { + fixed (double* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref double xs, ref double ys1, ref double ys2, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys1 = &ys1) + { + fixed (double* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys1 = &ys1) + { + fixed (double* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys1 = &ys1) + { + fixed (double* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys1 = &ys1) + { + fixed (double* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(double); + fixed (double* native_xs = &xs) + { + fixed (double* native_ys1 = &ys1) + { + fixed (double* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_xs = &xs) + { + fixed (double* native_ys1 = &ys1) + { + fixed (double* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (double* native_xs = &xs) + { + fixed (double* native_ys1 = &ys1) + { + fixed (double* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys1, ref sbyte ys2, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys1 = &ys1) + { + fixed (sbyte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys1, ref sbyte ys2, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys1 = &ys1) + { + fixed (sbyte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys1, ref sbyte ys2, int count, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys1 = &ys1) + { + fixed (sbyte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys1, ref sbyte ys2, int count, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys1 = &ys1) + { + fixed (sbyte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys1, ref sbyte ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys1 = &ys1) + { + fixed (sbyte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys1, ref sbyte ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys1 = &ys1) + { + fixed (sbyte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys1, ref sbyte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys1 = &ys1) + { + fixed (sbyte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys1, ref sbyte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (sbyte* native_xs = &xs) + { + fixed (sbyte* native_ys1 = &ys1) + { + fixed (sbyte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte xs, ref byte ys1, ref byte ys2, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys1 = &ys1) + { + fixed (byte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte xs, ref byte ys1, ref byte ys2, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys1 = &ys1) + { + fixed (byte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys1 = &ys1) + { + fixed (byte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys1 = &ys1) + { + fixed (byte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys1 = &ys1) + { + fixed (byte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys1 = &ys1) + { + fixed (byte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys1 = &ys1) + { + fixed (byte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#endif + public static void PlotShaded(string label_id, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys1 = &ys1) + { + fixed (byte* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short xs, ref short ys1, ref short ys2, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) + { + fixed (short* native_ys1 = &ys1) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + fixed (short* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) + } +#endif + public static void PlotShaded(string label_id, ref short xs, ref short ys1, ref short ys2, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + native_label_id = Util.Allocate(label_id_byteCount + 1); } else { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - else { native_label_fmt = null; } - ImPlotPieChartFlags flags = (ImPlotPieChartFlags)0; - fixed (ulong* native_values = &values) + else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotPieChart_U64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys1 = &ys1) { - Util.Free(native_label_fmt); + fixed (short* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotPieChart(string[] label_ids, ref ulong values, int count, double x, double y, double radius, string label_fmt, double angle0, ImPlotPieChartFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) { - int* label_ids_byteCounts = stackalloc int[label_ids.Length]; - int label_ids_byteCount = 0; - for (int i = 0; i < label_ids.Length; i++) + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - string s = label_ids[i]; - label_ids_byteCounts[i] = Encoding.UTF8.GetByteCount(s); - label_ids_byteCount += label_ids_byteCounts[i] + 1; + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - byte* native_label_ids_data = stackalloc byte[label_ids_byteCount]; + else { native_label_id = null; } int offset = 0; - for (int i = 0; i < label_ids.Length; i++) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - string s = label_ids[i]; - fixed (char* sPtr = s) + fixed (short* native_ys1 = &ys1) { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_label_ids_data + offset, label_ids_byteCounts[i]); - native_label_ids_data[offset] = 0; - offset += 1; + fixed (short* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } - byte** native_label_ids = stackalloc byte*[label_ids.Length]; - offset = 0; - for (int i = 0; i < label_ids.Length; i++) - { - native_label_ids[i] = &native_label_ids_data[offset]; - offset += label_ids_byteCounts[i] + 1; - } - byte* native_label_fmt; - int label_fmt_byteCount = 0; - if (label_fmt != null) + } +#endif + public static void PlotShaded(string label_id, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) { - label_fmt_byteCount = Encoding.UTF8.GetByteCount(label_fmt); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - native_label_fmt = Util.Allocate(label_fmt_byteCount + 1); + native_label_id = Util.Allocate(label_id_byteCount + 1); } else { - byte* native_label_fmt_stackBytes = stackalloc byte[label_fmt_byteCount + 1]; - native_label_fmt = native_label_fmt_stackBytes; + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; } - int native_label_fmt_offset = Util.GetUtf8(label_fmt, native_label_fmt, label_fmt_byteCount); - native_label_fmt[native_label_fmt_offset] = 0; + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; } - else { native_label_fmt = null; } - fixed (ulong* native_values = &values) + else { native_label_id = null; } + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotPieChart_U64Ptr(native_label_ids, native_values, count, x, y, radius, native_label_fmt, angle0, flags); - if (label_fmt_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys1 = &ys1) { - Util.Free(native_label_fmt); + fixed (short* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref float values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -24714,21 +63984,24 @@ public static void PlotScatter(string label_id, ref float values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (short* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref float values, int count, double xscale) +#endif + public static void PlotShaded(string label_id, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -24748,20 +64021,24 @@ public static void PlotScatter(string label_id, ref float values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (short* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref float values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -24781,19 +64058,23 @@ public static void PlotScatter(string label_id, ref float values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (short* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags) +#endif + public static void PlotShaded(string label_id, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -24813,18 +64094,23 @@ public static void PlotScatter(string label_id, ref float values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (short* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort xs, ref ushort ys1, ref ushort ys2, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -24844,17 +64130,26 @@ public static void PlotScatter(string label_id, ref float values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_values = &values) + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ushort* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) +#endif + public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys1, ref ushort ys2, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -24874,16 +64169,26 @@ public static void PlotScatter(string label_id, ref float values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_values = &values) + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ushort* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref double values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -24903,21 +64208,25 @@ public static void PlotScatter(string label_id, ref double values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ushort* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref double values, int count, double xscale) +#endif + public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -24937,20 +64246,25 @@ public static void PlotScatter(string label_id, ref double values, int count, do native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ushort* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref double values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -24970,19 +64284,24 @@ public static void PlotScatter(string label_id, ref double values, int count, do native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ushort* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags) +#endif + public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -25002,18 +64321,24 @@ public static void PlotScatter(string label_id, ref double values, int count, do native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ushort* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -25033,17 +64358,23 @@ public static void PlotScatter(string label_id, ref double values, int count, do native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_values = &values) + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ushort* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) +#endif + public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -25063,16 +64394,23 @@ public static void PlotScatter(string label_id, ref double values, int count, do native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_values = &values) + fixed (ushort* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ushort* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ushort* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref sbyte values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int xs, ref int ys1, ref int ys2, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -25092,21 +64430,26 @@ public static void PlotScatter(string label_id, ref sbyte values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (int* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref sbyte values, int count, double xscale) +#endif + public static void PlotShaded(string label_id, ref int xs, ref int ys1, ref int ys2, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -25126,20 +64469,26 @@ public static void PlotScatter(string label_id, ref sbyte values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (int* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref sbyte values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -25159,19 +64508,25 @@ public static void PlotScatter(string label_id, ref sbyte values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (int* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotScatterFlags flags) +#endif + public static void PlotShaded(string label_id, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -25192,17 +64547,24 @@ public static void PlotScatter(string label_id, ref sbyte values, int count, dou } else { native_label_id = null; } int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (int* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -25222,17 +64584,24 @@ public static void PlotScatter(string label_id, ref sbyte values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (int* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) +#endif + public static void PlotShaded(string label_id, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -25252,16 +64621,24 @@ public static void PlotScatter(string label_id, ref sbyte values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_values = &values) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (int* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref byte values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -25281,21 +64658,23 @@ public static void PlotScatter(string label_id, ref byte values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (int* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref byte values, int count, double xscale) +#endif + public static void PlotShaded(string label_id, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -25315,20 +64694,23 @@ public static void PlotScatter(string label_id, ref byte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + fixed (int* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (int* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (int* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref byte values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint xs, ref uint ys1, ref uint ys2, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -25348,19 +64730,26 @@ public static void PlotScatter(string label_id, ref byte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (uint* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags) +#endif + public static void PlotShaded(string label_id, ref uint xs, ref uint ys1, ref uint ys2, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -25380,18 +64769,26 @@ public static void PlotScatter(string label_id, ref byte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (uint* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -25411,17 +64808,25 @@ public static void PlotScatter(string label_id, ref byte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (uint* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) +#endif + public static void PlotShaded(string label_id, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -25441,16 +64846,25 @@ public static void PlotScatter(string label_id, ref byte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_values = &values) + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (uint* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref short values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -25470,21 +64884,24 @@ public static void PlotScatter(string label_id, ref short values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (uint* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref short values, int count, double xscale) +#endif + public static void PlotShaded(string label_id, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -25504,20 +64921,24 @@ public static void PlotScatter(string label_id, ref short values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (uint* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref short values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -25537,19 +64958,23 @@ public static void PlotScatter(string label_id, ref short values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (uint* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags) +#endif + public static void PlotShaded(string label_id, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -25569,18 +64994,23 @@ public static void PlotScatter(string label_id, ref short values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + fixed (uint* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (uint* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (uint* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long xs, ref long ys1, ref long ys2, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -25600,17 +65030,26 @@ public static void PlotScatter(string label_id, ref short values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_values = &values) + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (long* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) +#endif + public static void PlotShaded(string label_id, ref long xs, ref long ys1, ref long ys2, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -25630,16 +65069,26 @@ public static void PlotScatter(string label_id, ref short values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_values = &values) + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (long* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref ushort values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -25659,21 +65108,25 @@ public static void PlotScatter(string label_id, ref ushort values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (long* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref ushort values, int count, double xscale) +#endif + public static void PlotShaded(string label_id, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -25693,20 +65146,25 @@ public static void PlotScatter(string label_id, ref ushort values, int count, do native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (long* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref ushort values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -25726,19 +65184,24 @@ public static void PlotScatter(string label_id, ref ushort values, int count, do native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (long* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags) +#endif + public static void PlotShaded(string label_id, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -25758,18 +65221,24 @@ public static void PlotScatter(string label_id, ref ushort values, int count, do native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (long* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -25789,17 +65258,23 @@ public static void PlotScatter(string label_id, ref ushort values, int count, do native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (long* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) +#endif + public static void PlotShaded(string label_id, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -25819,16 +65294,23 @@ public static void PlotScatter(string label_id, ref ushort values, int count, do native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_values = &values) + fixed (long* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (long* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (long* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref int values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong xs, ref ulong ys1, ref ulong ys2, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -25848,21 +65330,26 @@ public static void PlotScatter(string label_id, ref int values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ulong* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref int values, int count, double xscale) +#endif + public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys1, ref ulong ys2, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -25882,20 +65369,26 @@ public static void PlotScatter(string label_id, ref int values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ulong* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref int values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -25915,19 +65408,25 @@ public static void PlotScatter(string label_id, ref int values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ulong* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags) +#endif + public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -25948,17 +65447,24 @@ public static void PlotScatter(string label_id, ref int values, int count, doubl } else { native_label_id = null; } int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ulong* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -25978,17 +65484,24 @@ public static void PlotScatter(string label_id, ref int values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ulong* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) +#endif + public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -26008,16 +65521,24 @@ public static void PlotScatter(string label_id, ref int values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ulong* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref uint values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShaded(ReadOnlySpan label_id, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -26037,21 +65558,23 @@ public static void PlotScatter(string label_id, ref uint values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ulong* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref uint values, int count, double xscale) +#endif + public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -26071,20 +65594,23 @@ public static void PlotScatter(string label_id, ref uint values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + fixed (ulong* native_xs = &xs) { - ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (ulong* native_ys1 = &ys1) { - Util.Free(native_label_id); + fixed (ulong* native_ys2 = &ys2) + { + ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } } } } - public static void PlotScatter(string label_id, ref uint values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShadedG(ReadOnlySpan label_id, IntPtr getter1, IntPtr data1, IntPtr getter2, IntPtr data2, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -26104,19 +65630,17 @@ public static void PlotScatter(string label_id, ref uint values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + void* native_data1 = (void*)data1.ToPointer(); + void* native_data2 = (void*)data2.ToPointer(); + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotNative.ImPlot_PlotShadedG(native_label_id, getter1, native_data1, getter2, native_data2, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } - public static void PlotScatter(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags) +#endif + public static void PlotShadedG(string label_id, IntPtr getter1, IntPtr data1, IntPtr getter2, IntPtr data2, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -26136,18 +65660,17 @@ public static void PlotScatter(string label_id, ref uint values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + void* native_data1 = (void*)data1.ToPointer(); + void* native_data2 = (void*)data2.ToPointer(); + ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotNative.ImPlot_PlotShadedG(native_label_id, getter1, native_data1, getter2, native_data2, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } - public static void PlotScatter(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotShadedG(ReadOnlySpan label_id, IntPtr getter1, IntPtr data1, IntPtr getter2, IntPtr data2, int count, ImPlotShadedFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -26167,17 +65690,16 @@ public static void PlotScatter(string label_id, ref uint values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(uint); - fixed (uint* native_values = &values) + void* native_data1 = (void*)data1.ToPointer(); + void* native_data2 = (void*)data2.ToPointer(); + ImPlotNative.ImPlot_PlotShadedG(native_label_id, getter1, native_data1, getter2, native_data2, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } - public static void PlotScatter(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) +#endif + public static void PlotShadedG(string label_id, IntPtr getter1, IntPtr data1, IntPtr getter2, IntPtr data2, int count, ImPlotShadedFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -26197,16 +65719,16 @@ public static void PlotScatter(string label_id, ref uint values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_values = &values) + void* native_data1 = (void*)data1.ToPointer(); + void* native_data2 = (void*)data2.ToPointer(); + ImPlotNative.ImPlot_PlotShadedG(native_label_id, getter1, native_data1, getter2, native_data2, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } - public static void PlotScatter(string label_id, ref long values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref float values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -26228,19 +65750,20 @@ public static void PlotScatter(string label_id, ref long values, int count) else { native_label_id = null; } double xscale = 1; double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(float); + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref long values, int count, double xscale) +#endif + public static void PlotStairs(string label_id, ref float values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -26260,20 +65783,22 @@ public static void PlotScatter(string label_id, ref long values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double xscale = 1; double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(float); + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref long values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref float values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -26293,19 +65818,21 @@ public static void PlotScatter(string label_id, ref long values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(float); + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags) +#endif + public static void PlotStairs(string label_id, ref float values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -26325,18 +65852,21 @@ public static void PlotScatter(string label_id, ref long values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(float); + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref float values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -26356,17 +65886,20 @@ public static void PlotScatter(string label_id, ref long values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_values = &values) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) +#endif + public static void PlotStairs(string label_id, ref float values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -26386,16 +65919,20 @@ public static void PlotScatter(string label_id, ref long values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_values = &values) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotScatter_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref ulong values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -26415,21 +65952,19 @@ public static void PlotScatter(string label_id, ref ulong values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(float); + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref ulong values, int count, double xscale) +#endif + public static void PlotStairs(string label_id, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -26449,20 +65984,19 @@ public static void PlotScatter(string label_id, ref ulong values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(float); + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref ulong values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -26482,19 +66016,18 @@ public static void PlotScatter(string label_id, ref ulong values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(float); + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags) +#endif + public static void PlotStairs(string label_id, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -26514,18 +66047,18 @@ public static void PlotScatter(string label_id, ref ulong values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(float); + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -26545,17 +66078,17 @@ public static void PlotScatter(string label_id, ref ulong values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) +#endif + public static void PlotStairs(string label_id, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -26575,16 +66108,17 @@ public static void PlotScatter(string label_id, ref ulong values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_values = &values) + fixed (float* native_values = &values) { - ImPlotNative.ImPlot_PlotScatter_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref float xs, ref float ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref double values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -26604,22 +66138,22 @@ public static void PlotScatter(string label_id, ref float xs, ref float ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + double xscale = 1; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref float xs, ref float ys, int count, ImPlotScatterFlags flags) +#endif + public static void PlotStairs(string label_id, ref double values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -26639,54 +66173,22 @@ public static void PlotScatter(string label_id, ref float xs, ref float ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) - { - fixed (float* native_ys = &ys) - { - ImPlotNative.ImPlot_PlotScatter_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - } - public static void PlotScatter(string label_id, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* native_label_id; - int label_id_byteCount = 0; - if (label_id != null) + int stride = sizeof(double); + fixed (double* native_values = &values) { - label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { - native_label_id = Util.Allocate(label_id_byteCount + 1); - } - else - { - byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; - native_label_id = native_label_id_stackBytes; - } - int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); - native_label_id[native_label_id_offset] = 0; - } - else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_xs = &xs) - { - fixed (float* native_ys = &ys) - { - ImPlotNative.ImPlot_PlotScatter_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref double values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -26706,19 +66208,21 @@ public static void PlotScatter(string label_id, ref float xs, ref float ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_xs = &xs) + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref double xs, ref double ys, int count) +#endif + public static void PlotStairs(string label_id, ref double values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -26738,22 +66242,21 @@ public static void PlotScatter(string label_id, ref double xs, ref double ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; int stride = sizeof(double); - fixed (double* native_xs = &xs) + fixed (double* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref double xs, ref double ys, int count, ImPlotScatterFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref double values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -26773,21 +66276,20 @@ public static void PlotScatter(string label_id, ref double xs, ref double ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; int stride = sizeof(double); - fixed (double* native_xs = &xs) + fixed (double* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref double values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -26807,20 +66309,20 @@ public static void PlotScatter(string label_id, ref double xs, ref double ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; int stride = sizeof(double); - fixed (double* native_xs = &xs) + fixed (double* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -26840,19 +66342,19 @@ public static void PlotScatter(string label_id, ref double xs, ref double ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_xs = &xs) + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref sbyte xs, ref sbyte ys, int count) +#endif + public static void PlotStairs(string label_id, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -26872,22 +66374,19 @@ public static void PlotScatter(string label_id, ref sbyte xs, ref sbyte ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotScatterFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -26907,21 +66406,18 @@ public static void PlotScatter(string label_id, ref sbyte xs, ref sbyte ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotScatterFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -26941,20 +66437,18 @@ public static void PlotScatter(string label_id, ref sbyte xs, ref sbyte ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotScatterFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -26974,19 +66468,17 @@ public static void PlotScatter(string label_id, ref sbyte xs, ref sbyte ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_xs = &xs) + fixed (double* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref byte xs, ref byte ys, int count) +#endif + public static void PlotStairs(string label_id, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -27006,22 +66498,17 @@ public static void PlotScatter(string label_id, ref byte xs, ref byte ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + fixed (double* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref sbyte values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -27041,21 +66528,22 @@ public static void PlotScatter(string label_id, ref byte xs, ref byte ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref sbyte values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -27075,20 +66563,22 @@ public static void PlotScatter(string label_id, ref byte xs, ref byte ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + double xscale = 1; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref sbyte values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -27108,19 +66598,21 @@ public static void PlotScatter(string label_id, ref byte xs, ref byte ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_xs = &xs) + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref short xs, ref short ys, int count) +#endif + public static void PlotStairs(string label_id, ref sbyte values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -27140,22 +66632,21 @@ public static void PlotScatter(string label_id, ref short xs, ref short ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref short xs, ref short ys, int count, ImPlotScatterFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref sbyte values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -27175,21 +66666,20 @@ public static void PlotScatter(string label_id, ref short xs, ref short ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref sbyte values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -27209,20 +66699,20 @@ public static void PlotScatter(string label_id, ref short xs, ref short ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_xs = &xs) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -27242,19 +66732,19 @@ public static void PlotScatter(string label_id, ref short xs, ref short ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_xs = &xs) + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref ushort xs, ref ushort ys, int count) +#endif + public static void PlotStairs(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -27274,22 +66764,19 @@ public static void PlotScatter(string label_id, ref ushort xs, ref ushort ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - fixed (ushort* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -27309,21 +66796,18 @@ public static void PlotScatter(string label_id, ref ushort xs, ref ushort ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - fixed (ushort* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -27343,20 +66827,18 @@ public static void PlotScatter(string label_id, ref ushort xs, ref ushort ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - fixed (ushort* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -27376,19 +66858,17 @@ public static void PlotScatter(string label_id, ref ushort xs, ref ushort ys, in native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_xs = &xs) + fixed (sbyte* native_values = &values) { - fixed (ushort* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref int xs, ref int ys, int count) +#endif + public static void PlotStairs(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -27408,22 +66888,17 @@ public static void PlotScatter(string label_id, ref int xs, ref int ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + fixed (sbyte* native_values = &values) { - fixed (int* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref int xs, ref int ys, int count, ImPlotScatterFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref byte values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -27443,21 +66918,22 @@ public static void PlotScatter(string label_id, ref int xs, ref int ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - fixed (int* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref byte values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -27477,20 +66953,22 @@ public static void PlotScatter(string label_id, ref int xs, ref int ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_xs = &xs) + double xscale = 1; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - fixed (int* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref byte values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -27510,19 +66988,21 @@ public static void PlotScatter(string label_id, ref int xs, ref int ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_xs = &xs) + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - fixed (int* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref uint xs, ref uint ys, int count) +#endif + public static void PlotStairs(string label_id, ref byte values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -27542,22 +67022,21 @@ public static void PlotScatter(string label_id, ref uint xs, ref uint ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref byte values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -27577,21 +67056,20 @@ public static void PlotScatter(string label_id, ref uint xs, ref uint ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref byte values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -27611,20 +67089,20 @@ public static void PlotScatter(string label_id, ref uint xs, ref uint ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -27644,19 +67122,19 @@ public static void PlotScatter(string label_id, ref uint xs, ref uint ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_xs = &xs) + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref long xs, ref long ys, int count) +#endif + public static void PlotStairs(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -27676,22 +67154,19 @@ public static void PlotScatter(string label_id, ref long xs, ref long ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - fixed (long* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref long xs, ref long ys, int count, ImPlotScatterFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -27711,21 +67186,18 @@ public static void PlotScatter(string label_id, ref long xs, ref long ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - fixed (long* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -27745,20 +67217,18 @@ public static void PlotScatter(string label_id, ref long xs, ref long ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - fixed (long* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -27778,19 +67248,17 @@ public static void PlotScatter(string label_id, ref long xs, ref long ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_xs = &xs) + fixed (byte* native_values = &values) { - fixed (long* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref ulong xs, ref ulong ys, int count) +#endif + public static void PlotStairs(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -27810,22 +67278,17 @@ public static void PlotScatter(string label_id, ref ulong xs, ref ulong ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + fixed (byte* native_values = &values) { - fixed (ulong* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref short values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -27845,21 +67308,22 @@ public static void PlotScatter(string label_id, ref ulong xs, ref ulong ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double xscale = 1; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(short); + fixed (short* native_values = &values) { - fixed (ulong* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref short values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -27879,20 +67343,22 @@ public static void PlotScatter(string label_id, ref ulong xs, ref ulong ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + double xscale = 1; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) { - fixed (ulong* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatter(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref short values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -27912,19 +67378,21 @@ public static void PlotScatter(string label_id, ref ulong xs, ref ulong ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_xs = &xs) + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) { - fixed (ulong* native_ys = &ys) + ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotScatter_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotScatterG(string label_id, IntPtr getter, IntPtr data, int count) +#endif + public static void PlotStairs(string label_id, ref short values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -27944,15 +67412,21 @@ public static void PlotScatterG(string label_id, IntPtr getter, IntPtr data, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - void* native_data = (void*)data.ToPointer(); - ImPlotScatterFlags flags = (ImPlotScatterFlags)0; - ImPlotNative.ImPlot_PlotScatterG(native_label_id, getter, native_data, count, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } - public static void PlotScatterG(string label_id, IntPtr getter, IntPtr data, int count, ImPlotScatterFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref short values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -27972,14 +67446,20 @@ public static void PlotScatterG(string label_id, IntPtr getter, IntPtr data, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - void* native_data = (void*)data.ToPointer(); - ImPlotNative.ImPlot_PlotScatterG(native_label_id, getter, native_data, count, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } - public static void PlotShaded(string label_id, ref float values, int count) +#endif + public static void PlotStairs(string label_id, ref short values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -27999,22 +67479,20 @@ public static void PlotShaded(string label_id, ref float values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - double xscale = 1; - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref float values, int count, double yref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -28034,21 +67512,19 @@ public static void PlotShaded(string label_id, ref float values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref float values, int count, double yref, double xscale) +#endif + public static void PlotStairs(string label_id, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -28068,20 +67544,19 @@ public static void PlotShaded(string label_id, ref float values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref float values, int count, double yref, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -28101,19 +67576,18 @@ public static void PlotShaded(string label_id, ref float values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) +#endif + public static void PlotStairs(string label_id, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -28133,18 +67607,18 @@ public static void PlotShaded(string label_id, ref float values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -28164,17 +67638,17 @@ public static void PlotShaded(string label_id, ref float values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_values = &values) + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) +#endif + public static void PlotStairs(string label_id, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -28194,16 +67668,17 @@ public static void PlotShaded(string label_id, ref float values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_values = &values) + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref double values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ushort values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -28223,22 +67698,22 @@ public static void PlotShaded(string label_id, ref double values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; double xscale = 1; double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref double values, int count, double yref) +#endif + public static void PlotStairs(string label_id, ref ushort values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -28260,19 +67735,20 @@ public static void PlotShaded(string label_id, ref double values, int count, dou else { native_label_id = null; } double xscale = 1; double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref double values, int count, double yref, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ushort values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -28293,19 +67769,20 @@ public static void PlotShaded(string label_id, ref double values, int count, dou } else { native_label_id = null; } double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref double values, int count, double yref, double xscale, double xstart) +#endif + public static void PlotStairs(string label_id, ref ushort values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -28325,19 +67802,21 @@ public static void PlotShaded(string label_id, ref double values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ushort values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -28357,18 +67836,20 @@ public static void PlotShaded(string label_id, ref double values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref ushort values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -28388,17 +67869,20 @@ public static void PlotShaded(string label_id, ref double values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_values = &values) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -28418,16 +67902,19 @@ public static void PlotShaded(string label_id, ref double values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_values = &values) + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_doublePtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref sbyte values, int count) +#endif + public static void PlotStairs(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -28447,22 +67934,19 @@ public static void PlotShaded(string label_id, ref sbyte values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - double xscale = 1; - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref sbyte values, int count, double yref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -28482,21 +67966,18 @@ public static void PlotShaded(string label_id, ref sbyte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref sbyte values, int count, double yref, double xscale) +#endif + public static void PlotStairs(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -28516,20 +67997,18 @@ public static void PlotShaded(string label_id, ref sbyte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref sbyte values, int count, double yref, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -28549,19 +68028,17 @@ public static void PlotShaded(string label_id, ref sbyte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref sbyte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) +#endif + public static void PlotStairs(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -28581,18 +68058,17 @@ public static void PlotShaded(string label_id, ref sbyte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref sbyte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref int values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -28612,17 +68088,22 @@ public static void PlotShaded(string label_id, ref sbyte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + double xscale = 1; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref sbyte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) +#endif + public static void PlotStairs(string label_id, ref int values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -28642,16 +68123,22 @@ public static void PlotShaded(string label_id, ref sbyte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_values = &values) + double xscale = 1; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref byte values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref int values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -28671,22 +68158,21 @@ public static void PlotShaded(string label_id, ref byte values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - double xscale = 1; double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(int); + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref byte values, int count, double yref) +#endif + public static void PlotStairs(string label_id, ref int values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -28706,21 +68192,21 @@ public static void PlotShaded(string label_id, ref byte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(int); + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref byte values, int count, double yref, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref int values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -28740,20 +68226,20 @@ public static void PlotShaded(string label_id, ref byte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(int); + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref byte values, int count, double yref, double xscale, double xstart) +#endif + public static void PlotStairs(string label_id, ref int values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -28773,19 +68259,20 @@ public static void PlotShaded(string label_id, ref byte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(int); + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -28806,17 +68293,18 @@ public static void PlotShaded(string label_id, ref byte values, int count, doubl } else { native_label_id = null; } int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(int); + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -28836,17 +68324,19 @@ public static void PlotShaded(string label_id, ref byte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -28866,16 +68356,109 @@ public static void PlotShaded(string label_id, ref byte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_values = &values) + int stride = sizeof(int); + fixed (int* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U8PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref short values, int count) +#endif + public static void PlotStairs(string label_id, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(int); + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotStairs(string label_id, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (int* native_values = &values) + { + ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref uint values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -28895,22 +68478,22 @@ public static void PlotShaded(string label_id, ref short values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; double xscale = 1; double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref short values, int count, double yref) +#endif + public static void PlotStairs(string label_id, ref uint values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -28932,19 +68515,20 @@ public static void PlotShaded(string label_id, ref short values, int count, doub else { native_label_id = null; } double xscale = 1; double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref short values, int count, double yref, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref uint values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -28965,19 +68549,20 @@ public static void PlotShaded(string label_id, ref short values, int count, doub } else { native_label_id = null; } double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref short values, int count, double yref, double xscale, double xstart) +#endif + public static void PlotStairs(string label_id, ref uint values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -28997,19 +68582,21 @@ public static void PlotShaded(string label_id, ref short values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref uint values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -29029,18 +68616,20 @@ public static void PlotShaded(string label_id, ref short values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref uint values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -29060,17 +68649,20 @@ public static void PlotShaded(string label_id, ref short values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_values = &values) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -29090,16 +68682,19 @@ public static void PlotShaded(string label_id, ref short values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_values = &values) + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref ushort values, int count) +#endif + public static void PlotStairs(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -29119,22 +68714,19 @@ public static void PlotShaded(string label_id, ref ushort values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - double xscale = 1; - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref ushort values, int count, double yref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -29154,21 +68746,18 @@ public static void PlotShaded(string label_id, ref ushort values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref ushort values, int count, double yref, double xscale) +#endif + public static void PlotStairs(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -29188,20 +68777,18 @@ public static void PlotShaded(string label_id, ref ushort values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref ushort values, int count, double yref, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -29221,19 +68808,17 @@ public static void PlotShaded(string label_id, ref ushort values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) +#endif + public static void PlotStairs(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -29253,18 +68838,17 @@ public static void PlotShaded(string label_id, ref ushort values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + fixed (uint* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref long values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -29284,17 +68868,22 @@ public static void PlotShaded(string label_id, ref ushort values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + double xscale = 1; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) +#endif + public static void PlotStairs(string label_id, ref long values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -29314,16 +68903,22 @@ public static void PlotShaded(string label_id, ref ushort values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_values = &values) + double xscale = 1; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U16PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref int values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref long values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -29343,22 +68938,21 @@ public static void PlotShaded(string label_id, ref int values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - double xscale = 1; double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(long); + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref int values, int count, double yref) +#endif + public static void PlotStairs(string label_id, ref long values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -29378,21 +68972,21 @@ public static void PlotShaded(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(long); + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref int values, int count, double yref, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref long values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -29412,20 +69006,20 @@ public static void PlotShaded(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(long); + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref int values, int count, double yref, double xscale, double xstart) +#endif + public static void PlotStairs(string label_id, ref long values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -29445,19 +69039,20 @@ public static void PlotShaded(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(long); + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -29478,17 +69073,18 @@ public static void PlotShaded(string label_id, ref int values, int count, double } else { native_label_id = null; } int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(long); + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -29508,17 +69104,19 @@ public static void PlotShaded(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_values = &values) + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -29538,16 +69136,109 @@ public static void PlotShaded(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_values = &values) + int stride = sizeof(long); + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref uint values, int count) +#endif + public static void PlotStairs(string label_id, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + int stride = sizeof(long); + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#endif + public static void PlotStairs(string label_id, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (long* native_values = &values) + { + ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ulong values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -29567,22 +69258,22 @@ public static void PlotShaded(string label_id, ref uint values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; double xscale = 1; double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref uint values, int count, double yref) +#endif + public static void PlotStairs(string label_id, ref ulong values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -29604,19 +69295,20 @@ public static void PlotShaded(string label_id, ref uint values, int count, doubl else { native_label_id = null; } double xscale = 1; double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref uint values, int count, double yref, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ulong values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -29637,19 +69329,20 @@ public static void PlotShaded(string label_id, ref uint values, int count, doubl } else { native_label_id = null; } double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref uint values, int count, double yref, double xscale, double xstart) +#endif + public static void PlotStairs(string label_id, ref ulong values, int count, double xscale) { byte* native_label_id; int label_id_byteCount = 0; @@ -29669,19 +69362,21 @@ public static void PlotShaded(string label_id, ref uint values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + double xstart = 0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ulong values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -29701,18 +69396,20 @@ public static void PlotShaded(string label_id, ref uint values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref ulong values, int count, double xscale, double xstart) { byte* native_label_id; int label_id_byteCount = 0; @@ -29732,17 +69429,20 @@ public static void PlotShaded(string label_id, ref uint values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(uint); - fixed (uint* native_values = &values) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -29762,16 +69462,19 @@ public static void PlotShaded(string label_id, ref uint values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_values = &values) + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_U32PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref long values, int count) +#endif + public static void PlotStairs(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -29791,22 +69494,19 @@ public static void PlotShaded(string label_id, ref long values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - double xscale = 1; - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref long values, int count, double yref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -29826,21 +69526,18 @@ public static void PlotShaded(string label_id, ref long values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref long values, int count, double yref, double xscale) +#endif + public static void PlotStairs(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -29860,20 +69557,18 @@ public static void PlotShaded(string label_id, ref long values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref long values, int count, double yref, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -29893,19 +69588,17 @@ public static void PlotShaded(string label_id, ref long values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) +#endif + public static void PlotStairs(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -29925,18 +69618,17 @@ public static void PlotShaded(string label_id, ref long values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref float xs, ref float ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -29956,17 +69648,23 @@ public static void PlotShaded(string label_id, ref long values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_values = &values) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStairs_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotShaded(string label_id, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) +#endif + public static void PlotStairs(string label_id, ref float xs, ref float ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -29986,16 +69684,23 @@ public static void PlotShaded(string label_id, ref long values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_values = &values) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotShaded_S64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStairs_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotShaded(string label_id, ref ulong values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref float xs, ref float ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -30015,22 +69720,22 @@ public static void PlotShaded(string label_id, ref ulong values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - double xscale = 1; - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStairs_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotShaded(string label_id, ref ulong values, int count, double yref) +#endif + public static void PlotStairs(string label_id, ref float xs, ref float ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -30050,21 +69755,22 @@ public static void PlotShaded(string label_id, ref ulong values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStairs_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotShaded(string label_id, ref ulong values, int count, double yref, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -30084,20 +69790,21 @@ public static void PlotShaded(string label_id, ref ulong values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStairs_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotShaded(string label_id, ref ulong values, int count, double yref, double xscale, double xstart) +#endif + public static void PlotStairs(string label_id, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -30117,19 +69824,21 @@ public static void PlotShaded(string label_id, ref ulong values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStairs_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotShaded(string label_id, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -30149,18 +69858,20 @@ public static void PlotShaded(string label_id, ref ulong values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStairs_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotShaded(string label_id, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -30180,17 +69891,20 @@ public static void PlotShaded(string label_id, ref ulong values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStairs_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotShaded(string label_id, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref double xs, ref double ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -30210,16 +69924,23 @@ public static void PlotShaded(string label_id, ref ulong values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_values = &values) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - ImPlotNative.ImPlot_PlotShaded_U64PtrInt(native_label_id, native_values, count, yref, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStairs_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotShaded(string label_id, ref float xs, ref float ys, int count) +#endif + public static void PlotStairs(string label_id, ref double xs, ref double ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -30239,15 +69960,14 @@ public static void PlotShaded(string label_id, ref float xs, ref float ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30255,7 +69975,8 @@ public static void PlotShaded(string label_id, ref float xs, ref float ys, int c } } } - public static void PlotShaded(string label_id, ref float xs, ref float ys, int count, double yref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -30275,14 +69996,13 @@ public static void PlotShaded(string label_id, ref float xs, ref float ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30290,7 +70010,8 @@ public static void PlotShaded(string label_id, ref float xs, ref float ys, int c } } } - public static void PlotShaded(string label_id, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) +#endif + public static void PlotStairs(string label_id, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -30311,12 +70032,12 @@ public static void PlotShaded(string label_id, ref float xs, ref float ys, int c } else { native_label_id = null; } int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30324,7 +70045,8 @@ public static void PlotShaded(string label_id, ref float xs, ref float ys, int c } } } - public static void PlotShaded(string label_id, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -30344,12 +70066,12 @@ public static void PlotShaded(string label_id, ref float xs, ref float ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30357,7 +70079,8 @@ public static void PlotShaded(string label_id, ref float xs, ref float ys, int c } } } - public static void PlotShaded(string label_id, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) +#endif + public static void PlotStairs(string label_id, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -30377,11 +70100,12 @@ public static void PlotShaded(string label_id, ref float xs, ref float ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30389,7 +70113,8 @@ public static void PlotShaded(string label_id, ref float xs, ref float ys, int c } } } - public static void PlotShaded(string label_id, ref double xs, ref double ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -30409,15 +70134,11 @@ public static void PlotShaded(string label_id, ref double xs, ref double ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(double); fixed (double* native_xs = &xs) { fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30425,7 +70146,8 @@ public static void PlotShaded(string label_id, ref double xs, ref double ys, int } } } - public static void PlotShaded(string label_id, ref double xs, ref double ys, int count, double yref) +#endif + public static void PlotStairs(string label_id, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -30445,14 +70167,11 @@ public static void PlotShaded(string label_id, ref double xs, ref double ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(double); fixed (double* native_xs = &xs) { fixed (double* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30460,7 +70179,8 @@ public static void PlotShaded(string label_id, ref double xs, ref double ys, int } } } - public static void PlotShaded(string label_id, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -30480,13 +70200,14 @@ public static void PlotShaded(string label_id, ref double xs, ref double ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30494,7 +70215,8 @@ public static void PlotShaded(string label_id, ref double xs, ref double ys, int } } } - public static void PlotShaded(string label_id, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref sbyte xs, ref sbyte ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -30514,12 +70236,14 @@ public static void PlotShaded(string label_id, ref double xs, ref double ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_xs = &xs) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30527,7 +70251,8 @@ public static void PlotShaded(string label_id, ref double xs, ref double ys, int } } } - public static void PlotShaded(string label_id, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -30547,11 +70272,13 @@ public static void PlotShaded(string label_id, ref double xs, ref double ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_xs = &xs) + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (sbyte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30559,7 +70286,8 @@ public static void PlotShaded(string label_id, ref double xs, ref double ys, int } } } - public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int count) +#endif + public static void PlotStairs(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -30579,15 +70307,13 @@ public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; int stride = sizeof(sbyte); fixed (sbyte* native_xs = &xs) { fixed (sbyte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30595,7 +70321,8 @@ public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int c } } } - public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int count, double yref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -30615,14 +70342,12 @@ public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; int stride = sizeof(sbyte); fixed (sbyte* native_xs = &xs) { fixed (sbyte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30630,7 +70355,8 @@ public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int c } } } - public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int count, double yref, ImPlotShadedFlags flags) +#endif + public static void PlotStairs(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -30650,13 +70376,12 @@ public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; int stride = sizeof(sbyte); fixed (sbyte* native_xs = &xs) { fixed (sbyte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30664,7 +70389,8 @@ public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int c } } } - public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int count, double yref, ImPlotShadedFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -30684,12 +70410,11 @@ public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); fixed (sbyte* native_xs = &xs) { fixed (sbyte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30697,7 +70422,8 @@ public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int c } } } - public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) +#endif + public static void PlotStairs(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -30721,7 +70447,7 @@ public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int c { fixed (sbyte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30729,7 +70455,8 @@ public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys, int c } } } - public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -30749,15 +70476,14 @@ public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; int stride = sizeof(byte); fixed (byte* native_xs = &xs) { fixed (byte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30765,7 +70491,8 @@ public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int cou } } } - public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int count, double yref) +#endif + public static void PlotStairs(string label_id, ref byte xs, ref byte ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -30785,14 +70512,14 @@ public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; int stride = sizeof(byte); fixed (byte* native_xs = &xs) { fixed (byte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30800,7 +70527,8 @@ public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int cou } } } - public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -30826,7 +70554,7 @@ public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int cou { fixed (byte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30834,7 +70562,8 @@ public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int cou } } } - public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -30854,12 +70583,13 @@ public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + int offset = 0; int stride = sizeof(byte); fixed (byte* native_xs = &xs) { fixed (byte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30867,7 +70597,8 @@ public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int cou } } } - public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -30887,11 +70618,12 @@ public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + int stride = sizeof(byte); fixed (byte* native_xs = &xs) { fixed (byte* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30899,7 +70631,8 @@ public static void PlotShaded(string label_id, ref byte xs, ref byte ys, int cou } } } - public static void PlotShaded(string label_id, ref short xs, ref short ys, int count) +#endif + public static void PlotStairs(string label_id, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -30919,15 +70652,114 @@ public static void PlotShaded(string label_id, ref short xs, ref short ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotStairs_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotStairs_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#endif + public static void PlotStairs(string label_id, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (byte* native_xs = &xs) + { + fixed (byte* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotStairs_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref short xs, ref short ys, int count) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; int stride = sizeof(short); fixed (short* native_xs = &xs) { fixed (short* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30935,7 +70767,8 @@ public static void PlotShaded(string label_id, ref short xs, ref short ys, int c } } } - public static void PlotShaded(string label_id, ref short xs, ref short ys, int count, double yref) +#endif + public static void PlotStairs(string label_id, ref short xs, ref short ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -30955,14 +70788,14 @@ public static void PlotShaded(string label_id, ref short xs, ref short ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; int stride = sizeof(short); fixed (short* native_xs = &xs) { fixed (short* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -30970,7 +70803,8 @@ public static void PlotShaded(string label_id, ref short xs, ref short ys, int c } } } - public static void PlotShaded(string label_id, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref short xs, ref short ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -30996,7 +70830,7 @@ public static void PlotShaded(string label_id, ref short xs, ref short ys, int c { fixed (short* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31004,7 +70838,8 @@ public static void PlotShaded(string label_id, ref short xs, ref short ys, int c } } } - public static void PlotShaded(string label_id, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref short xs, ref short ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -31024,12 +70859,13 @@ public static void PlotShaded(string label_id, ref short xs, ref short ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + int offset = 0; int stride = sizeof(short); fixed (short* native_xs = &xs) { fixed (short* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31037,7 +70873,8 @@ public static void PlotShaded(string label_id, ref short xs, ref short ys, int c } } } - public static void PlotShaded(string label_id, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -31057,11 +70894,12 @@ public static void PlotShaded(string label_id, ref short xs, ref short ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + int stride = sizeof(short); fixed (short* native_xs = &xs) { fixed (short* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31069,7 +70907,8 @@ public static void PlotShaded(string label_id, ref short xs, ref short ys, int c } } } - public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int count) +#endif + public static void PlotStairs(string label_id, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -31089,15 +70928,12 @@ public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (short* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31105,7 +70941,8 @@ public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int } } } - public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int count, double yref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -31125,14 +70962,11 @@ public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + fixed (short* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (short* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31140,7 +70974,41 @@ public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int } } } - public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) +#endif + public static void PlotStairs(string label_id, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* native_label_id; + int label_id_byteCount = 0; + if (label_id != null) + { + label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + native_label_id = Util.Allocate(label_id_byteCount + 1); + } + else + { + byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; + native_label_id = native_label_id_stackBytes; + } + int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); + native_label_id[native_label_id_offset] = 0; + } + else { native_label_id = null; } + fixed (short* native_xs = &xs) + { + fixed (short* native_ys = &ys) + { + ImPlotNative.ImPlot_PlotStairs_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } + } + } + } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -31160,13 +71028,14 @@ public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; int stride = sizeof(ushort); fixed (ushort* native_xs = &xs) { fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31174,7 +71043,8 @@ public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int } } } - public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref ushort xs, ref ushort ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -31194,12 +71064,14 @@ public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; int stride = sizeof(ushort); fixed (ushort* native_xs = &xs) { fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31207,7 +71079,8 @@ public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int } } } - public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -31227,11 +71100,13 @@ public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + int offset = 0; + int stride = sizeof(ushort); fixed (ushort* native_xs = &xs) { fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31239,7 +71114,8 @@ public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys, int } } } - public static void PlotShaded(string label_id, ref int xs, ref int ys, int count) +#endif + public static void PlotStairs(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -31259,15 +71135,13 @@ public static void PlotShaded(string label_id, ref int xs, ref int ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31275,7 +71149,8 @@ public static void PlotShaded(string label_id, ref int xs, ref int ys, int count } } } - public static void PlotShaded(string label_id, ref int xs, ref int ys, int count, double yref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -31295,14 +71170,12 @@ public static void PlotShaded(string label_id, ref int xs, ref int ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31310,7 +71183,8 @@ public static void PlotShaded(string label_id, ref int xs, ref int ys, int count } } } - public static void PlotShaded(string label_id, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) +#endif + public static void PlotStairs(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -31330,13 +71204,12 @@ public static void PlotShaded(string label_id, ref int xs, ref int ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31344,7 +71217,8 @@ public static void PlotShaded(string label_id, ref int xs, ref int ys, int count } } } - public static void PlotShaded(string label_id, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -31364,12 +71238,11 @@ public static void PlotShaded(string label_id, ref int xs, ref int ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_xs = &xs) + fixed (ushort* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31377,7 +71250,8 @@ public static void PlotShaded(string label_id, ref int xs, ref int ys, int count } } } - public static void PlotShaded(string label_id, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) +#endif + public static void PlotStairs(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -31397,11 +71271,11 @@ public static void PlotShaded(string label_id, ref int xs, ref int ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_xs = &xs) + fixed (ushort* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31409,7 +71283,8 @@ public static void PlotShaded(string label_id, ref int xs, ref int ys, int count } } } - public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref int xs, ref int ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -31429,15 +71304,14 @@ public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31445,7 +71319,8 @@ public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int cou } } } - public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int count, double yref) +#endif + public static void PlotStairs(string label_id, ref int xs, ref int ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -31465,14 +71340,14 @@ public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31480,7 +71355,8 @@ public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int cou } } } - public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref int xs, ref int ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -31501,12 +71377,12 @@ public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int cou } else { native_label_id = null; } int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31514,7 +71390,8 @@ public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int cou } } } - public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref int xs, ref int ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -31534,12 +71411,13 @@ public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31547,7 +71425,8 @@ public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int cou } } } - public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -31567,11 +71446,12 @@ public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31579,7 +71459,8 @@ public static void PlotShaded(string label_id, ref uint xs, ref uint ys, int cou } } } - public static void PlotShaded(string label_id, ref long xs, ref long ys, int count) +#endif + public static void PlotStairs(string label_id, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -31599,15 +71480,12 @@ public static void PlotShaded(string label_id, ref long xs, ref long ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31615,7 +71493,8 @@ public static void PlotShaded(string label_id, ref long xs, ref long ys, int cou } } } - public static void PlotShaded(string label_id, ref long xs, ref long ys, int count, double yref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -31635,14 +71514,11 @@ public static void PlotShaded(string label_id, ref long xs, ref long ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + fixed (int* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31650,7 +71526,8 @@ public static void PlotShaded(string label_id, ref long xs, ref long ys, int cou } } } - public static void PlotShaded(string label_id, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) +#endif + public static void PlotStairs(string label_id, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -31670,13 +71547,11 @@ public static void PlotShaded(string label_id, ref long xs, ref long ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + fixed (int* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31684,7 +71559,8 @@ public static void PlotShaded(string label_id, ref long xs, ref long ys, int cou } } } - public static void PlotShaded(string label_id, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -31704,12 +71580,14 @@ public static void PlotShaded(string label_id, ref long xs, ref long ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_xs = &xs) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31717,7 +71595,8 @@ public static void PlotShaded(string label_id, ref long xs, ref long ys, int cou } } } - public static void PlotShaded(string label_id, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) +#endif + public static void PlotStairs(string label_id, ref uint xs, ref uint ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -31737,11 +71616,14 @@ public static void PlotShaded(string label_id, ref long xs, ref long ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_xs = &xs) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31749,7 +71631,8 @@ public static void PlotShaded(string label_id, ref long xs, ref long ys, int cou } } } - public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -31769,15 +71652,13 @@ public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double yref = 0; - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31785,7 +71666,8 @@ public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int c } } } - public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int count, double yref) +#endif + public static void PlotStairs(string label_id, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -31805,14 +71687,13 @@ public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31820,7 +71701,8 @@ public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int c } } } - public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -31840,13 +71722,12 @@ public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31854,7 +71735,8 @@ public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int c } } } - public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -31874,12 +71756,12 @@ public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31887,7 +71769,8 @@ public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int c } } } - public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -31907,11 +71790,11 @@ public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_xs = &xs) + fixed (uint* native_xs = &xs) { - fixed (ulong* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrInt(native_label_id, native_xs, native_ys, count, yref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStairs_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -31919,7 +71802,8 @@ public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys, int c } } } - public static void PlotShaded(string label_id, ref float xs, ref float ys1, ref float ys2, int count) +#endif + public static void PlotStairs(string label_id, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -31939,25 +71823,20 @@ public static void PlotShaded(string label_id, ref float xs, ref float ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + fixed (uint* native_xs = &xs) { - fixed (float* native_ys1 = &ys1) + fixed (uint* native_ys = &ys) { - fixed (float* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref long xs, ref long ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -31977,24 +71856,23 @@ public static void PlotShaded(string label_id, ref float xs, ref float ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (float* native_ys1 = &ys1) + fixed (long* native_ys = &ys) { - fixed (float* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref long xs, ref long ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -32014,23 +71892,23 @@ public static void PlotShaded(string label_id, ref float xs, ref float ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_xs = &xs) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (float* native_ys1 = &ys1) + fixed (long* native_ys = &ys) { - fixed (float* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref long xs, ref long ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -32050,22 +71928,22 @@ public static void PlotShaded(string label_id, ref float xs, ref float ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_xs = &xs) + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (float* native_ys1 = &ys1) + fixed (long* native_ys = &ys) { - fixed (float* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref double xs, ref double ys1, ref double ys2, int count) +#endif + public static void PlotStairs(string label_id, ref long xs, ref long ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -32085,25 +71963,22 @@ public static void PlotShaded(string label_id, ref double xs, ref double ys1, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (double* native_ys1 = &ys1) + fixed (long* native_ys = &ys) { - fixed (double* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -32123,24 +71998,21 @@ public static void PlotShaded(string label_id, ref double xs, ref double ys1, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (double* native_ys1 = &ys1) + fixed (long* native_ys = &ys) { - fixed (double* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -32160,23 +72032,21 @@ public static void PlotShaded(string label_id, ref double xs, ref double ys1, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (double* native_ys1 = &ys1) + fixed (long* native_ys = &ys) { - fixed (double* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -32196,22 +72066,20 @@ public static void PlotShaded(string label_id, ref double xs, ref double ys1, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_xs = &xs) + fixed (long* native_xs = &xs) { - fixed (double* native_ys1 = &ys1) + fixed (long* native_ys = &ys) { - fixed (double* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys1, ref sbyte ys2, int count) +#endif + public static void PlotStairs(string label_id, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -32231,25 +72099,20 @@ public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + fixed (long* native_xs = &xs) { - fixed (sbyte* native_ys1 = &ys1) + fixed (long* native_ys = &ys) { - fixed (sbyte* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys1, ref sbyte ys2, int count, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -32269,24 +72132,23 @@ public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (sbyte* native_ys1 = &ys1) + fixed (ulong* native_ys = &ys) { - fixed (sbyte* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys1, ref sbyte ys2, int count, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref ulong xs, ref ulong ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -32306,23 +72168,23 @@ public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (sbyte* native_ys1 = &ys1) + fixed (ulong* native_ys = &ys) { - fixed (sbyte* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys1, ref sbyte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -32342,22 +72204,22 @@ public static void PlotShaded(string label_id, ref sbyte xs, ref sbyte ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_xs = &xs) + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (sbyte* native_ys1 = &ys1) + fixed (ulong* native_ys = &ys) { - fixed (sbyte* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_S8PtrS8PtrS8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref byte xs, ref byte ys1, ref byte ys2, int count) +#endif + public static void PlotStairs(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -32377,25 +72239,22 @@ public static void PlotShaded(string label_id, ref byte xs, ref byte ys1, ref by native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (byte* native_ys1 = &ys1) + fixed (ulong* native_ys = &ys) { - fixed (byte* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -32415,24 +72274,21 @@ public static void PlotShaded(string label_id, ref byte xs, ref byte ys1, ref by native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (byte* native_ys1 = &ys1) + fixed (ulong* native_ys = &ys) { - fixed (byte* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairs(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -32452,23 +72308,21 @@ public static void PlotShaded(string label_id, ref byte xs, ref byte ys1, ref by native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (byte* native_ys1 = &ys1) + fixed (ulong* native_ys = &ys) { - fixed (byte* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairs(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -32488,22 +72342,20 @@ public static void PlotShaded(string label_id, ref byte xs, ref byte ys1, ref by native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_xs = &xs) + fixed (ulong* native_xs = &xs) { - fixed (byte* native_ys1 = &ys1) + fixed (ulong* native_ys = &ys) { - fixed (byte* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_U8PtrU8PtrU8Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref short xs, ref short ys1, ref short ys2, int count) +#endif + public static void PlotStairs(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -32523,25 +72375,20 @@ public static void PlotShaded(string label_id, ref short xs, ref short ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + fixed (ulong* native_xs = &xs) { - fixed (short* native_ys1 = &ys1) + fixed (ulong* native_ys = &ys) { - fixed (short* native_ys2 = &ys2) + ImPlotNative.ImPlot_PlotStairs_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } } - public static void PlotShaded(string label_id, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairsG(ReadOnlySpan label_id, IntPtr getter, IntPtr data, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -32561,24 +72408,16 @@ public static void PlotShaded(string label_id, ref short xs, ref short ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + void* native_data = (void*)data.ToPointer(); + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + ImPlotNative.ImPlot_PlotStairsG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (short* native_ys1 = &ys1) - { - fixed (short* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } + Util.Free(native_label_id); } } - public static void PlotShaded(string label_id, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStairsG(string label_id, IntPtr getter, IntPtr data, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -32598,23 +72437,16 @@ public static void PlotShaded(string label_id, ref short xs, ref short ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_xs = &xs) + void* native_data = (void*)data.ToPointer(); + ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + ImPlotNative.ImPlot_PlotStairsG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (short* native_ys1 = &ys1) - { - fixed (short* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } + Util.Free(native_label_id); } } - public static void PlotShaded(string label_id, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStairsG(ReadOnlySpan label_id, IntPtr getter, IntPtr data, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -32634,22 +72466,15 @@ public static void PlotShaded(string label_id, ref short xs, ref short ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_xs = &xs) + void* native_data = (void*)data.ToPointer(); + ImPlotNative.ImPlot_PlotStairsG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (short* native_ys1 = &ys1) - { - fixed (short* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_S16PtrS16PtrS16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } + Util.Free(native_label_id); } } - public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys1, ref ushort ys2, int count) +#endif + public static void PlotStairsG(string label_id, IntPtr getter, IntPtr data, int count, ImPlotStairsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -32669,25 +72494,15 @@ public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys1, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + void* native_data = (void*)data.ToPointer(); + ImPlotNative.ImPlot_PlotStairsG(native_label_id, getter, native_data, count, flags); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ushort* native_ys1 = &ys1) - { - fixed (ushort* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } + Util.Free(native_label_id); } } - public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref float values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -32707,24 +72522,23 @@ public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys1, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_values = &values) { - fixed (ushort* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ushort* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref float values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -32744,23 +72558,23 @@ public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys1, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) { - fixed (ushort* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ushort* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref float values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -32780,22 +72594,22 @@ public static void PlotShaded(string label_id, ref ushort xs, ref ushort ys1, re native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_xs = &xs) + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) { - fixed (ushort* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ushort* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_U16PtrU16PtrU16Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref int xs, ref int ys1, ref int ys2, int count) +#endif + public static void PlotStems(string label_id, ref float values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -32815,25 +72629,22 @@ public static void PlotShaded(string label_id, ref int xs, ref int ys1, ref int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_values = &values) { - fixed (int* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (int* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref float values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -32853,24 +72664,21 @@ public static void PlotShaded(string label_id, ref int xs, ref int ys1, ref int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_values = &values) { - fixed (int* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (int* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref float values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -32890,23 +72698,21 @@ public static void PlotShaded(string label_id, ref int xs, ref int ys1, ref int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_xs = &xs) + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) { - fixed (int* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (int* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref float values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -32926,22 +72732,20 @@ public static void PlotShaded(string label_id, ref int xs, ref int ys1, ref int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_xs = &xs) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) { - fixed (int* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (int* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_S32PtrS32PtrS32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref uint xs, ref uint ys1, ref uint ys2, int count) +#endif + public static void PlotStems(string label_id, ref float values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -32961,25 +72765,20 @@ public static void PlotShaded(string label_id, ref uint xs, ref uint ys1, ref ui native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_values = &values) { - fixed (uint* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (uint* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref float values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -33000,23 +72799,18 @@ public static void PlotShaded(string label_id, ref uint xs, ref uint ys1, ref ui } else { native_label_id = null; } int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_values = &values) { - fixed (uint* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (uint* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref float values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -33036,23 +72830,19 @@ public static void PlotShaded(string label_id, ref uint xs, ref uint ys1, ref ui native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int offset = 0; + int stride = sizeof(float); + fixed (float* native_values = &values) { - fixed (uint* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (uint* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref float values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -33072,22 +72862,18 @@ public static void PlotShaded(string label_id, ref uint xs, ref uint ys1, ref ui native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_values = &values) { - fixed (uint* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (uint* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_U32PtrU32PtrU32Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref long xs, ref long ys1, ref long ys2, int count) +#endif + public static void PlotStems(string label_id, ref float values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -33107,25 +72893,18 @@ public static void PlotShaded(string label_id, ref long xs, ref long ys1, ref lo native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(float); + fixed (float* native_values = &values) { - fixed (long* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (long* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref float values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -33145,24 +72924,17 @@ public static void PlotShaded(string label_id, ref long xs, ref long ys1, ref lo native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + fixed (float* native_values = &values) { - fixed (long* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (long* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref float values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -33182,23 +72954,17 @@ public static void PlotShaded(string label_id, ref long xs, ref long ys1, ref lo native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_xs = &xs) + fixed (float* native_values = &values) { - fixed (long* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (long* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref double values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -33218,22 +72984,23 @@ public static void PlotShaded(string label_id, ref long xs, ref long ys1, ref lo native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_xs = &xs) + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) { - fixed (long* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (long* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_S64PtrS64PtrS64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys1, ref ulong ys2, int count) +#endif + public static void PlotStems(string label_id, ref double values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -33253,25 +73020,23 @@ public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_values = &values) { - fixed (ulong* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ulong* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref double values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -33291,24 +73056,22 @@ public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(double); + fixed (double* native_values = &values) { - fixed (ulong* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ulong* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref double values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -33328,23 +73091,22 @@ public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) { - fixed (ulong* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ulong* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref double values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -33364,22 +73126,21 @@ public static void PlotShaded(string label_id, ref ulong xs, ref ulong ys1, ref native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_xs = &xs) + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) { - fixed (ulong* native_ys1 = &ys1) + ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - fixed (ulong* native_ys2 = &ys2) - { - ImPlotNative.ImPlot_PlotShaded_U64PtrU64PtrU64Ptr(native_label_id, native_xs, native_ys1, native_ys2, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } + Util.Free(native_label_id); } } } - public static void PlotShadedG(string label_id, IntPtr getter1, IntPtr data1, IntPtr getter2, IntPtr data2, int count) +#endif + public static void PlotStems(string label_id, ref double values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -33399,16 +73160,21 @@ public static void PlotShadedG(string label_id, IntPtr getter1, IntPtr data1, In native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - void* native_data1 = (void*)data1.ToPointer(); - void* native_data2 = (void*)data2.ToPointer(); - ImPlotShadedFlags flags = (ImPlotShadedFlags)0; - ImPlotNative.ImPlot_PlotShadedG(native_label_id, getter1, native_data1, getter2, native_data2, count, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } - public static void PlotShadedG(string label_id, IntPtr getter1, IntPtr data1, IntPtr getter2, IntPtr data2, int count, ImPlotShadedFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref double values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -33428,15 +73194,20 @@ public static void PlotShadedG(string label_id, IntPtr getter1, IntPtr data1, In native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - void* native_data1 = (void*)data1.ToPointer(); - void* native_data2 = (void*)data2.ToPointer(); - ImPlotNative.ImPlot_PlotShadedG(native_label_id, getter1, native_data1, getter2, native_data2, count, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_values = &values) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } - public static void PlotStairs(string label_id, ref float values, int count) +#endif + public static void PlotStems(string label_id, ref double values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -33456,21 +73227,20 @@ public static void PlotStairs(string label_id, ref float values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(double); + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref float values, int count, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref double values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -33490,20 +73260,19 @@ public static void PlotStairs(string label_id, ref float values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(double); + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref float values, int count, double xscale, double xstart) +#endif + public static void PlotStems(string label_id, ref double values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -33523,19 +73292,19 @@ public static void PlotStairs(string label_id, ref float values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(double); + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref double values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -33555,18 +73324,18 @@ public static void PlotStairs(string label_id, ref float values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(double); + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref double values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -33586,17 +73355,18 @@ public static void PlotStairs(string label_id, ref float values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(double); + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref double values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -33616,16 +73386,17 @@ public static void PlotStairs(string label_id, ref float values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_values = &values) + fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_FloatPtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref double values, int count) +#endif + public static void PlotStems(string label_id, ref double values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -33645,21 +73416,17 @@ public static void PlotStairs(string label_id, ref double values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; - int offset = 0; - int stride = sizeof(double); fixed (double* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref double values, int count, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref sbyte values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -33679,20 +73446,23 @@ public static void PlotStairs(string label_id, ref double values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref double values, int count, double xscale, double xstart) +#endif + public static void PlotStems(string label_id, ref sbyte values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -33712,19 +73482,23 @@ public static void PlotStairs(string label_id, ref double values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref sbyte values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -33744,18 +73518,22 @@ public static void PlotStairs(string label_id, ref double values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref sbyte values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -33775,17 +73553,22 @@ public static void PlotStairs(string label_id, ref double values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_values = &values) + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref sbyte values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -33805,16 +73588,21 @@ public static void PlotStairs(string label_id, ref double values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_values = &values) + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_doublePtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref sbyte values, int count) +#endif + public static void PlotStems(string label_id, ref sbyte values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -33834,21 +73622,21 @@ public static void PlotStairs(string label_id, ref sbyte values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; int stride = sizeof(sbyte); fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref sbyte values, int count, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref sbyte values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -33868,20 +73656,20 @@ public static void PlotStairs(string label_id, ref sbyte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; int stride = sizeof(sbyte); fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref sbyte values, int count, double xscale, double xstart) +#endif + public static void PlotStems(string label_id, ref sbyte values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -33901,19 +73689,20 @@ public static void PlotStairs(string label_id, ref sbyte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; int stride = sizeof(sbyte); fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotStairsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref sbyte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -33937,14 +73726,15 @@ public static void PlotStairs(string label_id, ref sbyte values, int count, doub int stride = sizeof(sbyte); fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref sbyte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -33964,17 +73754,19 @@ public static void PlotStairs(string label_id, ref sbyte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + int offset = 0; int stride = sizeof(sbyte); fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref sbyte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref sbyte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -33994,16 +73786,18 @@ public static void PlotStairs(string label_id, ref sbyte values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + int stride = sizeof(sbyte); fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref byte values, int count) +#endif + public static void PlotStems(string label_id, ref sbyte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -34023,21 +73817,18 @@ public static void PlotStairs(string label_id, ref byte values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref byte values, int count, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref sbyte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -34057,20 +73848,17 @@ public static void PlotStairs(string label_id, ref byte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref byte values, int count, double xscale, double xstart) +#endif + public static void PlotStems(string label_id, ref sbyte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -34090,19 +73878,17 @@ public static void PlotStairs(string label_id, ref byte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + fixed (sbyte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref byte values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -34122,18 +73908,23 @@ public static void PlotStairs(string label_id, ref byte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; int stride = sizeof(byte); fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref byte values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -34153,17 +73944,23 @@ public static void PlotStairs(string label_id, ref byte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; int stride = sizeof(byte); fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref byte values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -34183,16 +73980,22 @@ public static void PlotStairs(string label_id, ref byte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(byte); fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U8PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref short values, int count) +#endif + public static void PlotStems(string label_id, ref byte values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -34212,21 +74015,22 @@ public static void PlotStairs(string label_id, ref short values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref short values, int count, double xscale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref byte values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -34246,20 +74050,21 @@ public static void PlotStairs(string label_id, ref short values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref short values, int count, double xscale, double xstart) +#endif + public static void PlotStems(string label_id, ref byte values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -34279,19 +74084,21 @@ public static void PlotStairs(string label_id, ref short values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref byte values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -34311,48 +74118,20 @@ public static void PlotStairs(string label_id, ref short values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) - { - ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - public static void PlotStairs(string label_id, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* native_label_id; - int label_id_byteCount = 0; - if (label_id != null) - { - label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - native_label_id = Util.Allocate(label_id_byteCount + 1); - } - else - { - byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; - native_label_id = native_label_id_stackBytes; - } - int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); - native_label_id[native_label_id_offset] = 0; - } - else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref byte values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -34372,16 +74151,20 @@ public static void PlotStairs(string label_id, ref short values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_values = &values) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ushort values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref byte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -34401,21 +74184,19 @@ public static void PlotStairs(string label_id, ref ushort values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ushort values, int count, double xscale) +#endif + public static void PlotStems(string label_id, ref byte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -34435,20 +74216,19 @@ public static void PlotStairs(string label_id, ref ushort values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ushort values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref byte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -34468,19 +74248,18 @@ public static void PlotStairs(string label_id, ref ushort values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref byte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -34500,18 +74279,18 @@ public static void PlotStairs(string label_id, ref ushort values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref byte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -34531,17 +74310,17 @@ public static void PlotStairs(string label_id, ref ushort values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref byte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -34561,16 +74340,17 @@ public static void PlotStairs(string label_id, ref ushort values, int count, dou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_values = &values) + fixed (byte* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U16PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref int values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref short values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -34590,21 +74370,23 @@ public static void PlotStairs(string label_id, ref int values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref int values, int count, double xscale) +#endif + public static void PlotStems(string label_id, ref short values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -34624,20 +74406,23 @@ public static void PlotStairs(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref int values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref short values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -34657,19 +74442,22 @@ public static void PlotStairs(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref short values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -34689,18 +74477,22 @@ public static void PlotStairs(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref short values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -34720,17 +74512,21 @@ public static void PlotStairs(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_values = &values) + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref short values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -34750,16 +74546,21 @@ public static void PlotStairs(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_values = &values) + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref uint values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref short values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -34779,21 +74580,20 @@ public static void PlotStairs(string label_id, ref uint values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref uint values, int count, double xscale) +#endif + public static void PlotStems(string label_id, ref short values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -34813,20 +74613,20 @@ public static void PlotStairs(string label_id, ref uint values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref uint values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref short values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -34846,19 +74646,19 @@ public static void PlotStairs(string label_id, ref uint values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref short values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -34879,17 +74679,18 @@ public static void PlotStairs(string label_id, ref uint values, int count, doubl } else { native_label_id = null; } int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref short values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -34909,17 +74710,18 @@ public static void PlotStairs(string label_id, ref uint values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref short values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -34939,16 +74741,18 @@ public static void PlotStairs(string label_id, ref uint values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_values = &values) + int stride = sizeof(short); + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U32PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref long values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref short values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -34968,21 +74772,17 @@ public static void PlotStairs(string label_id, ref long values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref long values, int count, double xscale) +#endif + public static void PlotStems(string label_id, ref short values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -35002,20 +74802,17 @@ public static void PlotStairs(string label_id, ref long values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + fixed (short* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref long values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ushort values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -35035,19 +74832,23 @@ public static void PlotStairs(string label_id, ref long values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref ushort values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -35067,77 +74868,23 @@ public static void PlotStairs(string label_id, ref long values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) - { - ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - public static void PlotStairs(string label_id, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* native_label_id; - int label_id_byteCount = 0; - if (label_id != null) - { - label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - native_label_id = Util.Allocate(label_id_byteCount + 1); - } - else - { - byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; - native_label_id = native_label_id_stackBytes; - } - int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); - native_label_id[native_label_id_offset] = 0; - } - else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_values = &values) - { - ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } - } - } - public static void PlotStairs(string label_id, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* native_label_id; - int label_id_byteCount = 0; - if (label_id != null) - { - label_id_byteCount = Encoding.UTF8.GetByteCount(label_id); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - native_label_id = Util.Allocate(label_id_byteCount + 1); - } - else - { - byte* native_label_id_stackBytes = stackalloc byte[label_id_byteCount + 1]; - native_label_id = native_label_id_stackBytes; - } - int native_label_id_offset = Util.GetUtf8(label_id, native_label_id, label_id_byteCount); - native_label_id[native_label_id_offset] = 0; - } - else { native_label_id = null; } - fixed (long* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_S64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ulong values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ushort values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -35157,21 +74904,22 @@ public static void PlotStairs(string label_id, ref ulong values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xscale = 1; - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ulong values, int count, double xscale) +#endif + public static void PlotStems(string label_id, ref ushort values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -35191,20 +74939,22 @@ public static void PlotStairs(string label_id, ref ulong values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double xstart = 0; - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ulong values, int count, double xscale, double xstart) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ushort values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -35224,19 +74974,21 @@ public static void PlotStairs(string label_id, ref ulong values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref ushort values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -35256,18 +75008,21 @@ public static void PlotStairs(string label_id, ref ulong values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ushort values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -35287,17 +75042,20 @@ public static void PlotStairs(string label_id, ref ulong values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref ushort values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -35317,16 +75075,20 @@ public static void PlotStairs(string label_id, ref ulong values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_values = &values) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - ImPlotNative.ImPlot_PlotStairs_U64PtrInt(native_label_id, native_values, count, xscale, xstart, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref float xs, ref float ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ushort values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -35346,22 +75108,19 @@ public static void PlotStairs(string label_id, ref float xs, ref float ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref float xs, ref float ys, int count, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref ushort values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -35382,20 +75141,18 @@ public static void PlotStairs(string label_id, ref float xs, ref float ys, int c } else { native_label_id = null; } int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ushort values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -35415,20 +75172,18 @@ public static void PlotStairs(string label_id, ref float xs, ref float ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref ushort values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -35448,19 +75203,18 @@ public static void PlotStairs(string label_id, ref float xs, ref float ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_values = &values) { - fixed (float* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref double xs, ref double ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ushort values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -35480,22 +75234,17 @@ public static void PlotStairs(string label_id, ref double xs, ref double ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; - int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + fixed (ushort* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref ushort values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -35515,21 +75264,17 @@ public static void PlotStairs(string label_id, ref double xs, ref double ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + fixed (ushort* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref int values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -35549,20 +75294,23 @@ public static void PlotStairs(string label_id, ref double xs, ref double ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_xs = &xs) + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref int values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -35582,19 +75330,23 @@ public static void PlotStairs(string label_id, ref double xs, ref double ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_xs = &xs) + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (double* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref sbyte xs, ref sbyte ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref int values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -35614,22 +75366,22 @@ public static void PlotStairs(string label_id, ref sbyte xs, ref sbyte ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref int values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -35649,21 +75401,22 @@ public static void PlotStairs(string label_id, ref sbyte xs, ref sbyte ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotStairsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref int values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -35683,20 +75436,21 @@ public static void PlotStairs(string label_id, ref sbyte xs, ref sbyte ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref sbyte xs, ref sbyte ys, int count, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref int values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -35716,19 +75470,21 @@ public static void PlotStairs(string label_id, ref sbyte xs, ref sbyte ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_xs = &xs) + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (sbyte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref byte xs, ref byte ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref int values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -35748,22 +75504,20 @@ public static void PlotStairs(string label_id, ref byte xs, ref byte ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref int values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -35783,21 +75537,20 @@ public static void PlotStairs(string label_id, ref byte xs, ref byte ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref int values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -35817,20 +75570,19 @@ public static void PlotStairs(string label_id, ref byte xs, ref byte ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref int values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -35850,19 +75602,19 @@ public static void PlotStairs(string label_id, ref byte xs, ref byte ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_xs = &xs) + int offset = 0; + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (byte* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref short xs, ref short ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref int values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -35882,22 +75634,18 @@ public static void PlotStairs(string label_id, ref short xs, ref short ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; - int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref short xs, ref short ys, int count, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref int values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -35917,21 +75665,18 @@ public static void PlotStairs(string label_id, ref short xs, ref short ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref int values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -35951,20 +75696,17 @@ public static void PlotStairs(string label_id, ref short xs, ref short ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_xs = &xs) + fixed (int* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref int values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -35984,19 +75726,17 @@ public static void PlotStairs(string label_id, ref short xs, ref short ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_xs = &xs) + fixed (int* native_values = &values) { - fixed (short* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ushort xs, ref ushort ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref uint values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -36016,22 +75756,23 @@ public static void PlotStairs(string label_id, ref ushort xs, ref ushort ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (ushort* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref uint values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -36051,21 +75792,23 @@ public static void PlotStairs(string label_id, ref ushort xs, ref ushort ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (ushort* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref uint values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -36085,20 +75828,22 @@ public static void PlotStairs(string label_id, ref ushort xs, ref ushort ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (ushort* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref uint values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -36118,19 +75863,22 @@ public static void PlotStairs(string label_id, ref ushort xs, ref ushort ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_xs = &xs) + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (ushort* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref int xs, ref int ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref uint values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -36150,22 +75898,21 @@ public static void PlotStairs(string label_id, ref int xs, ref int ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (int* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref int xs, ref int ys, int count, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref uint values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -36185,21 +75932,21 @@ public static void PlotStairs(string label_id, ref int xs, ref int ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (int* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref uint values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -36219,20 +75966,20 @@ public static void PlotStairs(string label_id, ref int xs, ref int ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_xs = &xs) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (int* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref uint values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -36252,19 +75999,20 @@ public static void PlotStairs(string label_id, ref int xs, ref int ys, int count native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_xs = &xs) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (int* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref uint xs, ref uint ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref uint values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -36284,22 +76032,19 @@ public static void PlotStairs(string label_id, ref uint xs, ref uint ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; int offset = 0; int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + fixed (uint* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref uint values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -36321,19 +76066,17 @@ public static void PlotStairs(string label_id, ref uint xs, ref uint ys, int cou else { native_label_id = null; } int offset = 0; int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + fixed (uint* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref uint values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -36354,19 +76097,17 @@ public static void PlotStairs(string label_id, ref uint xs, ref uint ys, int cou } else { native_label_id = null; } int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + fixed (uint* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref uint values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -36386,19 +76127,18 @@ public static void PlotStairs(string label_id, ref uint xs, ref uint ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_values = &values) { - fixed (uint* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref long xs, ref long ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref uint values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -36418,22 +76158,17 @@ public static void PlotStairs(string label_id, ref long xs, ref long ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + fixed (uint* native_values = &values) { - fixed (long* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref long xs, ref long ys, int count, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref uint values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -36453,21 +76188,17 @@ public static void PlotStairs(string label_id, ref long xs, ref long ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + fixed (uint* native_values = &values) { - fixed (long* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref long values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -36487,20 +76218,23 @@ public static void PlotStairs(string label_id, ref long xs, ref long ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; int stride = sizeof(long); - fixed (long* native_xs = &xs) + fixed (long* native_values = &values) { - fixed (long* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref long values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -36520,19 +76254,23 @@ public static void PlotStairs(string label_id, ref long xs, ref long ys, int cou native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_xs = &xs) + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) { - fixed (long* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ulong xs, ref ulong ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref long values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -36552,22 +76290,22 @@ public static void PlotStairs(string label_id, ref ulong xs, ref ulong ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_values = &values) { - fixed (ulong* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref long values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -36587,21 +76325,22 @@ public static void PlotStairs(string label_id, ref ulong xs, ref ulong ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_values = &values) { - fixed (ulong* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref long values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -36621,20 +76360,21 @@ public static void PlotStairs(string label_id, ref ulong xs, ref ulong ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_xs = &xs) + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) { - fixed (ulong* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairs(string label_id, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref long values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -36654,19 +76394,21 @@ public static void PlotStairs(string label_id, ref ulong xs, ref ulong ys, int c native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_xs = &xs) + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) { - fixed (ulong* native_ys = &ys) + ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) { - ImPlotNative.ImPlot_PlotStairs_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) - { - Util.Free(native_label_id); - } + Util.Free(native_label_id); } } } - public static void PlotStairsG(string label_id, IntPtr getter, IntPtr data, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref long values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -36686,15 +76428,20 @@ public static void PlotStairsG(string label_id, IntPtr getter, IntPtr data, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - void* native_data = (void*)data.ToPointer(); - ImPlotStairsFlags flags = (ImPlotStairsFlags)0; - ImPlotNative.ImPlot_PlotStairsG(native_label_id, getter, native_data, count, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } - public static void PlotStairsG(string label_id, IntPtr getter, IntPtr data, int count, ImPlotStairsFlags flags) +#endif + public static void PlotStems(string label_id, ref long values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -36714,14 +76461,20 @@ public static void PlotStairsG(string label_id, IntPtr getter, IntPtr data, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - void* native_data = (void*)data.ToPointer(); - ImPlotNative.ImPlot_PlotStairsG(native_label_id, getter, native_data, count, flags); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_values = &values) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } - public static void PlotStems(string label_id, ref float values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref long values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -36741,22 +76494,19 @@ public static void PlotStems(string label_id, ref float values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double @ref = 0; - double scale = 1; - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(long); + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref float values, int count, double @ref) +#endif + public static void PlotStems(string label_id, ref long values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -36776,21 +76526,19 @@ public static void PlotStems(string label_id, ref float values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale = 1; - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(long); + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref float values, int count, double @ref, double scale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref long values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -36810,20 +76558,18 @@ public static void PlotStems(string label_id, ref float values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(long); + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref float values, int count, double @ref, double scale, double start) +#endif + public static void PlotStems(string label_id, ref long values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -36843,19 +76589,18 @@ public static void PlotStems(string label_id, ref float values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + int stride = sizeof(long); + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref float values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref long values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -36875,18 +76620,17 @@ public static void PlotStems(string label_id, ref float values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(float); - fixed (float* native_values = &values) + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref float values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref long values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -36906,17 +76650,17 @@ public static void PlotStems(string label_id, ref float values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_values = &values) + fixed (long* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref float values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ulong values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -36936,16 +76680,23 @@ public static void PlotStems(string label_id, ref float values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_values = &values) + double @ref = 0; + double scale = 1; + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_FloatPtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref double values, int count) +#endif + public static void PlotStems(string label_id, ref ulong values, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -36970,17 +76721,18 @@ public static void PlotStems(string label_id, ref double values, int count) double start = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref double values, int count, double @ref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ulong values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -37004,17 +76756,18 @@ public static void PlotStems(string label_id, ref double values, int count, doub double start = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref double values, int count, double @ref, double scale) +#endif + public static void PlotStems(string label_id, ref ulong values, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -37034,20 +76787,22 @@ public static void PlotStems(string label_id, ref double values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double scale = 1; double start = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref double values, int count, double @ref, double scale, double start) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ulong values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -37067,19 +76822,21 @@ public static void PlotStems(string label_id, ref double values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double start = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref double values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) +#endif + public static void PlotStems(string label_id, ref ulong values, int count, double @ref, double scale) { byte* native_label_id; int label_id_byteCount = 0; @@ -37099,18 +76856,21 @@ public static void PlotStems(string label_id, ref double values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double start = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref double values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ulong values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -37130,17 +76890,20 @@ public static void PlotStems(string label_id, ref double values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_values = &values) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref double values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref ulong values, int count, double @ref, double scale, double start) { byte* native_label_id; int label_id_byteCount = 0; @@ -37160,16 +76923,20 @@ public static void PlotStems(string label_id, ref double values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_values = &values) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_doublePtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref sbyte values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ulong values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -37189,22 +76956,19 @@ public static void PlotStems(string label_id, ref sbyte values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double @ref = 0; - double scale = 1; - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref sbyte values, int count, double @ref) +#endif + public static void PlotStems(string label_id, ref ulong values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -37224,21 +76988,19 @@ public static void PlotStems(string label_id, ref sbyte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale = 1; - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref sbyte values, int count, double @ref, double scale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ulong values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -37258,20 +77020,18 @@ public static void PlotStems(string label_id, ref sbyte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref sbyte values, int count, double @ref, double scale, double start) +#endif + public static void PlotStems(string label_id, ref ulong values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -37291,19 +77051,18 @@ public static void PlotStems(string label_id, ref sbyte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + int stride = sizeof(ulong); + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref sbyte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ulong values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -37323,18 +77082,17 @@ public static void PlotStems(string label_id, ref sbyte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref sbyte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref ulong values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -37354,17 +77112,17 @@ public static void PlotStems(string label_id, ref sbyte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_values = &values) + fixed (ulong* native_values = &values) { - ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); } } } - public static void PlotStems(string label_id, ref sbyte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref float xs, ref float ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -37384,16 +77142,24 @@ public static void PlotStems(string label_id, ref sbyte values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_values = &values) + double @ref = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref byte values, int count) +#endif + public static void PlotStems(string label_id, ref float xs, ref float ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -37414,21 +77180,23 @@ public static void PlotStems(string label_id, ref byte values, int count) } else { native_label_id = null; } double @ref = 0; - double scale = 1; - double start = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref byte values, int count, double @ref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref float xs, ref float ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -37448,21 +77216,23 @@ public static void PlotStems(string label_id, ref byte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale = 1; - double start = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref byte values, int count, double @ref, double scale) +#endif + public static void PlotStems(string label_id, ref float xs, ref float ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -37482,20 +77252,23 @@ public static void PlotStems(string label_id, ref byte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double start = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref byte values, int count, double @ref, double scale, double start) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref float xs, ref float ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -37515,19 +77288,22 @@ public static void PlotStems(string label_id, ref byte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref byte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) +#endif + public static void PlotStems(string label_id, ref float xs, ref float ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -37548,17 +77324,21 @@ public static void PlotStems(string label_id, ref byte values, int count, double } else { native_label_id = null; } int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref byte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref float xs, ref float ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -37578,17 +77358,21 @@ public static void PlotStems(string label_id, ref byte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_values = &values) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref byte values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref float xs, ref float ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -37608,16 +77392,21 @@ public static void PlotStems(string label_id, ref byte values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_values = &values) + int stride = sizeof(float); + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U8PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref short values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref float xs, ref float ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -37637,22 +77426,20 @@ public static void PlotStems(string label_id, ref short values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double @ref = 0; - double scale = 1; - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref short values, int count, double @ref) +#endif + public static void PlotStems(string label_id, ref float xs, ref float ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -37672,21 +77459,20 @@ public static void PlotStems(string label_id, ref short values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale = 1; - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + fixed (float* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (float* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref short values, int count, double @ref, double scale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref double xs, ref double ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -37706,20 +77492,24 @@ public static void PlotStems(string label_id, ref short values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double start = 0; + double @ref = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref short values, int count, double @ref, double scale, double start) +#endif + public static void PlotStems(string label_id, ref double xs, ref double ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -37739,19 +77529,24 @@ public static void PlotStems(string label_id, ref short values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double @ref = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref short values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref double xs, ref double ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -37771,18 +77566,23 @@ public static void PlotStems(string label_id, ref short values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_values = &values) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref short values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref double xs, ref double ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -37802,17 +77602,23 @@ public static void PlotStems(string label_id, ref short values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_values = &values) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref short values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref double xs, ref double ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -37832,16 +77638,22 @@ public static void PlotStems(string label_id, ref short values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_values = &values) + int offset = 0; + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref ushort values, int count) +#endif + public static void PlotStems(string label_id, ref double xs, ref double ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -37861,22 +77673,22 @@ public static void PlotStems(string label_id, ref ushort values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double @ref = 0; - double scale = 1; - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref ushort values, int count, double @ref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref double xs, ref double ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -37896,21 +77708,21 @@ public static void PlotStems(string label_id, ref ushort values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale = 1; - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref ushort values, int count, double @ref, double scale) +#endif + public static void PlotStems(string label_id, ref double xs, ref double ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -37930,20 +77742,21 @@ public static void PlotStems(string label_id, ref ushort values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + int stride = sizeof(double); + fixed (double* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref ushort values, int count, double @ref, double scale, double start) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref double xs, ref double ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -37963,19 +77776,20 @@ public static void PlotStems(string label_id, ref ushort values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + fixed (double* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref ushort values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) +#endif + public static void PlotStems(string label_id, ref double xs, ref double ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -37995,18 +77809,20 @@ public static void PlotStems(string label_id, ref ushort values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + fixed (double* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (double* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref ushort values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -38026,17 +77842,24 @@ public static void PlotStems(string label_id, ref ushort values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_values = &values) + double @ref = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref ushort values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -38056,16 +77879,24 @@ public static void PlotStems(string label_id, ref ushort values, int count, doub native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_values = &values) + double @ref = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U16PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref int values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -38085,22 +77916,23 @@ public static void PlotStems(string label_id, ref int values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double @ref = 0; - double scale = 1; - double start = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref int values, int count, double @ref) +#endif + public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -38120,21 +77952,23 @@ public static void PlotStems(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale = 1; - double start = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref int values, int count, double @ref, double scale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -38154,20 +77988,22 @@ public static void PlotStems(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref int values, int count, double @ref, double scale, double start) +#endif + public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -38187,19 +78023,22 @@ public static void PlotStems(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref int values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -38219,18 +78058,21 @@ public static void PlotStems(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref int values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -38250,17 +78092,21 @@ public static void PlotStems(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_values = &values) + int stride = sizeof(sbyte); + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref int values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref sbyte xs, ref sbyte ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -38280,16 +78126,20 @@ public static void PlotStems(string label_id, ref int values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_values = &values) + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref uint values, int count) +#endif + public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -38309,22 +78159,20 @@ public static void PlotStems(string label_id, ref uint values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double @ref = 0; - double scale = 1; - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + fixed (sbyte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (sbyte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref uint values, int count, double @ref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -38344,21 +78192,24 @@ public static void PlotStems(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale = 1; - double start = 0; + double @ref = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref uint values, int count, double @ref, double scale) +#endif + public static void PlotStems(string label_id, ref byte xs, ref byte ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -38378,20 +78229,24 @@ public static void PlotStems(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double start = 0; + double @ref = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref uint values, int count, double @ref, double scale, double start) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -38413,17 +78268,21 @@ public static void PlotStems(string label_id, ref uint values, int count, double else { native_label_id = null; } ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref uint values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) +#endif + public static void PlotStems(string label_id, ref byte xs, ref byte ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -38443,18 +78302,23 @@ public static void PlotStems(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref uint values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -38474,17 +78338,22 @@ public static void PlotStems(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(uint); - fixed (uint* native_values = &values) + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref uint values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref byte xs, ref byte ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -38504,16 +78373,22 @@ public static void PlotStems(string label_id, ref uint values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_values = &values) + int offset = 0; + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U32PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref long values, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -38533,22 +78408,21 @@ public static void PlotStems(string label_id, ref long values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double @ref = 0; - double scale = 1; - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref long values, int count, double @ref) +#endif + public static void PlotStems(string label_id, ref byte xs, ref byte ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -38568,21 +78442,21 @@ public static void PlotStems(string label_id, ref long values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale = 1; - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(byte); + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref long values, int count, double @ref, double scale) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref byte xs, ref byte ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -38602,20 +78476,20 @@ public static void PlotStems(string label_id, ref long values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref long values, int count, double @ref, double scale, double start) +#endif + public static void PlotStems(string label_id, ref byte xs, ref byte ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -38635,19 +78509,20 @@ public static void PlotStems(string label_id, ref long values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + fixed (byte* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (byte* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref long values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref short xs, ref short ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -38667,18 +78542,24 @@ public static void PlotStems(string label_id, ref long values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double @ref = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref long values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref short xs, ref short ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -38698,17 +78579,24 @@ public static void PlotStems(string label_id, ref long values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_values = &values) + double @ref = 0; + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref long values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref short xs, ref short ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -38728,16 +78616,23 @@ public static void PlotStems(string label_id, ref long values, int count, double native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_values = &values) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_S64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref ulong values, int count) +#endif + public static void PlotStems(string label_id, ref short xs, ref short ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -38757,22 +78652,23 @@ public static void PlotStems(string label_id, ref ulong values, int count) native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double @ref = 0; - double scale = 1; - double start = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref ulong values, int count, double @ref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref short xs, ref short ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -38792,21 +78688,22 @@ public static void PlotStems(string label_id, ref ulong values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double scale = 1; - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref ulong values, int count, double @ref, double scale) +#endif + public static void PlotStems(string label_id, ref short xs, ref short ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -38826,20 +78723,22 @@ public static void PlotStems(string label_id, ref ulong values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double start = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref ulong values, int count, double @ref, double scale, double start) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref short xs, ref short ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -38859,19 +78758,21 @@ public static void PlotStems(string label_id, ref ulong values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref ulong values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags) +#endif + public static void PlotStems(string label_id, ref short xs, ref short ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -38891,18 +78792,21 @@ public static void PlotStems(string label_id, ref ulong values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + int stride = sizeof(short); + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref ulong values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref short xs, ref short ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -38922,17 +78826,20 @@ public static void PlotStems(string label_id, ref ulong values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); - fixed (ulong* native_values = &values) + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref ulong values, int count, double @ref, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref short xs, ref short ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -38952,16 +78859,20 @@ public static void PlotStems(string label_id, ref ulong values, int count, doubl native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ulong* native_values = &values) + fixed (short* native_xs = &xs) { - ImPlotNative.ImPlot_PlotStems_U64PtrInt(native_label_id, native_values, count, @ref, scale, start, flags, offset, stride); - if (label_id_byteCount > Util.StackAllocationSizeLimit) + fixed (short* native_ys = &ys) { - Util.Free(native_label_id); + ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + if (label_id_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label_id); + } } } } - public static void PlotStems(string label_id, ref float xs, ref float ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -38984,12 +78895,12 @@ public static void PlotStems(string label_id, ref float xs, ref float ys, int co double @ref = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -38997,7 +78908,8 @@ public static void PlotStems(string label_id, ref float xs, ref float ys, int co } } } - public static void PlotStems(string label_id, ref float xs, ref float ys, int count, double @ref) +#endif + public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -39017,14 +78929,15 @@ public static void PlotStems(string label_id, ref float xs, ref float ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double @ref = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39032,7 +78945,8 @@ public static void PlotStems(string label_id, ref float xs, ref float ys, int co } } } - public static void PlotStems(string label_id, ref float xs, ref float ys, int count, double @ref, ImPlotStemsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -39052,13 +78966,14 @@ public static void PlotStems(string label_id, ref float xs, ref float ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(float); - fixed (float* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39066,7 +78981,8 @@ public static void PlotStems(string label_id, ref float xs, ref float ys, int co } } } - public static void PlotStems(string label_id, ref float xs, ref float ys, int count, double @ref, ImPlotStemsFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -39086,12 +79002,14 @@ public static void PlotStems(string label_id, ref float xs, ref float ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(float); - fixed (float* native_xs = &xs) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39099,7 +79017,8 @@ public static void PlotStems(string label_id, ref float xs, ref float ys, int co } } } - public static void PlotStems(string label_id, ref float xs, ref float ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -39119,11 +79038,13 @@ public static void PlotStems(string label_id, ref float xs, ref float ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (float* native_xs = &xs) + int offset = 0; + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - fixed (float* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_FloatPtrFloatPtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39131,7 +79052,8 @@ public static void PlotStems(string label_id, ref float xs, ref float ys, int co } } } - public static void PlotStems(string label_id, ref double xs, ref double ys, int count) +#endif + public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -39151,15 +79073,13 @@ public static void PlotStems(string label_id, ref double xs, ref double ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double @ref = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39167,7 +79087,8 @@ public static void PlotStems(string label_id, ref double xs, ref double ys, int } } } - public static void PlotStems(string label_id, ref double xs, ref double ys, int count, double @ref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -39187,14 +79108,12 @@ public static void PlotStems(string label_id, ref double xs, ref double ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39202,7 +79121,8 @@ public static void PlotStems(string label_id, ref double xs, ref double ys, int } } } - public static void PlotStems(string label_id, ref double xs, ref double ys, int count, double @ref, ImPlotStemsFlags flags) +#endif + public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -39222,13 +79142,12 @@ public static void PlotStems(string label_id, ref double xs, ref double ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(double); - fixed (double* native_xs = &xs) + int stride = sizeof(ushort); + fixed (ushort* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39236,7 +79155,8 @@ public static void PlotStems(string label_id, ref double xs, ref double ys, int } } } - public static void PlotStems(string label_id, ref double xs, ref double ys, int count, double @ref, ImPlotStemsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ushort xs, ref ushort ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -39256,12 +79176,11 @@ public static void PlotStems(string label_id, ref double xs, ref double ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(double); - fixed (double* native_xs = &xs) + fixed (ushort* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39269,7 +79188,8 @@ public static void PlotStems(string label_id, ref double xs, ref double ys, int } } } - public static void PlotStems(string label_id, ref double xs, ref double ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -39289,11 +79209,11 @@ public static void PlotStems(string label_id, ref double xs, ref double ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (double* native_xs = &xs) + fixed (ushort* native_xs = &xs) { - fixed (double* native_ys = &ys) + fixed (ushort* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_doublePtrdoublePtr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39301,7 +79221,8 @@ public static void PlotStems(string label_id, ref double xs, ref double ys, int } } } - public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref int xs, ref int ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -39324,12 +79245,12 @@ public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int co double @ref = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39337,7 +79258,8 @@ public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int co } } } - public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int count, double @ref) +#endif + public static void PlotStems(string label_id, ref int xs, ref int ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -39357,14 +79279,15 @@ public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double @ref = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39372,7 +79295,8 @@ public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int co } } } - public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int count, double @ref, ImPlotStemsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref int xs, ref int ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -39392,13 +79316,14 @@ public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39406,7 +79331,8 @@ public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int co } } } - public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int count, double @ref, ImPlotStemsFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref int xs, ref int ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -39426,12 +79352,14 @@ public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(sbyte); - fixed (sbyte* native_xs = &xs) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39439,7 +79367,8 @@ public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int co } } } - public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref int xs, ref int ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -39459,11 +79388,13 @@ public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (sbyte* native_xs = &xs) + int offset = 0; + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (sbyte* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S8PtrS8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39471,7 +79402,8 @@ public static void PlotStems(string label_id, ref sbyte xs, ref sbyte ys, int co } } } - public static void PlotStems(string label_id, ref byte xs, ref byte ys, int count) +#endif + public static void PlotStems(string label_id, ref int xs, ref int ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -39491,15 +79423,13 @@ public static void PlotStems(string label_id, ref byte xs, ref byte ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double @ref = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39507,7 +79437,8 @@ public static void PlotStems(string label_id, ref byte xs, ref byte ys, int coun } } } - public static void PlotStems(string label_id, ref byte xs, ref byte ys, int count, double @ref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref int xs, ref int ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -39527,14 +79458,12 @@ public static void PlotStems(string label_id, ref byte xs, ref byte ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39542,7 +79471,8 @@ public static void PlotStems(string label_id, ref byte xs, ref byte ys, int coun } } } - public static void PlotStems(string label_id, ref byte xs, ref byte ys, int count, double @ref, ImPlotStemsFlags flags) +#endif + public static void PlotStems(string label_id, ref int xs, ref int ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -39562,13 +79492,12 @@ public static void PlotStems(string label_id, ref byte xs, ref byte ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + int stride = sizeof(int); + fixed (int* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39576,7 +79505,8 @@ public static void PlotStems(string label_id, ref byte xs, ref byte ys, int coun } } } - public static void PlotStems(string label_id, ref byte xs, ref byte ys, int count, double @ref, ImPlotStemsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref int xs, ref int ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -39596,12 +79526,11 @@ public static void PlotStems(string label_id, ref byte xs, ref byte ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(byte); - fixed (byte* native_xs = &xs) + fixed (int* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39609,7 +79538,8 @@ public static void PlotStems(string label_id, ref byte xs, ref byte ys, int coun } } } - public static void PlotStems(string label_id, ref byte xs, ref byte ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref int xs, ref int ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -39629,11 +79559,11 @@ public static void PlotStems(string label_id, ref byte xs, ref byte ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (byte* native_xs = &xs) + fixed (int* native_xs = &xs) { - fixed (byte* native_ys = &ys) + fixed (int* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U8PtrU8Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39641,7 +79571,8 @@ public static void PlotStems(string label_id, ref byte xs, ref byte ys, int coun } } } - public static void PlotStems(string label_id, ref short xs, ref short ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -39664,12 +79595,12 @@ public static void PlotStems(string label_id, ref short xs, ref short ys, int co double @ref = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (short* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39677,7 +79608,8 @@ public static void PlotStems(string label_id, ref short xs, ref short ys, int co } } } - public static void PlotStems(string label_id, ref short xs, ref short ys, int count, double @ref) +#endif + public static void PlotStems(string label_id, ref uint xs, ref uint ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -39697,14 +79629,15 @@ public static void PlotStems(string label_id, ref short xs, ref short ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double @ref = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (short* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39712,7 +79645,8 @@ public static void PlotStems(string label_id, ref short xs, ref short ys, int co } } } - public static void PlotStems(string label_id, ref short xs, ref short ys, int count, double @ref, ImPlotStemsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -39732,13 +79666,14 @@ public static void PlotStems(string label_id, ref short xs, ref short ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(short); - fixed (short* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (short* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39746,7 +79681,8 @@ public static void PlotStems(string label_id, ref short xs, ref short ys, int co } } } - public static void PlotStems(string label_id, ref short xs, ref short ys, int count, double @ref, ImPlotStemsFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref uint xs, ref uint ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -39766,12 +79702,14 @@ public static void PlotStems(string label_id, ref short xs, ref short ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(short); - fixed (short* native_xs = &xs) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (short* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39779,7 +79717,8 @@ public static void PlotStems(string label_id, ref short xs, ref short ys, int co } } } - public static void PlotStems(string label_id, ref short xs, ref short ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -39799,11 +79738,13 @@ public static void PlotStems(string label_id, ref short xs, ref short ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (short* native_xs = &xs) + int offset = 0; + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (short* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S16PtrS16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39811,7 +79752,8 @@ public static void PlotStems(string label_id, ref short xs, ref short ys, int co } } } - public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int count) +#endif + public static void PlotStems(string label_id, ref uint xs, ref uint ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -39831,15 +79773,13 @@ public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double @ref = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39847,7 +79787,8 @@ public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int } } } - public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int count, double @ref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -39867,14 +79808,12 @@ public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39882,7 +79821,8 @@ public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int } } } - public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int count, double @ref, ImPlotStemsFlags flags) +#endif + public static void PlotStems(string label_id, ref uint xs, ref uint ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -39902,13 +79842,12 @@ public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + int stride = sizeof(uint); + fixed (uint* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39916,7 +79855,8 @@ public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int } } } - public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int count, double @ref, ImPlotStemsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref uint xs, ref uint ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -39936,12 +79876,11 @@ public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ushort); - fixed (ushort* native_xs = &xs) + fixed (uint* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39949,7 +79888,8 @@ public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int } } } - public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref uint xs, ref uint ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -39969,11 +79909,11 @@ public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (ushort* native_xs = &xs) + fixed (uint* native_xs = &xs) { - fixed (ushort* native_ys = &ys) + fixed (uint* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U16PtrU16Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -39981,7 +79921,8 @@ public static void PlotStems(string label_id, ref ushort xs, ref ushort ys, int } } } - public static void PlotStems(string label_id, ref int xs, ref int ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref long xs, ref long ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -40004,12 +79945,12 @@ public static void PlotStems(string label_id, ref int xs, ref int ys, int count) double @ref = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (long* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40017,7 +79958,8 @@ public static void PlotStems(string label_id, ref int xs, ref int ys, int count) } } } - public static void PlotStems(string label_id, ref int xs, ref int ys, int count, double @ref) +#endif + public static void PlotStems(string label_id, ref long xs, ref long ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -40037,14 +79979,15 @@ public static void PlotStems(string label_id, ref int xs, ref int ys, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double @ref = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (long* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40052,7 +79995,8 @@ public static void PlotStems(string label_id, ref int xs, ref int ys, int count, } } } - public static void PlotStems(string label_id, ref int xs, ref int ys, int count, double @ref, ImPlotStemsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref long xs, ref long ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -40072,13 +80016,14 @@ public static void PlotStems(string label_id, ref int xs, ref int ys, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(int); - fixed (int* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (long* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40086,7 +80031,8 @@ public static void PlotStems(string label_id, ref int xs, ref int ys, int count, } } } - public static void PlotStems(string label_id, ref int xs, ref int ys, int count, double @ref, ImPlotStemsFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref long xs, ref long ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -40106,12 +80052,14 @@ public static void PlotStems(string label_id, ref int xs, ref int ys, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(int); - fixed (int* native_xs = &xs) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (long* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40119,7 +80067,8 @@ public static void PlotStems(string label_id, ref int xs, ref int ys, int count, } } } - public static void PlotStems(string label_id, ref int xs, ref int ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref long xs, ref long ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -40139,11 +80088,13 @@ public static void PlotStems(string label_id, ref int xs, ref int ys, int count, native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (int* native_xs = &xs) + int offset = 0; + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (int* native_ys = &ys) + fixed (long* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S32PtrS32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40151,7 +80102,8 @@ public static void PlotStems(string label_id, ref int xs, ref int ys, int count, } } } - public static void PlotStems(string label_id, ref uint xs, ref uint ys, int count) +#endif + public static void PlotStems(string label_id, ref long xs, ref long ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -40171,15 +80123,13 @@ public static void PlotStems(string label_id, ref uint xs, ref uint ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double @ref = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (long* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40187,7 +80137,8 @@ public static void PlotStems(string label_id, ref uint xs, ref uint ys, int coun } } } - public static void PlotStems(string label_id, ref uint xs, ref uint ys, int count, double @ref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref long xs, ref long ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -40207,14 +80158,12 @@ public static void PlotStems(string label_id, ref uint xs, ref uint ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (long* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40222,7 +80171,8 @@ public static void PlotStems(string label_id, ref uint xs, ref uint ys, int coun } } } - public static void PlotStems(string label_id, ref uint xs, ref uint ys, int count, double @ref, ImPlotStemsFlags flags) +#endif + public static void PlotStems(string label_id, ref long xs, ref long ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -40242,13 +80192,12 @@ public static void PlotStems(string label_id, ref uint xs, ref uint ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + int stride = sizeof(long); + fixed (long* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (long* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40256,7 +80205,8 @@ public static void PlotStems(string label_id, ref uint xs, ref uint ys, int coun } } } - public static void PlotStems(string label_id, ref uint xs, ref uint ys, int count, double @ref, ImPlotStemsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref long xs, ref long ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -40276,12 +80226,11 @@ public static void PlotStems(string label_id, ref uint xs, ref uint ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(uint); - fixed (uint* native_xs = &xs) + fixed (long* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (long* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40289,7 +80238,8 @@ public static void PlotStems(string label_id, ref uint xs, ref uint ys, int coun } } } - public static void PlotStems(string label_id, ref uint xs, ref uint ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) +#endif + public static void PlotStems(string label_id, ref long xs, ref long ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -40309,11 +80259,11 @@ public static void PlotStems(string label_id, ref uint xs, ref uint ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (uint* native_xs = &xs) + fixed (long* native_xs = &xs) { - fixed (uint* native_ys = &ys) + fixed (long* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_U32PtrU32Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40321,7 +80271,8 @@ public static void PlotStems(string label_id, ref uint xs, ref uint ys, int coun } } } - public static void PlotStems(string label_id, ref long xs, ref long ys, int count) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -40344,12 +80295,12 @@ public static void PlotStems(string label_id, ref long xs, ref long ys, int coun double @ref = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40357,7 +80308,8 @@ public static void PlotStems(string label_id, ref long xs, ref long ys, int coun } } } - public static void PlotStems(string label_id, ref long xs, ref long ys, int count, double @ref) +#endif + public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int count) { byte* native_label_id; int label_id_byteCount = 0; @@ -40377,14 +80329,15 @@ public static void PlotStems(string label_id, ref long xs, ref long ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + double @ref = 0; ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40392,7 +80345,8 @@ public static void PlotStems(string label_id, ref long xs, ref long ys, int coun } } } - public static void PlotStems(string label_id, ref long xs, ref long ys, int count, double @ref, ImPlotStemsFlags flags) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -40412,13 +80366,14 @@ public static void PlotStems(string label_id, ref long xs, ref long ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; - int stride = sizeof(long); - fixed (long* native_xs = &xs) + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40426,7 +80381,8 @@ public static void PlotStems(string label_id, ref long xs, ref long ys, int coun } } } - public static void PlotStems(string label_id, ref long xs, ref long ys, int count, double @ref, ImPlotStemsFlags flags, int offset) +#endif + public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int count, double @ref) { byte* native_label_id; int label_id_byteCount = 0; @@ -40446,12 +80402,14 @@ public static void PlotStems(string label_id, ref long xs, ref long ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(long); - fixed (long* native_xs = &xs) + ImPlotStemsFlags flags = (ImPlotStemsFlags)0; + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40459,7 +80417,8 @@ public static void PlotStems(string label_id, ref long xs, ref long ys, int coun } } } - public static void PlotStems(string label_id, ref long xs, ref long ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -40479,11 +80438,13 @@ public static void PlotStems(string label_id, ref long xs, ref long ys, int coun native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - fixed (long* native_xs = &xs) + int offset = 0; + int stride = sizeof(ulong); + fixed (ulong* native_xs = &xs) { - fixed (long* native_ys = &ys) + fixed (ulong* native_ys = &ys) { - ImPlotNative.ImPlot_PlotStems_S64PtrS64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); + ImPlotNative.ImPlot_PlotStems_U64PtrU64Ptr(native_label_id, native_xs, native_ys, count, @ref, flags, offset, stride); if (label_id_byteCount > Util.StackAllocationSizeLimit) { Util.Free(native_label_id); @@ -40491,7 +80452,8 @@ public static void PlotStems(string label_id, ref long xs, ref long ys, int coun } } } - public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int count) +#endif + public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int count, double @ref, ImPlotStemsFlags flags) { byte* native_label_id; int label_id_byteCount = 0; @@ -40511,8 +80473,6 @@ public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - double @ref = 0; - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; int offset = 0; int stride = sizeof(ulong); fixed (ulong* native_xs = &xs) @@ -40527,7 +80487,8 @@ public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int co } } } - public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int count, double @ref) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -40547,8 +80508,6 @@ public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - ImPlotStemsFlags flags = (ImPlotStemsFlags)0; - int offset = 0; int stride = sizeof(ulong); fixed (ulong* native_xs = &xs) { @@ -40562,7 +80521,8 @@ public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int co } } } - public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int count, double @ref, ImPlotStemsFlags flags) +#endif + public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int count, double @ref, ImPlotStemsFlags flags, int offset) { byte* native_label_id; int label_id_byteCount = 0; @@ -40582,7 +80542,6 @@ public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int offset = 0; int stride = sizeof(ulong); fixed (ulong* native_xs = &xs) { @@ -40596,7 +80555,8 @@ public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int co } } } - public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int count, double @ref, ImPlotStemsFlags flags, int offset) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotStems(ReadOnlySpan label_id, ref ulong xs, ref ulong ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; int label_id_byteCount = 0; @@ -40616,7 +80576,6 @@ public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int co native_label_id[native_label_id_offset] = 0; } else { native_label_id = null; } - int stride = sizeof(ulong); fixed (ulong* native_xs = &xs) { fixed (ulong* native_ys = &ys) @@ -40629,6 +80588,7 @@ public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int co } } } +#endif public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int count, double @ref, ImPlotStemsFlags flags, int offset, int stride) { byte* native_label_id; @@ -40661,6 +80621,36 @@ public static void PlotStems(string label_id, ref ulong xs, ref ulong ys, int co } } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotText(ReadOnlySpan text, double x, double y) + { + byte* native_text; + int text_byteCount = 0; + if (text != null) + { + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + native_text = Util.Allocate(text_byteCount + 1); + } + else + { + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; + } + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + Vector2 pix_offset = new Vector2(); + ImPlotTextFlags flags = (ImPlotTextFlags)0; + ImPlotNative.ImPlot_PlotText(native_text, x, y, pix_offset, flags); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text); + } + } +#endif public static void PlotText(string text, double x, double y) { byte* native_text; @@ -40689,6 +80679,35 @@ public static void PlotText(string text, double x, double y) Util.Free(native_text); } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotText(ReadOnlySpan text, double x, double y, Vector2 pix_offset) + { + byte* native_text; + int text_byteCount = 0; + if (text != null) + { + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + native_text = Util.Allocate(text_byteCount + 1); + } + else + { + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; + } + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + ImPlotTextFlags flags = (ImPlotTextFlags)0; + ImPlotNative.ImPlot_PlotText(native_text, x, y, pix_offset, flags); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text); + } + } +#endif public static void PlotText(string text, double x, double y, Vector2 pix_offset) { byte* native_text; @@ -40716,6 +80735,34 @@ public static void PlotText(string text, double x, double y, Vector2 pix_offset) Util.Free(native_text); } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PlotText(ReadOnlySpan text, double x, double y, Vector2 pix_offset, ImPlotTextFlags flags) + { + byte* native_text; + int text_byteCount = 0; + if (text != null) + { + text_byteCount = Encoding.UTF8.GetByteCount(text); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + native_text = Util.Allocate(text_byteCount + 1); + } + else + { + byte* native_text_stackBytes = stackalloc byte[text_byteCount + 1]; + native_text = native_text_stackBytes; + } + int native_text_offset = Util.GetUtf8(text, native_text, text_byteCount); + native_text[native_text_offset] = 0; + } + else { native_text = null; } + ImPlotNative.ImPlot_PlotText(native_text, x, y, pix_offset, flags); + if (text_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_text); + } + } +#endif public static void PlotText(string text, double x, double y, Vector2 pix_offset, ImPlotTextFlags flags) { byte* native_text; @@ -40819,6 +80866,34 @@ public static void PushColormap(ImPlotColormap cmap) { ImPlotNative.ImPlot_PushColormap_PlotColormap(cmap); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void PushColormap(ReadOnlySpan name) + { + byte* native_name; + int name_byteCount = 0; + if (name != null) + { + name_byteCount = Encoding.UTF8.GetByteCount(name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + native_name = Util.Allocate(name_byteCount + 1); + } + else + { + byte* native_name_stackBytes = stackalloc byte[name_byteCount + 1]; + native_name = native_name_stackBytes; + } + int native_name_offset = Util.GetUtf8(name, native_name, name_byteCount); + native_name[native_name_offset] = 0; + } + else { native_name = null; } + ImPlotNative.ImPlot_PushColormap_Str(native_name); + if (name_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_name); + } + } +#endif public static void PushColormap(string name) { byte* native_name; @@ -41030,6 +81105,58 @@ public static void SetNextMarkerStyle(ImPlotMarker marker, float size, Vector4 f { ImPlotNative.ImPlot_SetNextMarkerStyle(marker, size, fill, weight, outline); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetupAxes(ReadOnlySpan x_label, ReadOnlySpan y_label) + { + byte* native_x_label; + int x_label_byteCount = 0; + if (x_label != null) + { + x_label_byteCount = Encoding.UTF8.GetByteCount(x_label); + if (x_label_byteCount > Util.StackAllocationSizeLimit) + { + native_x_label = Util.Allocate(x_label_byteCount + 1); + } + else + { + byte* native_x_label_stackBytes = stackalloc byte[x_label_byteCount + 1]; + native_x_label = native_x_label_stackBytes; + } + int native_x_label_offset = Util.GetUtf8(x_label, native_x_label, x_label_byteCount); + native_x_label[native_x_label_offset] = 0; + } + else { native_x_label = null; } + byte* native_y_label; + int y_label_byteCount = 0; + if (y_label != null) + { + y_label_byteCount = Encoding.UTF8.GetByteCount(y_label); + if (y_label_byteCount > Util.StackAllocationSizeLimit) + { + native_y_label = Util.Allocate(y_label_byteCount + 1); + } + else + { + byte* native_y_label_stackBytes = stackalloc byte[y_label_byteCount + 1]; + native_y_label = native_y_label_stackBytes; + } + int native_y_label_offset = Util.GetUtf8(y_label, native_y_label, y_label_byteCount); + native_y_label[native_y_label_offset] = 0; + } + else { native_y_label = null; } + ImPlotAxisFlags x_flags = (ImPlotAxisFlags)0; + ImPlotAxisFlags y_flags = (ImPlotAxisFlags)0; + ImPlotNative.ImPlot_SetupAxes(native_x_label, native_y_label, x_flags, y_flags); + if (x_label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_x_label); + } + if (y_label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_y_label); + } + } +#endif public static void SetupAxes(string x_label, string y_label) { byte* native_x_label; @@ -41080,6 +81207,57 @@ public static void SetupAxes(string x_label, string y_label) Util.Free(native_y_label); } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetupAxes(ReadOnlySpan x_label, ReadOnlySpan y_label, ImPlotAxisFlags x_flags) + { + byte* native_x_label; + int x_label_byteCount = 0; + if (x_label != null) + { + x_label_byteCount = Encoding.UTF8.GetByteCount(x_label); + if (x_label_byteCount > Util.StackAllocationSizeLimit) + { + native_x_label = Util.Allocate(x_label_byteCount + 1); + } + else + { + byte* native_x_label_stackBytes = stackalloc byte[x_label_byteCount + 1]; + native_x_label = native_x_label_stackBytes; + } + int native_x_label_offset = Util.GetUtf8(x_label, native_x_label, x_label_byteCount); + native_x_label[native_x_label_offset] = 0; + } + else { native_x_label = null; } + byte* native_y_label; + int y_label_byteCount = 0; + if (y_label != null) + { + y_label_byteCount = Encoding.UTF8.GetByteCount(y_label); + if (y_label_byteCount > Util.StackAllocationSizeLimit) + { + native_y_label = Util.Allocate(y_label_byteCount + 1); + } + else + { + byte* native_y_label_stackBytes = stackalloc byte[y_label_byteCount + 1]; + native_y_label = native_y_label_stackBytes; + } + int native_y_label_offset = Util.GetUtf8(y_label, native_y_label, y_label_byteCount); + native_y_label[native_y_label_offset] = 0; + } + else { native_y_label = null; } + ImPlotAxisFlags y_flags = (ImPlotAxisFlags)0; + ImPlotNative.ImPlot_SetupAxes(native_x_label, native_y_label, x_flags, y_flags); + if (x_label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_x_label); + } + if (y_label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_y_label); + } + } +#endif public static void SetupAxes(string x_label, string y_label, ImPlotAxisFlags x_flags) { byte* native_x_label; @@ -41129,6 +81307,56 @@ public static void SetupAxes(string x_label, string y_label, ImPlotAxisFlags x_f Util.Free(native_y_label); } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetupAxes(ReadOnlySpan x_label, ReadOnlySpan y_label, ImPlotAxisFlags x_flags, ImPlotAxisFlags y_flags) + { + byte* native_x_label; + int x_label_byteCount = 0; + if (x_label != null) + { + x_label_byteCount = Encoding.UTF8.GetByteCount(x_label); + if (x_label_byteCount > Util.StackAllocationSizeLimit) + { + native_x_label = Util.Allocate(x_label_byteCount + 1); + } + else + { + byte* native_x_label_stackBytes = stackalloc byte[x_label_byteCount + 1]; + native_x_label = native_x_label_stackBytes; + } + int native_x_label_offset = Util.GetUtf8(x_label, native_x_label, x_label_byteCount); + native_x_label[native_x_label_offset] = 0; + } + else { native_x_label = null; } + byte* native_y_label; + int y_label_byteCount = 0; + if (y_label != null) + { + y_label_byteCount = Encoding.UTF8.GetByteCount(y_label); + if (y_label_byteCount > Util.StackAllocationSizeLimit) + { + native_y_label = Util.Allocate(y_label_byteCount + 1); + } + else + { + byte* native_y_label_stackBytes = stackalloc byte[y_label_byteCount + 1]; + native_y_label = native_y_label_stackBytes; + } + int native_y_label_offset = Util.GetUtf8(y_label, native_y_label, y_label_byteCount); + native_y_label[native_y_label_offset] = 0; + } + else { native_y_label = null; } + ImPlotNative.ImPlot_SetupAxes(native_x_label, native_y_label, x_flags, y_flags); + if (x_label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_x_label); + } + if (y_label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_y_label); + } + } +#endif public static void SetupAxes(string x_label, string y_label, ImPlotAxisFlags x_flags, ImPlotAxisFlags y_flags) { byte* native_x_label; @@ -41192,6 +81420,35 @@ public static void SetupAxis(ImAxis axis) ImPlotAxisFlags flags = (ImPlotAxisFlags)0; ImPlotNative.ImPlot_SetupAxis(axis, native_label, flags); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetupAxis(ImAxis axis, ReadOnlySpan label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImPlotAxisFlags flags = (ImPlotAxisFlags)0; + ImPlotNative.ImPlot_SetupAxis(axis, native_label, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + } +#endif public static void SetupAxis(ImAxis axis, string label) { byte* native_label; @@ -41219,6 +81476,34 @@ public static void SetupAxis(ImAxis axis, string label) Util.Free(native_label); } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetupAxis(ImAxis axis, ReadOnlySpan label, ImPlotAxisFlags flags) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + ImPlotNative.ImPlot_SetupAxis(axis, native_label, flags); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + } +#endif public static void SetupAxis(ImAxis axis, string label, ImPlotAxisFlags flags) { byte* native_label; @@ -41245,6 +81530,34 @@ public static void SetupAxis(ImAxis axis, string label, ImPlotAxisFlags flags) Util.Free(native_label); } } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void SetupAxisFormat(ImAxis axis, ReadOnlySpan fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImPlotNative.ImPlot_SetupAxisFormat_Str(axis, native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + } +#endif public static void SetupAxisFormat(ImAxis axis, string fmt) { byte* native_fmt; @@ -41342,12 +81655,8 @@ public static void SetupAxisTicks(ImAxis axis, ref double values, int n_ticks, s for (int i = 0; i < labels.Length; i++) { string s = labels[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_labels_data + offset, labels_byteCounts[i]); - native_labels_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_labels_data + offset, labels_byteCounts[i]); + native_labels_data[offset++] = 0; } byte** native_labels = stackalloc byte*[labels.Length]; offset = 0; @@ -41377,12 +81686,8 @@ public static void SetupAxisTicks(ImAxis axis, ref double values, int n_ticks, s for (int i = 0; i < labels.Length; i++) { string s = labels[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_labels_data + offset, labels_byteCounts[i]); - native_labels_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_labels_data + offset, labels_byteCounts[i]); + native_labels_data[offset++] = 0; } byte** native_labels = stackalloc byte*[labels.Length]; offset = 0; @@ -41418,12 +81723,8 @@ public static void SetupAxisTicks(ImAxis axis, double v_min, double v_max, int n for (int i = 0; i < labels.Length; i++) { string s = labels[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_labels_data + offset, labels_byteCounts[i]); - native_labels_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_labels_data + offset, labels_byteCounts[i]); + native_labels_data[offset++] = 0; } byte** native_labels = stackalloc byte*[labels.Length]; offset = 0; @@ -41450,12 +81751,8 @@ public static void SetupAxisTicks(ImAxis axis, double v_min, double v_max, int n for (int i = 0; i < labels.Length; i++) { string s = labels[i]; - fixed (char* sPtr = s) - { - offset += Encoding.UTF8.GetBytes(sPtr, s.Length, native_labels_data + offset, labels_byteCounts[i]); - native_labels_data[offset] = 0; - offset += 1; - } + offset += Util.GetUtf8(s, native_labels_data + offset, labels_byteCounts[i]); + native_labels_data[offset++] = 0; } byte** native_labels = stackalloc byte*[labels.Length]; offset = 0; @@ -41493,6 +81790,35 @@ public static void SetupMouseText(ImPlotLocation location, ImPlotMouseTextFlags { ImPlotNative.ImPlot_SetupMouseText(location, flags); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ShowColormapSelector(ReadOnlySpan label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte ret = ImPlotNative.ImPlot_ShowColormapSelector(native_label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif public static bool ShowColormapSelector(string label) { byte* native_label; @@ -41532,6 +81858,35 @@ public static void ShowDemoWindow(ref bool p_open) ImPlotNative.ImPlot_ShowDemoWindow(native_p_open); p_open = native_p_open_val != 0; } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ShowInputMapSelector(ReadOnlySpan label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte ret = ImPlotNative.ImPlot_ShowInputMapSelector(native_label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif public static bool ShowInputMapSelector(string label) { byte* native_label; @@ -41581,6 +81936,35 @@ public static void ShowStyleEditor(ImPlotStylePtr @ref) ImPlotStyle* native_ref = @ref.NativePtr; ImPlotNative.ImPlot_ShowStyleEditor(native_ref); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static bool ShowStyleSelector(ReadOnlySpan label) + { + byte* native_label; + int label_byteCount = 0; + if (label != null) + { + label_byteCount = Encoding.UTF8.GetByteCount(label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + native_label = Util.Allocate(label_byteCount + 1); + } + else + { + byte* native_label_stackBytes = stackalloc byte[label_byteCount + 1]; + native_label = native_label_stackBytes; + } + int native_label_offset = Util.GetUtf8(label, native_label, label_byteCount); + native_label[native_label_offset] = 0; + } + else { native_label = null; } + byte ret = ImPlotNative.ImPlot_ShowStyleSelector(native_label); + if (label_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_label); + } + return ret != 0; + } +#endif public static bool ShowStyleSelector(string label) { byte* native_label; @@ -41662,6 +82046,34 @@ public static void TagX(double x, Vector4 col, bool round) byte native_round = round ? (byte)1 : (byte)0; ImPlotNative.ImPlot_TagX_Bool(x, col, native_round); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void TagX(double x, Vector4 col, ReadOnlySpan fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImPlotNative.ImPlot_TagX_Str(x, col, native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + } +#endif public static void TagX(double x, Vector4 col, string fmt) { byte* native_fmt; @@ -41698,6 +82110,34 @@ public static void TagY(double y, Vector4 col, bool round) byte native_round = round ? (byte)1 : (byte)0; ImPlotNative.ImPlot_TagY_Bool(y, col, native_round); } +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP2_1_OR_GREATER + public static void TagY(double y, Vector4 col, ReadOnlySpan fmt) + { + byte* native_fmt; + int fmt_byteCount = 0; + if (fmt != null) + { + fmt_byteCount = Encoding.UTF8.GetByteCount(fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + native_fmt = Util.Allocate(fmt_byteCount + 1); + } + else + { + byte* native_fmt_stackBytes = stackalloc byte[fmt_byteCount + 1]; + native_fmt = native_fmt_stackBytes; + } + int native_fmt_offset = Util.GetUtf8(fmt, native_fmt, fmt_byteCount); + native_fmt[native_fmt_offset] = 0; + } + else { native_fmt = null; } + ImPlotNative.ImPlot_TagY_Str(y, col, native_fmt); + if (fmt_byteCount > Util.StackAllocationSizeLimit) + { + Util.Free(native_fmt); + } + } +#endif public static void TagY(double y, Vector4 col, string fmt) { byte* native_fmt; diff --git a/src/ImPlot.NET/ImPlot.NET.csproj b/src/ImPlot.NET/ImPlot.NET.csproj index 03adbddf..4722ad70 100644 --- a/src/ImPlot.NET/ImPlot.NET.csproj +++ b/src/ImPlot.NET/ImPlot.NET.csproj @@ -3,7 +3,7 @@ A .NET wrapper for the ImPlot library. 0.8.0 Eric Mellino - netstandard2.0;net6.0 + netstandard2.0;net8.0 true portable ImPlot.NET @@ -16,9 +16,9 @@ ImPlotNET - - - + + + diff --git a/src/TestDotNetStandardLib/TestDotNetStandardLib.csproj b/src/TestDotNetStandardLib/TestDotNetStandardLib.csproj new file mode 100644 index 00000000..ec271880 --- /dev/null +++ b/src/TestDotNetStandardLib/TestDotNetStandardLib.csproj @@ -0,0 +1,11 @@ + + + + netstandard2.0 + + + + + + + diff --git a/src/TestDotNetStandardLib/TestStringParameterOnDotNetStandard.cs b/src/TestDotNetStandardLib/TestStringParameterOnDotNetStandard.cs new file mode 100644 index 00000000..5d7d8a22 --- /dev/null +++ b/src/TestDotNetStandardLib/TestStringParameterOnDotNetStandard.cs @@ -0,0 +1,14 @@ +using ImGuiNET; + +namespace TestDotNetStandardLib +{ + public static class TestStringParameterOnDotNetStandard + { + public static void Text() + { + ImGui.Text(".NET Standard 2.0 test!"); + ImGui.GetWindowDrawList().AddText(ImGui.GetCursorScreenPos(), uint.MaxValue, "DrawList works on .NET Standard too"); + ImGui.NewLine(); + } + } +}